/* 
   CYBERCHEATS THEME 
   Blue & Turquoise Palette
*/

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Rajdhani:wght@300;400;500;600;700&family=Inter:wght@300;400;600&family=Russo+One&family=Exo+2:wght@400;500;600;700;800&display=swap');

/* ============================================
   CYRILLIC FONT SUPPORT
   Orbitron & Rajdhani DO NOT support Cyrillic.
   We explicitly override for Russian to use Russo One & Exo 2.
   ============================================ */
h1,
h2,
h3,
.program-header-section h1,
.section-title {
    font-family: 'Orbitron', 'Russo One', sans-serif !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

body.lang-ru h1,
body.lang-ru h2,
body.lang-ru h3,
body.lang-ru .program-header-section h1,
body.lang-ru .section-title,
body.lang-ru .logo,
body.lang-ru .btn-primary,
body.lang-ru .btn-secondary,
body.lang-ru .price,
body.lang-ru .stat-num,
body.lang-ru .loader-text {
    font-family: 'Russo One', sans-serif !important;
    text-transform: uppercase;
    font-weight: 400;
}

body.lang-ru,
body.lang-ru .stat-label,
body.lang-ru .nav-links a,
body.lang-ru .btn-login,
body.lang-ru .status-badge,
body.lang-ru .ticker-item,
body.lang-ru .search-bar__input,
body.lang-ru .search-dropdown__label,
body.lang-ru .search-dropdown__empty {
    font-family: 'Exo 2', sans-serif !important;
    font-weight: 600;
}

/* ============================================
   LANGUAGE TOGGLE BUTTON
   ============================================ */
/* ============================================
   LANGUAGE TOGGLE BUTTON
   ============================================ */
.lang-toggle::before,
.lang-toggle::after {
    content: none !important;
    display: none !important;
}

.lang-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: rgba(0, 229, 255, 0.08);
    border: 1px solid rgba(0, 229, 255, 0.3);
    color: var(--primary-cyan);
    font-family: 'Rajdhani', 'Exo 2', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px 18px;
    border-radius: 4px;
    overflow: hidden;
    white-space: nowrap;
    flex-shrink: 0;
}

.lang-toggle:hover {
    background: rgba(0, 229, 255, 0.15);
    border-color: var(--primary-cyan);
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.3);
    transform: translateY(-1px);
}

/* Ruble Symbol ₽ */
.ruble-sign {
    font-family: 'Segoe UI', 'Roboto', 'Inter', system-ui, sans-serif !important;
    font-weight: 600 !important;
    font-style: normal;
    display: inline;
    vertical-align: baseline;
    font-size: 0.95em;
    line-height: 1;
    letter-spacing: 0;
}

/* Loading Screen */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0d;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

#loading-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.loader-spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(0, 229, 255, 0.2);
    border-top: 4px solid #00e5ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.loader-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    color: #00e5ff;
    letter-spacing: 3px;
}

/* Page Transition Overlay */
#page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0d;
    z-index: 100000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
}

#page-transition.active {
    opacity: 1;
    pointer-events: all;
}

#page-transition .transition-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(0, 229, 255, 0.2);
    border-top: 3px solid #00e5ff;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

/* Language Switch Transition Overlay */
#lang-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0d;
    z-index: 100001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

#lang-transition.active {
    opacity: 1;
    pointer-events: all;
}

#lang-transition .lt-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(0, 229, 255, 0.15);
    border-top: 3px solid #00e5ff;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
}

#lang-transition .lt-text {
    font-family: 'Orbitron', 'Russo One', sans-serif;
    font-size: 0.85rem;
    color: rgba(0, 229, 255, 0.7);
    letter-spacing: 4px;
    text-transform: uppercase;
    animation: ltPulse 1s ease-in-out infinite;
}

@keyframes ltPulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

/* Content reveal animation after language switch */
@keyframes langRevealIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.lang-reveal>*:not(#lang-transition):not(#loading-screen):not(#page-transition):not(.navbar):not(script) {
    animation: langRevealIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}

body.lang-reveal .navbar {
    animation: langRevealIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) both;
}

:root {
    --bg-dark: #0a0a0d;
    --bg-card: #121215;
    --bg-card-hover: #1a1a1f;

    --primary-blue: #0055ff;
    --primary-cyan: #00e5ff;
    --accent-red: #ff3333;
    --accent-green: #00ff88;

    --text-main: #ffffff;
    --text-muted: #8899a6;

    --glow-blue: 0 0 20px rgba(0, 85, 255, 0.5);
    --glow-cyan: 0 0 20px rgba(0, 229, 255, 0.5);

    --border-color: rgba(255, 255, 255, 0.1);
    --border-highlight: rgba(0, 229, 255, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

h1,
h2,
h3,
.logo,
.btn-primary,
.btn-secondary,
.price {
    font-family: 'Orbitron', 'Russo One', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* SCROLL ANIMATIONS — disabled, everything visible instantly */
.fade-on-scroll {
    opacity: 1;
}

.fade-on-scroll.in-view {
    opacity: 1;
}

/* No stagger delays — everything appears instant */

.game-card:hover,
.program-card-v2:hover {
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.12);
}

/* Background Effects */
.bg-grid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: -2;
    pointer-events: none;
}

.glow-spot {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 85, 255, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.top-left {
    top: -200px;
    left: -200px;
}

.bottom-right {
    bottom: -200px;
    right: -200px;
    background: radial-gradient(circle, rgba(0, 229, 255, 0.1) 0%, transparent 70%);
}

/* Navbar Premium Redesign */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(8, 8, 10, 0.85);
    /* Slightly darker/more opaque */
    backdrop-filter: blur(25px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    z-index: 1000;
    padding: 15px 0;
    /* Reduced to 15px per request */
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.nav-container {
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    padding: 0 200px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: white;
    white-space: nowrap;
    display: flex;
    align-items: center;
    padding-top: 3px;
}

.logo i {
    color: white;
    filter: none;
}

.text-blue {
    color: var(--primary-cyan);
    text-shadow: var(--glow-cyan);
}

.text-gradient {
    background: linear-gradient(90deg, var(--primary-cyan), var(--primary-blue));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 40px;
    margin: 0 auto;
    align-items: center;
}

.nav-links a {
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    font-family: 'Rajdhani', 'Exo 2', sans-serif;
    letter-spacing: 2.5px;
    white-space: nowrap;
}

.nav-links a:hover {
    color: var(--primary-cyan);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-cyan);
    transition: 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    white-space: nowrap;
    flex-shrink: 0;
    margin-right: 0;
}

.btn-login {
    border: 1px solid var(--border-color);
    padding: 10px 22px;
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Rajdhani', 'Exo 2', sans-serif;
    font-weight: 700;
}

.btn-login:hover {
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
    box-shadow: var(--glow-cyan);
}

.nav-menu {
    display: flex;
    flex: 1;
    align-items: center;
    margin-left: 30px;
    gap: 20px;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    padding: 120px 20px 0;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-end;
    /* Align items to bottom to sit on ticker */
    justify-content: space-between;
    min-height: 85vh;
    /* Fallback */
    min-height: 85dvh;
    /* Dynamic viewport height */
    position: relative;
}

@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-bottom: 60px;
    }
}

.hero-content {
    max-width: 750px;
    margin-bottom: 100px;
    margin-left: 80px;
    align-self: center;
}

/* ... status tags ... */

.hero-visual {
    position: absolute;
    right: 5%;
    bottom: 0;
    width: 50%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.hero-char-wrapper {
    position: relative;
    width: auto;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

/* Pulse Ripple Animation - attached to character wrapper */
.pulse-system {
    position: absolute;
    bottom: 22%;
    left: 52%;
    transform: translateX(-50%);
    width: 380px;
    height: 380px;
    z-index: 0;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Hide animation on mobile */
@media (max-width: 768px) {
    .pulse-system {
        display: none;
    }
}

.pulse-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid var(--primary-cyan);
    opacity: 0;
    box-shadow: 0 0 20px var(--primary-cyan);
}

.ring-1 {
    width: 20%;
    height: 20%;
    animation: ripple 3s linear infinite;
}

.ring-2 {
    width: 20%;
    height: 20%;
    animation: ripple 3s linear infinite -1s;
}

.ring-3 {
    width: 20%;
    height: 20%;
    animation: ripple 3s linear infinite -2s;
}

@keyframes ripple {
    0% {
        width: 20%;
        height: 20%;
        opacity: 0.8;
        border-width: 4px;
    }

    100% {
        width: 100%;
        height: 100%;
        opacity: 0;
        border-width: 0px;
    }
}

.hero-char-img {
    width: auto;
    height: 75vh;
    max-height: 650px;
    min-height: 400px;
    z-index: 2;
    object-fit: contain;
    position: relative;
    margin-bottom: 0;
}

/* Larger character on laptop screens */
@media (min-width: 769px) and (max-width: 1440px) {
    .hero-char-img {
        height: 90vh;
        max-height: 800px;
        min-height: 500px;
    }
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: var(--accent-green);
    font-family: 'Rajdhani', 'Exo 2', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 20px;
    margin-bottom: 20px;
}

.status-badge.status-updating {
    background: rgba(255, 165, 0, 0.1);
    border-color: rgba(255, 165, 0, 0.3);
    color: #ffa500;
}

.status-badge.status-offline {
    background: rgba(102, 102, 102, 0.1);
    border-color: rgba(102, 102, 102, 0.3);
    color: #666;
}

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: var(--accent-green);
    border-radius: 50%;
    margin-right: 6px;
    box-shadow: 0 0 10px var(--accent-green);
}

.hero h1 {
    font-family: 'Rajdhani', 'Exo 2', sans-serif;
    font-weight: 700;
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.hero h1 #dynamic-text {
    display: inline-block;
    min-width: 180px;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 30px;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    flex-wrap: nowrap;
    gap: 15px;
    margin-bottom: 50px;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: var(--glow-blue);
    white-space: nowrap;
    font-size: 0.85rem;
}

.btn-primary:hover {
    background: var(--primary-cyan);
    box-shadow: var(--glow-cyan);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 700;
    border: 1px solid var(--border-color);
    cursor: pointer;
    white-space: nowrap;
    font-size: 0.85rem;
}

.btn-secondary:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
}

.stats-row {
    display: flex;
    gap: 40px;
    border-top: 1px solid var(--border-color);
    padding-top: 30px;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-family: 'Orbitron', 'Russo One', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-family: 'Rajdhani', 'Exo 2', sans-serif;
    text-transform: uppercase;
    white-space: nowrap;
}

/* Cleaned up duplicate styles */

.floating-icon {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.1);
    z-index: 1;
    animation: float 4s ease-in-out infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes spin-reverse {
    100% {
        transform: rotate(-360deg);
    }
}

@keyframes spin-centered {
    0% {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    100% {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

/* Ticker */
.ticker-wrap {
    width: 100%;
    background: var(--primary-blue);
    overflow: hidden;
    height: 40px;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 10;
    margin-top: 0;
}

.ticker {
    display: flex;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    padding: 0 40px;
    font-family: 'Rajdhani', 'Exo 2', sans-serif;
    font-weight: 700;
    color: white;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

@keyframes ticker {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-25%);
    }
}

/* Games Section */
.games-section {
    padding: 100px 20px 10px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
}

/* --- Search Bar --- */
.search-bar-wrap {
    max-width: 560px;
    margin: 0 auto 32px;
    padding: 0 20px;
}

.search-bar {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 0 16px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.search-bar:focus-within {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.08);
}

.search-bar__icon {
    color: #555;
    font-size: 0.9rem;
    margin-right: 12px;
    transition: color 0.3s ease;
}

.search-bar:focus-within .search-bar__icon {
    color: var(--primary-cyan);
}

.search-bar__input {
    flex: 1;
    background: none;
    border: none;
    outline: none;
    color: #eee;
    font-size: 0.9rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    padding: 14px 0;
    letter-spacing: 0.5px;
}

.search-bar__input::placeholder {
    color: #444;
    letter-spacing: 0.5px;
}

.search-bar__clear {
    background: none;
    border: none;
    color: #555;
    cursor: pointer;
    font-size: 0.85rem;
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease;
}

.search-bar__clear:hover {
    color: #fff;
}

/* --- Search Dropdown --- */
.search-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    background: #111118;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    max-height: 380px;
    overflow-y: auto;
    z-index: 100;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.7);
}

.search-dropdown.active {
    display: block;
    animation: dropdownIn 0.2s ease;
}

@keyframes dropdownIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.search-bar-wrap {
    position: relative;
}

.search-dropdown__label {
    font-size: 0.6rem;
    font-weight: 700;
    color: #555;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 10px 16px 4px;
    font-family: 'Rajdhani', sans-serif;
}

.search-dropdown__empty {
    padding: 28px 16px;
    text-align: center;
    color: #444;
    font-size: 0.85rem;
    font-family: 'Rajdhani', sans-serif;
}

.search-dropdown__empty i {
    margin-right: 6px;
    opacity: 0.5;
}

/* --- Individual Result Row --- */
.search-result {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 16px;
    text-decoration: none;
    color: #ddd;
    transition: background 0.15s ease;
    cursor: pointer;
}

.search-result:hover {
    background: rgba(255, 255, 255, 0.05);
}

.search-result__img {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    background: #1a1a22;
}

.search-result__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-result__icon {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    font-size: 0.85rem;
}

.search-result__info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.search-result__name {
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.search-result__name mark {
    background: none;
    color: var(--primary-cyan);
    font-weight: 700;
}

.search-result__meta {
    font-size: 0.65rem;
    color: #555;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.3px;
}

.search-result__status--undetected {
    color: #6fcf97;
}

.search-result__status--updating {
    color: #f2994a;
}

.search-result__status--testing {
    color: #f2c94c;
}

.search-result__status--risky {
    color: #eb5757;
}

.search-result__go {
    color: #333;
    font-size: 0.65rem;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.search-result:hover .search-result__go {
    color: var(--primary-cyan);
}

/* Scrollbar for dropdown */
.search-dropdown::-webkit-scrollbar {
    width: 4px;
}

.search-dropdown::-webkit-scrollbar-track {
    background: transparent;
}

.search-dropdown::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.35s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    cursor: pointer;
}

/* Ensure contents fill height */
.card-details {
    padding: 14px 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 18px rgba(0, 229, 255, 0.12), inset 0 0 0 1px rgba(0, 229, 255, 0.06);
}

.game-card.featured {
    border: 1px solid var(--primary-cyan);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.1);
}

.card-image,
.card-image-rust,
.card-image-cs,
.card-image-val {
    height: 150px;
    background-color: #222;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.card-image {
    background: #0a0a0f;
}

.card-image-rust {
    background: linear-gradient(45deg, #d35400, #c0392b);
}

.card-image-cs {
    background: linear-gradient(45deg, #f39c12, #d35400);
}

.card-image-val {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
}


.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
}

.game-icon {
    position: relative;
    font-size: 3rem;
    color: white;
    z-index: 2;
}

#p-img {
    max-height: 180px !important;
    object-fit: contain !important;
    width: 100%;
    background-color: #000;
}

.status-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 2;
    font-family: 'Rajdhani', sans-serif;
}

.online {
    background: rgba(0, 255, 136, 0.2);
    color: var(--accent-green);
    border: 1px solid var(--accent-green);
}

.update {
    background: rgba(255, 166, 0, 0.2);
    color: orange;
    border: 1px solid orange;
}

.card-details {
    padding: 14px 16px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-details h3 {
    font-size: 1.05rem;
    margin-bottom: 2px;
}

.card-details p {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-bottom: 10px;
}

.features-list {
    margin-bottom: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
}

.features-list span {
    font-size: 0.75rem;
    color: #999;
    display: flex;
    align-items: center;
    gap: 5px;
}

.features-list i {
    color: var(--primary-cyan);
}

.card-action {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 10px;
}

.card-action .price {
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
}

.btn-buy {
    background: transparent;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 5px 14px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    font-size: 0.75rem;
    transition: 0.3s;
    font-family: 'Rajdhani', sans-serif;
}

.btn-buy:hover:not(:disabled) {
    background: var(--primary-blue);
    color: white;
    box-shadow: 0 0 10px rgba(0, 85, 255, 0.5);
}

.btn-buy.glow {
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
}

.btn-buy.glow:hover {
    background: var(--primary-cyan);
    color: black;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.5);
}

.btn-buy:disabled {
    border-color: #444;
    color: #666;
    cursor: not-allowed;
}

/* Features Band */
.features-section {
    display: flex;
    justify-content: space-around;
    padding: 80px 20px;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 40px;
}

.feature-box {
    text-align: center;
    max-width: 300px;
}

.feature-box i {
    font-size: 2.5rem;
    color: var(--primary-cyan);
    margin-bottom: 20px;
}

.feature-box h3 {
    margin-bottom: 10px;
}

.feature-box p {
    color: var(--text-muted);
}

/* Dynamic Text Animation */
.text-gradient {
    transition: opacity 0.5s ease-in-out;
    opacity: 1;
}

.text-gradient.fade-out {
    opacity: 0;
}

/* Footer */
.main-footer {
    padding: 60px 20px;
    background: #050507;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.footer-logo p {
    color: #555;
    font-size: 0.8rem;
    margin-bottom: 30px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: white;
}

.socials {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Global Card Image Styling */
.card-image img,
.game-card img,
.product-card img,
.program-card img,
.grid-screenshot {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.popular-games-section {
    width: 100%;
}

.popular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.popular-card {
    cursor: pointer;
    transition: box-shadow 0.3s;
}

.popular-card:hover {
    box-shadow: 0 5px 20px rgba(0, 229, 255, 0.2);
    border-color: var(--primary-cyan);
}

.small-card-image {
    height: 220px;
    /* Slightly smaller than full catalog */
    background: #1a1a1d;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* Product Card Footer Alignment Fix */
.prog-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.prog-card__price {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    font-family: 'Orbitron', 'Russo One', sans-serif;
    display: flex;
    align-items: baseline;
    gap: 5px;
}

.small-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.game-title-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    z-index: 3;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.game-title-overlay h3 {
    margin: 0;
    font-size: 1.1rem;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.price-badge {
    font-size: 0.8rem;
    color: var(--primary-cyan);
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    background: rgba(0, 0, 0, 0.6);
    padding: 2px 6px;
    border-radius: 4px;
}

.view-catalog-container {
    text-align: center;
    margin-top: 80px;
    margin-bottom: 20px;
}

.btn-view-catalog {
    display: inline-block;
    padding: 12px 30px;
    background: transparent;
    border: 1px solid var(--border-highlight);
    color: var(--primary-cyan);
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: 0.3s;
}

.btn-view-catalog:hover {
    background: var(--primary-cyan);
    color: black;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.4);
}

.socials a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    font-size: 1.2rem;
    color: white;
    transition: 0.3s;
}

.socials a:hover {
    background: var(--primary-cyan);
    color: black;
    transform: translateY(-3px);
}

/* Tariff Plans */
.plan-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    cursor: pointer;
    transition: 0.2s;
}

.plan-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.plan-item.active {
    background: rgba(0, 229, 255, 0.1);
    border-color: var(--primary-cyan);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.1);
}

.plan-item span {
    display: flex;
    align-items: center;
}

.radio-circle {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    position: relative;
    transition: 0.2s;
}

.plan-item.active .radio-circle {
    border-color: var(--primary-cyan);
}

.plan-item.active .radio-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    background: var(--primary-cyan);
    border-radius: 50%;
}

/* Program Details 2-Column Layout */
.program-layout-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: start;
}

@media (max-width: 900px) {
    .program-layout-grid {
        grid-template-columns: 1fr;
    }
}

.program-sidebar {
    position: sticky;
    top: 140px;
}

.checkout-card {
    background: rgba(18, 18, 21, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 380px;
}

.checkout-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.section-title {
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-pill {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Mobile */
/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 3.5rem;
    }

    .games-grid,
    .popular-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hiw-container {
        gap: 20px;
    }

    .hiw-step {
        width: auto;
        flex: 1;
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {

    /* Navigation */
    .mobile-toggle {
        display: block;
        color: white;
        z-index: 1001;
    }

    .nav-container {
        padding: 0 20px;
        gap: 0;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        /* Slide out by default */
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 13, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 40px;
        transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        margin-left: 0;
        padding: 40px;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: center;
        gap: 30px;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .nav-actions {
        flex-direction: column;
        margin-left: 0;
        width: 100%;
        max-width: 300px;
    }

    .nav-actions .btn-login {
        width: 100%;
        text-align: center;
        padding: 15px;
        font-size: 1rem;
    }

    /* Language toggle on mobile — show next to hamburger */
    .lang-toggle {
        padding: 6px 12px;
        font-size: 0.7rem;
        margin-left: auto;
        margin-right: 15px;
    }

    /* Hero */
    .hero {
        flex-direction: column;
        text-align: left;
        padding: 100px 24px 40px;
        align-items: flex-start;
    }

    .hero-content {
        margin-bottom: 30px;
        margin-left: 0;
        max-width: 100%;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.05;
        margin-bottom: 14px;
    }

    .hero p {
        font-size: 0.95rem;
        margin-bottom: 24px;
        max-width: 100%;
    }

    .hero-btns {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 30px;
    }

    .hero-btns .btn-primary,
    .hero-btns .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
        font-size: 0.9rem;
        justify-content: center;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .stats-row {
        justify-content: space-between;
        gap: 0;
        width: 100%;
        padding-top: 24px;
    }

    .stat-item {
        align-items: center;
        flex: 1;
    }

    .stat-num {
        font-size: 1.4rem;
    }

    .stat-label {
        font-size: 0.75rem;
    }

    /* Hide character on mobile */
    .hero-visual {
        display: none;
    }

    /* Grids */
    .games-grid,
    .popular-grid {
        grid-template-columns: 1fr;
    }

    .program-layout-grid {
        grid-template-columns: 1fr;
    }

    .program-sidebar {
        position: relative;
        top: 0;
    }

    /* Other sections */
    .hiw-container {
        flex-direction: column;
        gap: 40px;
    }

    .hiw-line {
        display: none;
        /* Hide horizontal line on mobile */
    }

    .features-section {
        flex-direction: column;
        align-items: center;
        gap: 60px;
    }

    /* Section headers tighter */
    .section-header h2 {
        font-size: 1.8rem;
    }

    /* Footer */
    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

    .socials {
        justify-content: center;
    }
}

/* Program Card V2 (Reference Style) */
.program-card-v2 {
    background: #0f0f12;
    /* Darker bg */
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.program-card-v2:hover {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.2);
}

.card-image-wrapper {
    position: relative;
    height: 180px;
    background: #1a1a1f;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.status-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    display: flex;
    align-items: center;
}

.card-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.card-title {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    color: white;
    margin: 0;
    line-height: 1.2;
}

.card-footer-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.price-tag {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: white;
}

.btn-gold {
    background: #FFD700;
    /* Gold */
    color: black;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    padding: 8px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
}

.btn-gold:hover {
    background: #ffe033;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Screenshot Grid */
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.grid-screenshot {
    width: 100%;
    height: auto;
    /* Allow flexible height */
    aspect-ratio: 16/9;
    /* Enforce standard game screenshot ratio */
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: 0.3s;
    cursor: pointer;
}

.grid-screenshot:hover {
    transform: scale(1.05);
    /* Slightly more pop */
    border-color: var(--primary-cyan);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

/* Fullscreen Media Lightbox */
.media-lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: zoom-out;
    animation: mlb-fadeIn 0.3s ease;
}

@keyframes mlb-fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes mlb-zoomIn {
    from {
        opacity: 0;
        transform: scale(0.88);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.media-lightbox__close {
    position: fixed;
    top: 20px;
    right: 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.6rem;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    line-height: 1;
    backdrop-filter: blur(10px);
}

.media-lightbox__close:hover {
    background: rgba(255, 75, 75, 0.15);
    border-color: rgba(255, 75, 75, 0.4);
    color: #ff6b6b;
    transform: rotate(90deg) scale(1.1);
}

.media-lightbox__content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    cursor: default;
}

.media-lightbox__img {
    max-width: 92vw;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 10px;
}

.media-lightbox__video-wrap {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

.media-lightbox__video {
    max-width: 95vw;
    max-height: 92vh;
    width: auto;
    height: auto;
    border-radius: 8px;
    background: #000;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
    outline: none;
}

.media-lightbox__iframe {
    width: 90vw;
    height: 85vh;
    max-width: 1600px;
    border: none;
    border-radius: 8px;
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.6);
}

/* ==============================
   TAB CONTENT TRANSITIONS
   ============================== */
.tab-active {
    display: block;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.15s ease, transform 0.15s ease;
}

.tab-hidden {
    display: none;
    opacity: 0;
    transform: translateY(6px);
}

/* ==============================
   DESCRIPTION TRUNCATION
   ============================== */
.desc-wrapper {
    position: relative;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.desc-wrapper.desc-truncated {
    max-height: 150px;
    overflow: hidden;
}

.desc-wrapper.desc-expanded {
    max-height: 5000px;
}

.desc-fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(transparent, var(--bg-dark, #0a0a0d));
    pointer-events: none;
    z-index: 1;
}

.desc-show-more-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    padding: 10px 24px;
    background: rgba(0, 229, 255, 0.06);
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: 8px;
    color: var(--primary-cyan);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    cursor: pointer;
    transition: all 0.25s ease;
    position: relative;
    z-index: 2;
}

.desc-show-more-btn:hover {
    background: rgba(0, 229, 255, 0.12);
    border-color: rgba(0, 229, 255, 0.4);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0, 229, 255, 0.15);
}

/* Grid media item (video thumbnail in screenshot grid) */
.grid-media-item {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #0a0a12;
}

.grid-media-item:hover {
    transform: scale(1.05);
    border-color: var(--primary-cyan);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.grid-media-item video,
.grid-media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.grid-media-item__play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: none;
}

.grid-media-item:hover .grid-media-item__play {
    background: rgba(0, 229, 255, 0.3);
    border-color: rgba(0, 229, 255, 0.6);
    transform: translate(-50%, -50%) scale(1.1);
}

.grid-media-item__play svg {
    width: 24px;
    height: 24px;
    fill: white;
    margin-left: 3px;
}

/* ==============================
   PROGRAM CARDS (Product Page)
   ============================== */

.program-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 16px;
}

/* --- Card Base --- */
.prog-card {
    background: #111118;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.prog-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.prog-card {
    position: relative;
}

.prog-card:hover {
    border-color: rgba(0, 229, 255, 0.15);
}

.prog-card:hover::after {
    opacity: 1;
}

.prog-card:hover .prog-card__arrow {
    transform: translateX(3px);
}

/* --- Bestseller Variant --- */
.prog-card--best {
    border-color: rgba(255, 120, 0, 0.25);
}

.prog-card--best:hover {
    border-color: rgba(255, 120, 0, 0.45);
    box-shadow: 0 4px 24px rgba(255, 107, 0, 0.1);
}

/* --- Card Image --- */
.prog-card__img {
    position: relative;
    height: 140px;
    overflow: hidden;
    background: #0a0a12;
}

.prog-card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.prog-card__img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
    pointer-events: none;
}

/* --- Bestseller Badge (on image) --- */
.prog-card__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: linear-gradient(135deg, #ff6b00, #ff9500);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 800;
    font-family: 'Rajdhani', sans-serif;
    padding: 3px 10px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 4px;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(255, 107, 0, 0.5);
}

.prog-card__badge i {
    font-size: 0.6rem;
}

/* --- Status Badge (bottom-right of image) --- */
.prog-card__status {
    position: absolute;
    bottom: 8px;
    right: 10px;
    font-size: 0.58rem;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 3px;
    z-index: 2;
    backdrop-filter: blur(6px);
}

.prog-card__status--undetected {
    background: rgba(0, 200, 100, 0.15);
    color: #6fcf97;
    border: 1px solid rgba(0, 200, 100, 0.25);
}

.prog-card__status--updating {
    background: rgba(255, 166, 0, 0.15);
    color: #f2994a;
    border: 1px solid rgba(255, 166, 0, 0.25);
}

.prog-card__status--testing {
    background: rgba(255, 200, 0, 0.15);
    color: #f2c94c;
    border: 1px solid rgba(255, 200, 0, 0.25);
}

.prog-card__status--risky {
    background: rgba(255, 50, 50, 0.15);
    color: #eb5757;
    border: 1px solid rgba(255, 50, 50, 0.25);
}

/* --- Card Body --- */
.prog-card__body {
    padding: 14px 16px 16px;
}

.prog-card__name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #eee;
    margin: 0 0 10px 0;
    font-family: 'Rajdhani', sans-serif;
    line-height: 1.2;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* --- Footer: Price + Arrow --- */
.prog-card__footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 10px;
}

.prog-card__price {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    display: flex;
    align-items: baseline;
    gap: 4px;
    line-height: 1;
}

.prog-card__price small {
    font-size: 0.7rem;
    color: #555;
    font-weight: 400;
    vertical-align: baseline;
}

.prog-card__arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-blue);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.prog-card:hover .prog-card__arrow {
    background: #3370ff;
    transform: translateX(2px);
}

/* --- Card Status Text (Minimal) --- */
.card-status-text {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.65rem;
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 8px;
    opacity: 0.8;
}

.card-status-text::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    display: inline-block;
    flex-shrink: 0;
}

.card-status-text.status-online {
    color: #6fcf97;
}

.card-status-text.status-online::before {
    background: #6fcf97;
    box-shadow: 0 0 4px #6fcf97;
}

.card-status-text.status-updating {
    color: #f2994a;
}

.card-status-text.status-updating::before {
    background: #f2994a;
    box-shadow: 0 0 4px #f2994a;
}

.card-status-text.status-offline {
    color: #eb5757;
}

.card-status-text.status-offline::before {
    background: #eb5757;
    box-shadow: 0 0 4px #eb5757;
}

/* --- Card Reveal Animation (instant) --- */
.animate-card-reveal {
    opacity: 1;
}

/* --- Card Description Collapsible --- */
.card-description-wrap {
    margin-bottom: 12px;
}

.card-desc-text {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 4px;
    line-height: 1.5;
    word-break: break-word;
}

.desc-toggle-btn {
    background: none;
    border: none;
    color: var(--primary-cyan);
    font-size: 0.75rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    cursor: pointer;
    padding: 4px 0;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.desc-toggle-btn:hover {
    color: #fff;
    text-shadow: 0 0 8px var(--primary-cyan);
}

.desc-toggle-btn i {
    font-size: 0.65rem;
    transition: transform 0.3s ease;
}

/* --- AUTH PAGES (Global) --- */
.auth-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.auth-card-premium {
    background: rgba(18, 18, 21, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-top: 1px solid var(--primary-cyan);
    border-radius: 16px;
    padding: 50px;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(0, 229, 255, 0.05);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.auth-card-premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--primary-cyan), transparent);
}

.auth-header {
    margin-bottom: 40px;
}

.auth-logo {
    font-family: 'Orbitron';
    font-size: 2rem;
    color: white;
    text-decoration: none;
    display: block;
    margin-bottom: 10px;
    text-shadow: 0 0 15px rgba(0, 229, 255, 0.5);
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    transition: 0.3s;
}

.input-group input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-family: 'Inter';
    transition: 0.3s;
}

.input-group input:focus {
    background: rgba(0, 229, 255, 0.05);
    border-color: var(--primary-cyan);
    outline: none;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.1);
}

.input-group input:focus+.input-icon,
.input-group:focus-within .input-icon {
    color: var(--primary-cyan);
}

.btn-block {
    width: 100%;
    padding: 15px;
    font-size: 1rem;
    border-radius: 8px;
    letter-spacing: 2px;
}

.auth-footer {
    margin-top: 30px;
    font-size: 0.9rem;
    color: #888;
}

.link-animate {
    color: var(--primary-cyan);
    text-decoration: none;
    font-weight: 600;
    margin-left: 5px;
    position: relative;
}

.link-animate::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-cyan);
    transition: 0.3s;
}

.link-animate:hover::after {
    width: 100%;
}

.error-banner {
    background: rgba(255, 51, 51, 0.1);
    border: 1px solid #ff3333;
    color: #ff3333;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    display: none;
}

.error-banner.visible {
    display: block;
    animation: shake 0.3s;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

/* --- FORM CONTROLS (Global) --- */
.form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: white;
    font-family: 'Inter', sans-serif;
    transition: 0.3s;
    margin-bottom: 15px;
}

.form-control:focus {
    background: rgba(0, 0, 0, 0.3);
    border-color: var(--primary-cyan);
    outline: none;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.1);
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* --- HOW IT WORKS V2 (Timeline) --- */
.hiw-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 20px 0;
}

/* The Line using ::before or a separate div */
.hiw-line {
    position: absolute;
    top: 50px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.05) 0%,
            var(--primary-blue) 30%,
            var(--primary-cyan) 70%,
            rgba(255, 255, 255, 0.05) 100%);
    z-index: 0;
    box-shadow: 0 0 15px var(--primary-cyan);
}

.hiw-step {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 220px;
    transition: 0.3s;
}

.hiw-step:hover {
    transform: translateY(-10px);
}

.hiw-icon-box {
    width: 100px;
    height: 100px;
    background: var(--bg-dark);
    border: 2px solid var(--border-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2.5rem;
    color: var(--text-muted);
    margin-bottom: 30px;
    position: relative;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    transition: 0.3s;
}

.hiw-step:hover .hiw-icon-box {
    border-color: var(--primary-cyan);
    color: white;
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.3);
    background: rgba(0, 229, 255, 0.05);
}

/* Glowing Last Step */
.glow-icon {
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
}

.step-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 30px;
    height: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border-highlight);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 700;
    color: white;
    font-family: 'Rajdhani', sans-serif;
}

.hiw-content h3 {
    font-family: 'Orbitron';
    letter-spacing: 1px;
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.hiw-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

@media (max-width: 900px) {
    .hiw-container {
        flex-direction: column;
        align-items: center;
        gap: 50px;
    }

    .hiw-line {
        width: 2px;
        height: 100%;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        background: linear-gradient(180deg,
                rgba(255, 255, 255, 0.05) 0%,
                var(--primary-blue) 20%,
                var(--primary-cyan) 80%,
                rgba(255, 255, 255, 0.05) 100%);
    }

    .hiw-step {
        width: 100%;
        max-width: 300px;
    }
}

/* --- SUPPORT PAGE STYLES --- */
.download-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

.download-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-cyan);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dl-icon {
    font-size: 2.5rem;
    color: var(--primary-blue);
    margin-bottom: 20px;
    height: 60px;
    width: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(0, 85, 255, 0.1);
    border-radius: 50%;
    transition: 0.3s;
}

.download-card:hover .dl-icon {
    color: white;
    background: var(--primary-blue);
    box-shadow: 0 0 15px var(--primary-blue);
}

.download-card h3 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-family: 'Orbitron';
}

.download-card p {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 20px;
}

.download-card .btn-sm {
    margin-top: auto;
    width: 100%;
    padding: 10px;
    font-size: 0.8rem;
}

.download-card:hover .btn-sm {
    background: white;
    color: black;
}

.btn-discord:hover {
    background: #4752c4 !important;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.5);
    transform: translateY(-2px);
}

/* ============ Language Toggle ============ */
.lang-toggle {
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.3);
    color: #00e5ff;
    padding: 6px 14px;
    border-radius: 20px;
    cursor: pointer;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    white-space: nowrap;
    margin-left: 10px;
}

.lang-toggle:hover {
    background: rgba(0, 229, 255, 0.2);
    border-color: rgba(0, 229, 255, 0.6);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.2);
}

/* Live Editor Styles */
.live-editor-panel {
    position: fixed;
    top: 0;
    right: -500px;
    width: 450px;
    height: 100vh;
    background: rgba(15, 15, 20, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-color);
    z-index: 2000;
    padding: 30px;
    overflow-y: auto;
    transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.5);
}

.live-editor-panel.open {
    right: 0 !important;
}

.live-editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.live-editor-header h2 {
    font-size: 1.5rem;
    color: white;
    margin: 0;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}

.editor-close-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.2s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.editor-close-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.editor-section {
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.editor-section h3 {
    font-size: 0.9rem;
    color: var(--primary-cyan);
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.editor-form-group {
    margin-bottom: 20px;
}

.editor-form-group:last-child {
    margin-bottom: 0;
}

.editor-label {
    display: block;
    color: var(--text-muted);
    margin-bottom: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

.editor-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    color: white;
    border-radius: 8px;
    outline: none;
    transition: 0.2s;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
}

.editor-input:focus {
    border-color: var(--primary-cyan);
    background: rgba(0, 229, 255, 0.05);
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.1);
}

.editor-textarea {
    width: 100%;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    color: white;
    border-radius: 8px;
    outline: none;
    transition: 0.2s;
    font-family: 'Consolas', monospace;
    font-size: 0.9rem;
    resize: vertical;
    line-height: 1.5;
}

.editor-textarea:focus {
    border-color: var(--primary-cyan);
    background: rgba(0, 229, 255, 0.05);
}

.editor-row {
    display: flex;
    gap: 12px;
}

.editor-hint {
    color: #666;
    font-size: 0.75rem;
    margin-top: 6px;
}

.editor-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.editor-table th {
    text-align: left;
    color: var(--primary-cyan);
    font-size: 0.8rem;
    padding: 0 8px 8px;
    font-weight: 600;
}

.editor-table td {
    padding: 0 4px;
}

.btn-editor-action {
    width: 100%;
    padding: 8px;
    border-radius: 6px;
    border: 1px dashed rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    cursor: pointer;
    transition: 0.2s;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-editor-action:hover {
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
    background: rgba(0, 229, 255, 0.05);
}

.btn-save-changes {
    width: 100%;
    padding: 16px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--primary-blue), var(--primary-cyan));
    color: white;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
}

.btn-save-changes:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(0, 229, 255, 0.3);
}

.admin-toggle-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-cyan);
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
    z-index: 1999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.3s;
    color: black;
}

.admin-toggle-btn:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 0 40px rgba(0, 229, 255, 0.8);
}

/* Region Table Styles */
.region-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.region-input {
    width: 100%;
    padding: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: white;
    border-radius: 4px;
    text-align: center;
    font-size: 0.85rem;
    transition: 0.2s;
}

.region-input:focus {
    border-color: var(--primary-cyan);
    background: rgba(0, 229, 255, 0.05);
}

.region-name-input {
    width: 100%;
    padding: 6px;
    background: rgba(255, 166, 0, 0.1);
    border: 1px solid rgba(255, 166, 0, 0.3);
    color: #ffa500;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: 0.2s;
}

.region-name-input:focus {
    background: rgba(255, 166, 0, 0.15);
    border-color: #ffa500;
}

.btn-remove-region {
    background: none;
    border: none;
    color: #ff4444;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.2s;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-remove-region:hover {
    background: rgba(255, 68, 68, 0.1);
    transform: scale(1.1);
}

/* (ruble-sign consolidated above) */