:root {
    --bg-main: #0D0221;
    --bg-secondary: #1A0B2E;
    --accent-primary: #FF00FF;
    --accent-secondary: #00FFFF;
    --accent-tertiary: #39FF14;
    --text-primary: #FFFFFF;
    --text-secondary: #B3B3B3;
    --font-heading: 'Press Start 2P', cursive;
    --font-body: 'Exo 2', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-primary);
    font-family: var(--font-body);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.text-muted {
    color: var(--text-secondary) !important;
}

* {
    transition: none !important;
    animation: none !important;
    box-sizing: border-box;
}

.pixel-arcade-theme {
    background-image: radial-gradient(circle at 50% 50%, var(--bg-secondary) 0%, var(--bg-main) 100%);
}

.neon-border {
    border: 4px solid var(--accent-primary);
    box-shadow: 0 0 0 4px var(--bg-main), 0 0 0 8px var(--accent-secondary);
}

.arcade-btn {
    background: var(--accent-primary);
    color: #fff;
    font-family: var(--font-heading);
    padding: 1rem 2rem;
    border: none;
    box-shadow: 4px 4px 0 0 #000;
    display: inline-block;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
}

.arcade-btn:active {
    transform: translateY(2px);
    box-shadow: 2px 2px 0 0 #000;
}

/* ===== header ===== */
.teknos-header {
    background-color: #0D0221;
    border-bottom: 4px solid #FF00FF;
    padding: 1rem 0;
    z-index: 1050;
}

.teknos-header .header-logo {
    max-width: 45px;
    height: auto;
    image-rendering: pixelated;
}

.teknos-header .brand-text {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.25rem;
    color: #FFFFFF;
    text-transform: uppercase;
}

.teknos-header .nav-link {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.75rem;
    color: #FFFFFF !important;
    padding: 0.5rem 1rem !important;
    text-transform: uppercase;
}

.teknos-header .nav-link:hover,
.teknos-header .nav-link:focus {
    color: #00FFFF !important;
}

.teknos-header .dropdown-menu {
    background-color: #1A0B2E;
    border: 2px solid #00FFFF;
    border-radius: 0;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.teknos-header .dropdown-item {
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    color: #FFFFFF;
    font-size: 0.9rem;
    padding: 0.75rem 1.5rem;
}

.teknos-header .dropdown-item:hover {
    background-color: #FF00FF;
    color: #FFFFFF;
}

.teknos-header .btn-arcade {
    display: inline-block;
    background: linear-gradient(45deg, #FF00FF, #00FFFF);
    color: #FFFFFF;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    text-transform: uppercase;
    border: none;
    box-shadow: 4px 4px 0px #000;
    position: relative;
}

.teknos-header .btn-arcade:active {
    transform: translateY(2px);
    box-shadow: 2px 2px 0px #000;
}

.teknos-header .navbar-toggler {
    border: 2px solid #00FFFF;
    border-radius: 0;
    padding: 0.25rem 0.5rem;
}

.teknos-header .toggler-icon {
    width: 24px;
    height: 24px;
}

@media (max-width: 991.98px) {
    .teknos-header .navbar-collapse {
        background-color: #1A0B2E;
        padding: 1.5rem;
        margin-top: 1rem;
        border: 2px solid #FF00FF;
    }

    .teknos-header .nav-link {
        padding: 1rem 0 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .teknos-header .header-actions {
        margin-top: 1.5rem;
        text-align: center;
    }

    .teknos-header .btn-arcade {
        width: 100%;
    }
}

/* ===== hero ===== */
.hero-arcade-showcase {
    min-height: 90vh;
    background-color: #0D0221;
    color: #FFFFFF;
    position: relative;
    border-bottom: 8px solid #FF00FF;
}

.hero-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    background: linear-gradient(90deg, rgba(13, 2, 33, 0.9) 0%, rgba(13, 2, 33, 0.6) 100%);
    z-index: 2;
}

.hero-dither-overlay {
    background-image: radial-gradient(rgba(255, 0, 255, 0.1) 1px, transparent 1px);
    background-size: 4px 4px;
    z-index: 3;
    pointer-events: none;
}

.hero-arcade-showcase .container {
    z-index: 4;
    position: relative;
}

.hero-title {
    font-family: 'Press Start 2P', cursive;
    color: #FF00FF;
    text-shadow: 4px 4px #00FFFF;
    line-height: 1.4;
    font-size: 2.5rem;
}

.hero-description {
    font-family: 'Exo 2', sans-serif;
    font-size: 1.25rem;
    color: #B3B3B3;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-arcade-showcase .text-lg-start .hero-description {
    margin-left: 0;
}

.hero-status-badge {
    background: #1A0B2E;
    border: 2px solid #00FFFF;
    clip-path: polygon(4px 0, calc(100% - 4px) 0, 100% 4px, 100% calc(100% - 4px), calc(100% - 4px) 100%, 4px 100%, 0 calc(100% - 4px), 0 4px);
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.hero-status-badge a {
    color: #00FFFF;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: #39FF14;
    border-radius: 50%;
    box-shadow: 0 0 10px #39FF14;
}

.btn-pixel {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    padding: 15px 25px;
    border: 4px solid #000;
    box-shadow: 4px 4px 0px #000;
    text-decoration: none;
    transition: none !important;
    position: relative;
}

.btn-pixel:active {
    transform: translateY(2px);
    box-shadow: 2px 2px 0px #000;
}

.btn-primary-neon {
    background: #FF00FF;
    color: #FFFFFF;
}

.btn-primary-neon:hover {
    background: #E600E6;
    color: #FFFFFF;
}

.btn-secondary-neon {
    background: #00FFFF;
    color: #0D0221;
}

.btn-secondary-neon:hover {
    background: #00E6E6;
    color: #0D0221;
}

.hero-icon {
    width: 20px;
    height: 20px;
}

.hero-asset-container {
    padding: 20px;
}

.hero-3d-asset {
    filter: drop-shadow(0 0 20px rgba(255, 0, 255, 0.4));
    position: relative;
    z-index: 2;
}

.asset-glow {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    height: 80%;
    background: radial-gradient(circle, rgba(0, 255, 255, 0.2) 0%, transparent 70%);
    z-index: 1;
}

@media (max-width: 991.98px) {
    .hero-title {
        font-size: 1.5rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .btn-pixel {
        width: 100%;
    }
}

/* ===== games-grid ===== */
.games-grid-section {
    background-color: #0D0221;
    background-image: radial-gradient(rgba(255, 0, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    color: #FFFFFF;
    padding: 80px 0;
}

.games-grid-title {
    font-family: 'Press Start 2P', cursive;
    color: #FF00FF;
    text-shadow: 3px 3px 0px #00FFFF;
    font-size: 2rem;
    text-transform: uppercase;
}

.games-grid-subtitle {
    font-family: 'Exo 2', sans-serif;
    color: #B3B3B3;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.games-grid-filters button {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    padding: 12px 24px;
    background: #1A0B2E;
    color: #00FFFF;
    border: 4px solid #00FFFF;
    cursor: pointer;
    box-shadow: 4px 4px 0px #FF00FF;
    position: relative;
    transition: none;
}

.games-grid-filters button.active {
    background: #FF00FF;
    color: #FFFFFF;
    border-color: #FFFFFF;
    box-shadow: 4px 4px 0px #00FFFF;
    transform: translate(2px, 2px);
}

.games-grid-filters button:hover {
    background: #00FFFF;
    color: #0D0221;
    box-shadow: 4px 4px 0px #FF00FF;
}

.game-card {
    background: #1A0B2E;
    border: 4px solid #FF00FF;
    box-shadow: 6px 6px 0px #00FFFF;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: none;
}

.game-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: 10px 10px 0px #FF00FF;
    border-color: #00FFFF;
}

.game-card-img-link {
    display: block;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-bottom: 4px solid #FF00FF;
}

.game-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-card-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.game-card-tag {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.6rem;
    color: #39FF14;
    margin-bottom: 12px;
    display: block;
}

.game-card-title {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 20px;
    flex-grow: 1;
}

.game-card-title a {
    color: #FFFFFF;
    text-decoration: none;
}

.game-card-title a:hover {
    color: #00FFFF;
}

.btn-arcade {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.75rem;
    padding: 12px;
    text-align: center;
    background: linear-gradient(45deg, #FF00FF, #00FFFF);
    color: #FFFFFF;
    border: none;
    text-decoration: none;
    display: inline-block;
    box-shadow: 4px 4px 0px #39FF14;
    position: relative;
}

.btn-arcade:hover {
    color: #FFFFFF;
    filter: brightness(1.2);
}

.btn-arcade:active {
    transform: translateY(2px);
    box-shadow: 2px 2px 0px #39FF14;
}

@media (max-width: 768px) {
    .games-grid-title {
        font-size: 1.25rem;
    }

    .games-grid-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .games-grid-filters button {
        width: 100%;
    }
}

/* ===== open-rooms ===== */
.open-rooms-section {
    background-color: #0D0221;
    color: #FFFFFF;
    padding-top: 64px;
    padding-bottom: 64px;
}

.open-rooms-section .lobby-heading {
    font-family: 'Press Start 2P', cursive;
    font-size: 24px;
    color: #FF00FF;
    text-transform: uppercase;
    line-height: 1.2;
}

.open-rooms-section .lobby-subheading {
    font-family: 'Exo 2', sans-serif;
    font-size: 18px;
    color: #B3B3B3;
}

.open-rooms-section .lobby-tab-btn {
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    padding: 12px 20px;
    background: #1A0B2E;
    border: 4px solid #00FFFF;
    color: #00FFFF;
    cursor: pointer;
    box-shadow: 4px 4px 0px #000;
}

.open-rooms-section .lobby-tab-btn.active {
    background: #00FFFF;
    color: #0D0221;
    border-color: #FFFFFF;
}

.open-rooms-section .lobby-card {
    background-color: #1A0B2E;
    border: 4px solid #FF00FF;
    position: relative;
    box-shadow: 8px 8px 0px rgba(255, 0, 255, 0.2);
    display: flex;
    flex-direction: column;
}

.open-rooms-section .lobby-card-status {
    position: absolute;
    top: 12px;
    right: 12px;
    background-color: #39FF14;
    color: #0D0221;
    padding: 4px 8px;
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
    z-index: 2;
}

.open-rooms-section .lobby-card-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 4px solid #FF00FF;
}

.open-rooms-section .lobby-card-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.open-rooms-section .lobby-card-meta {
    font-family: 'Exo 2', sans-serif;
    font-size: 14px;
    color: #00FFFF;
    font-weight: 700;
}

.open-rooms-section .lobby-card-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    color: #FFFFFF;
    margin: 0;
    line-height: 1.4;
}

.open-rooms-section .lobby-card-title-link {
    text-decoration: none;
    flex-grow: 1;
}

.open-rooms-section .lobby-btn-join {
    display: block;
    text-align: center;
    background: linear-gradient(45deg, #FF00FF, #00FFFF);
    color: #FFFFFF;
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    padding: 14px;
    text-decoration: none;
    border: none;
    box-shadow: 4px 4px 0px #000;
}

.open-rooms-section .lobby-btn-join:active {
    transform: translateY(2px);
    box-shadow: 2px 2px 0px #000;
}

@media (max-width: 768px) {
    .open-rooms-section .lobby-heading {
        font-size: 18px;
    }

    .open-rooms-section .lobby-tab-btn {
        font-size: 10px;
        padding: 8px 12px;
    }
}

/* ===== poll ===== */
.teknos-poll {
    background-color: #0D0221;
    color: #FFFFFF;
    font-family: 'Exo 2', sans-serif;
    position: relative;
    overflow: hidden;
}

.teknos-poll-heading {
    font-family: 'Press Start 2P', cursive;
    color: #FF00FF;
    font-size: 1.5rem;
    line-height: 1.4;
    text-shadow: 4px 4px 0px #00FFFF;
}

.teknos-poll-subheading {
    font-family: 'Press Start 2P', cursive;
    color: #00FFFF;
    font-size: 1rem;
    line-height: 1.2;
}

.teknos-poll-lead {
    color: #B3B3B3;
    font-size: 1.1rem;
}

.teknos-poll-card {
    background-color: #1A0B2E;
    border: 4px solid #FF00FF;
    box-shadow: 8px 8px 0px #000000;
    position: relative;
    height: 100%;
}

.teknos-poll-label {
    font-weight: 700;
    color: #FFFFFF;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.teknos-poll-percent {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    color: #39FF14;
}

.teknos-progress-bg {
    background-color: #0D0221;
    height: 12px;
    border: 2px solid #B3B3B3;
    position: relative;
}

.teknos-progress-fill {
    background: linear-gradient(45deg, #FF00FF, #00FFFF);
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.teknos-btn-vote {
    background: linear-gradient(45deg, #39FF14, #00FFFF);
    border: none;
    color: #0D0221;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
    padding: 12px 24px;
    box-shadow: 4px 4px 0px #000000;
    cursor: pointer;
    transition: none;
    width: 100%;
    text-align: center;
}

.teknos-btn-vote:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #000000;
}

.teknos-btn-vote:disabled {
    background: #6C757D;
    cursor: not-allowed;
    box-shadow: none;
    transform: none;
    color: #B3B3B3;
}

.teknos-success-alert {
    border: 4px solid #39FF14;
    background-color: #1A0B2E;
    color: #39FF14;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.teknos-icon-success {
    width: 24px;
    height: 24px;
}

@media (max-width: 768px) {
    .teknos-poll-heading {
        font-size: 1.1rem;
    }

    .teknos-poll-subheading {
        font-size: 0.8rem;
    }

    .teknos-poll-lead {
        font-size: 0.9rem;
    }

    .teknos-btn-vote {
        font-size: 0.6rem;
    }
}

/* ===== controls ===== */
.teknos-controls {
    background-color: #0D0221;
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 0, 255, 0.05) 1px, transparent 0);
    background-size: 24px 24px;
    color: #FFFFFF;
    font-family: 'Exo 2', sans-serif;
}

.teknos-controls .teknos-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5rem;
    color: #00FFFF;
    text-shadow: 4px 4px 0 #FF00FF;
}

.teknos-controls .teknos-subtitle {
    color: #B3B3B3;
    max-width: 600px;
    margin: 0 auto;
}

.teknos-controls .teknos-nav-btn {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
    background: #1A0B2E;
    border: 4px solid #39FF14;
    color: #39FF14;
    padding: 1rem;
    text-align: left;
    position: relative;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.5);
    transition: none;
}

.teknos-controls .teknos-nav-btn:hover {
    background: #39FF14;
    color: #0D0221;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
    transform: translateY(2px);
}

.teknos-controls .teknos-nav-btn.active {
    background: #FF00FF;
    border-color: #00FFFF;
    color: #FFFFFF;
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
    transform: translateY(2px);
}

.teknos-controls .teknos-content-panel {
    background: #1A0B2E;
    border: 4px solid #FF00FF;
    padding: 2rem;
    min-height: 300px;
    position: relative;
}

.teknos-controls .icon-box {
    width: 40px;
    height: 40px;
    color: #00FFFF;
    flex-shrink: 0;
}

.teknos-controls .kbtn {
    display: inline-block;
    background: #0D0221;
    border: 2px solid #00FFFF;
    color: #00FFFF;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.6rem;
    padding: 0.5rem 0.7rem;
    box-shadow: 4px 4px 0 #FF00FF;
}

.teknos-controls .kbtn.wide {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.teknos-controls .text-muted-custom {
    color: #B3B3B3;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.teknos-controls .control-item {
    height: 100%;
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .teknos-controls .teknos-title {
        font-size: 1.1rem;
    }

    .teknos-controls .teknos-nav-btn {
        font-size: 0.6rem;
    }
}

/* ===== random-game ===== */
.random-game-section {
    background-color: #0D0221;
    background-image: linear-gradient(rgba(13, 2, 33, 0.85), rgba(13, 2, 33, 0.85)),
    url('../public/pictures/content/retro-arcade-neon-grid-background.webp');
    background-position: center;
    background-size: cover;
    padding: 100px 0;
    position: relative;
    border-top: 4px solid #FF00FF;
    border-bottom: 4px solid #00FFFF;
}

.random-game-section .section-title {
    font-family: 'Press Start 2P', cursive;
    color: #FFFFFF;
    font-size: 28px;
    line-height: 1.4;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-shadow: 3px 3px #FF00FF;
}

.random-game-section .section-description {
    font-family: 'Exo 2', sans-serif;
    color: #B3B3B3;
    font-size: 18px;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.random-game-section .btn-wrapper {
    display: flex;
    justify-content: center;
}

.random-game-section .arcade-btn {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    padding: 1.2rem 3rem;
    background: linear-gradient(45deg, #FF00FF, #00FFFF);
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 6px 0 #1A0B2E, 0 6px 0 #39FF14;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.random-game-section .arcade-btn:active {
    transform: translateY(2px);
    box-shadow: 0 4px 0 #1A0B2E, 0 4px 0 #39FF14;
}

.random-game-section .btn-icon {
    width: 28px;
    height: 28px;
}

@media (max-width: 768px) {
    .random-game-section .section-title {
        font-size: 18px;
    }

    .random-game-section .section-description {
        font-size: 16px;
    }

    .random-game-section .arcade-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}

/* ===== guides-teasers ===== */
.guides-teasers-block {
    background-color: #0D0221;
    color: #FFFFFF;
    font-family: 'Exo 2', sans-serif;
}

.guides-teasers-block .section-title {
    font-family: 'Press Start 2P', cursive;
    color: #00FFFF;
    font-size: 1.5rem;
    line-height: 1.3;
}

.guides-teasers-block .section-subtitle {
    color: #B3B3B3;
    font-size: 1rem;
}

.guides-teasers-block .guide-card {
    background-color: #1A0B2E;
    border: 4px solid #FF00FF;
    box-shadow: 6px 6px 0 #000;
    position: relative;
}

.guides-teasers-block .guide-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 4px solid #FF00FF;
}

.guides-teasers-block .guide-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.8rem;
    color: #FFFFFF;
    line-height: 1.4;
    margin: 0;
}

.guides-teasers-block .guide-title-link {
    text-decoration: none;
}

.guides-teasers-block .guide-desc {
    color: #B3B3B3;
    font-size: 0.9rem;
    line-height: 1.5;
}

.guides-teasers-block .category-label {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.6rem;
    padding: 4px 8px;
    display: inline-block;
    width: fit-content;
}

.guides-teasers-block .label-tips {
    background-color: #39FF14;
    color: #0D0221;
}

.guides-teasers-block .label-walkthroughs {
    background-color: #00FFFF;
    color: #0D0221;
}

.guides-teasers-block .arcade-btn {
    display: inline-block;
    padding: 10px 20px;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.7rem;
    color: #FFFFFF;
    background-color: #FF00FF;
    border: 4px solid #000;
    box-shadow: 4px 4px 0 #000;
    text-decoration: none;
    cursor: pointer;
    transition: none;
}

.guides-teasers-block .arcade-btn:hover {
    background-color: #00FFFF;
    color: #0D0221;
}

.guides-teasers-block .arcade-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 #000;
}

.guides-teasers-block .arcade-btn.active {
    background-color: #00FFFF;
    color: #0D0221;
}

@media (max-width: 768px) {
    .guides-teasers-block .section-title {
        font-size: 1rem;
    }

    .guides-teasers-block .guide-title {
        font-size: 0.7rem;
    }

    .guides-teasers-block .arcade-btn {
        font-size: 0.6rem;
    }
}

/* ===== footer ===== */
.footer-section {
    background-color: #0D0221;
    border-top: 4px solid #FF00FF;
    font-family: 'Exo 2', sans-serif;
    color: #FFFFFF;
    position: relative;
    overflow: hidden;
}

.footer-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 0, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    pointer-events: none;
}

.footer-logo {
    max-width: 50px;
    height: auto;
    filter: drop-shadow(0 0 5px #00FFFF);
}

.footer-brand-desc {
    color: #B3B3B3;
    font-size: 0.9rem;
    line-height: 1.6;
    max-width: 300px;
}

.footer-heading {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.75rem;
    color: #00FFFF;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #B3B3B3;
    text-decoration: none;
    font-size: 0.9rem;
    transition: none;
    display: inline-block;
}

.footer-links a:hover {
    color: #39FF14;
    transform: translateX(4px);
}

.pixel-divider {
    height: 4px;
    background: linear-gradient(90deg, #FF00FF 0%, #00FFFF 50%, #39FF14 100%);
    width: 100%;
    box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
}

.copyright-text {
    color: #6C757D;
    font-size: 0.8rem;
    letter-spacing: 0.5px;
}

@media (max-width: 767.98px) {
    .footer-heading {
        font-size: 0.65rem;
        margin-bottom: 1rem;
    }

    .footer-links a {
        font-size: 0.8rem;
    }

    .footer-brand-desc {
        margin-left: auto;
        margin-right: auto;
        font-size: 0.85rem;
    }
}

/* ===== PAGE: about ===== */
.about-content {
  background-color: #0D0221;
  color: #FFFFFF;
  font-family: 'Exo 2', sans-serif;
  overflow: hidden;
}

.about-content__main-title {
  font-family: 'Press Start 2P', cursive;
  color: #FF00FF;
  font-size: 1.5rem;
  line-height: 1.4;
  text-transform: uppercase;
  text-shadow: 3px 3px #00FFFF;
}

.about-content__secondary-title {
  font-family: 'Press Start 2P', cursive;
  color: #00FFFF;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.about-content__description {
  font-size: 1.1rem;
  color: #00FFFF;
  font-weight: 600;
}

.about-content__text {
  color: #B3B3B3;
  line-height: 1.8;
}

.about-content__text-large {
  color: #FFFFFF;
  font-size: 1.15rem;
  line-height: 1.8;
}

.about-content__btn {
  display: inline-block;
  padding: 12px 24px;
  font-family: 'Press Start 2P', cursive;
  font-size: 0.75rem;
  text-decoration: none;
  text-transform: uppercase;
  border: 4px solid #000000;
  box-shadow: 4px 4px 0px #000000;
  transition: none;
  text-align: center;
}

.about-content__btn--primary {
  background-color: #FF00FF;
  color: #FFFFFF !important;
}

.about-content__btn--primary:hover {
  background-color: #D600D6;
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px #000000;
}

.about-content__btn--secondary {
  background-color: #00FFFF;
  color: #0D0221 !important;
}

.about-content__btn--secondary:hover {
  background-color: #00D6D6;
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px #000000;
}

.about-content__image-wrapper {
  border: 4px solid #39FF14;
  background: #1A0B2E;
  padding: 10px;
  box-shadow: 8px 8px 0px rgba(57, 255, 20, 0.2);
}

.about-content__image {
  width: 100%;
  height: auto;
  object-fit: cover;
  filter: contrast(1.1) brightness(0.9);
}

.about-content__card {
  background: #1A0B2E;
  border: 4px solid #39FF14;
  padding: 24px;
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 16px;
  position: relative;
}

.about-content__card-icon {
  width: 48px;
  height: 48px;
  color: #39FF14;
}

.about-content__card-title {
  font-family: 'Press Start 2P', cursive;
  font-size: 0.85rem;
  color: #FFFFFF;
  margin: 0;
}

.about-content__card-text {
  color: #B3B3B3;
  font-size: 0.95rem;
  margin: 0;
}

.about-content__dashboard {
  background-color: rgba(26, 11, 46, 0.8);
  border: 4px double #00FFFF;
  position: relative;
}

.about-content__stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-content__stat-value {
  font-family: 'Press Start 2P', cursive;
  font-size: 1.25rem;
  color: #FF00FF;
}

.about-content__stat-label {
  font-size: 0.8rem;
  color: #00FFFF;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 767px) {
  .about-content__main-title {
    font-size: 1.1rem;
  }
  .about-content__secondary-title {
    font-size: 0.9rem;
  }
  .about-content__btn {
    width: 100%;
  }
  .about-content__stat-value {
    font-size: 1rem;
  }
}

/* ===== PAGE: games ===== */
.games-catalog {
  background-color: #0D0221;
  position: relative;
  overflow: hidden;
}

.games-catalog__main-title {
  font-family: 'Press Start 2P', cursive;
  color: #00FFFF;
  font-size: 1.5rem;
  text-transform: uppercase;
  text-shadow: 4px 4px 0px #FF00FF;
  line-height: 1.4;
}

.games-catalog__subtitle {
  font-family: 'Exo 2', sans-serif;
  color: #B3B3B3;
  font-size: 1.1rem;
  font-weight: 400;
}

.games-catalog__card {
  background-color: #1A0B2E;
  border: 4px solid #00FFFF;
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: 8px 8px 0px rgba(255, 0, 255, 0.2);
  transition: none;
}

.games-catalog__image-wrapper {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-bottom: 4px solid #00FFFF;
}

.games-catalog__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.games-catalog__body {
  padding: 1rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.games-catalog__cat {
  font-family: 'Exo 2', sans-serif;
  color: #39FF14;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.games-catalog__title {
  font-family: 'Press Start 2P', cursive;
  color: #FFFFFF;
  font-size: 0.75rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.games-catalog__title-link {
  text-decoration: none;
}

.games-catalog__title-link:hover .games-catalog__title {
  color: #FF00FF;
}

.games-catalog__btn {
  display: inline-block;
  width: 100%;
  padding: 0.75rem 1rem;
  background: linear-gradient(45deg, #FF00FF, #00FFFF);
  color: #0D0221;
  font-family: 'Press Start 2P', cursive;
  font-size: 0.7rem;
  text-align: center;
  text-decoration: none;
  border: none;
  box-shadow: 4px 4px 0px #000;
  position: relative;
}

.games-catalog__btn:hover {
  background: #39FF14;
  color: #0D0221;
}

.games-catalog__btn:active {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0px #000;
}

.games-catalog__pixel-line {
  height: 16px;
  background: repeating-linear-gradient(
    90deg,
    #FF00FF,
    #FF00FF 16px,
    #00FFFF 16px,
    #00FFFF 32px
  );
  border: 4px solid #1A0B2E;
}

@media (max-width: 768px) {
  .games-catalog__main-title {
    font-size: 1.1rem;
  }
  .games-catalog__subtitle {
    font-size: 0.9rem;
  }
  .games-catalog__card {
    max-width: 400px;
    margin: 0 auto;
  }
}

/* ===== PAGE: support ===== */
.support-section {
  background-color: #0D0221;
  color: #FFFFFF;
  font-family: 'Exo 2', sans-serif;
  overflow: hidden;
}

.support-section .support-title {
  font-family: 'Press Start 2P', cursive;
  color: #FF00FF;
  font-size: 2.5rem;
  text-transform: uppercase;
  line-height: 1.2;
  text-shadow: 3px 3px 0px #00FFFF;
}

.support-section .support-subtitle {
  color: #B3B3B3;
  font-size: 1.1rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.support-section .search-container {
  max-width: 600px;
}

.support-section .form-control {
  background-color: #1A0B2E;
  border: 4px solid #39FF14;
  color: #FFFFFF;
  padding: 1rem;
  border-radius: 0;
  font-family: 'Exo 2', sans-serif;
}

.support-section .form-control:focus {
  background-color: #1A0B2E;
  color: #FFFFFF;
  box-shadow: 0 0 10px #39FF14;
  border-color: #39FF14;
}

.support-section .search-btn {
  background: #39FF14;
  border: 4px solid #39FF14;
  color: #0D0221;
  border-radius: 0;
  font-weight: bold;
  padding: 0 1.5rem;
}

.support-section .search-icon {
  width: 24px;
  height: 24px;
}

.support-section .filter-bar {
  border-bottom: 2px dashed rgba(0, 255, 255, 0.2);
  padding-bottom: 2rem;
}

.support-section .filter-btn {
  font-family: 'Press Start 2P', cursive;
  font-size: 0.7rem;
  padding: 12px 20px;
  background-color: transparent;
  border: 4px solid #00FFFF;
  color: #00FFFF;
  border-radius: 0;
  box-shadow: 4px 4px 0px rgba(0, 255, 255, 0.3);
  position: relative;
  transition: none;
}

.support-section .filter-btn:hover {
  background-color: #00FFFF;
  color: #0D0221;
}

.support-section .filter-btn.active {
  background-color: #FF00FF;
  border-color: #FF00FF;
  color: #FFFFFF;
  box-shadow: 4px 4px 0px rgba(255, 0, 255, 0.3);
}

.support-section .filter-btn:active {
  transform: translateY(2px);
  box-shadow: 2px 2px 0px rgba(255, 0, 255, 0.3);
}

.support-section .support-card {
  background-color: #1A0B2E;
  border: 4px solid #FF00FF;
  border-radius: 0;
  position: relative;
  box-shadow: 6px 6px 0px rgba(255, 0, 255, 0.2);
}

.support-section .support-card-img-wrap {
  height: 200px;
  overflow: hidden;
  border-bottom: 4px solid #FF00FF;
}

.support-section .support-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.support-section .support-card-body {
  padding: 1.5rem;
}

.support-section .support-card-title {
  font-family: 'Press Start 2P', cursive;
  font-size: 0.85rem !important;
  color: #00FFFF;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.support-section .support-card-text {
  color: #B3B3B3;
  font-size: 0.95rem;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .support-section .support-title {
    font-size: 1.5rem;
  }
  .support-section .filter-btn {
    font-size: 0.6rem;
    padding: 10px 15px;
  }
}

.support-section .js-search-input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

/* ===== PAGE: faq ===== */
.faq-section {
  background-color: #0D0221;
  font-family: 'Exo 2', sans-serif;
  min-height: 80vh;
}

.faq-section .faq-container {
  border: 4px solid #FF00FF;
  background-color: #1A0B2E;
  box-shadow: 8px 8px 0px #00FFFF;
  position: relative;
}

.faq-section .faq-title {
  font-family: 'Press Start 2P', cursive;
  color: #FF00FF;
  font-size: 1.5rem;
  line-height: 1.5;
  text-shadow: 2px 2px 0px #00FFFF;
}

.faq-section .faq-subtitle {
  color: #B3B3B3 !important;
  font-size: 1rem;
}

.faq-section .faq-search-wrapper {
  max-width: 500px;
}

.faq-section .input-group-text {
  background-color: #FF00FF;
  border: none;
  color: #FFFFFF;
  border-radius: 0;
}

.faq-section .input-group-text svg {
  width: 20px;
  height: 20px;
}

.faq-section .form-control {
  background-color: #0D0221 !important;
  border: 2px solid #FF00FF !important;
  color: #FFFFFF !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

.faq-section .form-control::placeholder {
  color: #6C757D !important;
}

.faq-section .faq-filter-btn {
  background-color: transparent;
  border: 2px solid #00FFFF;
  color: #00FFFF;
  padding: 8px 16px;
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.faq-section .faq-filter-btn:hover,
.faq-section .faq-filter-btn.active {
  background-color: #00FFFF;
  color: #0D0221;
  box-shadow: 4px 4px 0px #FF00FF;
}

.faq-section .accordion-item {
  background-color: transparent !important;
  border: 2px solid #39FF14 !important;
  margin-bottom: 1rem;
  border-radius: 0 !important;
}

.faq-section .accordion-button {
  background-color: #1A0B2E !important;
  color: #FFFFFF !important;
  font-weight: 600;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 1.25rem;
}

.faq-section .accordion-button:not(.collapsed) {
  color: #39FF14 !important;
  border-bottom: 1px solid #39FF14 !important;
}

.faq-section .accordion-button::after {
  filter: invert(1);
}

.faq-section .accordion-body {
  background-color: #0D0221;
  color: #B3B3B3;
  line-height: 1.6;
  border-top: none;
}

.faq-section .no-results p {
  font-family: 'Press Start 2P', cursive;
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .faq-section .faq-title {
    font-size: 1rem;
  }
  .faq-section .faq-container {
    border-width: 2px;
    padding: 1.5rem !important;
  }
  .faq-section .accordion-button {
    font-size: 0.9rem;
  }
}

/* ===== PAGE: players ===== */
.players-list-section {
  background-color: #0D0221;
  font-family: 'Exo 2', sans-serif;
  color: #FFFFFF;
}

.players-list-section h1 {
  font-family: 'Press Start 2P', cursive;
  color: #FF00FF;
  font-size: 1.5rem;
  line-height: 1.3;
  text-shadow: 3px 3px 0px #00FFFF;
}

.players-list-section .player-card {
  background-color: #1A0B2E;
  border: 4px solid #39FF14;
  box-shadow: 4px 4px 0px #FF00FF;
  position: relative;
}

.players-list-section .player-avatar-wrapper {
  border: 2px solid #00FFFF;
  background-color: #0D0221;
  overflow: hidden;
}

.players-list-section .player-avatar-wrapper img {
  object-fit: cover;
  height: 200px;
  image-rendering: pixelated;
}

.players-list-section .status-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 4px 8px;
  font-family: 'Press Start 2P', cursive;
  font-size: 8px;
  border: 2px solid #000;
}

.players-list-section .active-status {
  background-color: #39FF14;
  color: #000;
}

.players-list-section .player-name {
  font-family: 'Press Start 2P', cursive;
  font-size: 14px;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.players-list-section .player-rank {
  color: #00FFFF;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.players-list-section .progress-container {
  height: 12px;
  background-color: #0D0221;
  border: 1px solid #B3B3B3;
}

.players-list-section .progress-bar {
  height: 100%;
  background: linear-gradient(90deg, #FF00FF, #00FFFF);
}

.players-list-section .text-accent {
  color: #39FF14;
}

.players-list-section .current-activity {
  color: #B3B3B3;
  font-style: italic;
}

.players-list-section .search-box .form-control {
  background-color: #1A0B2E;
  border: 3px solid #00FFFF;
  color: #FFFFFF;
  border-radius: 0;
  font-family: 'Exo 2', sans-serif;
  padding: 12px;
}

.players-list-section .search-box .form-control:focus {
  outline: none;
  border-color: #FF00FF;
  box-shadow: none;
}

.players-list-section .btn-primary {
  background-color: #1A0B2E;
  border: 3px solid #39FF14;
  color: #39FF14;
  border-radius: 0;
  font-family: 'Press Start 2P', cursive;
  font-size: 10px;
  padding: 10px 15px;
  box-shadow: 2px 2px 0px #00FFFF;
  margin-bottom: 5px;
}

.players-list-section .btn-primary:hover,
.players-list-section .btn-primary.active {
  background-color: #39FF14 !important;
  color: #0D0221 !important;
  border-color: #39FF14;
  transform: translateY(2px);
  box-shadow: none;
}

@media (max-width: 767px) {
  .players-list-section h1 {
    font-size: 1.2rem;
  }
  .players-list-section .player-avatar-wrapper img {
    height: 150px;
  }
}

/* ===== PAGE: guide ===== */
.guide-content-section {
  background-color: #0D0221;
  color: #FFFFFF;
  font-family: 'Exo 2', sans-serif;
  overflow: hidden;
}

.guide-content-section .guide-main-title {
  font-family: 'Press Start 2P', cursive;
  color: #FF00FF;
  font-size: 1.8rem;
  text-shadow: 3px 3px 0px #00FFFF;
}

.guide-content-section .guide-lead-text {
  max-width: 700px;
  color: #B3B3B3;
  font-size: 1.1rem;
}

.guide-content-section .guide-sidebar {
  background: #1A0B2E;
  border: 4px solid #FF00FF;
  box-shadow: 4px 4px 0px #00FFFF;
  padding: 1rem;
}

.guide-content-section .guide-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.guide-content-section .guide-nav-btn {
  background: transparent;
  border: none;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 1rem;
  text-align: left;
  width: 100%;
  cursor: pointer;
  transition: none;
  border: 2px solid transparent;
}

.guide-content-section .guide-nav-btn.active {
  background: #FF00FF;
  color: #FFFFFF;
  border: 2px solid #00FFFF;
  transform: translateY(2px);
}

.guide-content-section .guide-nav-btn .step-num {
  font-family: 'Press Start 2P', cursive;
  font-size: 0.8rem;
  opacity: 0.7;
}

.guide-content-section .guide-nav-btn .step-label {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.guide-content-section .guide-card {
  background: #1A0B2E;
  border: 4px solid #00FFFF;
  box-shadow: 4px 4px 0px #FF00FF;
  padding: 2rem;
  height: 100%;
}

.guide-content-section .guide-image-wrapper {
  margin-bottom: 2rem;
  border: 2px solid #FF00FF;
  background: #0D0221;
}

.guide-content-section .guide-image-wrapper img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  filter: contrast(1.1) brightness(0.9);
}

.guide-content-section .guide-step-title {
  font-family: 'Press Start 2P', cursive;
  font-size: 1.2rem;
  color: #00FFFF;
  margin-bottom: 1.5rem;
}

.guide-content-section .guide-list {
  list-style: none;
  padding-left: 0;
  margin: 1.5rem 0;
}

.guide-content-section .guide-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.75rem;
  color: #B3B3B3;
}

.guide-content-section .guide-list li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: #FF00FF;
  font-weight: bold;
}

.guide-content-section .feature-box {
  background: rgba(0, 255, 255, 0.05);
  border: 1px solid #00FFFF;
  padding: 1rem;
}

.guide-content-section .text-accent {
  color: #FF00FF;
  font-weight: 700;
}

.guide-content-section .control-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 15px;
}

.guide-content-section .control-item {
  background: #0D0221;
  border: 1px solid #39FF14;
  padding: 0.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}

.guide-content-section .key {
  background: #39FF14;
  color: #0D0221;
  font-weight: 900;
  padding: 2px 6px;
  font-size: 0.75rem;
  min-width: 40px;
  text-align: center;
}

.guide-content-section .reward-badge {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid #FFD700;
  padding: 1rem;
}

.guide-content-section .badge-icon {
  color: #FFD700;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .guide-content-section .guide-main-title {
    font-size: 1.2rem;
  }
  .guide-content-section .guide-nav {
    flex-direction: row;
    overflow-x: auto;
    padding-bottom: 10px;
  }
  .guide-content-section .guide-nav-btn {
    min-width: 180px;
  }
  .guide-content-section .guide-image-wrapper img {
    height: 200px;
  }
}

/* ===== PAGE: auth ===== */
.auth-form-section { background-color: #0D0221; min-height: 80vh; display: flex; align-items: center; position: relative; overflow: hidden; } .auth-form-section::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 30%, rgba(255, 0, 255, 0.05) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(0, 255, 255, 0.05) 0%, transparent 50%); pointer-events: none; } .auth-form-section .auth-card { background: #1A0B2E; border: 4px solid #FF00FF; box-shadow: 8px 8px 0px 0px #00FFFF; color: #FFFFFF; font-family: 'Exo 2', sans-serif; position: relative; z-index: 2; } .auth-form-section .auth-title { font-family: 'Press Start 2P', cursive; font-size: 1.25rem; color: #00FFFF; text-transform: uppercase; line-height: 1.4; } .auth-form-section .auth-toggle-group { border: 2px solid #39FF14; background: #0D0221; padding: 4px; } .auth-form-section .js-auth-toggle-btn { background: transparent; border: none; color: #B3B3B3; font-family: 'Press Start 2P', cursive; font-size: 0.75rem; padding: 12px 0; cursor: pointer; transition: none; } .auth-form-section .js-auth-toggle-btn.active { background: #39FF14; color: #0D0221; } .auth-form-section .form-label { font-weight: 700; color: #FFFFFF; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; margin-bottom: 0.5rem; } .auth-form-section .input-wrapper { position: relative; } .auth-form-section .input-icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 20px; height: 20px; color: #00FFFF; } .auth-form-section .form-control { background: #0D0221; border: 2px solid #4A4A4A; color: #FFFFFF; padding: 12px 12px 12px 45px; border-radius: 0; font-family: 'Exo 2', sans-serif; } .auth-form-section .form-control:focus { background: #0D0221; border-color: #FF00FF; color: #FFFFFF; box-shadow: none; outline: none; } .auth-form-section .form-control::placeholder { color: #6C757D; opacity: 1; } .auth-form-section .auth-btn { background: linear-gradient(45deg, #FF00FF, #00FFFF); border: none; color: #0D0221; font-family: 'Press Start 2P', cursive; font-size: 0.9rem; padding: 15px; text-transform: uppercase; cursor: pointer; transition: transform 0.1s; position: relative; top: 0; } .auth-form-section .auth-btn:active { top: 2px; transform: translateY(2px); } .auth-form-section .auth-message { padding: 12px; border: 2px solid #FFD700; background: rgba(255, 215, 0, 0.1); color: #FFD700; font-size: 0.9rem; font-weight: 600; text-align: center; } @media (max-width: 768px) { .auth-form-section .auth-title { font-size: 1rem; } .auth-form-section .js-auth-toggle-btn { font-size: 0.65rem; } }

/* ===== PAGE: privacy ===== */
.legal-content {
  background-color: #0D0221;
  padding: 80px 0;
  min-height: 100vh;
}

.legal-content__wrapper {
  border: 4px solid #FF00FF;
  background-color: #1A0B2E;
  box-shadow: 10px 10px 0px #00FFFF;
  position: relative;
  overflow: hidden;
}

.legal-content__terminal-header {
  background-color: #FF00FF;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-content__dots {
  display: flex;
  gap: 8px;
}

.legal-content__dot {
  width: 12px;
  height: 12px;
  background-color: #0D0221;
  display: block;
}

.legal-content__title-meta {
  font-family: 'Press Start 2P', cursive;
  font-size: 10px;
  color: #FFFFFF;
}

.legal-content__body {
  padding: 40px;
}

.legal-content__main-heading {
  font-family: 'Press Start 2P', cursive;
  font-size: 18px;
  color: #00FFFF;
  margin-bottom: 30px;
  line-height: 1.4;
  text-transform: uppercase;
}

.legal-content__sub-heading {
  font-family: 'Press Start 2P', cursive;
  font-size: 14px;
  color: #39FF14;
  margin-top: 40px;
  margin-bottom: 20px;
  line-height: 1.5;
}

.legal-content__text {
  font-family: 'Exo 2', sans-serif;
  font-size: 16px;
  color: #FFFFFF;
  line-height: 1.8;
  margin-bottom: 20px;
}

.legal-content__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
}

.legal-content__list-item {
  font-family: 'Exo 2', sans-serif;
  font-size: 16px;
  color: #B3B3B3;
  line-height: 1.8;
  margin-bottom: 12px;
  padding-left: 25px;
  position: relative;
}

.legal-content__list-item::before {
  content: '>';
  position: absolute;
  left: 0;
  color: #FF00FF;
  font-weight: bold;
}

.legal-content__footer-note {
  margin-top: 50px;
  padding-top: 20px;
  border-top: 2px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  font-family: 'Press Start 2P', cursive;
  font-size: 8px;
}

.legal-content__status {
  color: #39FF14;
}

.legal-content__version {
  color: #6C757D;
}

@media (max-width: 768px) {
  .legal-content {
    padding: 40px 0;
  }
  
  .legal-content__body {
    padding: 20px;
  }

  .legal-content__main-heading {
    font-size: 16px;
  }

  .legal-content__sub-heading {
    font-size: 12px;
  }

  .legal-content__text, 
  .legal-content__list-item {
    font-size: 14px;
  }

  .legal-content__footer-note {
    flex-direction: column;
    gap: 10px;
  }
}

/* ===== PAGE: terms ===== */
.legal-content-section {
  background-color: #0D0221;
  color: #B3B3B3;
  font-family: 'Exo 2', sans-serif;
}

.legal-content-section .legal-card {
  background-color: #1A0B2E;
  border: 4px solid #FF00FF;
  box-shadow: 8px 8px 0px #00FFFF;
  position: relative;
}

.legal-content-section .legal-title {
  font-family: 'Press Start 2P', cursive;
  color: #FF00FF;
  font-size: 1.5rem;
  line-height: 1.3;
  text-transform: uppercase;
}

.legal-content-section .section-subtitle {
  font-family: 'Press Start 2P', cursive;
  color: #00FFFF;
  font-size: 1rem;
  line-height: 1.4;
}

.legal-content-section p {
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.legal-content-section .legal-intro {
  color: #FFFFFF;
  font-weight: 600;
  border-left: 4px solid #39FF14;
  padding-left: 1.5rem;
}

.legal-content-section .legal-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.5rem;
}

.legal-content-section .legal-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.75rem;
}

.legal-content-section .legal-list li::before {
  content: '>';
  position: absolute;
  left: 0;
  color: #39FF14;
  font-family: 'Press Start 2P', cursive;
  font-size: 0.8rem;
}

.legal-content-section .legal-footer {
  border-top: 2px solid rgba(255, 0, 255, 0.2);
}

.legal-content-section .last-updated {
  font-family: 'Press Start 2P', cursive;
  font-size: 0.7rem;
  color: #39FF14;
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .legal-content-section .legal-title {
    font-size: 1.1rem;
  }
  .legal-content-section .section-subtitle {
    font-size: 0.8rem;
  }
  .legal-content-section .legal-card {
    padding: 1.5rem !important;
    box-shadow: 4px 4px 0px #00FFFF;
  }
}

/* ===== PAGE: disclaimer ===== */
.legal-content-section {
  background-color: #0D0221;
  color: #FFFFFF;
  font-family: 'Exo 2', sans-serif;
}

.legal-content-section .legal-card {
  background-color: #1A0B2E;
  border: 4px solid #FF00FF;
  box-shadow: 8px 8px 0px #00FFFF;
  position: relative;
}

.legal-content-section h1 {
  font-family: 'Press Start 2P', cursive;
  color: #00FFFF;
  font-size: 1.5rem;
  line-height: 1.5;
  text-transform: uppercase;
  border-bottom: 2px solid #39FF14;
  padding-bottom: 20px;
}

.legal-content-section h2 {
  font-family: 'Press Start 2P', cursive;
  color: #FF00FF;
  font-size: 1rem;
  margin-bottom: 0;
  line-height: 1.2;
}

.legal-content-section p {
  color: #B3B3B3;
  line-height: 1.8;
  font-size: 1rem;
  margin-bottom: 0;
}

.legal-content-section .pixel-icon {
  width: 32px;
  height: 32px;
  min-width: 32px;
  color: #39FF14;
  display: flex;
  align-items: center;
  justify-content: center;
}

.legal-content-section .pixel-icon svg {
  width: 100%;
  height: 100%;
}

.legal-content-section .legal-info-block {
  position: relative;
  padding-left: 0;
}

@media (max-width: 768px) {
  .legal-content-section h1 {
    font-size: 1.1rem;
  }
  .legal-content-section h2 {
    font-size: 0.8rem;
  }
  .legal-content-section .legal-card {
    padding: 1.5rem !important;
    border-width: 2px;
    box-shadow: 4px 4px 0px #00FFFF;
  }
}

.teknos-comment-card {
    background-color: #1A0B2E;
    border: 4px solid #FF00FF;
    box-shadow: 8px 8px 0px 0px #000000;
    position: relative;
    color: #FFFFFF;
}

.teknos-avatar {
    width: 56px;
    height: 56px;
    background-color: #0D0221;
    border: 3px solid #00FFFF;
    color: #00FFFF;
    font-family: 'Press Start 2P', cursive;
    font-size: 14px;
    text-shadow: 2px 2px 0px #000;
}

.username {
    font-family: 'Press Start 2P', cursive;
    font-size: 12px;
    color: #FF00FF;
    letter-spacing: 1px;
}

.timestamp {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    color: #B3B3B3 !important;
}

.comment-body {
    font-family: 'Exo 2', sans-serif;
    line-height: 1.6;
    font-size: 16px;
    color: #FFFFFF;
}

.teknos-btn {
    border-radius: 0;
    font-family: 'Press Start 2P', cursive;
    font-size: 10px;
    border: 2px solid #000;
    text-transform: uppercase;
    transition: none;
}

.primary-btn {
    background-color: #FF00FF;
    color: #FFFFFF;
    box-shadow: 4px 4px 0px #000;
}

.primary-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #000;
}

.secondary-btn {
    background-color: #00FFFF;
    color: #0D0221;
    box-shadow: 4px 4px 0px #000;
}

.secondary-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #000;
}

.reply-comment {
    background-color: #0D0221;
    border: 4px solid #00FFFF;
    box-shadow: 6px 6px 0px 0px #000000;
}

.reply-comment .username {
    color: #00FFFF;
    font-size: 10px;
}

.reply-comment .teknos-avatar {
    width: 44px;
    height: 44px;
    border-color: #39FF14;
    color: #39FF14;
    font-size: 12px;
}

.reply-comment .comment-body {
    font-size: 14px;
    color: #B3B3B3;
}

.tertiary-btn {
    background-color: #39FF14;
    color: #0D0221;
    box-shadow: 4px 4px 0px #000;
}

.tertiary-btn:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #000;
}


/* ===== PAGE TEMPLATE: games-list ===== */
.game-detail-block {
    background-color: #0D0221;
    color: #FFFFFF;
    font-family: 'Exo 2', sans-serif;
}

.game-main-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5rem;
    color: #FF00FF;
    text-shadow: 2px 2px #00FFFF;
    text-transform: uppercase;
}

.game-main-subtitle {
    color: #B3B3B3;
    font-size: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.game-viewport-container {
    background-color: #000;
    border: 4px solid #FF00FF;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
    overflow: hidden;
    z-index: 10;
}

.game-control-bar {
    background-color: #1A0B2E;
    border-bottom: 2px solid #00FFFF;
}

.btn-fullscreen {
    background: linear-gradient(45deg, #FF00FF, #00FFFF);
    color: #FFFFFF;
    border: none;
    padding: 0.5rem 1.25rem;
    font-family: 'Press Start 2P', cursive;
    font-size: 0.65rem;
    box-shadow: 3px 3px 0px #000;
    display: flex;
    align-items: center;
    transition: none;
}

.btn-fullscreen:active {
    transform: translate(2px, 2px);
    box-shadow: 1px 1px 0px #000;
}

.fullscreen-icon {
    width: 18px;
    height: 18px;
}

.iframe-aspect-ratio {
    position: relative;
    width: 100%;
    height: 550px;
}

.js-game-iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.content-box,
.sidebar-box {
    background: #1A0B2E;
    border: 2px solid #00FFFF;
    position: relative;
}

.section-heading {
    font-family: 'Press Start 2P', cursive;
    font-size: 0.9rem;
    color: #00FFFF;
    border-bottom: 2px solid #FF00FF;
    display: inline-block;
    padding-bottom: 0.5rem;
}

.game-description-text {
    line-height: 1.8;
    color: #B3B3B3;
}

.game-description-text p {
    margin-bottom: 1.5rem;
}

.related-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border: 1px solid transparent;
    transition: none;
}

.related-item:hover {
    border-color: #39FF14;
    background: rgba(57, 255, 20, 0.1);
}

.related-thumb-container {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    overflow: hidden;
    border: 2px solid #FF00FF;
}

.related-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.related-name {
    font-family: 'Exo 2', sans-serif;
    font-weight: 700;
    color: #FFFFFF;
    font-size: 0.95rem;
}

@media (max-width: 767.98px) {
    .game-main-title {
        font-size: 1.1rem;
    }

    .iframe-aspect-ratio {
        height: 350px;
    }

    .btn-fullscreen span {
        display: none !important;
    }

    .game-viewport-container {
        border-width: 2px;
    }
}

/* ===== fullscreen game viewport ===== */
.game-viewport-container.is-fullscreen {
    display: flex;
    flex-direction: column;
    height: 100vh;
    width: 100vw;
    border: none;
    box-shadow: none;
    background-color: #000;
    overflow: hidden;
}

.game-viewport-container.is-fullscreen .game-control-bar {
    flex-shrink: 0;
}

.game-viewport-container.is-fullscreen .iframe-aspect-ratio {
    flex: 1 1 auto;
    height: auto !important;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
}

.game-viewport-container.is-fullscreen .js-game-iframe {
    position: relative;
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ===== mobile support dropdown ===== */
@media (max-width: 991.98px) {
    .teknos-header .dropdown-menu {
        display: block;
        position: static;
        width: 100%;
        border: 2px solid rgba(0, 255, 255, 0.3);
        padding-left: 1rem;
        background-color: rgba(26, 11, 46, 0.5);
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .teknos-header .dropdown-menu:not(.show) {
        display: none;
    }

    .teknos-header .dropdown-item {
        padding: 0.75rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }

    .teknos-header .dropdown-item:last-child {
        border-bottom: none;
    }

    .teknos-header .dropdown-toggle::after {
        float: right;
        margin-top: 0.5rem;
    }
}