@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;900&family=Montserrat:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 25%, #0f3460 50%, #533483 75%, #7209b7 100%);
    color: #f8f9fa;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Animated background sparkles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 20, 147, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(138, 43, 226, 0.1) 0%, transparent 50%);
    animation: sparkleFloat 15s ease-in-out infinite;
    z-index: -1;
}

@keyframes sparkleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.3; }
    33% { transform: translateY(-15px) rotate(2deg); opacity: 0.6; }
    66% { transform: translateY(-10px) rotate(-1deg); opacity: 0.4; }
}

/* Header Styles */
.header {
    background: linear-gradient(90deg, #7209b7 0%, #9d4edd 50%, #c77dff 100%);
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(199, 125, 255, 0.3);
    position: relative;
    z-index: 1000;
    border-bottom: 3px solid #ffd700;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 20"><path d="M0,10 Q25,0 50,10 T100,10" stroke="rgba(255,215,0,0.4)" stroke-width="2" fill="none"/></svg>') repeat-x;
    animation: glamourWave 3s ease-in-out infinite;
}

@keyframes glamourWave {
    0%, 100% { transform: translateX(0px); }
    50% { transform: translateX(10px); }
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1rem;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffd700;
    text-shadow: 3px 3px 0px #7209b7, 6px 6px 0px rgba(0,0,0,0.3);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.logo::after {
    content: '✨';
    position: absolute;
    right: -40px;
    top: -5px;
    font-size: 1.5rem;
    animation: sparkleDance 2s ease-in-out infinite;
}

@keyframes sparkleDance {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(-15deg) scale(1.2); }
    75% { transform: rotate(15deg) scale(1.2); }
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 4px 4px 0px #7209b7, 8px 8px 0px rgba(0,0,0,0.4);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #ffd700;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #f8f9fa;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border: 2px solid transparent;
    border-radius: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-menu a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,215,0,0.3), transparent);
    transition: left 0.5s;
}

.nav-menu a:hover::before {
    left: 100%;
}

.nav-menu a:hover {
    color: #ffd700;
    border-color: #ffd700;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255,215,0,0.3);
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: linear-gradient(135deg, #7209b7 0%, #9d4edd 100%);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 2rem 0;
        gap: 1rem;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .logo {
        font-size: 2rem;
    }
    
    .logo::after {
        right: -30px;
        font-size: 1.2rem;
    }
}

/* Main Content */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.hero-section {
    text-align: center;
    padding: 3rem 0;
    background: radial-gradient(ellipse at center, rgba(255,215,0,0.1) 0%, transparent 70%);
    border-radius: 20px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '💎✨🌟';
    position: absolute;
    top: -30px;
    right: -30px;
    font-size: 4rem;
    opacity: 0.2;
    animation: glamourSparkle 8s ease-in-out infinite;
}

@keyframes glamourSparkle {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    25% { transform: translateY(-15px) rotate(5deg); }
    50% { transform: translateY(-10px) rotate(-3deg); }
    75% { transform: translateY(-20px) rotate(2deg); }
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    color: #ffd700;
    margin-bottom: 1rem;
    text-shadow: 4px 4px 0px #7209b7, 8px 8px 0px rgba(0,0,0,0.3);
    animation: titleGlamour 2s ease-in-out infinite alternate;
}

@keyframes titleGlamour {
    from { text-shadow: 4px 4px 0px #7209b7, 8px 8px 0px rgba(0,0,0,0.3); }
    to { text-shadow: 4px 4px 0px #7209b7, 8px 8px 0px rgba(0,0,0,0.3), 0 0 20px #ffd700; }
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #f8f9fa;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.notice-banner {
    background: linear-gradient(45deg, #7209b7, #9d4edd);
    padding: 1.5rem;
    border-radius: 15px;
    margin: 2rem 0;
    border: 3px solid #ffd700;
    box-shadow: 0 0 20px rgba(255,215,0,0.3);
    position: relative;
    overflow: hidden;
}

.notice-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,215,0,0.1) 0%, transparent 70%);
    animation: rotate 15s linear infinite;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.notice-banner h3 {
    color: #ffd700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    z-index: 2;
}

.notice-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    position: relative;
    z-index: 2;
}

.notice-list li {
    background: rgba(0,0,0,0.3);
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid #ffd700;
    font-weight: 600;
    transition: transform 0.3s ease;
}

.notice-list li:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255,215,0,0.2);
}

/* Game Container */
.game-container {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    border: 3px solid #ffd700;
    box-shadow: 0 0 30px rgba(255,215,0,0.2);
    position: relative;
    overflow: hidden;
}

.game-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,215,0,0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

.game-frame {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 600px;
    border: 2px solid #7209b7;
    border-radius: 15px;
    overflow: hidden;
    background: #000;
}

.game-frame iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.footer {
    background: linear-gradient(90deg, #1a1a2e 0%, #16213e 50%, #1a1a2e 100%);
    padding: 2rem 0;
    margin-top: 3rem;
    border-top: 3px solid #ffd700;
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #ffd700, #ffed4e, #ffd700);
    animation: shimmer 2s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.footer h3 {
    color: #ffd700;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #f8f9fa;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid transparent;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #ffd700;
    border-color: #ffd700;
    background: rgba(255,215,0,0.1);
}

.footer p {
    color: #adb5bd;
    font-size: 0.9rem;
}

/* Age Verification Modal */
.age-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
}

.age-modal-content {
    background: linear-gradient(135deg, #7209b7 0%, #9d4edd 100%);
    margin: 15% auto;
    padding: 2rem;
    border: 3px solid #ffd700;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 0 50px rgba(255,215,0,0.5);
    animation: modalAppear 0.5s ease-out;
    position: relative;
    overflow: hidden;
}

.age-modal-content::before {
    content: '✨';
    position: absolute;
    top: -20px;
    right: -20px;
    font-size: 3rem;
    opacity: 0.3;
    animation: sparkleFloat 3s ease-in-out infinite;
}

@keyframes sparkleFloat {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(10deg); }
}

@keyframes modalAppear {
    from { opacity: 0; transform: scale(0.8) translateY(-50px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.age-modal h2 {
    color: #ffd700;
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.age-modal p {
    color: #f8f9fa;
    margin-bottom: 2rem;
    font-size: 1.1rem;
    line-height: 1.6;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.age-btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Montserrat', sans-serif;
    min-width: 120px;
    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.5s;
}

.age-btn:hover::before {
    left: 100%;
}

.age-btn.yes {
    background: linear-gradient(45deg, #10b981, #059669);
    color: white;
}

.age-btn.no {
    background: linear-gradient(45deg, #ef4444, #dc2626);
    color: white;
}

.age-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .notice-list {
        grid-template-columns: 1fr;
    }
    
    .game-frame {
        height: 400px;
    }
    
    .footer-links {
        flex-direction: column;
        align-items: center;
    }
    
    .age-modal-content {
        margin: 20% auto;
        padding: 1.5rem;
    }
    
    .age-buttons {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .logo {
        font-size: 1.8rem;
    }
    
    .logo::after {
        right: -25px;
        font-size: 1rem;
    }
    
    .game-frame {
        height: 300px;
    }
}