@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Playfair Display', serif;
    background: #1a1a2e;
    background-image: 
        linear-gradient(45deg, #16213e 25%, transparent 25%),
        linear-gradient(-45deg, #0f3460 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #e94560 75%),
        linear-gradient(-45deg, transparent 75%, #e94560 75%);
    background-size: 60px 60px;
    background-position: 0 0, 0 30px, 30px -30px, -30px 0px;
    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(26, 26, 46, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 2px solid #e94560;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 6px 25px rgba(233, 69, 96, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.3rem 0;
}

.logo {
    font-size: 2.3rem;
    font-weight: 900;
    color: #e94560;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 0 20px rgba(233, 69, 96, 0.5);
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, #e94560, #f39c12, #e94560);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 5px;
}

.logo:hover::before {
    opacity: 0.2;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #e94560;
    font-size: 1.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-toggle:hover {
    color: #f39c12;
    transform: scale(1.1);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.8rem;
}

.nav-menu a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.6rem 0;
}

.nav-menu a:hover {
    color: #e94560;
    text-shadow: 0 0 10px rgba(233, 69, 96, 0.5);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #e94560, #f39c12);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 6rem 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(233, 69, 96, 0.1) 0%, transparent 70%);
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.hero h1 {
    font-size: 4.2rem;
    font-weight: 900;
    margin-bottom: 1.8rem;
    background: linear-gradient(135deg, #e94560 0%, #f39c12 50%, #e94560 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
    animation: glow 5s ease-in-out infinite alternate;
}

@keyframes glow {
    from { 
        text-shadow: 0 0 20px rgba(233, 69, 96, 0.5);
        transform: scale(1);
    }
    to { 
        text-shadow: 0 0 40px rgba(233, 69, 96, 0.8), 0 0 60px rgba(243, 156, 18, 0.5);
        transform: scale(1.03);
    }
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 3rem;
    color: #e0e0e0;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.notice-banner {
    background: linear-gradient(135deg, #e94560, #f39c12, #e94560);
    color: white;
    padding: 2.2rem;
    margin: 3rem 0;
    border-radius: 18px;
    box-shadow: 0 10px 35px rgba(233, 69, 96, 0.4);
    animation: slideInUp 1.2s ease-out;
    position: relative;
    z-index: 1;
}

@keyframes slideInUp {
    from {
        transform: translateY(60px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.notice-banner h3 {
    font-size: 1.7rem;
    margin-bottom: 1.2rem;
    font-weight: 800;
}

.notice-banner p {
    margin: 0.9rem 0;
    font-size: 1.05rem;
    font-weight: 500;
}

/* Game Container */
.game-container {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(25px);
    border-radius: 22px;
    padding: 3rem;
    margin: 3rem 0;
    border: 3px solid #e94560;
    box-shadow: 0 20px 60px rgba(233, 69, 96, 0.25);
    position: relative;
    overflow: hidden;
}

.game-container::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #e94560, #f39c12, #e94560, #f39c12);
    border-radius: 22px;
    z-index: -1;
    animation: borderGlow 4s 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: 18px;
    position: relative;
    z-index: 1;
}

/* Content Sections */
.content-section {
    padding: 5rem 0;
    position: relative;
}

.content-section h2 {
    font-size: 3.2rem;
    color: #e94560;
    margin-bottom: 2.5rem;
    text-align: center;
    font-weight: 800;
    position: relative;
}

.content-section h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    background: linear-gradient(90deg, #e94560, #f39c12);
    border-radius: 3px;
}

.content-section p {
    font-size: 1.15rem;
    margin-bottom: 1.8rem;
    text-align: justify;
    font-weight: 400;
    line-height: 1.9;
    color: #d5d5d5;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2.5rem;
    margin: 3.5rem 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    padding: 2.5rem;
    border-radius: 18px;
    border: 2px solid rgba(233, 69, 96, 0.3);
    transition: all 0.5s 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(233, 69, 96, 0.1), transparent);
    transition: left 0.8s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 50px rgba(233, 69, 96, 0.25);
    border-color: #e94560;
}

.feature-card h3 {
    color: #e94560;
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 700;
    position: relative;
    z-index: 1;
}

.feature-card p {
    position: relative;
    z-index: 1;
    font-weight: 400;
    color: #c5c5c5;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    padding: 3.5rem 0;
    text-align: center;
    border-top: 2px solid #e94560;
    margin-top: 5rem;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #e94560, #f39c12, #e94560, transparent);
    animation: shimmer 5s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

.footer p {
    margin-bottom: 1.5rem;
    color: #c0c0c0;
    font-weight: 400;
}

.footer a {
    color: #e94560;
    text-decoration: none;
    margin: 0 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.footer a:hover {
    color: #f39c12;
    text-shadow: 0 0 8px rgba(233, 69, 96, 0.5);
}

.footer a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #f39c12;
    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(15px);
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    margin: 10% auto;
    padding: 3.5rem;
    border: 3px solid #e94560;
    border-radius: 22px;
    width: 90%;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 25px 70px rgba(233, 69, 96, 0.4);
    position: relative;
    overflow: hidden;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg, #e94560, #f39c12, #e94560, #f39c12);
    border-radius: 22px;
    z-index: -1;
    animation: borderGlow 4s linear infinite;
}

.modal h2 {
    color: #e94560;
    margin-bottom: 1.8rem;
    font-size: 2.5rem;
    font-weight: 800;
    position: relative;
    z-index: 1;
}

.modal p {
    margin-bottom: 2.2rem;
    color: #ffffff;
    font-size: 1.15rem;
    position: relative;
    z-index: 1;
}

.modal-buttons {
    display: flex;
    gap: 2rem;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.btn {
    padding: 1.2rem 2.5rem;
    border: none;
    border-radius: 30px;
    font-size: 1.15rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.5s ease;
    font-family: 'Playfair Display', 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.3), transparent);
    transition: left 0.8s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-yes {
    background: linear-gradient(45deg, #e94560, #f39c12);
    color: white;
    box-shadow: 0 6px 25px rgba(233, 69, 96, 0.5);
}

.btn-yes:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(233, 69, 96, 0.7);
}

.btn-no {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: white;
    box-shadow: 0 6px 25px rgba(255, 107, 107, 0.5);
}

.btn-no:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(255, 107, 107, 0.7);
}

/* 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(20px);
        flex-direction: column;
        padding: 2.5rem;
        border-top: 2px solid #e94560;
        gap: 2rem;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .game-container iframe {
        height: 400px;
    }
    
    .modal-content {
        margin: 20% auto;
        width: 95%;
        padding: 2.5rem;
    }
    
    .modal-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .game-container iframe {
        height: 300px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .logo {
        font-size: 2rem;
    }
}

/* Floating Elements */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.floating {
    animation: float 7s ease-in-out infinite;
}

/* Particle System */
.particle {
    position: fixed;
    width: 4px;
    height: 4px;
    background: #e94560;
    border-radius: 50%;
    pointer-events: none;
    animation: particleFloat 12s 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(40px);
    transition: all 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Decorative Elements */
.decorative-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, #e94560, #f39c12, #e94560, transparent);
    margin: 2rem 0;
    animation: shimmer 3s ease-in-out infinite;
}