/* 5 sÃ¼tun iÃ§in Ã¶zel Bootstrap sÄ±nÄ±fÄ± */
@media (min-width: 992px) {
    .col-lg-2-4 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

@media (min-width: 768px) {
    .col-md-2-4 {
        flex: 0 0 20%;
        max-width: 20%;
    }
}

/* Mobilde her zaman 3 sÃ¼tun iÃ§in sabit sÄ±nÄ±f */
@media (max-width: 767px) {
    .col-4 {
        flex: 0 0 33.333333%;
        max-width: 33.333333%;
    }
}

/* Yeni sponsor kartlarÄ± stilleri */
.new-sponsor {
    padding: 2px;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    animation: cardFadeIn 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(30px);
}

.new-sponsor:nth-child(1) { animation-delay: 0.1s; }
.new-sponsor:nth-child(2) { animation-delay: 0.2s; }
.new-sponsor:nth-child(3) { animation-delay: 0.3s; }
.new-sponsor:nth-child(4) { animation-delay: 0.4s; }
.new-sponsor:nth-child(5) { animation-delay: 0.5s; }
.new-sponsor:nth-child(6) { animation-delay: 0.6s; }

@keyframes cardFadeIn {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.sponsor-container .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -10px;
    margin-left: -10px;
}

/* ===== PREMIUM SPONSOR KART TASARIMI ===== */
.sponsor-card {
    position: relative;
    background: var(--card);
    border-radius: 25px;
    padding: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.15),
        0 5px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: 100%;
    display: flex;
    flex-direction: column;
    
    /* GPU hÄ±zlandÄ±rmasÄ± */
    will-change: transform, box-shadow;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Kart hover efektleri - minimize */
.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.2),
        0 5px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

/* Badge tasarÄ±mÄ± - premium ve ana temaya uygun */
.sponsor-badge {
    position: absolute;
    top: 0px;
    right: 15px;
    background: linear-gradient(
        135deg,
        var(--star-button-background-color) 0%,
        var(--star-button-hover-background-color) 50%,
        var(--star-button-background-color) 100%
    );
    color: var(--star-button-text-color, #ffffff);
    padding: 3px 6px;
    text-align: center;
    font-size: 0.5rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    border-radius: 8px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    box-shadow: 
        0 3px 12px rgba(0, 0, 0, 0.25),
        0 1px 6px var(--star-button-background-color),
        inset 0 1px 0 rgba(255, 255, 255, 0.4),
        inset 0 -1px 0 rgba(0, 0, 0, 0.2);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: scale(1);
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.sponsor-badge i {
    font-size: 0.45rem;
    color: var(--star-button-text-color, #ffffff);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Premium hover efekti sponsor badge iÃ§in */
.sponsor-card:hover .sponsor-badge {
    transform: scale(1.02);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        0 2px 8px var(--star-button-background-color),
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
}

/* Logo bÃ¶lÃ¼mÃ¼ - daha bÃ¼yÃ¼k ve dengeli */
.sponsor-logo {
    position: relative;
    padding: 11px 0 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    max-height: 80px;
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.05) 0%,
        rgba(255, 255, 255, 0.02) 50%,
        rgba(0, 0, 0, 0.02) 100%
    );
    z-index: 2;
    width: 100%;
}

.sponsor-logo::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.1) 10%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0.1) 90%,
        transparent 100%
    );
}

.sponsor-logo img {
    /* width: 100%; */
    /* max-width: 175px; */
    object-fit: contain;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    /* filter: brightness(0.95) contrast(1.05); */
    border-radius: 8px;
    padding-bottom: 8px;
    /* background: rgba(255, 255, 255, 0.05); */
    /* box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12); */
    /* margin-top: 15px; */
}

.sponsor-card:hover .sponsor-logo img {
    transform: scale(1.03);
    filter: brightness(1) contrast(1.1);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Ä°Ã§erik bÃ¶lÃ¼mÃ¼ - minimize */
.sponsor-info {
    padding: 18px 20px 15px;
    background: linear-gradient(
        180deg,
        rgba(255, 255, 255, 0.01) 0%,
        rgba(255, 255, 255, 0.02) 100%
    );
    flex: 1;
    display: flex;
    flex-direction: column;
    z-index: 10;
    position: relative;
}

/* BaÅŸlÄ±k */
.sponsor-title {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--star-normal-text-color);
    margin-bottom: 12px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.sponsor-card:hover .sponsor-title {
    color: var(--star-onemli-text-color);
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Alt baÅŸlÄ±k */
.sponsor-subtitle {
    font-size: 0.9rem;
    color: var(--star-onemsiz-text-color);
    line-height: 1.5;
    margin-bottom: 20px;
    opacity: 0.9;
    transition: all 0.3s ease;
}

.sponsor-card:hover .sponsor-subtitle {
    opacity: 1;
    color: var(--star-normal-text-color);
}

/* Etiketler */
.sponsor-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 20px;
}

.sponsor-info-tag {
    display: inline-flex;
    align-items: center;
    background: linear-gradient(
        135deg,
        rgba(var(--site-color-rgb, 255, 140, 0), 0.2) 0%,
        rgba(var(--site-color-rgb, 255, 140, 0), 0.15) 50%,
        rgba(var(--site-color-rgb, 255, 140, 0), 0.25) 100%
    );
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: var(--star-normal-text-color);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.65rem;
    font-weight: 600;
    border: 1px solid rgba(var(--site-color-rgb, 255, 140, 0), 0.3);
    transition: all 0.3s ease;
    box-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.08),
        0 0 8px rgba(var(--site-color-rgb, 255, 140, 0), 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.sponsor-info-tag:hover {
    background: linear-gradient(
        135deg,
        rgba(var(--site-color-rgb, 255, 140, 0), 0.35) 0%,
        rgba(var(--site-color-rgb, 255, 140, 0), 0.25) 50%,
        rgba(var(--site-color-rgb, 255, 140, 0), 0.4) 100%
    );
    border-color: rgba(var(--site-color-rgb, 255, 140, 0), 0.5);
    transform: translateY(-2px);
    box-shadow: 
        0 3px 10px rgba(0, 0, 0, 0.12),
        0 0 15px rgba(var(--site-color-rgb, 255, 140, 0), 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.sponsor-info-tag i {
    margin-right: 4px;
    font-size: 0.6rem;
}

/* Bonus bÃ¶lÃ¼mÃ¼ - parlak tema renkleri */
.bonus-container {
    background: linear-gradient(
        135deg,
        var(--star-button-background-color) 0%,
        var(--star-button-hover-background-color) 30%,
        var(--star-button-background-color) 70%,
        var(--star-button-hover-background-color) 100%
    );
    border: 2px solid var(--star-button-hover-background-color);
    border-radius: 12px;
    padding: 10px 15px;
    margin-bottom: 15px;
    text-align: center;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.15),
        0 1px 5px var(--star-button-background-color),
        0 0 15px rgba(var(--site-color-rgb, 255, 140, 0), 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

.bonus-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.15),
        rgba(var(--site-color-rgb, 255, 140, 0), 0.1),
        rgba(255, 255, 255, 0.15),
        transparent
    );
    animation: bonusShine 2.5s ease-in-out infinite;
}

@keyframes bonusShine {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.bonus-amount {
    display: block;
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--star-button-text-color, #ffffff);
    line-height: 1;
    margin-bottom: 6px;
    text-shadow: 
        0 2px 6px rgba(0, 0, 0, 0.4),
        0 0 10px rgba(255, 255, 255, 0.4),
        0 0 15px rgba(var(--site-color-rgb, 255, 140, 0), 0.3);
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.bonus-text {
    font-size: 0.7rem;
    color: var(--star-button-text-color, #ffffff);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    opacity: 1;
    text-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.3),
        0 0 5px rgba(255, 255, 255, 0.2);
}

/* GiriÅŸ butonu - kompakt tasarÄ±m */
.sponsor-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(
        135deg,
        var(--site-color) 0%,
        rgba(var(--site-color-rgb, 255, 140, 0), 0.8) 100%
    );
    color: white;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    margin: 15px 20px 20px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 6px 15px rgba(0, 0, 0, 0.2),
        0 2px 6px rgba(var(--site-color-rgb, 255, 140, 0), 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    z-index: 999;
    pointer-events: auto;
    cursor: pointer;
}

/* Buton hover efekti */
.sponsor-btn:hover {
    color: white;
    transform: translateY(-1px);
    box-shadow: 
        0 8px 20px rgba(0, 0, 0, 0.25),
        0 3px 8px rgba(var(--site-color-rgb, 255, 140, 0), 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    background: linear-gradient(
        135deg,
        rgba(var(--site-color-rgb, 255, 140, 0), 1) 0%,
        rgba(var(--site-color-rgb, 255, 140, 0), 0.9) 100%
    );
}

/* Buton parÄ±ltÄ± efekti */
.sponsor-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transition: left 0.6s ease;
}

.sponsor-btn:hover::before {
    left: 100%;
}

/* Floating parÃ§acÄ±k efekti */
.sponsor-card .floating-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    border-radius: 25px;
    z-index: 1;
}

.sponsor-card .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(var(--site-color-rgb, 255, 140, 0), 0.6);
    border-radius: 50%;
    animation: floatParticle 8s linear infinite;
    opacity: 0;
}

@keyframes floatParticle {
    0% {
        opacity: 0;
        transform: translateY(100%) translateX(0) scale(0);
    }
    10% {
        opacity: 1;
        transform: translateY(90%) translateX(0) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(10%) translateX(20px) scale(1);
    }
    100% {
        opacity: 0;
        transform: translateY(0%) translateX(40px) scale(0);
    }
}

/* Premium glow efekti (JavaScript ile kontrol edilir) */
@keyframes cardPremiumGlow {
    0% {
        box-shadow: 
            0 25px 60px rgba(0, 0, 0, 0.25),
            0 10px 30px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            0 0 0 1px rgba(var(--site-color-rgb, 255, 140, 0), 0.3);
    }
    100% {
        box-shadow: 
            0 25px 60px rgba(0, 0, 0, 0.25),
            0 10px 30px rgba(0, 0, 0, 0.15),
            inset 0 1px 0 rgba(255, 255, 255, 0.2),
            0 0 0 2px rgba(var(--site-color-rgb, 255, 140, 0), 0.5),
            0 0 30px rgba(var(--site-color-rgb, 255, 140, 0), 0.3);
    }
}

/* Responsive tasarÄ±m */
@media (max-width: 1200px) {
    .sponsor-card {
        border-radius: 20px;
    }
    
    .sponsor-badge {
        padding: 5px 10px;
        font-size: 0.55rem;
        gap: 4px;
        letter-spacing: 0.6px;
    }
    
    .sponsor-badge i {
        font-size: 0.5rem;
    }
    
    .sponsor-logo {
        padding: 15px 0 12px;
        max-height: 60px;
    }
    
    .sponsor-logo img {
        max-width: 85px;
        max-height: 55px;
    }
    
    .sponsor-info {
        padding: 15px 18px 12px;
    }
    
    .sponsor-title {
        font-size: 1.25rem;
    }
}

@media (max-width: 768px) {
    .sponsor-card {
        border-radius: 15px;
        margin-bottom: 15px;
        min-height: 320px;
    }
    
    .sponsor-badge {
        display: block !important; /* Mobilde badge gÃ¶ster */
        padding: 1px 4px;
        font-size: 0.35rem;
        gap: 1px;
        letter-spacing: 0.2px;
        border-radius: 6px;
        top: 6px;
        right: 6px;
    }
    
    .sponsor-badge i {
        font-size: 0.3rem;
    }
    
    .sponsor-logo {
        padding: 8px 0 6px;
        min-height: 55px;
        max-height: 55px;
    }
    
    .sponsor-logo img {
        max-width: 85px;
        max-height: 50px;
        padding: 2px;
    }
    
    .sponsor-info {
        padding: 8px 10px 6px;
    }
    
    .sponsor-title {
        font-size: 0.85rem;
        margin-bottom: 5px;
        line-height: 1.2;
        font-weight: 600;
        word-break: break-word;
    }
    
    .sponsor-subtitle {
        font-size: 0.65rem;
        margin-bottom: 8px;
        line-height: 1.3;
        opacity: 0.85;
        word-break: break-word;
        white-space: normal;
        overflow: visible;
        display: block;
        -webkit-line-clamp: unset;
        -webkit-box-orient: unset;
    }
    
    .sponsor-tags {
        margin: 5px 0;
        gap: 3px;
        flex-wrap: wrap;
    }
    
    .sponsor-info-tag {
        padding: 1px 4px;
        font-size: 0.45rem;
        border-radius: 6px;
        gap: 1px;
        letter-spacing: 0.1px;
    }
    
    .sponsor-info-tag i {
        font-size: 0.4rem;
    }
    
    .bonus-container {
        padding: 4px 8px;
        border-radius: 6px;
        margin: 6px 0;
    }
    
    .bonus-amount {
        font-size: 1rem;
        line-height: 1.1;
    }
    
    .bonus-text {
        font-size: 0.55rem;
        margin-top: 1px;
    }
    
    .sponsor-btn {
        margin: 6px 8px 10px;
        padding: 4px 8px;
        font-size: 0.55rem;
        border-radius: 8px;
        z-index: 999;
        pointer-events: auto;
        cursor: pointer;
        font-weight: 600;
        min-height: 24px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Eski responsive stiller kaldÄ±rÄ±ldÄ± - yeni premium responsive stiller yukarÄ±da */

/* Sponsor Marquee Stilleri */
.sponsor-marquee-container {
    margin: 30px 0;
    background-color: var(--star-navbar-bg);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    overflow: hidden;
    position: relative;
}

.sponsor-marquee {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}

.marquee-track {
    display: inline-flex;
    align-items: center;
    animation: marqueeScroll 60s linear infinite;
    gap: 40px;
}

.marquee-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    width: 120px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.marquee-item:hover {
    transform: scale(1.1);
}

.marquee-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: opacity(0.8);
    transition: all 0.3s ease;
}

.marquee-item:hover img {
    filter: opacity(1);
}

@keyframes marqueeScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Marquee hover durumunda animasyonu durdur */
.sponsor-marquee:hover .marquee-track {
    animation-play-state: paused;
}

/* Mobil uyumluluk - Marquee */
@media (max-width: 768px) {
    .sponsor-marquee-container {
        margin: 20px 0;
        padding: 12px 0;
    }
    
    .marquee-item {
        height: 50px;
        width: 100px;
    }
    
    .marquee-track {
        gap: 30px;
        animation-duration: 45s;
    }
}

@media (max-width: 576px) {
    .sponsor-card {
        border-radius: 12px;
        margin-bottom: 12px;
        min-height: 275px;
    }
    
    .sponsor-badge {
        padding: 1px 3px;
        font-size: 0.32rem;
        gap: 0.5px;
        top: 5px;
        right: 5px;
        border-radius: 5px;
    }
    
    .sponsor-badge i {
        font-size: 0.28rem;
    }
    
    .sponsor-logo {
        padding: 6px 0 4px;
        min-height: 45px;
        max-height: 45px;
    }
    
    .sponsor-logo img {
        max-width: 75px;
        max-height: 40px;
        padding: 1px;
    }
    
    .sponsor-info {
        padding: 6px 7px 4px;
    }
    
    .sponsor-title {
        font-size: 0.75rem;
        margin-bottom: 4px;
        line-height: 1.1;
        word-break: break-word;
    }
    
    .sponsor-subtitle {
        font-size: 0.6rem;
        margin-bottom: 6px;
        line-height: 1.2;
        word-break: break-word;
        white-space: normal;
        overflow: visible;
        display: block;
        -webkit-line-clamp: unset;
        -webkit-box-orient: unset;
    }
    
    .sponsor-tags {
        margin: 4px 0;
        gap: 2px;
    }
    
    .sponsor-info-tag {
        padding: 1px 3px;
        font-size: 0.4rem;
        border-radius: 5px;
        gap: 0.5px;
    }
    
    .sponsor-info-tag i {
        font-size: 0.35rem;
    }
    
    .bonus-container {
        padding: 3px 5px;
        border-radius: 5px;
        margin: 5px 0;
    }
    
    .bonus-amount {
        font-size: 0.9rem;
        line-height: 1;
    }
    
    .bonus-text {
        font-size: 0.5rem;
        margin-top: 1px;
    }
    
    .sponsor-btn {
        margin: 5px 6px 8px;
        padding: 3px 6px;
        font-size: 0.5rem;
        border-radius: 6px;
        min-height: 20px;
        font-weight: 600;
    }
    
    /* Marquee iÃ§in */
    .sponsor-marquee-container {
        margin: 15px 0;
        padding: 10px 0;
        border-radius: 8px;
    }
    
    .marquee-item {
        height: 40px;
        width: 80px;
    }
    
    .marquee-track {
        gap: 20px;
        animation-duration: 35s;
    }
} 