* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: #ffffff;
    line-height: 1.6;
    min-height: 100vh;
}

/* Age Verification Popup */
.age-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
}

.age-popup.hidden {
    display: none;
}

.age-content {
    background: linear-gradient(135deg, #6B46FF, #9D4EDD);
    padding: 3rem;
    border-radius: 20px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(107, 70, 255, 0.4);
}

.age-content h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

.age-content p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-buttons button {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.age-yes {
    background: #00ff88;
    color: #0f0c29;
}

.age-yes:hover {
    background: #00dd77;
    transform: translateY(-2px);
}

.age-no {
    background: #ff4444;
    color: white;
}

.age-no:hover {
    background: #dd3333;
    transform: translateY(-2px);
}

/* Header */
header {
    background: rgba(15, 12, 41, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid rgba(107, 70, 255, 0.3);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: #fff;
    border-radius: 3px;
    transition: all 0.3s ease;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

nav a:hover,
nav a.active {
    background: linear-gradient(135deg, #6B46FF, #9D4EDD);
}

/* Hero Section */
.hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #6B46FF, #9D4EDD, #00ff88);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: #c0c0c0;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.feature-badge {
    background: rgba(107, 70, 255, 0.2);
    padding: 1rem 2rem;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    border: 2px solid rgba(107, 70, 255, 0.4);
}

.badge-icon {
    font-size: 1.5rem;
}

/* Game Section */
.game-section {
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.section-header p {
    font-size: 1.2rem;
    color: #c0c0c0;
}

.game-container {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.game-container iframe {
    width: 100%;
    height: 700px;
    border-radius: 10px;
}

/* Info Section */
.info-section {
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.info-card {
    background: linear-gradient(135deg, rgba(107, 70, 255, 0.1), rgba(157, 78, 221, 0.1));
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid rgba(107, 70, 255, 0.3);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(107, 70, 255, 0.3);
}

.info-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

.info-card p {
    color: #c0c0c0;
    line-height: 1.8;
}

/* Notice Section */
.notice-section {
    max-width: 1400px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.notice-box {
    background: linear-gradient(135deg, rgba(255, 68, 68, 0.1), rgba(255, 136, 0, 0.1));
    border: 2px solid rgba(255, 68, 68, 0.5);
    border-radius: 15px;
    padding: 2rem;
}

.notice-box h3 {
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.notice-box ul {
    list-style: none;
}

.notice-box li {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    position: relative;
}

.notice-box li:before {
    content: "▸";
    position: absolute;
    left: 0;
    color: #ff4444;
}

/* CTA Section */
.cta-section {
    max-width: 1400px;
    margin: 4rem auto;
    padding: 4rem 2rem;
    text-align: center;
    background: linear-gradient(135deg, rgba(107, 70, 255, 0.2), rgba(157, 78, 221, 0.2));
    border-radius: 20px;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-section p {
    font-size: 1.2rem;
    color: #c0c0c0;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, #6B46FF, #9D4EDD);
    color: white;
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(107, 70, 255, 0.4);
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(107, 70, 255, 0.6);
}

/* Play Page */
.play-hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    text-align: center;
}

.play-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #6B46FF, #9D4EDD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.play-game {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.game-info {
    background: rgba(107, 70, 255, 0.1);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border: 2px solid rgba(107, 70, 255, 0.3);
}

.game-info h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.game-tips {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.tip {
    background: rgba(0, 0, 0, 0.3);
    padding: 1rem;
    border-radius: 10px;
}

.game-embed {
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    padding: 2rem;
}

.game-embed iframe {
    width: 100%;
    height: 700px;
    border-radius: 10px;
}

/* Legal Pages */
.page-hero {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    text-align: center;
    border-bottom: 2px solid rgba(107, 70, 255, 0.3);
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, #6B46FF, #9D4EDD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.update-date {
    color: #888;
    font-size: 1rem;
}

.content-section {
    max-width: 1000px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.legal-content h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem 0;
    color: #fff;
}

.legal-content h3 {
    font-size: 1.4rem;
    margin: 1.5rem 0 1rem 0;
    color: #9D4EDD;
}

.legal-content p {
    margin-bottom: 1rem;
    color: #c0c0c0;
    line-height: 1.8;
}

.legal-content ul {
    margin: 1rem 0 1.5rem 2rem;
    color: #c0c0c0;
}

.legal-content li {
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

.legal-content a {
    color: #9D4EDD;
    text-decoration: none;
}

.legal-content a:hover {
    color: #6B46FF;
    text-decoration: underline;
}

.legal-content .notice-box {
    margin-top: 2rem;
}

.notice-box.important {
    background: linear-gradient(135deg, rgba(255, 68, 68, 0.15), rgba(255, 136, 0, 0.15));
    border: 2px solid rgba(255, 68, 68, 0.6);
}

/* Footer */
footer {
    background: rgba(15, 12, 41, 0.9);
    margin-top: 4rem;
    padding: 3rem 0 1rem 0;
    border-top: 2px solid rgba(107, 70, 255, 0.3);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #fff;
}

.footer-section p {
    color: #c0c0c0;
    line-height: 1.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #c0c0c0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #9D4EDD;
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 2rem 1rem 2rem;
    text-align: center;
    border-top: 1px solid rgba(107, 70, 255, 0.2);
    color: #888;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 12, 41, 0.98);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        display: none;
        border-bottom: 2px solid rgba(107, 70, 255, 0.3);
    }

    nav.active {
        display: flex;
    }

    nav a {
        padding: 1rem;
        border-bottom: 1px solid rgba(107, 70, 255, 0.2);
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-features {
        flex-direction: column;
        gap: 1rem;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .game-container iframe,
    .game-embed iframe {
        height: 500px;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .cta-section h2,
    .play-hero h1,
    .page-hero h1 {
        font-size: 2rem;
    }

    .age-content {
        padding: 2rem;
        margin: 1rem;
    }

    .age-content h2 {
        font-size: 1.5rem;
    }

    .age-buttons {
        flex-direction: column;
    }
}
