@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #533483 100%);
    background-attachment: fixed;
    color: #e8e8e8;
    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% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Header Styles */
.header {
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(20px);
    padding: 1.5rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 2px solid #00d4ff;
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.2);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 2.8rem;
    font-weight: 700;
    background: linear-gradient(45deg, #00d4ff, #ff6b9d, #c44569, #f8b500);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    animation: gradientShift 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.logo:hover {
    transform: scale(1.05);
    filter: brightness(1.2);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.hamburger:hover {
    background: rgba(0, 212, 255, 0.1);
    transform: scale(1.1);
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: linear-gradient(45deg, #00d4ff, #ff6b9d);
    margin: 4px 0;
    transition: 0.3s;
    border-radius: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav a {
    color: #e8e8e8;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav a:hover {
    background: linear-gradient(45deg, #00d4ff, #ff6b9d);
    color: #0f0f23;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 5px;
    left: 50%;
    background: linear-gradient(45deg, #00d4ff, #ff6b9d);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav a:hover::after {
    width: 80%;
}

/* Main Content */
.main-content {
    margin-top: 100px;
    padding: 2rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.hero {
    text-align: center;
    padding: 5rem 0;
    background: rgba(15, 15, 35, 0.8);
    border-radius: 30px;
    margin-bottom: 4rem;
    border: 2px solid #00d4ff;
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 212, 255, 0.1), transparent, rgba(255, 107, 157, 0.1), transparent);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.hero h1 {
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #00d4ff, #ff6b9d, #c44569, #f8b500);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
    position: relative;
    z-index: 1;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #e8e8e8;
    position: relative;
    z-index: 1;
    font-weight: 400;
    line-height: 1.6;
}

.notices {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.notice {
    background: rgba(15, 15, 35, 0.9);
    padding: 3rem;
    border-radius: 25px;
    border: 2px solid transparent;
    background-clip: padding-box;
    text-align: center;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.notice::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #00d4ff, #ff6b9d, #c44569, #f8b500);
    border-radius: 25px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.notice:hover::before {
    opacity: 1;
}

.notice:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
}

.notice h3 {
    color: #00d4ff;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 600;
}

.notice p {
    color: #e8e8e8;
    line-height: 1.8;
    font-weight: 400;
    font-size: 1.1rem;
}

.game-container {
    background: rgba(15, 15, 35, 0.95);
    border-radius: 30px;
    padding: 3.5rem;
    margin: 4rem 0;
    border: 2px solid #00d4ff;
    box-shadow: 0 0 50px rgba(0, 212, 255, 0.4);
    position: relative;
}

.game-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00d4ff, #ff6b9d, #c44569, #f8b500, #00d4ff);
    border-radius: 30px;
    z-index: -1;
    animation: borderGlow 4s ease-in-out infinite;
}

@keyframes borderGlow {
    0% { opacity: 0.6; }
    50% { opacity: 1; }
    100% { opacity: 0.6; }
}

.game-container h2 {
    text-align: center;
    color: #00d4ff;
    margin-bottom: 2rem;
    font-size: 2.8rem;
    font-weight: 600;
}

.game-frame {
    width: 100%;
    height: 650px;
    border: none;
    border-radius: 20px;
    background: #000;
    box-shadow: inset 0 0 30px rgba(0, 212, 255, 0.3);
}

/* Footer */
.footer {
    background: rgba(15, 15, 35, 0.95);
    padding: 3.5rem 0;
    margin-top: 5rem;
    border-top: 2px solid #00d4ff;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #ff6b9d, #c44569, #f8b500, #00d4ff);
    background-size: 200% 100%;
    animation: footerGlow 4s ease-in-out infinite;
}

@keyframes footerGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #00d4ff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 0.8rem 1.5rem;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a:hover {
    background: linear-gradient(45deg, #00d4ff, #ff6b9d);
    color: #0f0f23;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.footer p {
    color: #a0a0a0;
    font-size: 1rem;
    font-weight: 400;
}

/* Age Verification Modal */
.age-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
}

.age-modal-content {
    background: linear-gradient(135deg, #0f0f23, #1a1a2e);
    margin: 8% auto;
    padding: 4rem;
    border: 2px solid #00d4ff;
    border-radius: 30px;
    width: 90%;
    max-width: 650px;
    text-align: center;
    box-shadow: 0 0 60px rgba(0, 212, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.age-modal-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(0, 212, 255, 0.1), transparent, rgba(255, 107, 157, 0.1), transparent);
    animation: rotate 15s linear infinite;
}

.age-modal h2 {
    color: #00d4ff;
    margin-bottom: 2rem;
    font-size: 2.8rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.age-modal p {
    color: #e8e8e8;
    margin-bottom: 3rem;
    line-height: 1.8;
    font-size: 1.3rem;
    position: relative;
    z-index: 1;
}

.age-buttons {
    display: flex;
    gap: 2.5rem;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.age-btn {
    padding: 1.5rem 3rem;
    border: none;
    border-radius: 20px;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.age-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.age-btn:hover::before {
    left: 100%;
}

.age-btn.yes {
    background: linear-gradient(45deg, #00d4ff, #ff6b9d);
    color: #0f0f23;
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.age-btn.no {
    background: linear-gradient(45deg, #c44569, #8b1538);
    color: #e8e8e8;
    box-shadow: 0 5px 15px rgba(196, 69, 105, 0.4);
}

.age-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

/* Additional Content Styles */
.additional-content {
    margin: 4rem 0;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature {
    background: rgba(15, 15, 35, 0.9);
    padding: 3rem;
    border-radius: 25px;
    border: 2px solid transparent;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #00d4ff, #ff6b9d, #c44569, #f8b500);
    border-radius: 25px;
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature:hover::before {
    opacity: 1;
}

.feature:hover {
    transform: translateY(-8px) scale(1.03);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
}

.feature h3 {
    color: #00d4ff;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.feature p {
    color: #e8e8e8;
    line-height: 1.8;
    font-weight: 400;
    font-size: 1.1rem;
}

/* Legal Content Styles */
.legal-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
}

.legal-content h1 {
    color: #00d4ff;
    text-align: center;
    margin-bottom: 2rem;
    font-size: 3.2rem;
    font-weight: 600;
}

.last-updated {
    text-align: center;
    color: #a0a0a0;
    margin-bottom: 4rem;
    font-style: italic;
    font-size: 1.2rem;
}

.terms-section {
    margin-bottom: 3rem;
    padding: 3rem;
    background: rgba(15, 15, 35, 0.8);
    border-radius: 25px;
    border-left: 5px solid #00d4ff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.terms-section h2 {
    color: #00d4ff;
    margin-bottom: 1.5rem;
    font-size: 1.9rem;
    font-weight: 600;
}

.terms-section p {
    color: #e8e8e8;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-size: 1.1rem;
}

.terms-section ul {
    color: #e8e8e8;
    padding-left: 2.5rem;
    line-height: 1.8;
}

.terms-section li {
    margin-bottom: 0.8rem;
    font-weight: 400;
    font-size: 1.1rem;
}

.disclaimer-warning {
    background: linear-gradient(45deg, rgba(196, 69, 105, 0.2), rgba(255, 107, 157, 0.2));
    border: 3px solid #c44569;
    border-radius: 25px;
    padding: 3.5rem;
    margin-bottom: 4rem;
    text-align: center;
    box-shadow: 0 0 40px rgba(196, 69, 105, 0.3);
}

.disclaimer-warning h2 {
    color: #c44569;
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.disclaimer-footer {
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid #00d4ff;
    border-radius: 25px;
    padding: 3.5rem;
    text-align: center;
    margin-top: 4rem;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.disclaimer-footer p {
    color: #00d4ff;
    font-weight: 600;
    font-size: 1.4rem;
}

/* Game Page Styles */
.game-description {
    text-align: center;
    color: #e8e8e8;
    margin-bottom: 2.5rem;
    font-size: 1.4rem;
    font-weight: 400;
}

.game-instructions {
    background: rgba(15, 15, 35, 0.9);
    padding: 3rem;
    border-radius: 25px;
    margin-bottom: 2.5rem;
    border: 2px solid #00d4ff;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.game-instructions h3 {
    color: #00d4ff;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 600;
}

.game-instructions ul {
    color: #e8e8e8;
    padding-left: 2.5rem;
    line-height: 1.8;
}

.game-instructions li {
    margin-bottom: 0.8rem;
    font-weight: 400;
    font-size: 1.1rem;
}

.game-info {
    background: rgba(15, 15, 35, 0.9);
    padding: 3rem;
    border-radius: 25px;
    margin-top: 2.5rem;
    border: 2px solid #00d4ff;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.2);
}

.game-info h3 {
    color: #00d4ff;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 600;
}

.game-info p {
    color: #e8e8e8;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 400;
    font-size: 1.1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 15, 35, 0.98);
        flex-direction: column;
        padding: 2rem;
        gap: 1.5rem;
        border-top: 2px solid #00d4ff;
    }
    
    .nav.active {
        display: flex;
    }
    
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .notices {
        grid-template-columns: 1fr;
    }
    
    .game-frame {
        height: 450px;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .age-modal-content {
        margin: 15% auto;
        padding: 3rem;
    }
    
    .age-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .legal-content {
        padding: 2rem;
    }
    
    .legal-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 1rem;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .game-frame {
        height: 350px;
    }
    
    .age-modal-content {
        padding: 2.5rem;
    }
}