* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #6C3FF5;
    --secondary-color: #FF3D71;
    --accent-color: #FFC107;
    --dark-bg: #0F0C1D;
    --light-text: #FFFFFF;
    --gray-text: #B8B8D1;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #0F0C1D 0%, #1A1531 100%);
    color: var(--light-text);
    line-height: 1.6;
    min-height: 100vh;
}

header {
    background: rgba(15, 12, 29, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 2rem;
    font-weight: 700;
    color: var(--light-text);
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

nav a:hover {
    color: var(--accent-color);
    background: rgba(255, 193, 7, 0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--light-text);
    border-radius: 3px;
    transition: 0.3s;
}

main {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

.hero-section {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(108, 63, 245, 0.1), rgba(255, 61, 113, 0.1));
    border-radius: 20px;
    margin-bottom: 3rem;
}

.hero-section h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-section p {
    font-size: 1.3rem;
    color: var(--gray-text);
    max-width: 800px;
    margin: 0 auto 2rem;
}

.notice-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.notice-card {
    background: rgba(108, 63, 245, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: transform 0.3s;
}

.notice-card:hover {
    transform: translateY(-5px);
}

.notice-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.notice-card h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.game-container {
    background: rgba(26, 21, 49, 0.8);
    border-radius: 20px;
    padding: 2rem;
    margin: 3rem 0;
    border: 2px solid var(--primary-color);
    box-shadow: 0 10px 40px rgba(108, 63, 245, 0.3);
}

.game-container h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 2.5rem;
    color: var(--accent-color);
}

.game-frame {
    width: 100%;
    height: 700px;
    border: none;
    border-radius: 15px;
    background: #000;
}

.content-section {
    margin: 3rem 0;
    padding: 2rem;
    background: rgba(26, 21, 49, 0.6);
    border-radius: 15px;
    border-left: 4px solid var(--secondary-color);
}

.content-section h2 {
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.content-section p {
    color: var(--gray-text);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.content-section ul {
    list-style: none;
    padding-left: 0;
}

.content-section li {
    padding: 0.8rem;
    margin: 0.5rem 0;
    background: rgba(108, 63, 245, 0.1);
    border-radius: 8px;
    color: var(--light-text);
}

.content-section li::before {
    content: "✦ ";
    color: var(--accent-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

footer {
    background: rgba(15, 12, 29, 0.95);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
    border-top: 2px solid var(--primary-color);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-links a {
    color: var(--light-text);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    border: 1px solid var(--primary-color);
    transition: all 0.3s;
}

.footer-links a:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.footer-text {
    text-align: center;
    color: var(--gray-text);
    font-size: 0.9rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: linear-gradient(135deg, #1A1531 0%, #2D2449 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 500px;
    border: 3px solid var(--primary-color);
    box-shadow: 0 20px 60px rgba(108, 63, 245, 0.5);
}

.modal-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: var(--accent-color);
}

.modal-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--gray-text);
}

.modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-confirm {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-text);
}

.btn-confirm:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(108, 63, 245, 0.5);
}

.btn-decline {
    background: transparent;
    color: var(--light-text);
    border: 2px solid var(--secondary-color);
}

.btn-decline:hover {
    background: var(--secondary-color);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    nav {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(15, 12, 29, 0.98);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s;
        gap: 0;
    }
    
    nav.active {
        left: 0;
    }
    
    nav a {
        padding: 1rem;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .notice-cards {
        grid-template-columns: 1fr;
    }
    
    .game-frame {
        height: 500px;
    }
    
    main {
        padding: 1rem;
    }
    
    .modal-content {
        margin: 1rem;
        padding: 2rem;
    }
}
