@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Quicksand:wght@300;400;500;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0d0d1a;
    --secondary-dark: #1a1a2e;
    --accent-purple: #7b2cbf;
    --accent-pink: #e040fb;
    --text-light: #f0e6ff;
    --text-muted: #9d8db7;
    --gradient-main: linear-gradient(135deg, #1a1a2e 0%, #0d0d1a 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Quicksand', sans-serif;
    background: var(--gradient-main);
    color: var(--text-light);
    min-height: 100vh;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
}

a {
    color: var(--accent-pink);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-purple);
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background: rgba(13, 13, 26, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(123, 44, 191, 0.3);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo svg {
    width: 45px;
    height: 45px;
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 10px;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--accent-pink);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 35px;
}

.main-nav a {
    color: var(--text-light);
    font-weight: 500;
    padding: 8px 0;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-pink);
    transition: width 0.3s ease;
}

.main-nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 140px 20px 80px;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(123, 44, 191, 0.15) 0%, transparent 70%);
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    text-shadow: 0 0 30px rgba(224, 64, 251, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Notices */
.notices-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.notice-card {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid rgba(123, 44, 191, 0.4);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.notice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 40px rgba(123, 44, 191, 0.3);
}

.notice-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.notice-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--accent-pink);
}

/* Game Section */
.game-section {
    padding: 60px 20px;
}

.game-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 30px;
}

.game-wrapper {
    background: rgba(13, 13, 26, 0.9);
    border: 2px solid rgba(123, 44, 191, 0.5);
    border-radius: 20px;
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
    box-shadow: 0 0 60px rgba(123, 44, 191, 0.2);
}

.game-wrapper iframe {
    width: 100%;
    height: 600px;
    border: none;
    display: block;
}

/* Features */
.features {
    padding: 80px 20px;
}

.features h2 {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1300px;
    margin: 0 auto;
}

.feature-item {
    text-align: center;
    padding: 25px;
}

.feature-item .icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.feature-item h4 {
    color: var(--accent-pink);
    margin-bottom: 10px;
}

/* Info Section */
.info-section {
    padding: 60px 20px;
    background: rgba(26, 26, 46, 0.5);
}

.info-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.info-content h2 {
    margin-bottom: 25px;
    font-size: 2rem;
}

.info-content p {
    margin-bottom: 20px;
    color: var(--text-muted);
}

/* Footer */
.site-footer {
    background: rgba(13, 13, 26, 0.98);
    padding: 50px 20px 30px;
    border-top: 1px solid rgba(123, 44, 191, 0.3);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.footer-content h4 {
    margin-bottom: 20px;
    color: var(--accent-pink);
}

.responsible-links {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.responsible-links a {
    color: var(--text-muted);
    transition: color 0.3s ease;
}

.responsible-links a:hover {
    color: var(--accent-pink);
}

.footer-bottom {
    padding-top: 20px;
    border-top: 1px solid rgba(123, 44, 191, 0.2);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Age Verification */
.age-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 13, 26, 0.98);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}

.age-modal {
    background: var(--secondary-dark);
    border: 2px solid var(--accent-purple);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    max-width: 450px;
    box-shadow: 0 0 80px rgba(123, 44, 191, 0.4);
}

.age-modal h2 {
    margin-bottom: 20px;
    color: var(--accent-pink);
}

.age-modal p {
    margin-bottom: 30px;
    color: var(--text-muted);
}

.age-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.btn {
    padding: 14px 40px;
    border: none;
    border-radius: 30px;
    font-family: 'Quicksand', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-confirm {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-pink));
    color: white;
}

.btn-confirm:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 25px rgba(224, 64, 251, 0.4);
}

.btn-deny {
    background: transparent;
    border: 2px solid var(--text-muted);
    color: var(--text-muted);
}

.btn-deny:hover {
    border-color: var(--accent-pink);
    color: var(--accent-pink);
}

.age-hidden {
    display: none !important;
}

/* Page Styles */
.page-header {
    padding: 130px 20px 50px;
    text-align: center;
    background: radial-gradient(ellipse at top, rgba(123, 44, 191, 0.2) 0%, transparent 60%);
}

.page-header h1 {
    font-size: 2.5rem;
}

.page-content {
    padding: 50px 20px 80px;
    max-width: 900px;
    margin: 0 auto;
}

.page-content h2 {
    margin: 40px 0 20px;
    font-size: 1.6rem;
    color: var(--accent-pink);
}

.page-content h3 {
    margin: 30px 0 15px;
    font-size: 1.3rem;
}

.page-content p {
    margin-bottom: 18px;
    color: var(--text-muted);
}

.page-content ul {
    margin: 15px 0 25px 30px;
    color: var(--text-muted);
}

.page-content li {
    margin-bottom: 10px;
}

/* Play Page */
.play-hero {
    padding: 120px 20px 40px;
    text-align: center;
}

.play-hero h1 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.game-info {
    max-width: 800px;
    margin: 30px auto;
    padding: 25px;
    background: rgba(26, 26, 46, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(123, 44, 191, 0.3);
}

/* Mobile Responsive */
@media (max-width: 992px) {
    .notices-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .main-nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(13, 13, 26, 0.98);
        border-top: 1px solid rgba(123, 44, 191, 0.3);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
    }
    
    .main-nav.active {
        max-height: 400px;
    }
    
    .main-nav ul {
        flex-direction: column;
        padding: 20px;
        gap: 0;
    }
    
    .main-nav li {
        border-bottom: 1px solid rgba(123, 44, 191, 0.2);
    }
    
    .main-nav a {
        display: block;
        padding: 15px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .notices-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .game-wrapper iframe {
        height: 450px;
    }
    
    .responsible-links {
        flex-direction: column;
        gap: 15px;
    }
    
    .age-modal {
        margin: 20px;
        padding: 30px;
    }
    
    .age-buttons {
        flex-direction: column;
    }
}
