/* Damevia Social Casino - Playful Asymmetric Design */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;600;700;800;900&family=Fredoka+One&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --orange: #ff6b35;
    --pink: #ff5e78;
    --blue: #4a90e2;
    --purple: #9b59b6;
    --yellow: #ffd93d;
    --bg-light: #fff5f0;
    --bg-white: #ffffff;
    --text-dark: #2c3e50;
    --text-gray: #7f8c8d;
}

body {
    font-family: 'Nunito', sans-serif;
    background: var(--bg-light);
    color: var(--text-dark);
    min-height: 100vh;
    line-height: 1.7;
    overflow-x: hidden;
}

/* Playful background shapes */
body::before,
body::after {
    content: '';
    position: fixed;
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

body::before {
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(255, 94, 120, 0.1));
    top: -200px;
    right: -200px;
}

body::after {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1), rgba(155, 89, 182, 0.1));
    bottom: -150px;
    left: -150px;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--orange), var(--pink));
    padding: 1.5rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 5px 25px rgba(255, 107, 53, 0.3);
    transform: skewY(-1deg);
    transform-origin: top left;
}

.header-container {
    transform: skewY(1deg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1300px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.logo {
    font-family: 'Fredoka One', cursive;
    font-size: 2.5rem;
    color: white;
    text-decoration: none;
    text-shadow: 3px 3px 0 rgba(0, 0, 0, 0.2);
    display: inline-block;
    transform: rotate(-3deg);
}

/* Navigation */
nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.2);
}

nav a:hover {
    background: white;
    color: var(--orange);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: 0.3s;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Main Content */
main {
    max-width: 1300px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
    z-index: 2;
}

/* Hero Section */
.hero {
    text-align: left;
    padding: 3rem;
    background: white;
    border-radius: 30px 0 30px 0;
    margin-bottom: 3rem;
    box-shadow: 10px 10px 0 var(--yellow);
    transform: rotate(-1deg);
    position: relative;
}

.hero-content {
    transform: rotate(1deg);
}

.hero h1 {
    font-family: 'Fredoka One', cursive;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    color: var(--orange);
    text-shadow: 3px 3px 0 rgba(255, 107, 53, 0.2);
}

.hero p {
    font-size: 1.3rem;
    color: var(--text-gray);
    max-width: 700px;
    font-weight: 600;
}

/* Notice Cards */
.notices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.notice-card {
    background: white;
    padding: 2.5rem;
    border-radius: 25px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.notice-card:nth-child(1) {
    transform: rotate(2deg);
    border-top: 5px solid var(--orange);
}

.notice-card:nth-child(2) {
    transform: rotate(-1deg);
    border-top: 5px solid var(--blue);
}

.notice-card:nth-child(3) {
    transform: rotate(1deg);
    border-top: 5px solid var(--purple);
}

.notice-card:hover {
    transform: rotate(0deg) translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.notice-card h3 {
    font-family: 'Fredoka One', cursive;
    margin-bottom: 1rem;
    font-size: 1.6rem;
}

.notice-card:nth-child(1) h3 {
    color: var(--orange);
}

.notice-card:nth-child(2) h3 {
    color: var(--blue);
}

.notice-card:nth-child(3) h3 {
    color: var(--purple);
}

.notice-card p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Game Container */
.game-container {
    background: white;
    border-radius: 0 30px 0 30px;
    padding: 3rem;
    margin: 3rem 0;
    box-shadow: -10px 10px 0 var(--pink);
    text-align: center;
    transform: rotate(1deg);
}

.game-container-content {
    transform: rotate(-1deg);
}

.game-container h2 {
    font-family: 'Fredoka One', cursive;
    color: var(--pink);
    margin-bottom: 2rem;
    font-size: 2.8rem;
    text-shadow: 2px 2px 0 rgba(255, 94, 120, 0.2);
}

.game-frame {
    width: 100%;
    max-width: 1000px;
    height: 700px;
    border: 5px solid var(--orange);
    border-radius: 20px;
    margin: 0 auto;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Content Sections */
.content-section {
    background: white;
    padding: 3rem;
    border-radius: 25px;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transform: rotate(-0.5deg);
}

.content-section-inner {
    transform: rotate(0.5deg);
}

.content-section h2 {
    font-family: 'Fredoka One', cursive;
    color: var(--blue);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
    text-shadow: 2px 2px 0 rgba(74, 144, 226, 0.2);
}

.content-section h3 {
    font-family: 'Fredoka One', cursive;
    color: var(--purple);
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
}

.content-section p {
    color: var(--text-gray);
    margin-bottom: 1.2rem;
    font-size: 1.05rem;
    line-height: 1.8;
}

.content-section ul {
    list-style-position: inside;
    color: var(--text-gray);
    margin-left: 1rem;
}

.content-section li {
    margin-bottom: 0.8rem;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--blue), var(--purple));
    padding: 3rem 2rem;
    margin-top: 4rem;
    box-shadow: 0 -5px 25px rgba(74, 144, 226, 0.3);
    transform: skewY(1deg);
    transform-origin: bottom right;
    position: relative;
    z-index: 2;
}

.footer-content {
    transform: skewY(-1deg);
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.5rem 1rem;
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.2);
}

.footer-links a:hover {
    background: white;
    color: var(--blue);
    transform: translateY(-2px);
}

.footer-text {
    color: white;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* Age Verification Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.95), rgba(255, 94, 120, 0.95));
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: white;
    padding: 3.5rem;
    border-radius: 30px;
    text-align: center;
    max-width: 550px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: rotate(-2deg);
}

.age-modal-inner {
    transform: rotate(2deg);
}

.age-modal-content h2 {
    font-family: 'Fredoka One', cursive;
    color: var(--orange);
    margin-bottom: 1.5rem;
    font-size: 3rem;
    text-shadow: 2px 2px 0 rgba(255, 107, 53, 0.2);
}

.age-modal-content p {
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.age-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
}

.age-btn {
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 25px;
    font-family: 'Nunito', sans-serif;
    font-size: 1.2rem;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.age-btn-yes {
    background: linear-gradient(135deg, var(--orange), var(--pink));
    color: white;
    box-shadow: 0 5px 20px rgba(255, 107, 53, 0.4);
}

.age-btn-yes:hover {
    transform: translateY(-3px) rotate(-2deg);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.6);
}

.age-btn-no {
    background: #ecf0f1;
    color: var(--text-gray);
}

.age-btn-no:hover {
    background: #bdc3c7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 75%;
        background: linear-gradient(135deg, var(--orange), var(--pink));
        transition: right 0.3s ease;
        padding-top: 5rem;
        box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 0;
    }

    nav a {
        display: block;
        padding: 1.5rem 2rem;
        border-radius: 0;
        background: transparent;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .hero {
        padding: 2rem;
    }

    .notices {
        grid-template-columns: 1fr;
    }

    .game-frame {
        height: 500px;
    }

    .content-section {
        padding: 2rem;
    }

    .age-modal-content {
        margin: 1rem;
        padding: 2.5rem 2rem;
    }

    .age-buttons {
        flex-direction: column;
    }
}
