/* ═══════════════════════════════════════════
   CATEGORY CARDS — Premium Redesign
   ═══════════════════════════════════════════ */

.category-cards-premium {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
    margin: 0 0 14px 0;
    width: 100%;
}

/* ── Kart ── */
.cc-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 18px 16px 16px;
    border-radius: 14px;
    background: var(--card-grad, linear-gradient(135deg,#0d222b,#071115));
    border: 1px solid rgba(255,255,255,0.07);
    text-decoration: none;
    overflow: hidden;
    cursor: pointer;
    min-height: 150px;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.35);
}

.cc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px var(--card-glow, rgba(16, 158, 202,0.2)), 0 4px 12px rgba(0,0,0,0.4);
    border-color: rgba(255,255,255,0.14);
}

/* ── Dekoratif arka plan deseni ── */
.cc-bg-pattern {
    position: absolute;
    inset: 0;
    border-radius: 14px;
    opacity: 0.07;
    transition: opacity 0.22s;
    background-size: cover;
    background-position: center;
}

.cc-card:hover .cc-bg-pattern {
    opacity: 0.13;
}

/* Her kart için farklı desen */
.cc-bg-casino {
    background: radial-gradient(ellipse at 80% 20%, #1C87B7 0%, transparent 60%),
                repeating-linear-gradient(45deg, #1C87B7 0px, #1C87B7 1px, transparent 1px, transparent 20px);
}
.cc-bg-sports {
    background: radial-gradient(ellipse at 80% 20%, #2292c5 0%, transparent 60%),
                repeating-linear-gradient(-45deg, #2292c5 0px, #2292c5 1px, transparent 1px, transparent 20px);
}
.cc-bg-live {
    background: radial-gradient(ellipse at 80% 20%, #0ea5e9 0%, transparent 60%),
                repeating-linear-gradient(45deg, #0ea5e9 0px, #0ea5e9 1px, transparent 1px, transparent 20px);
}
.cc-bg-crash {
    background: radial-gradient(ellipse at 80% 20%, #ef4444 0%, transparent 60%),
                repeating-linear-gradient(-45deg, #ef4444 0px, #ef4444 1px, transparent 1px, transparent 20px);
}
.cc-bg-bonus {
    background: radial-gradient(ellipse at 80% 20%, #eab308 0%, transparent 60%),
                repeating-linear-gradient(45deg, #eab308 0px, #eab308 1px, transparent 1px, transparent 20px);
}
.cc-bg-white {
    background: radial-gradient(ellipse at 80% 20%, #ffffff 0%, transparent 60%),
                repeating-linear-gradient(-45deg, #ffffff 0px, #ffffff 1px, transparent 1px, transparent 20px);
}

/* Bonuslar kartı — sadece mobilde görünür */
.cc-mobile-only {
    display: none;
}

/* ── Ok ikonu (sağ üst) ── */
.cc-arrow {
    position: absolute;
    top: 12px;
    right: 14px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: rgba(255,255,255,0.5);
    transition: all 0.2s;
    z-index: 2;
}

.cc-arrow svg {
    width: 14px;
    height: 14px;
}

.cc-card:hover .cc-arrow {
    background: rgba(255,255,255,0.13);
    color: #fff;
    transform: translateX(2px);
}

/* ── Renkli ikon kutusu ── */
.cc-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    flex-shrink: 0;
    transition: transform 0.2s, box-shadow 0.2s;
}

.cc-card:hover .cc-icon-box {
    transform: scale(1.07);
    box-shadow: 0 6px 22px rgba(0,0,0,0.4);
}

/* ── İçerik alanı ── */
.cc-content {
    position: relative;
    z-index: 2;
    min-height: 58px;
}

.cc-title {
    font-size: 14px;
    font-weight: 800;
    color: rgba(255,255,255,0.9);
    margin: 0 0 6px 0;
    letter-spacing: 0.3px;
    line-height: 1.2;
    text-transform: uppercase;
}

/* Accent renkler */
.cc-card:nth-child(1) .cc-title-accent { color: #a78bfa; }
.cc-card:nth-child(2) .cc-title-accent { color: #2292c5; }
.cc-card:nth-child(3) .cc-title-accent { color: #38bdf8; }
.cc-card:nth-child(4) .cc-title-accent { color: #f87171; }
.cc-card:nth-child(5) .cc-title-accent { color: #fbbf24; }
.cc-card:nth-child(6) .cc-title-accent { color: #ffffff; }

.cc-desc {
    font-size: 12px;
    color: rgba(255,255,255,0.42);
    margin: 0;
    line-height: 1.5;
    font-weight: 400;
}

/* ── Hover'da açıklama belirginleşsin ── */
.cc-card:hover .cc-desc {
    color: rgba(255,255,255,0.6);
}

/* ── Responsive ── */
@media (max-width: 1100px) {
    .category-cards-premium {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .category-cards-premium {
        grid-template-columns: repeat(2, 1fr);
    }
    .cc-card {
        min-height: 130px;
    }
    .cc-mobile-only {
        display: flex;
    }
}
