@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;800&family=Exo+2:wght@300;400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Exo 2', sans-serif;
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
    color: #e0e7ff;
    min-height: 100vh;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background: rgba(30, 27, 75, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid #7c3aed;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.3);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    color: #a78bfa;
    text-shadow: 0 0 20px rgba(167, 139, 250, 0.6);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    color: #c4b5fd;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

nav a:hover {
    color: #fbbf24;
    background: rgba(167, 139, 250, 0.1);
    transform: translateY(-2px);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: #a78bfa;
    border-radius: 3px;
    transition: all 0.3s ease;
}

main {
    padding: 3rem 0;
}

.hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(180deg, rgba(124, 58, 237, 0.1) 0%, transparent 100%);
    border-radius: 20px;
    margin-bottom: 3rem;
}

h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 3.5rem;
    color: #a78bfa;
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(167, 139, 250, 0.5);
}

h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.2rem;
    color: #c4b5fd;
    margin: 2rem 0 1rem;
}

h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.6rem;
    color: #ddd6fe;
    margin: 1.5rem 0 1rem;
}

.subtitle {
    font-size: 1.3rem;
    color: #ddd6fe;
    margin-bottom: 2rem;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.notice-card {
    background: rgba(49, 46, 129, 0.6);
    border: 2px solid #7c3aed;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.notice-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4);
    border-color: #a78bfa;
}

.notice-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.notice-card h3 {
    color: #fbbf24;
    margin-top: 0;
}

.game-container {
    background: rgba(30, 27, 75, 0.8);
    border: 3px solid #7c3aed;
    border-radius: 20px;
    padding: 2rem;
    margin: 3rem 0;
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.4);
}

.game-frame {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 10px;
    background: #000;
}

.content-section {
    background: rgba(49, 46, 129, 0.4);
    border-left: 4px solid #a78bfa;
    padding: 2rem;
    margin: 2rem 0;
    border-radius: 10px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature-box {
    background: linear-gradient(135deg, rgba(76, 29, 149, 0.5) 0%, rgba(49, 46, 129, 0.5) 100%);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(167, 139, 250, 0.3);
    transition: all 0.3s ease;
}

.feature-box:hover {
    border-color: #fbbf24;
    transform: scale(1.02);
}

footer {
    background: rgba(30, 27, 75, 0.95);
    border-top: 2px solid #7c3aed;
    padding: 2rem 0;
    margin-top: 4rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.responsible-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.responsible-links a {
    color: #fbbf24;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #fbbf24;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.responsible-links a:hover {
    background: #fbbf24;
    color: #1e1b4b;
    transform: scale(1.05);
}

.copyright {
    text-align: center;
    color: #a78bfa;
    font-size: 0.9rem;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    justify-content: center;
    align-items: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: linear-gradient(135deg, #1e1b4b 0%, #4c1d95 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    border: 3px solid #7c3aed;
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.6);
}

.modal-content h2 {
    margin-top: 0;
    color: #fbbf24;
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.btn-yes {
    background: #10b981;
    color: white;
}

.btn-yes:hover {
    background: #059669;
    transform: scale(1.05);
}

.btn-no {
    background: #ef4444;
    color: white;
}

.btn-no:hover {
    background: #dc2626;
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: rgba(30, 27, 75, 0.98);
        transition: right 0.3s ease;
        padding: 5rem 2rem;
        border-left: 2px solid #7c3aed;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
    }

    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .game-frame {
        height: 500px;
    }

    .notice-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
}
