:root {
    --brand: #ff6b00;
    --brand-hover: #ea580c;
    --brand-dark: #c2410c;
    --brand-light: #fff7ed;

    --page-bg: #f8f9fb;
    --surface: #ffffff;

    --text-primary: #111827;
    --text-secondary: #4b5563;
    --text-muted: #9ca3af;

    --border-default: #e5e7eb;

    --success: #16a34a;
    --danger: #dc2626;
    --info: #2563eb;

    --shadow-card-base: 0 4px 14px rgba(16, 24, 40, 0.07);
    --shadow-card-hover-base: 0 10px 28px rgba(16, 24, 40, 0.12);
}

/* Karanlık mod: <html> üzerindeki `dark` sınıfı ile açılır */
html.dark {
    --page-bg: #101217;
    --surface: #1a1d23;

    --text-primary: #f3f4f6;
    --text-secondary: #b0b6c0;
    --text-muted: #767d89;

    --border-default: #2a2e37;

    --shadow-card-base: 0 4px 14px rgba(0, 0, 0, 0.35);
    --shadow-card-hover-base: 0 10px 28px rgba(0, 0, 0, 0.45);
}

* {
    border-color: var(--border-default);
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--page-bg);
    color: var(--text-primary);
    font-family: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* Lucide ikonları <i> → <svg> dönüştürür; boyut sınıflarını korur */
svg.lucide {
    flex-shrink: 0;
}

/* Container (max 1648px, responsive yatay padding) */
.container-x {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    max-width: 1648px;
    padding-left: 1rem;
    padding-right: 1rem;
}
@media (min-width: 640px) {
    .container-x { padding-left: 1.5rem; padding-right: 1.5rem; }
}
@media (min-width: 1024px) {
    .container-x { padding-left: 2rem; padding-right: 2rem; }
}

/* Yatay kaydırma şeritleri */
.scrollbar-none {
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.scrollbar-none::-webkit-scrollbar {
    display: none;
}

/* ---------- Tema ikonu ---------- */
.theme-icon-sun { display: none; }
html.dark .theme-icon-sun { display: inline-flex; }
html.dark .theme-icon-moon { display: none; }

/* ---------- Header: kategori satırı ---------- */
.nav-link {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    white-space: nowrap;
    border-radius: 9999px;
    padding: 0.45rem 0.8rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: background-color 0.2s, color 0.2s;
}
.nav-link svg {
    color: var(--text-muted);
    transition: color 0.2s, transform 0.2s;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 0.8rem;
    right: 0.8rem;
    bottom: -0.68rem; /* satırın alt çizgisine oturur */
    height: 2px;
    border-radius: 2px;
    background: var(--brand);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s ease;
}
.nav-link:hover {
    background: var(--brand-light);
    color: var(--brand-dark);
}
.nav-link:hover svg {
    color: var(--brand);
    transform: translateY(-1px);
}
.nav-link:hover::after {
    transform: scaleX(1);
}
html.dark .nav-link:hover {
    background: rgba(255, 107, 0, 0.12);
    color: #ffb27a;
}

/* 1024–1279px arası satır dar: ikonları ve ikincil linkleri gizle */
@media (max-width: 1279px) {
    .nav-link { padding: 0.45rem 0.6rem; }
    .nav-link svg,
    .nav-link-secondary,
    .campaign-badge { display: none; }
    .nav-link::after { left: 0.6rem; right: 0.6rem; }
}

/* "Tüm Kategoriler" düğmesi */
.mega-trigger {
    display: inline-flex;
    height: 2.5rem;
    align-items: center;
    gap: 0.5rem;
    border-radius: 9999px;
    padding: 0 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, #ff8a3d 0%, #ff6b00 50%, #ea580c 100%);
    box-shadow: 0 4px 14px rgba(255, 107, 0, 0.3);
    transition: box-shadow 0.2s, transform 0.2s;
}
.mega-trigger:hover {
    box-shadow: 0 6px 20px rgba(255, 107, 0, 0.4);
    transform: translateY(-1px);
}
.mega-chevron {
    transition: transform 0.25s ease;
}
[data-mega].is-open .mega-chevron {
    transform: rotate(180deg);
}

/* Mega menü paneli (açılış animasyonlu) */
.mega-panel {
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 40;
    width: 860px;
    padding-top: 0.75rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
}
[data-mega].is-open .mega-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.mega-card {
    border-radius: 1.25rem;
    border: 1px solid var(--border-default);
    background: var(--surface);
    padding: 1rem;
    box-shadow: 0 24px 60px rgba(16, 24, 40, 0.16);
}
html.dark .mega-card {
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.mega-heading {
    padding: 0 0.5rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}
.mega-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 0.875rem;
    padding: 0.6rem;
    transition: background-color 0.2s;
}
.mega-item:hover {
    background: var(--page-bg);
}
.mega-icon {
    display: flex;
    height: 2.5rem;
    width: 2.5rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 0.75rem;
    background: var(--brand-light);
    color: var(--brand);
    transition: transform 0.2s, background-color 0.2s, color 0.2s;
}
.mega-item:hover .mega-icon {
    transform: scale(1.06);
    background: var(--brand);
    color: #fff;
}
.mega-arrow {
    color: var(--brand);
    opacity: 0;
    transform: translateX(-4px);
    transition: opacity 0.2s, transform 0.2s;
}
.mega-item:hover .mega-arrow {
    opacity: 1;
    transform: translateX(0);
}
.mega-chip {
    border-radius: 9999px;
    border: 1px solid var(--border-default);
    padding: 0.3rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: border-color 0.2s, color 0.2s, background-color 0.2s;
}
.mega-chip:hover {
    border-color: var(--brand);
    background: var(--brand-light);
    color: var(--brand-dark);
}
.mega-feature {
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1rem;
    padding: 1rem;
    color: #fff;
    background: linear-gradient(150deg, #c2410c 0%, #ff6b00 60%, #ff8a3d 100%);
}
.mega-feature-cta {
    position: relative;
    z-index: 1;
    margin-top: auto;
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 0.3rem;
    border-radius: 9999px;
    background: #fff;
    padding: 0.4rem 0.85rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: #111827;
    transition: gap 0.2s;
}
.mega-feature:hover .mega-feature-cta {
    gap: 0.5rem;
}
.mega-feature-art {
    position: absolute;
    right: -1.5rem;
    bottom: -1rem;
    width: 65%;
    opacity: 0.9;
    pointer-events: none;
    transition: transform 0.3s;
}
.mega-feature:hover .mega-feature-art {
    transform: scale(1.05) rotate(-2deg);
}

/* Kampanyalar */
.campaign-pill {
    position: relative;
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    gap: 0.4rem;
    border-radius: 9999px;
    padding: 0.45rem 0.9rem 0.45rem 1.1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand-dark);
    background: var(--brand-light);
    transition: background-color 0.2s, color 0.2s;
}
.campaign-pill:hover {
    background: #ffedd5;
}
html.dark .campaign-pill {
    background: rgba(255, 107, 0, 0.12);
    color: #ffb27a;
}
html.dark .campaign-pill:hover {
    background: rgba(255, 107, 0, 0.2);
}
.campaign-dot {
    position: absolute;
    left: 0.45rem;
    top: 50%;
    height: 0.4rem;
    width: 0.4rem;
    margin-top: -0.2rem;
    border-radius: 9999px;
    background: var(--brand);
    animation: campaign-pulse 1.8s ease-out infinite;
}
@keyframes campaign-pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 138, 61, 0.7); }
    100% { box-shadow: 0 0 0 7px rgba(255, 138, 61, 0); }
}
@media (prefers-reduced-motion: reduce) {
    .campaign-dot { animation: none; }
    .mega-panel, .nav-link::after { transition: none; }
}

.dropdown-option {
    display: flex;
    width: 100%;
    align-items: center;
    padding: 0.5rem 0.75rem;
    text-align: left;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    transition: background-color 0.15s, color 0.15s;
}
.dropdown-option:hover {
    background: var(--brand-light);
    color: var(--brand-dark);
}
.dropdown-option[aria-selected="true"] {
    color: var(--brand);
}

.drawer-cat,
.drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 10px;
    padding: 0.625rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}
.drawer-cat:hover {
    background: var(--brand-light);
    color: var(--brand-dark);
}
.drawer-link:hover {
    background: rgba(0, 0, 0, 0.05);
}

/* ---------- Hero ---------- */
.hero-hotspot {
    position: absolute;
    border-radius: 9999px;
}
.hero-hotspot:focus-visible {
    outline: 2px solid #fff;
}

/* ---------- Bölüm paneli (Popüler Oyunlar, Kampanyalar, Hediye Kartları) ---------- */
.section-panel {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid var(--border-default);
    background: var(--surface);
    padding: 1.25rem 1rem;
    box-shadow: var(--shadow-card-base);
}
/* Üst kenarda ince marka vurgusu */
.section-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 1.5rem;
    right: 1.5rem;
    height: 2px;
    border-radius: 0 0 2px 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 0, 0.55), transparent);
}
@media (min-width: 640px) {
    .section-panel { padding: 1.75rem; }
}
/* Panel içindeki kartlar: beyaz üstüne beyaz yerine sade kenarlı, gölgesiz */
.section-panel .game-card,
.section-panel .giftcard {
    box-shadow: none;
}
.section-panel .game-card:hover,
.section-panel .giftcard:hover {
    box-shadow: var(--shadow-card-hover-base);
}

/* ---------- Ortak kart davranışı ---------- */
.category-card,
.game-card,
.giftcard {
    border: 1px solid var(--border-default);
    background: var(--surface);
    box-shadow: var(--shadow-card-base);
    transition: transform 180ms ease-out, box-shadow 180ms ease-out, border-color 180ms ease-out;
}
.category-card:hover,
.game-card:hover,
.giftcard:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover-base);
}

.section-icon,
.trust-icon {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--brand-light);
    color: var(--brand);
}
html.dark .section-icon,
html.dark .trust-icon {
    background: rgba(255, 107, 0, 0.14);
}
.section-icon { margin-top: 0.25rem; height: 2.25rem; width: 2.25rem; }
.trust-icon { height: 2.5rem; width: 2.5rem; }

/* ---------- Kategori kartı ---------- */
.category-card {
    position: relative;
    display: flex;
    min-width: 210px;
    flex-shrink: 0;
    align-items: center;
    gap: 0.75rem;
    overflow: hidden;
    border-radius: 1rem;
    padding: 0.75rem 0.875rem 0.75rem 0.75rem;
}
/* Hover'da soldan yayılan hafif turuncu parıltı */
.category-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 140% at 0% 50%, var(--brand-light) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}
.category-card > * {
    position: relative;
}
.category-card:hover {
    border-color: rgba(255, 107, 0, 0.35);
}
.category-card:hover::before {
    opacity: 1;
}
html.dark .category-card::before {
    background: radial-gradient(120% 140% at 0% 50%, rgba(255, 107, 0, 0.14) 0%, transparent 60%);
}
@media (min-width: 640px) {
    .category-card { min-width: 0; flex-shrink: 1; }
}
.category-icon {
    display: flex;
    height: 3rem;
    width: 3rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border-radius: 0.875rem;
    background: linear-gradient(145deg, #fff7ed 0%, #ffedd5 100%);
    box-shadow: inset 0 0 0 1px rgba(255, 107, 0, 0.12);
    color: var(--brand);
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
html.dark .category-icon {
    background: linear-gradient(145deg, rgba(255, 107, 0, 0.18) 0%, rgba(255, 107, 0, 0.08) 100%);
}
.category-card:hover .category-icon {
    transform: scale(1.06) rotate(-3deg);
    background: linear-gradient(145deg, #ff8a3d 0%, #ff6b00 100%);
    color: #fff;
}
.category-arrow {
    display: flex;
    height: 2rem;
    width: 2rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: var(--page-bg);
    color: var(--text-muted);
    transition: background-color 0.2s, color 0.2s, transform 0.2s;
}
/* Grid dar kaldığında (tablet ve 1024–1279px) oku gizle, ikonu küçült */
@media (min-width: 640px) and (max-width: 1279px) {
    .category-card { gap: 0.625rem; padding: 0.625rem; }
    .category-icon { height: 2.5rem; width: 2.5rem; }
    .category-arrow { display: none; }
}
.category-card:hover .category-arrow {
    background: var(--brand);
    color: #fff;
    transform: rotate(45deg);
}

/* ---------- Oyun kartı ---------- */
.game-card {
    display: block;
    overflow: hidden;
    border-radius: 0.875rem;
}
.game-card:hover {
    border-color: rgba(255, 107, 0, 0.35);
}
.game-cover {
    position: relative;
    aspect-ratio: 1 / 1;
    width: 100%;
    overflow: hidden;
    background: var(--page-bg);
}
/* Hover'da alttan koyulaşan degrade */
.game-cover::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.45) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.game-card:hover .game-cover::after {
    opacity: 1;
}
.game-cover img {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.game-card:hover .game-cover img {
    transform: scale(1.07);
}
.game-arrow {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    z-index: 1;
    display: flex;
    height: 1.875rem;
    width: 1.875rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: var(--brand);
    color: #fff;
    box-shadow: 0 4px 12px rgba(255, 107, 0, 0.4);
    opacity: 0;
    transform: translateY(-4px) scale(0.85);
    transition: opacity 0.25s ease, transform 0.25s ease;
}
.game-card:hover .game-arrow {
    opacity: 1;
    transform: translateY(0) scale(1);
}
.game-link {
    margin-top: 0.125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.125rem;
    font-size: 11px;
    font-weight: 500;
    color: var(--brand);
    transition: gap 0.2s, color 0.2s;
}
.game-card:hover .game-link {
    gap: 0.3rem;
    color: var(--brand-hover);
}

.coming-soon {
    display: none; /* mobilde gizli, sm+ görünür */
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 100%;
    border-radius: 0.875rem;
    border: 1px dashed var(--border-default);
    background: var(--page-bg);
    color: var(--text-muted);
}
@media (min-width: 640px) {
    .coming-soon { display: flex; }
    .coming-soon-lg { display: none; }
}
@media (min-width: 1024px) {
    .coming-soon-lg { display: flex; }
}
.coming-soon-icon {
    display: flex;
    height: 2.75rem;
    width: 2.75rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: var(--surface);
    box-shadow: var(--shadow-card-base);
}

/* "Tümünü Gör" linki */
.view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border-radius: 9999px;
    padding: 0.4rem 0.4rem 0.4rem 0.85rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--brand);
    transition: background-color 0.2s, gap 0.2s;
}
.view-all:hover {
    background: var(--brand-light);
    gap: 0.5rem;
}
html.dark .view-all:hover {
    background: rgba(255, 107, 0, 0.12);
}

/* ---------- Promo banner ---------- */
.promo-card {
    position: relative;
    isolation: isolate;
    display: flex;
    height: 180px;
    align-items: center;
    overflow: hidden;
    border-radius: 1.25rem;
    padding: 0 1.75rem;
    color: #fff;
    box-shadow: var(--shadow-card-base);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.promo-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-card-hover-base);
}
@media (min-width: 640px) {
    .promo-card { height: 210px; padding: 0 2rem; }
}
.promo-orange {
    background: linear-gradient(120deg, #9a3412 0%, #ea580c 45%, #ff7a1a 100%);
}
.promo-dark {
    background: linear-gradient(120deg, #0f1115 0%, #1a1d23 55%, #262a33 100%);
}
/* İnce iç kenar çizgisi */
.promo-card::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 3;
    border-radius: inherit;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

/* Arka plan dekorları */
.promo-glow {
    position: absolute;
    z-index: -1;
    top: -40%;
    left: 30%;
    height: 180%;
    aspect-ratio: 1;
    border-radius: 9999px;
    filter: blur(40px);
    opacity: 0.55;
    transition: transform 0.6s ease;
}
.promo-orange .promo-glow { background: radial-gradient(circle, #ffb27a 0%, transparent 60%); }
.promo-dark .promo-glow { background: radial-gradient(circle, rgba(255, 107, 0, 0.55) 0%, transparent 60%); }
.promo-card:hover .promo-glow {
    transform: translateX(8%);
}
.promo-pattern {
    position: absolute;
    z-index: -1;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.14) 1px, transparent 1px);
    background-size: 14px 14px;
    -webkit-mask-image: linear-gradient(100deg, #000 0%, transparent 45%);
    mask-image: linear-gradient(100deg, #000 0%, transparent 45%);
}

.promo-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.12);
    padding: 0.3rem 0.7rem;
    font-size: 0.75rem;
    font-weight: 600;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}
.promo-dark .promo-badge svg {
    color: #ff8a3d;
}

.promo-cta {
    margin-top: 1.1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    border-radius: 9999px;
    background: #fff;
    padding: 0.3rem 0.3rem 0.3rem 1rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #111827;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}
.promo-cta-arrow {
    display: flex;
    height: 1.75rem;
    width: 1.75rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: var(--brand);
    color: #fff;
    transition: transform 0.25s ease;
}
.promo-card:hover .promo-cta-arrow {
    transform: translateX(3px) rotate(-45deg);
}

/* Görsel: sert kenar yerine maske ile yumuşak geçiş */
.promo-art {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
}
@media (min-width: 640px) {
    .promo-art { width: 46%; }
}
.promo-art img {
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: left center;
    transition: transform 0.5s ease;
}
.promo-card:hover .promo-art img {
    transform: scale(1.05);
}
@media (prefers-reduced-motion: reduce) {
    .promo-card, .promo-glow, .promo-art img, .promo-cta-arrow { transition: none; }
}

/* ---------- Hediye kartı (500×500 kare görsel) ---------- */
.giftcard {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 1rem;
    background: #0f1115;
}
.giftcard img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.giftcard:hover img { transform: scale(1.06); }
/* Hover'da ince turuncu çerçeve */
.giftcard::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: inset 0 0 0 2px transparent;
    transition: box-shadow 0.25s ease;
    pointer-events: none;
}
.giftcard:hover::after { box-shadow: inset 0 0 0 2px var(--brand); }

/* ---------- Footer ---------- */
.social-link {
    display: flex;
    height: 2.25rem;
    width: 2.25rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border: 1px solid var(--border-default);
    color: var(--text-secondary);
    transition: border-color 0.15s, color 0.15s;
}
.social-link:hover {
    border-color: var(--brand);
    color: var(--brand);
}

.footer-link {
    font-size: 0.875rem;
    color: var(--text-secondary);
    transition: color 0.15s;
}
.footer-link:hover {
    color: var(--brand);
}

/* ======================================================================
   Mobil uyum (< 640px)
   ====================================================================== */

/* Bölüm başlığı: "Tümü" linki başlıkla aynı satırda kalır */
.section-head {
    margin-bottom: 1.25rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.75rem;
}
.section-head .view-all {
    flex-shrink: 0;
}

/* Güven çubuğu öğesi */
.trust-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

@media (max-width: 639px) {
    /* Panel: dar ekranda daha az iç boşluk, daha küçük köşe */
    .section-panel {
        border-radius: 1.25rem;
        padding: 1rem 0.875rem;
    }
    .section-panel::before { left: 1rem; right: 1rem; }

    .section-head { align-items: center; margin-bottom: 1rem; }
    .section-head h2 { font-size: 1.0625rem; line-height: 1.35; }
    .section-head p { font-size: 0.75rem; }
    .section-icon { margin-top: 0; height: 2rem; width: 2rem; }
    .view-all { font-size: 0.8125rem; padding: 0.35rem 0.35rem 0.35rem 0.7rem; }

    /* Kategori kısayolları: 2 sütun, sonuncusu tam genişlik */
    .category-card {
        min-width: 0;
        gap: 0.625rem;
        padding: 0.625rem;
        border-radius: 0.875rem;
    }
    .category-grid > :last-child:nth-child(odd) { grid-column: span 2; }
    .category-icon { height: 2.5rem; width: 2.5rem; border-radius: 0.75rem; }
    .category-arrow { display: none; }

    /* Popüler oyunlar: 2 sütun; dokunmatikte hover oku gereksiz */
    .game-card { border-radius: 0.75rem; }
    .game-arrow { display: none; }

    /* Promo bannerlar: sabit yükseklik yerine içeriğe göre */
    .promo-card {
        height: auto;
        min-height: 168px;
        padding: 1.125rem 1.125rem;
        border-radius: 1rem;
    }
    .promo-card > div:nth-of-type(1) { max-width: 64%; }
    .promo-card h3 { margin-top: 0.625rem; font-size: 1rem; }
    .promo-card p { font-size: 0.75rem; }
    .promo-badge { font-size: 0.6875rem; padding: 0.25rem 0.6rem; }
    .promo-cta { margin-top: 0.875rem; white-space: nowrap; font-size: 0.75rem; padding-left: 0.8rem; }
    .promo-cta-arrow { height: 1.5rem; width: 1.5rem; }
    .promo-art { width: 48%; }

    .giftcard { border-radius: 0.875rem; }

    /* Güven çubuğu: ikon üstte, metin ortalı; tek kalan tam genişlik */
    .trust-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    .trust-grid > :last-child:nth-child(odd) { grid-column: span 2; }
}

/* ======================================================================
   Oyun ürün listesi (urun.html)
   ====================================================================== */
:root { --success-light: #dcfce7; }
html.dark { --success-light: #14321f; }

.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}
.breadcrumb a {
    display: flex;
    align-items: center;
    transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb [aria-current="page"] {
    font-weight: 500;
    color: var(--text-primary);
}

/* Oyun banner */
.game-banner {
    position: relative;
    margin-bottom: 1rem;
    overflow: hidden;
    border-radius: 1.5rem;
    background: #111827;
    box-shadow: var(--shadow-card-base);
}
.game-banner-bg {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    filter: blur(2px);
    transform: scale(1.05);
}
.game-banner-overlay {
    position: absolute;
    inset: 0;
    background:
            radial-gradient(60% 120% at 0% 50%, rgba(255, 107, 0, 0.25) 0%, transparent 60%),
            linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.62) 55%, rgba(0, 0, 0, 0.35) 100%);
}
.game-banner-thumb {
    height: 4.5rem;
    width: 4.5rem;
    flex-shrink: 0;
    border-radius: 1rem;
    object-fit: cover;
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15), 0 8px 24px rgba(0, 0, 0, 0.4);
}
@media (min-width: 640px) {
    .game-banner-thumb { height: 6rem; width: 6rem; }
}
.game-banner-trust {
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    gap: 1rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.35);
    padding: 1rem 1.25rem;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
}
.game-banner-trust-icon {
    display: flex;
    height: 2.25rem;
    width: 2.25rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--brand);
}

/* Kampanya bildirimi */
.promo-notice {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 1rem;
    border: 1px solid rgba(22, 163, 74, 0.2);
    background: var(--success-light);
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
}
.promo-notice strong {
    font-weight: 800;
    color: var(--success);
}
.promo-notice-icon {
    display: flex;
    height: 1.75rem;
    width: 1.75rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: var(--surface);
    color: var(--success);
}

/* Ürün kartı: ortak içerik parçaları */
.product-price {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--brand);
}
.product-code {
    font-size: 0.75rem;
    font-weight: 900;
    text-decoration: line-through;
}
.product-bonus {
    display: flex;
    width: 100%;
    flex-direction: column;
    align-items: center;
    gap: 0;
    border-radius: 0.625rem;
    background: var(--success-light);
    padding: 0.3rem 0.5rem;
}
.product-bonus-label {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: var(--success);
}
.product-bonus-amount {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--success);
}
.product-add {
    margin-top: 0.25rem;
    display: flex;
    gap: 0.4rem;
    height: 2.5rem;
    width: 100%;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--brand);
    font-size: 0.8125rem;
    font-weight: 700;
    color: #fff;
    transition: background-color 180ms ease-out;
}
.product-add:hover { background: var(--brand-hover); }


@media (max-width: 639px) {
    .game-banner { border-radius: 1.25rem; }
    .game-banner-trust { gap: 0.75rem; padding: 0.875rem; }
    .product-price { font-size: 1rem; }
    .product-add { font-size: 0.75rem; height: 2.25rem; }
    .promo-notice { font-size: 0.8125rem; }
    .product-bonus { padding: 0.3rem 0.375rem; }
    .product-bonus-label { white-space: nowrap; font-size: 8.5px; letter-spacing: 0.02em; }
    .product-bonus-amount { font-size: 0.8125rem; }
}

/* ---------- Ürün kartı: üst yarı kenardan kenara görsel, alt yarı bilgiler ---------- */
.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid var(--border-default);
    background: var(--surface);
    text-align: center;
    transition: transform 180ms ease-out, box-shadow 180ms ease-out, border-color 180ms ease-out;
}
.product-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 107, 0, 0.35);
    box-shadow: var(--shadow-card-hover-base);
}
.product-media {
    position: relative;
    aspect-ratio: 1 / 1;
    width: 100%;
    overflow: hidden;
    background: var(--page-bg);
}
.product-media img {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.product-card:hover .product-media img {
    transform: scale(1.06);
}
.product-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    gap: 0.375rem;
    padding: 0.75rem 0.875rem 0.875rem;
}
.product-body .product-add {
    margin-top: auto;
}
@media (max-width: 639px) {
    .product-card { border-radius: 0.875rem; }
    .product-body { padding: 0.625rem; gap: 0.3rem; }
}

/* ---------- Logo: açık / koyu tema ---------- */
.logo-dark { display: none; }
html.dark .logo-light { display: none; }
html.dark .logo-dark { display: block; }

/* ======================================================================
   Ödeme (odeme.html)
   ====================================================================== */

/* Adımlar */
.checkout-steps {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-muted);
}
.checkout-steps > li:not(.checkout-step-line) {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 0.5rem;
}
.checkout-step-dot {
    display: flex;
    height: 1.75rem;
    width: 1.75rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border: 1px solid var(--border-default);
    background: var(--surface);
    font-size: 0.75rem;
    font-weight: 700;
}
.checkout-steps .is-done { color: var(--success); }
.checkout-steps .is-done .checkout-step-dot {
    border-color: var(--success);
    background: var(--success);
    color: #fff;
}
.checkout-steps .is-active { color: var(--text-primary); }
.checkout-steps .is-active .checkout-step-dot {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(255, 107, 0, 0.15);
}
.checkout-step-line {
    height: 2px;
    flex: 1;
    min-width: 1rem;
    border-radius: 2px;
    background: var(--border-default);
}
.checkout-step-line.is-done { background: var(--success); }

/* Seçilen ürün */
.selected-product {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 1rem;
    border: 1px solid var(--border-default);
    background: var(--page-bg);
    padding: 0.875rem;
}
.selected-product-img {
    height: 4.5rem;
    width: 4.5rem;
    flex-shrink: 0;
    border-radius: 0.875rem;
    object-fit: cover;
}
.selected-product-bonus {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    border-radius: 9999px;
    background: var(--success-light);
    padding: 0.2rem 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--success);
}
.selected-product-price {
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
    align-items: flex-end;
}

/* Form alanları */
.field {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}
.field-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
}
.field-control {
    display: flex;
    height: 2.75rem;
    align-items: center;
    gap: 0.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-default);
    background: var(--page-bg);
    padding: 0 0.875rem;
    color: var(--text-muted);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.field-control:focus-within {
    border-color: var(--brand);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12);
}
.field-control input {
    min-width: 0;
    flex: 1;
    background: transparent;
    font-size: 0.875rem;
    color: var(--text-primary);
    outline: none;
}
.field-control input::placeholder { color: var(--text-muted); }
.field-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Ödeme yöntemi kartları (radyo) */
.pay-option {
    position: relative;
    display: flex;
    cursor: pointer;
    align-items: center;
    gap: 0.75rem;
    border-radius: 1rem;
    border: 1.5px solid var(--border-default);
    background: var(--surface);
    padding: 0.875rem;
    transition: border-color 0.2s, background-color 0.2s, box-shadow 0.2s;
}
.pay-option:hover { border-color: rgba(255, 107, 0, 0.45); }
.pay-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}
.pay-option-icon {
    display: flex;
    height: 2.5rem;
    width: 2.5rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    background: var(--page-bg);
    color: var(--text-secondary);
    transition: background-color 0.2s, color 0.2s;
}
.pay-option-badge {
    flex-shrink: 0;
    border-radius: 9999px;
    background: var(--success-light);
    padding: 0.15rem 0.5rem;
    font-size: 10px;
    font-weight: 700;
    color: var(--success);
}
.pay-option-check {
    display: flex;
    height: 1.25rem;
    width: 1.25rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    border: 1.5px solid var(--border-default);
    color: transparent;
    transition: all 0.2s;
}
.pay-option:has(input:checked) {
    border-color: var(--brand);
    background: var(--brand-light);
    box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.1);
}
html.dark .pay-option:has(input:checked) { background: rgba(255, 107, 0, 0.1); }
.pay-option:has(input:checked) .pay-option-icon {
    background: var(--brand);
    color: #fff;
}
.pay-option:has(input:checked) .pay-option-check {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
}
.pay-option:has(input:focus-visible) {
    outline: 2px solid var(--brand);
    outline-offset: 2px;
}

/* Sipariş özeti */
@media (min-width: 1024px) {
    .order-summary {
        position: sticky;
        top: 9.5rem; /* header yüksekliği + boşluk */
    }
}
.checkout-checkbox {
    margin-top: 0.125rem;
    height: 1rem;
    width: 1rem;
    flex-shrink: 0;
    accent-color: var(--brand);
}
.checkout-submit {
    margin-top: 1rem;
    display: flex;
    height: 3rem;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    border-radius: 0.875rem;
    background: linear-gradient(135deg, #ff8a3d 0%, #ff6b00 50%, #ea580c 100%);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
}
.checkout-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(255, 107, 0, 0.4);
}

@media (max-width: 639px) {
    .checkout-steps { font-size: 0.75rem; gap: 0.4rem; }
    .checkout-step-dot { height: 1.5rem; width: 1.5rem; }
    .selected-product { flex-wrap: wrap; gap: 0.75rem; padding: 0.75rem; }
    .selected-product-img { height: 3.75rem; width: 3.75rem; }
    .selected-product-price {
        width: 100%;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        border-top: 1px dashed var(--border-default);
        padding-top: 0.625rem;
    }
    .pay-option { padding: 0.75rem; }
}

/* Ödeme formu alanı: seçilen yönteme göre gösterilir */
.pay-forms {
    margin-top: 1rem;
}
.pay-form {
    display: none;
    border-radius: 1rem;
    border: 1px solid var(--border-default);
    background: var(--page-bg);
    padding: 1rem;
    animation: pay-form-in 0.25s ease;
}
@keyframes pay-form-in {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: none; }
}
.pay-form .field-control { background: var(--surface); }
.pay-form-title {
    margin-bottom: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--text-primary);
}
.pay-form-title svg { color: var(--brand); }
.section-panel:has(.pay-methods input[value="card"]:checked) .pay-form[data-method="card"],
.section-panel:has(.pay-methods input[value="transfer"]:checked) .pay-form[data-method="transfer"],
.section-panel:has(.pay-methods input[value="mobile"]:checked) .pay-form[data-method="mobile"],
.section-panel:has(.pay-methods input[value="balance"]:checked) .pay-form[data-method="balance"] {
    display: block;
}
.bank-info {
    display: grid;
    gap: 0.5rem;
    border-radius: 0.75rem;
    border: 1px solid var(--border-default);
    background: var(--surface);
    padding: 0.875rem;
    font-size: 0.8125rem;
}
.bank-info > div {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.25rem 1rem;
}
.bank-info span { color: var(--text-muted); }
.bank-info strong { font-weight: 600; color: var(--text-primary); }
@media (prefers-reduced-motion: reduce) {
    .pay-form { animation: none; }
}

/* ======================================================================
   Ödeme başarılı / Teslimat (teslimat.html)
   ====================================================================== */
.success-hero {
    position: relative;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid var(--border-default);
    background:
            radial-gradient(60% 120% at 50% 0%, var(--success-light) 0%, transparent 70%),
            var(--surface);
    padding: 2rem 1.25rem;
    text-align: center;
    box-shadow: var(--shadow-card-base);
}
.success-icon {
    margin: 0 auto;
    display: flex;
    height: 4rem;
    width: 4rem;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: var(--success);
    color: #fff;
    box-shadow: 0 0 0 8px rgba(22, 163, 74, 0.15), 0 10px 24px rgba(22, 163, 74, 0.35);
    animation: success-pop 0.5s cubic-bezier(0.2, 1.4, 0.4, 1);
}
@keyframes success-pop {
    from { transform: scale(0.6); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.success-warning {
    margin: 1.25rem auto 0;
    display: flex;
    max-width: 36rem;
    align-items: flex-start;
    gap: 0.625rem;
    border-radius: 1rem;
    border: 1px solid rgba(234, 88, 12, 0.3);
    background: var(--brand-light);
    padding: 0.875rem 1rem;
    text-align: left;
    font-size: 0.875rem;
    line-height: 1.55;
    color: var(--text-primary);
}
.success-warning svg { margin-top: 0.1rem; color: var(--brand); }
.success-warning strong { color: var(--brand-dark); }
html.dark .success-warning { background: rgba(255, 107, 0, 0.1); }
html.dark .success-warning strong { color: #ffb27a; }
@media (min-width: 640px) {
    .success-hero { padding: 2.5rem 2rem; }
}
@media (max-width: 639px) {
    .success-warning { font-size: 0.8125rem; }
}
@media (prefers-reduced-motion: reduce) {
    .success-icon { animation: none; }
}

/* ======================================================================
   Kategori listesi (kategori.html)
   ====================================================================== */
.category-hero {
    margin-bottom: 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid var(--border-default);
    background:
            radial-gradient(50% 140% at 0% 50%, var(--brand-light) 0%, transparent 70%),
            var(--surface);
    padding: 1.25rem;
    box-shadow: var(--shadow-card-base);
}
html.dark .category-hero {
    background:
            radial-gradient(50% 140% at 0% 50%, rgba(255, 107, 0, 0.12) 0%, transparent 70%),
            var(--surface);
}
.category-hero-icon {
    display: flex;
    height: 3.5rem;
    width: 3.5rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: linear-gradient(135deg, #ff8a3d 0%, #ff6b00 50%, #ea580c 100%);
    color: #fff;
    box-shadow: 0 8px 20px rgba(255, 107, 0, 0.3);
}
.category-count {
    border-radius: 9999px;
    border: 1px solid var(--border-default);
    background: var(--surface);
    padding: 0.4rem 0.9rem;
    font-size: 0.8125rem;
    color: var(--text-secondary);
}
.category-count strong { color: var(--brand); }

/* Sayfalama */
.pagination {
    margin-top: 1.5rem;
    display: flex;
    justify-content: center;
    gap: 0.375rem;
}
.pagination a {
    display: flex;
    height: 2.5rem;
    min-width: 2.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid var(--border-default);
    background: var(--surface);
    padding: 0 0.75rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: border-color 0.2s, color 0.2s;
}
.pagination a:hover { border-color: var(--brand); color: var(--brand); }
.pagination a.is-active {
    border-color: var(--brand);
    background: var(--brand);
    color: #fff;
}
.pagination a.is-disabled { pointer-events: none; opacity: 0.45; }

@media (max-width: 639px) {
    .category-hero { border-radius: 1.25rem; padding: 1rem; }
    .category-hero-icon { height: 3rem; width: 3rem; }
    .category-hero h1 { font-size: 1.375rem; }
}

/* ---------- Kategori: e-ticaret listesi ---------- */
.listing-sidebar { min-width: 0; }
@media (min-width: 1024px) {
    .listing-sidebar { position: sticky; top: 9.5rem; }
}
.listing-filters {
    border-radius: 1.25rem;
    border: 1px solid var(--border-default);
    background: var(--surface);
    box-shadow: var(--shadow-card-base);
}
.listing-filters summary {
    display: flex;
    cursor: pointer;
    list-style: none;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.125rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
}
.listing-filters summary::-webkit-details-marker { display: none; }
.listing-filters-chevron { color: var(--text-muted); transition: transform 0.2s; }
.listing-filters[open] .listing-filters-chevron { transform: rotate(180deg); }
@media (min-width: 1024px) {
    /* Masaüstünde her zaman açık, başlık tıklanmaz */
    .listing-filters summary { pointer-events: none; }
    .listing-filters-chevron { display: none; }
}
.listing-filter-group {
    border-top: 1px solid var(--border-default);
    padding: 1rem 1.125rem;
}
.listing-filter-title {
    margin-bottom: 0.625rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--text-muted);
}
.listing-cats { display: grid; gap: 0.125rem; }
.listing-cats a {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    border-radius: 10px;
    padding: 0.55rem 0.625rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: background-color 0.2s, color 0.2s;
}
.listing-cats a svg { color: var(--text-muted); }
.listing-cats a span {
    margin-left: auto;
    border-radius: 9999px;
    background: var(--page-bg);
    padding: 0 0.45rem;
    font-size: 0.6875rem;
    color: var(--text-muted);
}
.listing-cats a:hover { background: var(--page-bg); color: var(--text-primary); }
.listing-cats a.is-active {
    background: var(--brand-light);
    font-weight: 700;
    color: var(--brand-dark);
}
.listing-cats a.is-active svg { color: var(--brand); }
.listing-cats a.is-active span { background: var(--brand); color: #fff; }
html.dark .listing-cats a.is-active { background: rgba(255, 107, 0, 0.12); color: #ffb27a; }
.listing-check {
    display: flex;
    cursor: pointer;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0;
    font-size: 0.875rem;
    color: var(--text-secondary);
}
.listing-check input { height: 1rem; width: 1rem; accent-color: var(--brand); }

.listing-toolbar {
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
@media (min-width: 640px) {
    .listing-toolbar { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* Ürün kartı (liste) */
.listing-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 1rem;
    border: 1px solid var(--border-default);
    background: var(--surface);
    transition: transform 180ms ease-out, box-shadow 180ms ease-out, border-color 180ms ease-out;
}
.listing-card:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 107, 0, 0.35);
    box-shadow: var(--shadow-card-hover-base);
}
.listing-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--page-bg);
}
.listing-media img {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.listing-card:hover .listing-media img { transform: scale(1.06); }
.listing-badge {
    position: absolute;
    left: 0.5rem;
    top: 0.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    border-radius: 9999px;
    background: var(--success);
    padding: 0.2rem 0.5rem;
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 4px 10px rgba(22, 163, 74, 0.35);
}
.listing-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 0.125rem;
    padding: 0.75rem 0.875rem 0.875rem;
}
.listing-price {
    margin: 0.5rem 0 0.75rem;
    display: flex;
    flex-direction: column;
}
.listing-cta {
    margin-top: auto;
    display: flex;
    height: 2.375rem;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    border-radius: 10px;
    background: var(--brand-light);
    font-size: 0.8125rem;
    font-weight: 700;
    color: var(--brand);
    transition: background-color 0.2s, color 0.2s, gap 0.2s;
}
html.dark .listing-cta { background: rgba(255, 107, 0, 0.12); color: #ffb27a; }
.listing-card:hover .listing-cta { background: var(--brand); color: #fff; gap: 0.5rem; }

@media (max-width: 639px) {
    .listing-body { padding: 0.625rem; }
    .listing-cta { height: 2.25rem; font-size: 0.75rem; }
}

/* ======================================================================
   Giriş / Kayıt (giris.html, kayit.html)
   ====================================================================== */
.auth-shell {
    margin: 0 auto;
    max-width: 28rem;
    overflow: hidden;
    border-radius: 1.5rem;
    border: 1px solid var(--border-default);
    background: var(--surface);
    box-shadow: var(--shadow-card-hover-base);
}
.auth-card {
    padding: 1.5rem 1.25rem;
}
@media (min-width: 640px) {
    .auth-card { padding: 2.25rem; }
}
.auth-icon {
    display: inline-flex;
    height: 3rem;
    width: 3rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.875rem;
    background: var(--brand-light);
    color: var(--brand);
}
html.dark .auth-icon { background: rgba(255, 107, 0, 0.14); }

/* Şifre göster / gizle */
.password-toggle {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    color: var(--text-muted);
    transition: color 0.2s;
}
.password-toggle:hover { color: var(--brand); }
.pw-hide { display: none; }
.password-toggle.is-visible .pw-show { display: none; }
.password-toggle.is-visible .pw-hide { display: inline-flex; }

@media (max-width: 639px) {
    .auth-shell { border-radius: 1.25rem; }
}

/** ---------- İki panelli giriş/kayıt kartı (sol tanıtım + sağ form) ---------- *!*/
.auth-split {
    margin: 0 auto;
    display: grid;
    max-width: 72rem;
    overflow: hidden;
    border-radius: 1.75rem;
    border: 1px solid var(--border-default);
    background: var(--surface);
    box-shadow: var(--shadow-card-hover-base);
}
@media (min-width: 1024px) {
    .auth-split { grid-template-columns: 1fr 1fr; }
}

/* Sol panel: yumuşak turuncu degrade + dekor lekeleri (mobilde gizli) */
.auth-promo {
    position: relative;
    display: none;
    flex-direction: column;
    overflow: hidden;
    padding: 3rem 3rem 2.5rem;
    background: linear-gradient(150deg, #fff4ea 0%, #ffffff 48%, #fff1e4 100%);
}
@media (min-width: 1024px) {
    .auth-promo { display: flex; }
}
.auth-promo::before,
.auth-promo::after {
    content: "";
    position: absolute;
    border-radius: 9999px;
    pointer-events: none;
}
.auth-promo::before {
    right: -6rem;
    top: -7rem;
    height: 18rem;
    width: 18rem;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.14), rgba(255, 107, 0, 0) 70%);
}
.auth-promo::after {
    bottom: -9rem;
    left: -8rem;
    height: 22rem;
    width: 22rem;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.3), rgba(255, 107, 0, 0) 68%);
}
.auth-promo > * { position: relative; z-index: 1; }
html.dark .auth-promo {
    background: linear-gradient(150deg, rgba(255, 107, 0, 0.12) 0%, var(--surface) 50%, rgba(255, 107, 0, 0.08) 100%);
}

.auth-promo-title {
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.025em;
    color: var(--text-primary);
}
.auth-promo-title span { display: block; color: var(--brand); }
@media (min-width: 1280px) {
    .auth-promo-title { font-size: 3.25rem; }
}

.auth-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.auth-feature-icon {
    display: flex;
    height: 3.25rem;
    width: 3.25rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    background: var(--surface);
    color: var(--brand);
    box-shadow: var(--shadow-card-base);
}

.auth-promo-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-radius: 1.25rem;
    border: 1px solid rgba(255, 107, 0, 0.12);
    background: rgba(255, 255, 255, 0.75);
    padding: 1rem 1.25rem;
    backdrop-filter: blur(8px);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.auth-promo-cta:hover { border-color: rgba(255, 107, 0, 0.35); box-shadow: var(--shadow-card-base); }
html.dark .auth-promo-cta { background: rgba(255, 255, 255, 0.04); }
.auth-promo-cta-icon {
    display: flex;
    height: 3.5rem;
    width: 3.5rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: linear-gradient(135deg, #ffe2c7, #ffcfa3);
    color: var(--brand);
}
html.dark .auth-promo-cta-icon { background: rgba(255, 107, 0, 0.18); }
.auth-promo-cta-arrow {
    display: flex;
    height: 2.5rem;
    width: 2.5rem;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 9999px;
    background: var(--brand);
    color: #fff;
    transition: transform 0.2s;
}
.auth-promo-cta:hover .auth-promo-cta-arrow { transform: translateX(3px); }

/* Sağ panel: form */
.auth-form-panel {
    display: flex;
    flex-direction: column;
    padding: 1.5rem 1.25rem 2rem;
}
@media (min-width: 640px) {
    .auth-form-panel { padding: 2.5rem 3rem 2.75rem; }
}
.auth-switch {
    display: inline-flex;
    height: 2.75rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.75rem;
    border: 1.5px solid var(--brand);
    padding: 0 1.5rem;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--brand);
    transition: background-color 0.2s, color 0.2s;
}
.auth-switch:hover { background: var(--brand); color: #fff; }

.auth-form .field-control {
    height: 3.25rem;
    border-radius: 0.75rem;
    gap: 0.875rem;
    padding: 0 1rem;
}
.auth-form .field-control input { font-size: 0.9375rem; }

.auth-submit {
    display: flex;
    height: 3.25rem;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    border-radius: 0.875rem;
    background: linear-gradient(90deg, var(--brand), #ff8a2b);
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 10px 24px rgba(255, 107, 0, 0.3);
    transition: box-shadow 0.2s, transform 0.2s;
}
.auth-submit:hover { box-shadow: 0 12px 28px rgba(255, 107, 0, 0.4); transform: translateY(-1px); }
.auth-submit svg { transition: transform 0.2s; }
.auth-submit:hover svg { transform: translateX(3px); }

.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8125rem;
    color: var(--text-muted);
}
.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: var(--border-default);
}

.auth-social {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}
.auth-social a {
    display: flex;
    height: 3.5rem;
    align-items: center;
    justify-content: center;
    border-radius: 0.875rem;
    border: 1px solid var(--border-default);
    background: var(--surface);
    box-shadow: var(--shadow-card-base);
    transition: border-color 0.2s, transform 0.2s;
}
.auth-social a:hover { border-color: rgba(255, 107, 0, 0.45); transform: translateY(-1px); }
.auth-social img { height: 1.625rem; width: 1.625rem; }
/* Tek renkli (siyah) logolar koyu temada beyaza döner */
html.dark .auth-social img.is-mono { filter: invert(1); }


/* ======================================================================
   Statik sayfalar (sayfa.html, sss.html, iletisim.html)
   ====================================================================== */
.static-nav { padding: 1rem; }

/* Metin içeriği: CMS'ten gelen HTML'i otomatik biçimler */
.prose-content {
    font-size: 0.9375rem;
    line-height: 1.75;
    color: var(--text-secondary);
}
.prose-content > * + * { margin-top: 1rem; }
.prose-content h2 {
    margin-top: 2rem;
    font-size: 1.375rem;
    font-weight: 800;
    line-height: 1.3;
    color: var(--text-primary);
}
.prose-content h3 {
    margin-top: 1.5rem;
    font-size: 1.0625rem;
    font-weight: 700;
    color: var(--text-primary);
}
.prose-content > :first-child { margin-top: 0; }
.prose-content a { font-weight: 600; color: var(--brand); text-decoration: underline; text-underline-offset: 2px; }
.prose-content strong { font-weight: 700; color: var(--text-primary); }
.prose-content ul, .prose-content ol { padding-left: 1.25rem; }
.prose-content ul { list-style: disc; }
.prose-content ol { list-style: decimal; }
.prose-content li + li { margin-top: 0.375rem; }
.prose-content li::marker { color: var(--brand); }
.prose-content blockquote {
    border-left: 3px solid var(--brand);
    border-radius: 0 0.75rem 0.75rem 0;
    background: var(--brand-light);
    padding: 0.875rem 1rem;
    color: var(--text-primary);
}
html.dark .prose-content blockquote { background: rgba(255, 107, 0, 0.08); }
.prose-content table {
    width: 100%;
    overflow: hidden;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 0.75rem;
    border: 1px solid var(--border-default);
    font-size: 0.875rem;
}
.prose-content th, .prose-content td {
    border-bottom: 1px solid var(--border-default);
    padding: 0.625rem 0.875rem;
    text-align: left;
}
.prose-content th { background: var(--page-bg); font-weight: 700; color: var(--text-primary); }
.prose-content tr:last-child td { border-bottom: 0; }

/* SSS akordeon */
.faq-list { display: grid; gap: 0.5rem; }
.faq-item {
    border-radius: 0.875rem;
    border: 1px solid var(--border-default);
    background: var(--surface);
    transition: border-color 0.2s, background-color 0.2s;
}
.faq-item[open] { border-color: rgba(255, 107, 0, 0.4); background: var(--page-bg); }
.faq-item summary {
    display: flex;
    cursor: pointer;
    list-style: none;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.875rem 1rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-icon {
    flex-shrink: 0;
    color: var(--brand);
    transition: transform 0.25s ease;
}
.faq-item[open] .faq-icon { transform: rotate(45deg); }
.faq-answer {
    padding: 0 1rem 1rem;
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--text-secondary);
}
.faq-cta {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    border-radius: 1.25rem;
    border: 1px dashed rgba(255, 107, 0, 0.45);
    background: var(--brand-light);
    padding: 1.25rem;
}
html.dark .faq-cta { background: rgba(255, 107, 0, 0.08); }
@media (min-width: 640px) {
    .faq-cta { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* İletişim */
.contact-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    border-radius: 1.25rem;
    border: 1px solid var(--border-default);
    background: var(--surface);
    padding: 1rem;
    box-shadow: var(--shadow-card-base);
}
.contact-card .section-icon { margin-top: 0; }
.field-textarea {
    width: 100%;
    resize: vertical;
    border-radius: 10px;
    border: 1px solid var(--border-default);
    background: var(--page-bg);
    padding: 0.75rem 0.875rem;
    font-size: 0.875rem;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.field-textarea::placeholder { color: var(--text-muted); }
.field-textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(255, 107, 0, 0.12); }

@media (max-width: 1023px) {
    /* Mobil/tablette sayfa menüsü yatay kaydırılabilir şerit olur */
    .static-nav { padding: 0.5rem; }
    .static-nav .listing-filter-title { display: none; }
    .static-nav .listing-cats { display: flex; gap: 0.25rem; overflow-x: auto; scrollbar-width: none; }
    .static-nav .listing-cats::-webkit-scrollbar { display: none; }
    .static-nav .listing-cats a { flex-shrink: 0; white-space: nowrap; }
}

/* ---------- Ana sayfa hero görseli ---------- */
.hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 1rem;
    aspect-ratio: 2048 / 768;
    background: var(--surface);
    box-shadow: var(--shadow-card-base);
}
.hero-banner img {
    position: absolute;
    inset: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
}
@media (max-width: 639px) {
    .hero-banner { border-radius: 0.875rem; }
}

/* Hediye kartı ızgarası: masaüstünde 6, tablette 3, mobilde 2 kart; görsel kartı tam doldurur */
.giftcard-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}
@media (min-width: 768px) {
    .giftcard-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
}
@media (min-width: 1024px) {
    .giftcard-grid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 1rem; }
}
.giftcard-grid .giftcard { max-width: 500px; width: 100%; justify-self: center; }

/* Popüler oyunlar (giftcard-grid içinde): "Yakında" kutuları kare */
.giftcard-grid .coming-soon {
    aspect-ratio: 1 / 1;
    min-height: 0;
    border-radius: 1rem;
}
