/* =========================================
   CATEGORIES PAGE STYLES
   ========================================= */
@import url('base.css');



/* =========================================
   2. DÜZEN (LAYOUT)
   ========================================= */

/* Navigasyon */
.top-nav {
    margin-bottom: 40px;
}

/* Geri Dön Butonu */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-full);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition-normal);
    backdrop-filter: blur(5px);
    text-decoration: none;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
}

.back-btn i {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.back-btn:hover i {
    transform: translateX(-3px);
}

/* Başlık */
.page-titles {
    text-align: center;
    margin-bottom: 50px;
}

.page-titles h1 {
    font-size: 42px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
}

.page-titles p {
    color: var(--text-secondary);
    font-size: var(--font-lg);
}

/* =========================================
   3. RANK BANNER (Modern & Clean)
   ========================================= */
.rank-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
    padding: 20px 24px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: var(--transition-normal);
}

.rank-banner:hover {
    background: rgba(255, 255, 255, 0.04);
}

.rank-icon {
    font-size: 28px;
    color: var(--text-secondary);
    flex-shrink: 0;
}

.rank-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.rank-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
    white-space: nowrap;
}

.rank-desc {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    white-space: nowrap;
    opacity: 0.7;
}


.rank-action {
    display: flex;
    align-items: center;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: auto;
    cursor: pointer;
    transition: color 0.2s ease;
}

.rank-action:hover {
    color: var(--text-primary);
}

.rank-arrow {
    margin-left: 8px;
    font-size: 14px;
}
@media (max-width: 600px) {
    .rank-action {
        display: none;
    }
}
/* =========================================
   4. KATEGORİ IZGARASI
   ========================================= */
.section-label {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 40px;
}

.section-label span {
    color: var(--text-secondary);
    font-weight: var(--font-extrabold);
    font-size: var(--font-xs);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.section-label .line {
    flex: 1;
    height: 1px;
    background: var(--border-primary);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* =========================================
   5. İKON & KART TASARIMI (GLOWSUZ - TEMİZ)
   ========================================= */

.category-card {
    position: relative;
    min-height: 200px;
    background: transparent;
    /* Kutu yok */
    border: none;
    padding: 30px 20px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;

    cursor: pointer;
    transition: var(--transition-normal);
}

/* HTML'de kalan background divini gizle */
.card-bg {
    display: none;
}

/* İkon Sarmalayıcı */
.icon-wrapper {
    width: auto;
    height: auto;
    background: transparent;
    border: none;
    margin-bottom: 25px;
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--c-bright);
    /* İkon kendi renginde */
    filter: none;
    /* Gölge yok */
    transition: var(--transition-normal);
}

/* Category Discount Tag */
.discount-tag {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, var(--c-bright), var(--c-medium));
    color: white;
    padding: 6px 10px;
    border-radius: 16px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 12px var(--accent-blue-glow);
    z-index: 10;
    transform: rotate(25deg);
    animation: bounce-discount 3s infinite;
}

@keyframes bounce-discount {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: rotate(25deg) translateY(0);
    }

    40% {
        transform: rotate(25deg) translateY(-3px);
    }

    60% {
        transform: rotate(25deg) translateY(-2px);
    }
}

.discount-tag::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 4px solid transparent;
    border-top-color: var(--c-medium);
}

/* FONT ICON (i) BOYUTU */
.icon-wrapper i {
    font-size: 90px;
    line-height: 1;
    transition: var(--transition-normal);
}

/* RESİM ICON (img) BOYUTU */
.icon-wrapper img {
    /* Fontlara göre daha büyük görünmesi için genişlik arttırıldı */
    width: 110px;
    height: 110px;
    object-fit: contain;
    display: block;
    filter: none;
    /* Gölge yok */
    transition: var(--transition-normal);
}

/* Yazı Alanı */
.card-info {
    z-index: 1;
}

.card-info h3 {
    font-size: 22px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: none;
    /* Gölge yok */
}

.card-info span {
    font-size: 15px;
    color: var(--text-muted);
    font-weight: 500;
}

/* =========================================
   HOVER (ÜZERİNE GELME) EFEKTLERİ
   ========================================= */

.category-card:hover {
    transform: translateY(-5px);
    /* Sadece yukarı kalkar */
}

/* Kilitli Durum */
.category-card.locked {
    opacity: 0.8;
    filter: grayscale(100%);
    cursor: not-allowed;
}

.category-card.locked:hover {
    transform: none;
}

.category-card.locked:hover h3 {
    color: var(--text-primary);
}


/* MOBİL */
@media (max-width: 900px) {
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vip-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .vip-action {
        display: none;
    }
}

@media (max-width: 600px) {
    .categories-grid {
        grid-template-columns: 1fr;
    }
}