/* 
   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&display=swap');

: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;
}

h1,
h2,
h3,
.logo,
.btn-primary,
.btn-secondary,
.price {
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

/* SMOOTH ANIMATIONS */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Apply animations */
.hero-content,
.program-header-section,
.bestseller-badge {
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.program-card-v2,
.game-card,
.payment-card,
.auth-card-premium {
    animation: scaleIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) backwards;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Staggered delays for grids (simple mimic) */
.program-card-v2:nth-child(1) {
    animation-delay: 0.1s;
}

.program-card-v2:nth-child(2) {
    animation-delay: 0.2s;
}

.program-card-v2:nth-child(3) {
    animation-delay: 0.3s;
}

.game-card:hover,
.program-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 229, 255, 0.15);
}

/* 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 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 13, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    padding: 20px 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 20px;
    gap: 40px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
}

.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;
}

.nav-links a {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-muted);
    position: relative;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 1px;
}

.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: 20px;
    align-items: center;
    margin-left: auto;
}

.btn-login {
    border: 1px solid var(--border-color);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
}

.btn-login:hover {
    border-color: var(--primary-cyan);
    color: var(--primary-cyan);
    box-shadow: var(--glow-cyan);
}

.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;
    position: relative;
}

.hero-content {
    max-width: 600px;
    margin-bottom: 100px;
    /* Push text up a bit since we align to bottom */
    align-self: center;
    /* Keep text centered vertically if possible, or adjust margin */
}

/* ... status tags ... */

.hero-visual {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 60%;
    /* Occupy right side */
    height: 100%;
    pointer-events: none;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
}

.hero-char-wrapper {
    position: relative;
    /* Anchor for the hologram */
    width: auto;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin-right: 50px;
    /* Slight offset to bleed off screen if needed */
}

/* Pulse Ripple Animation */
.pulse-system {
    position: absolute;
    top: 50%;
    /* Centered vertically relative to container */
    left: 50%;
    /* Centered horizontally */
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    z-index: 0;
    /* Ensure it is strictly behind */
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.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 {
    max-width: none;
    /* Allow it to grow freely */
    width: auto;
    height: 80vh;
    /* Very tall relative to viewport */
    z-index: 2;
    object-fit: contain;
    position: relative;
    /* In flow */
    margin: 0;
    /* Reset margins */
    margin-bottom: -5vh;
    /* Pull down slightly */
}

.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', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 20px;
    margin-bottom: 20px;
}

.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-size: 4.8rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 550px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
}

.btn-primary {
    background: var(--primary-blue);
    color: white;
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    box-shadow: var(--glow-blue);
}

.btn-primary:hover {
    background: var(--primary-cyan);
    box-shadow: var(--glow-cyan);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: white;
    padding: 15px 30px;
    border-radius: 4px;
    font-weight: 700;
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.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', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.stat-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
}

/* 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;
    /* Ensure z-index works */
    z-index: 10;
    /* Place IN FRONT of the character */
    margin-top: 50px;
}

.ticker {
    display: flex;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    padding: 0 40px;
    font-family: 'Rajdhani', 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);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-cyan);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.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: 180px;
    background-color: #222;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /* In production, use real images via url() */
}

.card-image {
    background: linear-gradient(45deg, #2c3e50, #34495e);
}

.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: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-details h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.card-details p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.features-list {
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.features-list span {
    font-size: 0.8rem;
    color: #ccc;
    display: flex;
    align-items: center;
    gap: 6px;
}

.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: 15px;
}

.card-action .price {
    font-size: 1rem;
    font-weight: 700;
    color: white;
}

.btn-buy {
    background: transparent;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 700;
    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: transform 0.3s, box-shadow 0.3s;
}

.popular-card:hover {
    transform: translateY(-5px);
    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;
}

.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);
}

.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: 1.5fr 1fr;
    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: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.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 */
@media (max-width: 768px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-toggle {
        display: block;
        color: white;
    }

    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
    }

    .hero-content {
        margin-bottom: 50px;
    }

    .hero-btns {
        justify-content: center;
    }

    .stats-row {
        justify-content: center;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}

/* 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 {
    transform: translateY(-5px);
    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);
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: rgba(0, 0, 0, 0.96);
    backdrop-filter: blur(8px);

    /* Flex Centering */
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.lightbox-content {
    max-width: 95vw;
    max-height: 95vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border: 2px solid var(--primary-cyan);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.2);
    animation: zoomIn 0.3s ease-out;
    border-radius: 4px;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: 300;
    transition: 0.3s;
    cursor: pointer;
    z-index: 3001;
    line-height: 1;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.lightbox-close:hover {
    color: var(--primary-cyan);
    transform: rotate(90deg);
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Bestseller Badge - Minimal Cyberpunk */
.card-image-wrapper {
    position: relative;
    width: 100%;
    height: 180px;
    /* Fixed height for uniformity */
    overflow: hidden;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.program-card-v2:hover .card-image-wrapper img {
    transform: scale(1.1);
}

.bestseller-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    /* Moved to right to avoid covering potential top-left text */
    left: auto;
    width: auto;
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--primary-cyan);
    color: var(--primary-cyan);
    font-size: 0.7rem;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    padding: 4px 12px;
    z-index: 10;
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
    display: flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 1px;
    text-transform: uppercase;
    transform: skewX(-15deg);
    /* Tech feel */
    backdrop-filter: blur(4px);
}

.bestseller-badge i,
.bestseller-badge span {
    transform: skewX(15deg);
    /* Un-skew text */
}

.bestseller-card {
    border: 1px solid rgba(0, 229, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.05);
}

.bestseller-card:hover {
    border-color: var(--primary-cyan);
    box-shadow: 0 0 30px rgba(0, 229, 255, 0.2);
    transform: translateY(-5px);
}

/* --- 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);
}