:root {
    --bg-dark: #06080d;
    --bg-card: #0e121c;
    --bg-card-hover: #151a28;
    --accent-cyan: #00f0ff;
    --accent-pink: #ff007f;
    --accent-purple: #8b5cf6;
    --accent-gold: #ffbe0b;
    --accent-eneba: #ff6b00;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --border-color: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 240, 255, 0.35);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background-image: 
        radial-gradient(circle at 10% 15%, rgba(139, 92, 246, 0.09) 0%, transparent 45%),
        radial-gradient(circle at 85% 65%, rgba(0, 240, 255, 0.08) 0%, transparent 45%),
        radial-gradient(circle at 50% 90%, rgba(255, 0, 127, 0.06) 0%, transparent 40%);
    background-attachment: fixed;
    min-height: 100vh;
}

/* Navbar */
.navbar {
    background: rgba(11, 14, 22, 0.9);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 14px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo {
    text-decoration: none;
    font-family: 'Orbitron', sans-serif;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 1.5px;
    white-space: nowrap;
}

.logo-pay { color: #fff; text-shadow: 0 0 15px rgba(255, 255, 255, 0.4); }
.logo-to { color: var(--accent-pink); text-shadow: 0 0 15px var(--accent-pink); }
.logo-domain { font-size: 14px; color: var(--accent-cyan); font-weight: 700; text-shadow: 0 0 10px var(--accent-cyan); }

/* Global Search Input in Nav */
.nav-search-bar {
    position: relative;
    flex: 1;
    max-width: 620px;
}

.nav-search-bar .search-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-cyan);
    font-size: 16px;
}

.nav-search-bar input {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 12px 42px 12px 45px;
    border-radius: 25px;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 600;
    outline: none;
    transition: all 0.25s ease;
}

.nav-search-bar input:focus {
    background: rgba(0, 0, 0, 0.6);
    border-color: var(--accent-cyan);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
}

.clear-search-btn {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 16px;
    cursor: pointer;
    transition: color 0.2s;
}
.clear-search-btn:hover { color: #fff; }

.live-status {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 240, 255, 0.06);
    border: 1px solid rgba(0, 240, 255, 0.25);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent-cyan);
    white-space: nowrap;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: var(--accent-cyan);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--accent-cyan);
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

/* Supported Stores Strip */
.supported-stores-bar {
    background: rgba(0, 0, 0, 0.6);
    border-bottom: 1px solid var(--border-color);
    padding: 8px 24px;
    overflow: hidden;
}

.stores-scroll {
    max-width: 1350px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 25px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-muted);
    flex-wrap: wrap;
}

.stores-scroll span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s;
}
.stores-scroll span:hover { color: #fff; }
.text-eneba { color: var(--accent-eneba); }

/* Main Container */
.main-container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 30px 24px 60px;
}

.section-block {
    margin-bottom: 45px;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.section-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 21px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.5px;
}

.glow-gold { color: var(--accent-gold); text-shadow: 0 0 12px var(--accent-gold); }
.glow-pink { color: var(--accent-pink); text-shadow: 0 0 12px var(--accent-pink); }
.glow-cyan { color: var(--accent-cyan); text-shadow: 0 0 12px var(--accent-cyan); }

.section-tag {
    background: var(--accent-pink);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
}

.results-badge {
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
}

/* =========================================
   VİTRİN / SHOWCASE HERO SECTION
========================================= */
.vitrin-section {
    margin-bottom: 45px;
}

.vitrin-nav-buttons {
    display: flex;
    gap: 8px;
}

.v-nav-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.v-nav-btn:hover {
    background: var(--accent-cyan);
    color: #000;
    border-color: var(--accent-cyan);
}

.vitrin-carousel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.vitrin-card {
    background: linear-gradient(145deg, #101524 0%, #0b0e18 100%);
    border: 1px solid rgba(255, 190, 11, 0.3);
    border-radius: 14px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.vitrin-card:hover {
    transform: translateY(-6px);
    border-color: var(--accent-gold);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.7), 0 0 20px rgba(255, 190, 11, 0.25);
}

.vitrin-badge-top {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, var(--accent-gold), #ff8800);
    color: #000;
    font-family: 'Orbitron', sans-serif;
    font-size: 11px;
    font-weight: 900;
    padding: 4px 10px;
    border-radius: 4px;
    z-index: 2;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.vitrin-thumb-wrap {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
    background: #000;
}

.vitrin-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.vitrin-card:hover .vitrin-thumb {
    transform: scale(1.06);
}

.vitrin-discount {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: #10b981;
    color: #000;
    font-family: 'Orbitron', sans-serif;
    font-size: 15px;
    font-weight: 900;
    padding: 5px 12px;
    border-radius: 6px;
}

.vitrin-body {
    padding: 18px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.vitrin-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    min-height: 44px;
    line-height: 1.3;
}

.vitrin-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.vitrin-price-col {
    display: flex;
    flex-direction: column;
}

.vitrin-sale-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: var(--accent-gold);
}

.vitrin-btn {
    background: linear-gradient(135deg, var(--accent-gold), #ff8800);
    color: #000;
    border: none;
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.vitrin-btn:hover {
    filter: brightness(1.15);
    box-shadow: 0 0 15px rgba(255, 190, 11, 0.4);
}

/* =========================================
   CONTROLS & FILTER BAR
========================================= */
.controls-section {
    margin-bottom: 30px;
}

.controls-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    background: var(--bg-card);
    padding: 16px 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    flex-wrap: wrap;
}

.filter-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    color: var(--text-muted);
    padding: 9px 16px;
    border-radius: 8px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 7px;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.filter-btn.active {
    background: var(--accent-cyan);
    color: #000;
    border-color: var(--accent-cyan);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.35);
}

.filter-btn.free-btn {
    border-color: rgba(255, 0, 127, 0.4);
}
.filter-btn.free-btn.active {
    background: var(--accent-pink);
    color: #fff;
    border-color: var(--accent-pink);
    box-shadow: 0 0 12px rgba(255, 0, 127, 0.4);
}

.sort-select-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: var(--text-muted);
}

.sort-select {
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
    color: #fff;
    padding: 8px 14px;
    border-radius: 8px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    font-weight: 600;
    outline: none;
    cursor: pointer;
}

/* =========================================
   GAMES GRID & CARDS
========================================= */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 22px;
}

.game-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    cursor: pointer;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-glow);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 240, 255, 0.15);
}

.card-thumb-wrap {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: #000;
}

.card-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}

.game-card:hover .card-thumb {
    transform: scale(1.05);
}

.discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #10b981;
    color: #000;
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 14px;
    padding: 4px 10px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.discount-badge.free {
    background: var(--accent-pink);
    color: #fff;
    box-shadow: 0 0 12px var(--accent-pink);
}

.platform-pill {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 9px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

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

.game-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: 42px;
}

.game-meta {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 14px;
    display: flex;
    gap: 10px;
    align-items: center;
}

.meta-rating {
    color: var(--accent-gold);
}

.card-footer {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.price-box {
    display: flex;
    flex-direction: column;
}

.old-price {
    font-size: 13px;
    color: var(--text-muted);
    text-decoration: line-through;
}

.current-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--accent-cyan);
}

.current-price.free-price {
    color: var(--accent-pink);
    text-shadow: 0 0 10px rgba(255, 0, 127, 0.4);
}

.btn-deal {
    background: linear-gradient(135deg, var(--accent-cyan), #0099ff);
    color: #000;
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 15px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-deal:hover {
    filter: brightness(1.2);
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.btn-deal.free-deal {
    background: linear-gradient(135deg, var(--accent-pink), #b026ff);
    color: #fff;
    box-shadow: 0 0 12px rgba(255, 0, 127, 0.3);
}

/* =========================================
   PRICE COMPARISON MODAL
========================================= */
.modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-dialog {
    background: #0f131f;
    border: 1px solid var(--border-glow);
    border-radius: 16px;
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 240, 255, 0.2);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #fff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    z-index: 10;
}
.modal-close:hover {
    background: var(--accent-pink);
    transform: rotate(90deg);
}

.modal-header-hero {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(180deg, rgba(0, 240, 255, 0.08) 0%, transparent 100%);
    border-bottom: 1px solid var(--border-color);
}

.modal-thumb {
    width: 160px;
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.modal-game-info h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    margin-bottom: 6px;
}

.modal-lowest-pill {
    display: inline-block;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid #10b981;
    color: #10b981;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 13px;
    margin-top: 6px;
}

.modal-body {
    padding: 24px;
}

.modal-stores-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.store-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 12px 18px;
    border-radius: 10px;
    transition: all 0.2s;
}

.store-row:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.2);
}

.store-row.is-cheapest {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.08);
}

.store-name-col {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 16px;
}

.store-price-col {
    display: flex;
    align-items: center;
    gap: 16px;
}

.store-price-val {
    font-family: 'Orbitron', sans-serif;
    font-size: 18px;
    font-weight: 800;
    color: var(--accent-cyan);
}

.store-action-btn {
    background: var(--accent-cyan);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    padding: 7px 14px;
    border-radius: 6px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
}
.store-action-btn:hover {
    filter: brightness(1.2);
    box-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
}

/* Eneba External Row */
.eneba-row {
    border-color: rgba(255, 107, 0, 0.4);
    background: rgba(255, 107, 0, 0.06);
}
.eneba-btn {
    background: var(--accent-eneba);
    color: #fff;
}
.eneba-btn:hover {
    box-shadow: 0 0 15px rgba(255, 107, 0, 0.4);
}

/* Skeleton */
.skeleton-card {
    background: var(--bg-card);
    border-radius: 12px;
    height: 320px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--border-color);
}
.skeleton-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: shimmer 1.5s infinite;
}
@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Footer */
.footer {
    background: #040508;
    border-top: 1px solid var(--border-color);
    padding: 45px 24px;
    margin-top: 50px;
}
.footer-container {
    max-width: 1350px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}
.footer-brand h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 22px;
    margin-bottom: 8px;
}
.footer-brand h3 span { color: var(--accent-cyan); }
.footer-brand p { color: var(--text-muted); font-size: 14px; max-width: 420px; }
.footer-stores h4 { font-family: 'Orbitron', sans-serif; font-size: 15px; margin-bottom: 8px; color: var(--accent-gold); }
.footer-stores p { color: var(--text-muted); font-size: 14px; max-width: 450px; line-height: 1.6; }
.footer-info .copyright { margin-top: 10px; color: #6b7280; font-size: 13px; }

/* Responsive */
@media (max-width: 768px) {
    .nav-container { flex-direction: column; align-items: stretch; }
    .live-status { align-self: flex-start; }
    .stores-scroll { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 4px; }
    .vitrin-carousel { grid-template-columns: 1fr; }
    .games-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
}
