@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a0d2e 25%, #2d1b69 50%, #1a0d2e 75%, #0a0a0a 100%);
    background-attachment: fixed;
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(138, 43, 226, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(75, 0, 130, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(138, 43, 226, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Age Verification Overlay */
.age-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.98);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(20px);
}

.age-popup {
    background: linear-gradient(145deg, #1a0d2e, #2d1b69);
    padding: 4rem;
    border-radius: 30px;
    text-align: center;
    border: 3px solid #8a2be2;
    box-shadow: 0 0 50px rgba(138, 43, 226, 0.4), inset 0 0 30px rgba(138, 43, 226, 0.1);
    max-width: 550px;
    margin: 1rem;
    position: relative;
    overflow: hidden;
}

.age-popup::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(138, 43, 226, 0.1), transparent);
    animation: dreamRotate 4s linear infinite;
}

@keyframes dreamRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.age-popup h2 {
    color: #8a2be2;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    font-weight: 800;
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.6);
    position: relative;
    z-index: 1;
}

.age-popup p {
    margin-bottom: 2.5rem;
    line-height: 1.7;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.age-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.age-btn {
    padding: 1.3rem 3rem;
    border: none;
    border-radius: 20px;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
    font-size: 1rem;
}

.age-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.age-btn:hover::before {
    left: 100%;
}

.age-btn.yes {
    background: linear-gradient(45deg, #8a2be2, #9932cc);
    color: #fff;
    box-shadow: 0 8px 20px rgba(138, 43, 226, 0.4);
}

.age-btn.no {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: #fff;
    box-shadow: 0 8px 20px rgba(231, 76, 60, 0.4);
}

.age-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
}

/* Header */
.header {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(25px);
    padding: 2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #8a2be2;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 3rem;
    font-weight: 900;
    color: #8a2be2;
    text-shadow: 0 0 30px rgba(138, 43, 226, 0.7);
    text-decoration: none;
    position: relative;
    animation: dreamGlow 3s ease-in-out infinite alternate;
}

@keyframes dreamGlow {
    0% { 
        text-shadow: 0 0 30px rgba(138, 43, 226, 0.7);
        transform: scale(1);
    }
    100% { 
        text-shadow: 0 0 40px rgba(138, 43, 226, 0.9), 0 0 60px rgba(138, 43, 226, 0.5);
        transform: scale(1.02);
    }
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #8a2be2;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
    color: #9932cc;
    transform: scale(1.1);
}

.nav {
    display: flex;
    gap: 3rem;
}

.nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s ease;
    position: relative;
    padding: 1rem 2rem;
    border-radius: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1rem;
}

.nav a:hover {
    color: #8a2be2;
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.6);
    background: rgba(138, 43, 226, 0.1);
    transform: translateY(-2px);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(45deg, #8a2be2, #9932cc);
    transition: all 0.4s ease;
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav a:hover::after {
    width: 90%;
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(25px);
    border-top: 3px solid #8a2be2;
    padding: 2rem;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 1.5rem;
    color: #ffffff;
    text-decoration: none;
    border-bottom: 1px solid #333;
    transition: all 0.4s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    font-size: 1.1rem;
}

.mobile-nav a:hover {
    color: #8a2be2;
    background: rgba(138, 43, 226, 0.1);
    padding-left: 2.5rem;
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
}

.hero {
    text-align: center;
    padding: 5rem 0;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.2), rgba(153, 50, 204, 0.2));
    border-radius: 40px;
    margin-bottom: 5rem;
    border: 3px solid rgba(138, 43, 226, 0.5);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.15) 0%, transparent 70%);
    animation: dreamFloat 25s linear infinite;
}

@keyframes dreamFloat {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 2rem;
    color: #8a2be2;
    text-shadow: 0 0 40px rgba(138, 43, 226, 0.8);
    position: relative;
    z-index: 1;
    font-weight: 900;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    position: relative;
    z-index: 1;
    font-weight: 400;
}

.notices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 5rem;
}

.notice {
    background: rgba(255, 255, 255, 0.1);
    padding: 2.5rem;
    border-radius: 25px;
    border: 3px solid rgba(138, 43, 226, 0.4);
    text-align: center;
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.15), transparent);
    transition: left 0.8s;
}

.notice:hover::before {
    left: 100%;
}

.notice:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: 0 20px 40px rgba(138, 43, 226, 0.4);
    border-color: rgba(138, 43, 226, 0.7);
}

.notice h3 {
    color: #8a2be2;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.notice p {
    font-size: 1.1rem;
    opacity: 0.95;
    position: relative;
    z-index: 1;
    line-height: 1.7;
}

/* Game Container */
.game-container {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 30px;
    padding: 4rem;
    margin: 5rem 0;
    border: 3px solid #8a2be2;
    box-shadow: 0 0 50px rgba(138, 43, 226, 0.4);
    position: relative;
    overflow: hidden;
}

.game-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(138, 43, 226, 0.15), transparent);
    animation: dreamSpin 12s linear infinite;
}

@keyframes dreamSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.game-container h2 {
    text-align: center;
    color: #8a2be2;
    margin-bottom: 3rem;
    font-size: 3rem;
    font-weight: 900;
    position: relative;
    z-index: 1;
    text-shadow: 0 0 25px rgba(138, 43, 226, 0.7);
}

.game-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 700px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 25px;
    border: 3px solid rgba(138, 43, 226, 0.5);
    position: relative;
    z-index: 1;
}

.game-wrapper iframe {
    border: none;
    border-radius: 20px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.8);
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(25px);
    padding: 4rem 0;
    margin-top: 6rem;
    border-top: 3px solid #8a2be2;
    box-shadow: 0 -8px 25px rgba(0, 0, 0, 0.3);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #8a2be2;
    text-decoration: none;
    transition: all 0.4s ease;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 1.1rem;
}

.footer-links a:hover {
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.6);
    transform: translateY(-3px);
}

.footer p {
    opacity: 0.8;
    font-size: 1.1rem;
    font-weight: 400;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav {
        display: none;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .hero p {
        font-size: 1.2rem;
    }
    
    .notices {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 2rem;
    }
    
    .age-popup {
        padding: 3rem;
        margin: 1rem;
    }
    
    .age-buttons {
        flex-direction: column;
    }
    
    .game-container {
        padding: 3rem;
    }
    
    .main-content {
        padding: 3rem 1rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 2rem 0.5rem;
    }
    
    .hero {
        padding: 4rem 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .age-popup {
        padding: 2rem;
    }
    
    .game-container {
        padding: 2rem;
    }
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 15px;
}

::-webkit-scrollbar-track {
    background: #1a0d2e;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #8a2be2, #9932cc);
    border-radius: 8px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #9932cc, #8a2be2);
}

/* Additional Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notice {
    animation: fadeInUp 0.8s ease-out;
}

.notice:nth-child(2) {
    animation-delay: 0.3s;
}

.notice:nth-child(3) {
    animation-delay: 0.6s;
}

/* Dream Effects */
@keyframes dreamShimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.dream-effect {
    animation: dreamShimmer 2s ease-in-out infinite;
}