@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;600;800&family=Open+Sans:wght@400;600&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0f0f23;
    --bg-medium: #1a1a3e;
    --accent-purple: #9d4edd;
    --accent-cyan: #00d9ff;
    --text-light: #e0e0e0;
    --text-bright: #ffffff;
    --success-green: #4ade80;
}

body {
    font-family: 'Open Sans', sans-serif;
    background: radial-gradient(circle at top right, #1a1a3e 0%, #0f0f23 50%, #0a0a1a 100%);
    color: var(--text-light);
    line-height: 1.7;
    min-height: 100vh;
    background-attachment: fixed;
}

header {
    background: linear-gradient(90deg, rgba(157, 78, 221, 0.15) 0%, rgba(0, 217, 255, 0.15) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(157, 78, 221, 0.3);
    padding: 1.2rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: 'Raleway', sans-serif;
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
    letter-spacing: 1px;
}

.menu-toggle {
    display: none;
    width: 30px;
    height: 25px;
    position: relative;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    position: absolute;
    height: 3px;
    width: 100%;
    background: var(--accent-cyan);
    border-radius: 3px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: 0.25s ease-in-out;
}

.menu-toggle span:nth-child(1) { top: 0; }
.menu-toggle span:nth-child(2) { top: 10px; }
.menu-toggle span:nth-child(3) { top: 20px; }

.navigation ul {
    display: flex;
    list-style: none;
    gap: 0.5rem;
}

.navigation a {
    color: var(--text-light);
    text-decoration: none;
    padding: 0.7rem 1.3rem;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.navigation a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--accent-purple), var(--accent-cyan));
    transition: left 0.3s ease;
    z-index: -1;
}

.navigation a:hover::before {
    left: 0;
}

.navigation a:hover {
    color: var(--text-bright);
}

.main-content {
    padding: 4rem 0;
}

.hero-banner {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(157, 78, 221, 0.2) 0%, rgba(0, 217, 255, 0.2) 100%);
    border-radius: 25px;
    margin-bottom: 4rem;
    position: relative;
    overflow: hidden;
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(157, 78, 221, 0.1) 0%, transparent 70%);
    animation: pulse 15s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-title {
    font-family: 'Raleway', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--accent-cyan);
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.section-title {
    font-family: 'Raleway', sans-serif;
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--accent-cyan);
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin: 4rem 0;
}

.info-box {
    background: linear-gradient(135deg, rgba(26, 26, 62, 0.8) 0%, rgba(15, 15, 35, 0.9) 100%);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid rgba(157, 78, 221, 0.3);
    transition: all 0.4s ease;
    position: relative;
}

.info-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    padding: 2px;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-cyan));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.info-box:hover::before {
    opacity: 1;
}

.info-box:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(157, 78, 221, 0.4);
}

.info-box-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--accent-cyan);
}

.info-box-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.content-block {
    background: rgba(26, 26, 62, 0.6);
    padding: 3.5rem;
    border-radius: 20px;
    margin: 3rem 0;
    border-left: 4px solid var(--accent-purple);
}

.content-block h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 2.3rem;
    margin-bottom: 1.5rem;
    color: var(--accent-purple);
}

.content-block p {
    margin-bottom: 1.3rem;
    font-size: 1.05rem;
}

.content-block ul {
    margin: 1.5rem 0 1.5rem 2rem;
}

.content-block li {
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

.game-wrapper {
    background: rgba(15, 15, 35, 0.8);
    padding: 3rem;
    border-radius: 25px;
    margin: 4rem 0;
    border: 2px solid rgba(0, 217, 255, 0.3);
}

.game-embed {
    width: 100%;
    height: 750px;
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
}

.site-footer {
    background: linear-gradient(180deg, transparent 0%, rgba(15, 15, 35, 0.9) 50%);
    padding: 4rem 0 2rem;
    margin-top: 5rem;
    border-top: 1px solid rgba(157, 78, 221, 0.3);
}

.footer-title {
    font-size: 1.6rem;
    color: var(--accent-purple);
    margin-bottom: 1.5rem;
    text-align: center;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.footer-nav a {
    color: var(--accent-cyan);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.footer-nav a:hover {
    color: var(--accent-purple);
    transform: translateY(-2px);
}

.footer-text {
    text-align: center;
    opacity: 0.7;
    font-size: 0.95rem;
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.97);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-overlay.show {
    display: flex;
}

.modal-box {
    background: linear-gradient(135deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    padding: 4rem 3rem;
    border-radius: 25px;
    max-width: 550px;
    text-align: center;
    border: 3px solid var(--accent-purple);
    box-shadow: 0 25px 70px rgba(157, 78, 221, 0.6);
}

.modal-box h2 {
    font-family: 'Raleway', sans-serif;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-cyan) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.modal-box p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.button-group {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.action-btn {
    padding: 1.2rem 3.5rem;
    font-size: 1.2rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.btn-confirm {
    background: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-cyan) 100%);
    color: var(--text-bright);
}

.btn-confirm:hover {
    transform: scale(1.08);
    box-shadow: 0 10px 30px rgba(157, 78, 221, 0.6);
}

.btn-decline {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-decline:hover {
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .navigation {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-medium);
        transition: left 0.3s ease;
        padding-top: 5rem;
        border-right: 2px solid var(--accent-purple);
    }

    .navigation.active {
        left: 0;
    }

    .navigation ul {
        flex-direction: column;
        gap: 0;
    }

    .navigation li {
        border-bottom: 1px solid rgba(157, 78, 221, 0.2);
    }

    .navigation a {
        display: block;
        padding: 1.5rem 2rem;
        border-radius: 0;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .game-embed {
        height: 550px;
    }

    .content-block {
        padding: 2rem;
    }

    .button-group {
        flex-direction: column;
    }

    .action-btn {
        width: 100%;
    }
}
