@import url('https://fonts.googleapis.com/css2?family=Ubuntu:wght@300;400;500;700&family=Roboto:wght@400;500;700;900&display=swap');

:root {
    --bright-blue: #2196f3;
    --vivid-orange: #ff9800;
    --electric-green: #4caf50;
    --sunny-yellow: #ffc107;
    --deep-blue: #1565c0;
    --light-bg: #f5f7fa;
    --card-white: #ffffff;
    --text-dark: #263238;
    --text-gray: #546e7a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    min-height: 100vh;
}

/* Header */
.site-header {
    background: linear-gradient(135deg, var(--bright-blue), var(--deep-blue));
    padding: 1rem 0;
    box-shadow: 0 4px 12px rgba(33, 150, 243, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-wrapper {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-brand {
    font-family: 'Ubuntu', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.chip-icon {
    font-size: 2rem;
}

.site-brand:hover {
    color: var(--sunny-yellow);
    transition: color 0.3s ease;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.main-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
}

.main-nav a:hover {
    background: var(--vivid-orange);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Mobile Menu */
.mobile-toggle {
    display: none;
    background: var(--vivid-orange);
    border: none;
    padding: 0.8rem;
    border-radius: 8px;
    cursor: pointer;
}

.mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background: white;
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: linear-gradient(180deg, var(--bright-blue), var(--deep-blue));
        padding: 6rem 2rem;
        transition: right 0.3s ease;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    }

    .main-nav.open {
        right: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav a {
        display: block;
        font-size: 1.1rem;
        padding: 1rem;
    }
}

/* Page Container */
.page-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Area */
.hero-area {
    background: linear-gradient(135deg, var(--bright-blue), var(--electric-green));
    color: white;
    padding: 4rem 3rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 10px 30px rgba(33, 150, 243, 0.3);
}

.hero-area h1 {
    font-family: 'Ubuntu', sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-area p {
    font-size: 1.3rem;
    line-height: 1.8;
    max-width: 900px;
}

/* Card Layout */
.card-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: var(--card-white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    border-top: 5px solid var(--bright-blue);
}

.feature-card:nth-child(2) {
    border-top-color: var(--vivid-orange);
}

.feature-card:nth-child(3) {
    border-top-color: var(--electric-green);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(33, 150, 243, 0.2);
}

.feature-card h2 {
    font-family: 'Ubuntu', sans-serif;
    color: var(--bright-blue);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.feature-card h3 {
    font-family: 'Ubuntu', sans-serif;
    color: var(--vivid-orange);
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem;
    font-weight: 500;
}

.feature-card p {
    color: var(--text-gray);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.feature-card ul {
    margin-top: 1rem;
    padding-left: 1.5rem;
}

.feature-card li {
    margin-bottom: 0.8rem;
    color: var(--text-gray);
    line-height: 1.7;
}

/* Notice Cards */
.notice-card {
    background: var(--card-white);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    border-left: 6px solid var(--bright-blue);
    display: flex;
    gap: 1.5rem;
    align-items: start;
}

.notice-card.warning {
    border-left-color: var(--vivid-orange);
}

.notice-card.success {
    border-left-color: var(--electric-green);
}

.notice-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.notice-text h3 {
    font-family: 'Ubuntu', sans-serif;
    color: var(--text-dark);
    font-size: 1.4rem;
    margin-bottom: 0.5rem;
}

.notice-text p {
    color: var(--text-gray);
    line-height: 1.8;
}

/* Game Display */
.game-display {
    background: var(--card-white);
    border-radius: 20px;
    padding: 3rem;
    margin: 3rem 0;
    box-shadow: 0 10px 35px rgba(0,0,0,0.1);
}

.game-display h2 {
    font-family: 'Ubuntu', sans-serif;
    text-align: center;
    color: var(--bright-blue);
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.game-display .subtitle {
    text-align: center;
    color: var(--text-gray);
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
}

.game-embed {
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #e3f2fd, #e8f5e9);
    padding: 2rem;
    border-radius: 12px;
    min-height: 650px;
}

.game-embed iframe {
    border: none;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, var(--deep-blue), var(--bright-blue));
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 5rem;
    border-radius: 20px 20px 0 0;
}

.footer-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-block h3 {
    font-family: 'Ubuntu', sans-serif;
    color: var(--sunny-yellow);
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.footer-block p {
    line-height: 1.8;
    opacity: 0.9;
}

.footer-block a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 0.7rem;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.footer-block a:hover {
    opacity: 1;
    color: var(--sunny-yellow);
    padding-left: 5px;
}

.footer-credit {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.2);
    opacity: 0.8;
}

/* Age Gate Modal */
.age-gate {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(8px);
    z-index: 5000;
}

.age-gate.show {
    display: flex;
    justify-content: center;
    align-items: center;
}

.gate-content {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    max-width: 550px;
    margin: 1rem;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    border-top: 8px solid var(--bright-blue);
}

.gate-content h2 {
    font-family: 'Ubuntu', sans-serif;
    color: var(--bright-blue);
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.gate-content p {
    color: var(--text-gray);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.gate-content .important {
    font-weight: 700;
    color: var(--vivid-orange);
    font-size: 1.3rem;
    margin: 1.5rem 0;
}

.gate-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.gate-button {
    flex: 1;
    padding: 1.2rem 2rem;
    border: none;
    border-radius: 12px;
    font-family: 'Ubuntu', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gate-button.yes {
    background: linear-gradient(135deg, var(--bright-blue), var(--electric-green));
    color: white;
}

.gate-button.yes:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(33, 150, 243, 0.4);
}

.gate-button.no {
    background: var(--text-gray);
    color: white;
}

.gate-button.no:hover {
    background: var(--vivid-orange);
}

/* Responsive */
@media (max-width: 968px) {
    .hero-area h1 {
        font-size: 2.5rem;
    }

    .hero-area {
        padding: 3rem 2rem;
    }

    .card-layout {
        grid-template-columns: 1fr;
    }

    .game-embed {
        min-height: 450px;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-area h1 {
        font-size: 2rem;
    }

    .gate-content {
        padding: 2rem;
    }

    .gate-buttons {
        flex-direction: column;
    }

    .page-container {
        padding: 1rem;
    }
}
