*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --primary: #9333ea;
    --secondary: #ec4899;
    --dark: #0f0a1a;
    --darker: #080510;
    --light: #f8f5ff;
    --accent: #a855f7;
    --text: #e2d9f3;
    --text-muted: #9585b3;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Raleway', sans-serif;
    background: var(--darker);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    line-height: 1.3;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.modal-overlay.hidden {
    display: none;
}

.modal-box {
    background: linear-gradient(145deg, #1a1025, #0f0a1a);
    border: 1px solid var(--primary);
    border-radius: 20px;
    padding: 50px 40px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 0 60px rgba(147, 51, 234, 0.3);
}

.modal-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.modal-box h2 {
    color: var(--light);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.modal-box p {
    margin-bottom: 15px;
    color: var(--text-muted);
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
    flex-wrap: wrap;
}

.btn-confirm, .btn-deny {
    padding: 15px 35px;
    border: none;
    border-radius: 50px;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-confirm {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.btn-confirm:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 30px rgba(147, 51, 234, 0.5);
}

.btn-deny {
    background: transparent;
    border: 2px solid var(--text-muted);
    color: var(--text-muted);
}

.btn-deny:hover {
    border-color: var(--secondary);
    color: var(--secondary);
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(8, 5, 16, 0.9);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(147, 51, 234, 0.2);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--light);
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    font-weight: 700;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 28px;
    height: 3px;
    background: var(--light);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.main-nav {
    display: flex;
    gap: 35px;
}

.main-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s ease;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--light);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 30px 80px;
    background: radial-gradient(ellipse at center, rgba(147, 51, 234, 0.15) 0%, transparent 70%),
                linear-gradient(180deg, var(--darker) 0%, var(--dark) 100%);
    position: relative;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--light);
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--light) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 18px 50px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    text-decoration: none;
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 40px rgba(147, 51, 234, 0.4);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 50px rgba(147, 51, 234, 0.6);
}

/* Notices */
.notices {
    padding: 100px 30px;
    background: var(--dark);
}

.notice-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.notice-card {
    background: linear-gradient(145deg, rgba(147, 51, 234, 0.1), transparent);
    border: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: 20px;
    padding: 40px 35px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.notice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(147, 51, 234, 0.2);
}

.notice-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.notice-card h3 {
    color: var(--light);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.notice-card p {
    color: var(--text-muted);
}

/* Game Showcase */
.game-showcase {
    padding: 100px 30px;
    background: linear-gradient(180deg, var(--dark) 0%, var(--darker) 100%);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
}

.section-header h2 {
    font-size: 2.5rem;
    color: var(--light);
    margin-bottom: 20px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.game-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
    border: 2px solid rgba(147, 51, 234, 0.3);
}

.game-frame {
    width: 100%;
    height: 650px;
    border: none;
    display: block;
}

.game-info {
    text-align: center;
    margin-top: 25px;
    color: var(--text-muted);
}

/* About Section */
.about-section {
    padding: 100px 30px;
    background: var(--darker);
}

.about-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h2 {
    font-size: 2.5rem;
    color: var(--light);
    margin-bottom: 25px;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.about-stats {
    display: grid;
    gap: 30px;
}

.stat-item {
    background: linear-gradient(135deg, rgba(147, 51, 234, 0.15), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(147, 51, 234, 0.3);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 3rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 5px;
}

/* Features */
.features {
    padding: 100px 30px;
    background: var(--dark);
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--light);
    margin-bottom: 60px;
}

.features-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-card {
    background: rgba(15, 10, 26, 0.8);
    border: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: 15px;
    padding: 35px;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 20px;
    display: block;
}

.feature-card h3 {
    color: var(--light);
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Footer */
.site-footer {
    background: var(--darker);
    border-top: 1px solid rgba(147, 51, 234, 0.2);
    padding: 60px 30px 30px;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
}

.footer-logo {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light);
}

.footer-brand p {
    margin-top: 15px;
    color: var(--text-muted);
}

.footer-links h4,
.footer-responsible h4 {
    color: var(--light);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-links a,
.footer-responsible a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 10px;
    transition: color 0.3s ease;
}

.footer-links a:hover,
.footer-responsible a:hover {
    color: var(--accent);
}

.footer-bottom {
    max-width: 1400px;
    margin: 40px auto 0;
    padding-top: 25px;
    border-top: 1px solid rgba(147, 51, 234, 0.1);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mobile Styles */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(8, 5, 16, 0.98);
        flex-direction: column;
        padding: 30px;
        gap: 20px;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-nav a {
        font-size: 1.2rem;
        padding: 10px 0;
    }
    
    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 60px;
    }
    
    .game-frame {
        height: 450px;
    }
    
    .notice-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-box {
        padding: 30px 25px;
    }
}
