@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto Slab', serif;
    background: #0a0a0a;
    background-image: 
        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%);
    color: #ffffff;
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid #7877c6;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo {
    font-size: 2.2rem;
    font-weight: 800;
    color: #7877c6;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
}

.logo::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #7877c6, #ff77c6);
    transition: width 0.3s ease;
}

.logo:hover::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #7877c6;
    font-size: 1.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    color: #ff77c6;
    transform: scale(1.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-menu a:hover {
    color: #7877c6;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #7877c6, #ff77c6);
    transition: width 0.3s ease;
}

.nav-menu a:hover::before {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 5rem 0;
    text-align: center;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(120, 119, 198, 0.1) 0%, transparent 70%);
    animation: pulse 6s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #7877c6 0%, #ff77c6 50%, #78dbff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    animation: glow 4s ease-in-out infinite alternate;
}

@keyframes glow {
    from { 
        text-shadow: 0 0 20px rgba(120, 119, 198, 0.5);
        transform: scale(1);
    }
    to { 
        text-shadow: 0 0 40px rgba(120, 119, 198, 0.8), 0 0 60px rgba(255, 119, 198, 0.5);
        transform: scale(1.02);
    }
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2.5rem;
    color: #b8b8b8;
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.notice-banner {
    background: linear-gradient(135deg, #ff6b6b, #4ecdc4, #45b7d1);
    color: white;
    padding: 2rem;
    margin: 2.5rem 0;
    border-radius: 15px;
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.3);
    animation: slideInUp 1s ease-out;
    position: relative;
    z-index: 1;
}

@keyframes slideInUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.notice-banner h3 {
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.notice-banner p {
    margin: 0.8rem 0;
    font-size: 1rem;
    font-weight: 400;
}

/* Game Container */
.game-container {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2.5rem;
    margin: 2.5rem 0;
    border: 2px solid #7877c6;
    box-shadow: 0 15px 50px rgba(120, 119, 198, 0.2);
    position: relative;
    overflow: hidden;
}

.game-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #7877c6, #ff77c6, #78dbff, #7877c6);
    border-radius: 20px;
    z-index: -1;
    animation: borderGlow 3s linear infinite;
}

@keyframes borderGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.game-container iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: 15px;
    position: relative;
    z-index: 1;
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
    position: relative;
}

.content-section h2 {
    font-size: 2.8rem;
    color: #7877c6;
    margin-bottom: 2rem;
    text-align: center;
    font-weight: 700;
    position: relative;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, #7877c6, #ff77c6);
    border-radius: 2px;
}

.content-section p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    text-align: justify;
    font-weight: 300;
    line-height: 1.8;
    color: #d0d0d0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(120, 119, 198, 0.3);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(120, 119, 198, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(120, 119, 198, 0.2);
    border-color: #7877c6;
}

.feature-card h3 {
    color: #7877c6;
    margin-bottom: 1.2rem;
    font-size: 1.5rem;
    font-weight: 600;
    position: relative;
    z-index: 1;
}

.feature-card p {
    position: relative;
    z-index: 1;
    font-weight: 300;
    color: #c0c0c0;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid #7877c6;
    margin-top: 4rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #7877c6, #ff77c6, #78dbff, transparent);
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

.footer p {
    margin-bottom: 1.2rem;
    color: #b8b8b8;
    font-weight: 300;
}

.footer a {
    color: #7877c6;
    text-decoration: none;
    margin: 0 1.2rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.footer a:hover {
    color: #ff77c6;
}

.footer a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: #ff77c6;
    transition: width 0.3s ease;
}

.footer a:hover::after {
    width: 100%;
}

/* Age Verification Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
}

.modal-content {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    margin: 12% auto;
    padding: 3rem;
    border: 2px solid #7877c6;
    border-radius: 20px;
    width: 90%;
    max-width: 550px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(120, 119, 198, 0.3);
    position: relative;
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #7877c6, #ff77c6, #78dbff, #7877c6);
    border-radius: 20px;
    z-index: -1;
    animation: borderGlow 3s linear infinite;
}

.modal h2 {
    color: #7877c6;
    margin-bottom: 1.5rem;
    font-size: 2.2rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.modal p {
    margin-bottom: 2rem;
    color: #ffffff;
    font-size: 1.1rem;
    position: relative;
    z-index: 1;
}

.modal-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    font-family: 'Roboto Slab', serif;
    position: relative;
    overflow: hidden;
}

.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;
}

.btn:hover::before {
    left: 100%;
}

.btn-yes {
    background: linear-gradient(45deg, #7877c6, #ff77c6);
    color: white;
    box-shadow: 0 5px 20px rgba(120, 119, 198, 0.4);
}

.btn-yes:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(120, 119, 198, 0.6);
}

.btn-no {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    box-shadow: 0 5px 20px rgba(255, 107, 107, 0.4);
}

.btn-no:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        padding: 2rem;
        border-top: 1px solid #7877c6;
        gap: 1.5rem;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
    
    .game-container iframe {
        height: 400px;
    }
    
    .modal-content {
        margin: 20% auto;
        width: 95%;
        padding: 2rem;
    }
    
    .modal-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .game-container iframe {
        height: 300px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 1.8rem;
    }
}

/* Floating Elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-15px); }
}

.floating {
    animation: float 6s ease-in-out infinite;
}

/* Particle System */
.particle {
    position: fixed;
    width: 3px;
    height: 3px;
    background: #7877c6;
    border-radius: 50%;
    pointer-events: none;
    animation: particleFloat 10s linear infinite;
}

@keyframes particleFloat {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Scroll Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}