@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;600;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #6b4ce6;
    --secondary: #9d4edd;
    --accent: #c77dff;
    --dark: #1a0f2e;
    --light: #f0e6ff;
}

body {
    font-family: 'Orbitron', sans-serif;
    background: linear-gradient(135deg, #1a0f2e 0%, #2d1b4e 50%, #1a0f2e 100%);
    color: var(--light);
    line-height: 1.6;
    min-height: 100vh;
}

header {
    background: rgba(26, 15, 46, 0.9);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary);
    box-shadow: 0 4px 20px rgba(107, 76, 230, 0.3);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--light);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    color: var(--accent);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--light);
    font-size: 1.5rem;
    cursor: pointer;
}

main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
}

.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(107, 76, 230, 0.1), rgba(157, 78, 221, 0.1));
    border-radius: 20px;
    margin-bottom: 3rem;
    border: 1px solid rgba(199, 125, 255, 0.3);
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(199, 125, 255, 0.5);
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 800px;
    margin: 0 auto;
}

.card {
    background: rgba(26, 15, 46, 0.6);
    border: 1px solid var(--primary);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px rgba(107, 76, 230, 0.2);
    backdrop-filter: blur(10px);
}

.card h2 {
    color: var(--accent);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.notice-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.notice-card {
    background: linear-gradient(135deg, rgba(107, 76, 230, 0.2), rgba(157, 78, 221, 0.2));
    padding: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid var(--accent);
    text-align: center;
}

.notice-card h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.game-container {
    margin: 2rem 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.4);
    padding: 2rem;
    border-radius: 15px;
    border: 2px solid var(--primary);
}

.game-container iframe {
    border: none;
    border-radius: 10px;
    max-width: 100%;
}

footer {
    background: rgba(26, 15, 46, 0.9);
    color: var(--light);
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
    border-top: 2px solid var(--primary);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--light);
}

.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, var(--dark), #2d1b4e);
    margin: 10% auto;
    padding: 3rem;
    border: 2px solid var(--primary);
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 0 50px rgba(107, 76, 230, 0.5);
}

.modal-content h2 {
    color: var(--accent);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.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-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(107, 76, 230, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--light);
    border: 1px solid var(--light);
}

.content-section {
    line-height: 1.8;
}

.content-section h2 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--accent);
}

.content-section p {
    margin-bottom: 1rem;
}

.content-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 15, 46, 0.98);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        border-bottom: 2px solid var(--primary);
    }

    nav.active {
        max-height: 500px;
    }

    nav ul {
        flex-direction: column;
        padding: 1rem;
        gap: 0;
    }

    nav li {
        padding: 1rem 0;
        border-bottom: 1px solid rgba(107, 76, 230, 0.3);
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .logo {
        font-size: 1.5rem;
    }
}
