@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #1a0033 0%, #330066 50%, #1a0033 100%);
    color: #e0e0e0;
    min-height: 100vh;
    line-height: 1.6;
}

header {
    background: rgba(0, 0, 0, 0.6);
    padding: 1rem 2rem;
    box-shadow: 0 4px 20px rgba(138, 43, 226, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    color: #bb86fc;
    text-shadow: 0 0 20px rgba(187, 134, 252, 0.5);
    letter-spacing: 2px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav ul li a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

nav ul li a:hover {
    color: #bb86fc;
    background: rgba(187, 134, 252, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: #bb86fc;
    border-radius: 2px;
    transition: all 0.3s;
}

main {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    margin-bottom: 3rem;
    border: 2px solid rgba(187, 134, 252, 0.2);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 900;
    color: #bb86fc;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(187, 134, 252, 0.6);
}

.hero p {
    font-size: 1.3rem;
    color: #b0b0b0;
    max-width: 800px;
    margin: 0 auto;
}

.content-section {
    background: rgba(0, 0, 0, 0.4);
    padding: 3rem;
    border-radius: 15px;
    margin-bottom: 2rem;
    border-left: 5px solid #bb86fc;
}

.content-section h2 {
    color: #bb86fc;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
}

.content-section h3 {
    color: #cf9fff;
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.notice-box {
    background: rgba(255, 87, 87, 0.15);
    border: 2px solid #ff5757;
    border-radius: 10px;
    padding: 2rem;
    margin: 2rem 0;
}

.notice-box h3 {
    color: #ff5757;
    margin-top: 0;
}

.notice-box ul {
    margin-left: 2rem;
    margin-top: 1rem;
}

.notice-box li {
    margin: 0.5rem 0;
    color: #ffb3b3;
}

.game-container {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 15px;
    margin: 3rem 0;
    text-align: center;
}

.game-container iframe {
    width: 100%;
    max-width: 900px;
    height: 600px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: rgba(187, 134, 252, 0.1);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(187, 134, 252, 0.3);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(187, 134, 252, 0.2);
}

.feature-card h3 {
    color: #bb86fc;
    margin-top: 0;
    margin-bottom: 1rem;
}

footer {
    background: rgba(0, 0, 0, 0.8);
    padding: 3rem 2rem;
    margin-top: 4rem;
    border-top: 3px solid #bb86fc;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #bb86fc;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.footer-links a:hover {
    color: #cf9fff;
}

/* Age Verification Modal */
.age-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.age-modal.active {
    display: flex;
}

.age-modal-content {
    background: linear-gradient(135deg, #1a0033 0%, #330066 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    border: 3px solid #bb86fc;
    box-shadow: 0 0 50px rgba(187, 134, 252, 0.5);
}

.age-modal-content h2 {
    color: #bb86fc;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.age-modal-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: #e0e0e0;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-buttons button {
    padding: 1rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Roboto', sans-serif;
}

.btn-yes {
    background: #bb86fc;
    color: #1a0033;
}

.btn-yes:hover {
    background: #cf9fff;
    transform: scale(1.05);
}

.btn-no {
    background: #ff5757;
    color: white;
}

.btn-no:hover {
    background: #ff3333;
    transform: scale(1.05);
}

/* Mobile Styles */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav ul {
        position: fixed;
        top: 70px;
        right: -100%;
        width: 100%;
        max-width: 300px;
        background: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        padding: 2rem;
        transition: right 0.3s;
        border-left: 3px solid #bb86fc;
        height: calc(100vh - 70px);
    }

    nav ul.active {
        right: 0;
    }

    nav ul li {
        margin: 1rem 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .content-section {
        padding: 1.5rem;
    }

    .game-container iframe {
        height: 400px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .age-modal-content {
        margin: 1rem;
        padding: 2rem;
    }

    .age-modal-content h2 {
        font-size: 2rem;
    }

    .age-buttons {
        flex-direction: column;
    }

    .age-buttons button {
        width: 100%;
    }
}