﻿/* =========================
   GRID
   ========================= */
.grid {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
}

@media (max-width:1200px) {
    .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width:700px) {
    .grid {
        grid-template-columns: 1fr;
    }
}

/* =========================
   CARD (GLASS / SAYDAM)
   ========================= */
.card {
    border: 1px solid var(--cardBorder);
    border-radius: 26px;
    background: var(--cardGlass);
    overflow: hidden;
    position: relative;
    backdrop-filter: blur(22px) saturate(1.15);
    -webkit-backdrop-filter: blur(22px) saturate(1.15);
    box-shadow: 0 30px 90px rgba(0,0,0,.65), inset 0 1px 0 rgba(255,255,255,.08);
    border-color: rgba(247,198,0,.28);
}

.cardTopBar {
    background: linear-gradient(180deg, rgba(247,198,0,.95), rgba(247,198,0,.25));
    color: #111;
    font-weight: 900;
    text-align: center;
    padding: 10px 12px;
    letter-spacing: 1px;
}

.cardin {
    padding: 18px;
    display: flex;
    flex-direction: column;
    min-height: 560px;
}

/* CARD HEADER */
.topRow {
    min-height: 86px;
}

.title {
    margin: 0;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -.2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 55px;
}

.sub {
    margin: 4px 0 0;
    color: var(--muted2);
    font-size: 15px;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    height: 50px;
}

.badge {
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.05);
    padding: 7px 11px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    color: rgba(255,255,255,.88);
    white-space: nowrap;
}

/* LOGO STRIP */
.logoStrip {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.logoItem {
    width: 56px;
    height: 32px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px 8px;
}

    .logoItem img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
    }

.logoCard {
    flex: 0 0 auto;
    width: 72px;
    height: 62px;
    border-radius: 14px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px 6px;
    scroll-snap-align: start;
}

    .logoCard img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        display: block;
    }

/* TOD style scrollbar (logoScroll) */
.logoScroll {
    display: flex;
    align-items: center;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 8px 2px;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,.35) rgba(255,255,255,.10);
}

    .logoScroll::-webkit-scrollbar {
        height: 8px;
    }

    .logoScroll::-webkit-scrollbar-track {
        background: rgba(255,255,255,.10);
        border-radius: 999px;
        box-shadow: inset 0 0 0 1px rgba(255,255,255,.10);
    }

    .logoScroll::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,.35);
        border-radius: 999px;
        box-shadow: inset 0 0 0 1px rgba(0,0,0,.25);
    }

    .logoScroll:hover::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,.45);
    }

    .logoScroll::-webkit-scrollbar-corner {
        background: transparent;
    }

.logoTeam {
    border-color: rgba(255,255,255,.25);
    background: rgba(255,255,255,.10);
}

.logoTxt {
    font-weight: 800;
    color: #fff;
    font-size: 13px;
    opacity: .9;
}

.logoPlus {
    flex: 0 0 auto;
    width: 18px;
    text-align: center;
    color: rgba(255,255,255,.65);
    font-weight: 900;
    user-select: none;
}

.logoPill {
    min-width: 78px;
    height: 46px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(255,255,255,.03);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
    color: rgba(255,255,255,.85);
}

/* PAYMENT (RADIO CARDS) */
.payWrap {
    margin-top: 16px;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.paySpacer {
    flex: 1;
    min-height: 103px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(0,0,0,.18);
}

@media (max-width:700px) {
    .paySpacer {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: transparent !important;
    }
}

.payCard {
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(0,0,0,.18);
    border-radius: 18px;
    overflow: hidden;
    backdrop-filter: blur(16px) saturate(1.1);
    -webkit-backdrop-filter: blur(16px) saturate(1.1);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.payCardLbl {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    cursor: pointer;
}

.payRadio {
    width: 18px;
    height: 18px;
    margin-top: 3px;
    accent-color: var(--yellow);
    flex: 0 0 18px;
}

.payBody {
    flex: 1;
    min-width: 0;
}

.payHead {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
}

.payTitle {
    font-weight: 900;
    font-size: 16px;
    letter-spacing: -.1px;
    color: rgba(255,255,255,.92);
}

.payPriceBig {
    font-weight: 700;
    font-size: 34px;
    letter-spacing: -.6px;
    line-height: 1;
    white-space: nowrap;
}

.paySuffix {
    font-size: 14px;
    font-weight: 900;
    color: rgba(255,255,255,.70);
    margin-left: 6px;
}

.paySubRow {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.paySubMuted {
    font-size: 14px;
    font-weight: 900;
    color: rgba(255,255,255,.68);
}

.paySubStrong {
    font-size: 14px;
    font-weight: 900;
    color: rgba(255,255,255,.90);
}

.payCard.isOn {
    border-color: rgba(245,196,0,.70);
    box-shadow: 0 0 0 1px rgba(245,196,0,.18), 0 18px 60px rgba(0,0,0,.45), inset 0 0 0 1px rgba(245,196,0,.22);
}

@media (max-width:520px) {
    .payHead {
        flex-direction: column;
        align-items: flex-start;
    }

    .payPriceBig {
        font-size: 32px;
    }
}

.lnkDetay {
    padding-top: 10px;
    display: block;
    text-align: center;
    width: 100%;
    margin-top: 2px;
    color: rgba(255,255,255,.82);
    font-weight: 800;
}

    .lnkDetay:hover {
        text-decoration: underline;
        color: #fff;
    }

/* SPEED SELECT */
.speedRow {
    margin-top: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.speedLbl {
    font-size: 12px;
    color: rgba(255,255,255,.75);
    font-weight: 900;
}

.speedSelect {
    flex: 1;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(0,0,0,.35);
    color: #fff;
    padding: 10px 12px;
    font-weight: 900;
    outline: none;
}

    .speedSelect:focus {
        border-color: rgba(247,198,0,.35);
    }

/* BUTTONS */
.btnRow {
    margin-top: auto;
    padding-top: 16px;
}

.btnPrimary {
    display: block;
    text-align: center;
    border-radius: 14px;
    padding: 14px 16px;
    font-weight: 900;
    background: var(--yellow);
    color: #111;
    box-shadow: none;
}

    .btnPrimary:hover {
        filter: brightness(.95);
    }

.btnGhost {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 14px;
    font-weight: 900;
    border: 1px solid rgba(255,255,255,.18);
    background: rgba(255,255,255,.06);
    color: #fff;
}

/* CONTENT LIST */
.sectionTitle {
    margin-top: 18px;
    font-size: 14px;
    font-weight: 900;
    color: rgba(255,255,255,.86);
}

.contentList {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 160px;
    overflow: auto;
    padding-right: 6px;
}

    .contentList::-webkit-scrollbar {
        width: 8px;
    }

    .contentList::-webkit-scrollbar-thumb {
        background: rgba(255,255,255,.14);
        border-radius: 999px;
    }

.contentRow {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: rgba(255,255,255,.78);
}

.dotOk {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(247,198,0,.95);
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 12px;
    flex: 0 0 18px;
}

.dotNo {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    color: rgba(255,255,255,.55);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 12px;
    flex: 0 0 18px;
}

/* LOADING OVERLAY */
.loadingOverlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.loadingBox {
    width: 220px;
    padding: 18px 16px;
    border-radius: 18px;
    border: 1px solid rgba(255,255,255,.12);
    background: rgba(20,20,20,.70);
    text-align: center;
    box-shadow: 0 30px 80px rgba(0,0,0,.6);
}

.spinner {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    border: 4px solid rgba(255,255,255,.18);
    border-top-color: var(--yellow);
    margin: 0 auto;
    animation: spin .8s linear infinite;
}

.loadingText {
    margin-top: 10px;
    font-weight: 900;
    font-size: 13px;
    color: rgba(255,255,255,.85);
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* SKELETON */
.skeletonGrid {
    opacity: .95;
}

.skCard {
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 26px;
    background: rgba(255,255,255,.04);
    overflow: hidden;
    position: relative;
    padding: 18px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

    .skCard:before {
        content: "";
        position: absolute;
        inset: -1px;
        background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.08) 35%, rgba(255,255,255,0) 70%);
        transform: translateX(-60%);
        animation: shimmer 1.1s infinite;
        pointer-events: none;
    }

@keyframes shimmer {
    0% {
        transform: translateX(-60%);
    }

    100% {
        transform: translateX(60%);
    }
}

.skTop {
    height: 54px;
    border-radius: 16px;
    background: rgba(255,255,255,.08);
}

.skLogos {
    margin-top: 14px;
    height: 46px;
    border-radius: 16px;
    background: rgba(255,255,255,.06);
}

.skPrice {
    margin-top: 16px;
    height: 92px;
    border-radius: 18px;
    background: rgba(0,0,0,.28);
    border: 1px solid rgba(255,255,255,.08);
}

.skBtn {
    margin-top: 16px;
    height: 48px;
    border-radius: 14px;
    background: rgba(247,198,0,.20);
    border: 1px solid rgba(247,198,0,.18);
}

.skList {
    margin-top: 18px;
    height: 120px;
    border-radius: 18px;
    background: rgba(255,255,255,.05);
}

/* MONEY */
.money {
    display: inline-flex;
    align-items: baseline;
    gap: 0;
}

.moneyMajor, .moneySep, .moneyCur {
    font-size: 1em;
    font-weight: inherit;
}

.moneyMinor {
    font-size: .55em;
    font-weight: 800;
    opacity: .9;
    position: relative;
    margin-left: 1px;
}

.moneySep {
    margin-left: 1px;
}

.moneyCur {
    margin-left: 2px;
}
