@import url('https://fonts.googleapis.com/css2?family=Syncopate:wght@400;700&family=Outfit:wght@300;400;600;800&family=Cinzel+Decorative:wght@400;700;900&display=swap');

.page-wrapper {
    background: transparent !important;
    position: relative;
    min-height: 100vh;
    padding-top: 20px;
    overflow-x: hidden;
}

body {
    background: transparent !important;
}

/* Kart Üstündeki Taç */
.card-crown {
    position: absolute;
    top: -25px;
    left: -25px;
    width: 90px;
    height: 90px;
    background: url('/uploads/crown.png') no-repeat center;
    background-size: contain;
    z-index: 50;
    /* Diğer tüm katmanların üzerinde */
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.6));
    transition: transform 0.5s ease;
    pointer-events: none;
    animation: floating-crown 4s ease-in-out infinite;
}

@keyframes floating-crown {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}

.sponsor-card-v2:hover .card-crown {
    transform: rotate(-10deg) scale(1.1);
}

.bg-glow-effect {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 60%;
    background: radial-gradient(circle at 50% 0%, rgba(255, 0, 0, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    animation: pulse-bg 8s infinite alternate ease-in-out;
}

/* =============================================
   ULTRA PREMIUM HERO
   ============================================= */

.sponsors-hero-v2 {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 20px 5% 60px;
}

.badge-wrapper {
    margin-bottom: 25px;
}

.badge-demon-v2 {
    font-family: 'Outfit', sans-serif;
    background: rgba(255, 0, 0, 0.05);
    color: #ff3333;
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 4px;
    border: 1px solid rgba(255, 0, 0, 0.2);
    text-transform: uppercase;
}

.premium-title {
    font-family: 'Syncopate', sans-serif;
    display: flex;
    flex-direction: column;
    gap: 0px;
    line-height: 1;
}

.title-layer-1 {
    font-size: 2.2rem;
    font-weight: 400;
    color: #fff;
    opacity: 0.4;
    letter-spacing: 25px;
    text-transform: uppercase;
    margin-bottom: -15px;
}

.title-layer-2 {
    font-size: 8rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: -5px;
    background: linear-gradient(180deg, #fff 0%, #666 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 40px rgba(255, 255, 255, 0.15));
    text-transform: uppercase;
}

.title-divider {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #ff0000, transparent);
    margin: 40px auto;
}

.premium-desc {
    font-family: 'Outfit', sans-serif;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    max-width: 850px;
    margin: 0 auto;
    font-weight: 300;
}

/* =============================================
   MAIN SPONSORS SECTION (ELITE GRID)
   ============================================= */

.main-sponsors-section {
    padding: 0 5% 120px;
    max-width: 1700px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.main-sponsors-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    justify-content: center;
}

/* Sponsor Card v2 - ULTRA PREMIUM */
.sponsor-card-v2 {
    background: rgba(10, 0, 0, 0.85) !important;
    border: 1px solid rgba(255, 0, 0, 0.25);
    border-radius: 24px;
    padding: 45px 30px;
    text-align: center;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: visible;
    /* Taç görünür olması için */
    min-height: 520px;
    width: 100%;
}

/* Puls efekti ışığını arka plana etki etmeyecek şekilde kıstık */
@keyframes premium-pulse {
    0% {
        box-shadow: 0 0 5px rgba(255, 0, 0, 0.05);
        border-color: rgba(255, 0, 0, 0.1);
    }

    100% {
        box-shadow: 0 0 10px rgba(255, 0, 0, 0.15);
        border-color: rgba(255, 0, 0, 0.3);
    }
}

.sponsor-card-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(255, 0, 0, 0.05), transparent 70%);
    opacity: 0.3;
    transition: opacity 0.6s ease;
}

.sponsor-card-v2::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 24px;
    padding: 2px;
    background: linear-gradient(180deg,
            transparent,
            var(--card-glow, #ff0000),
            #ffd700,
            var(--card-glow, #ff0000),
            transparent);
    background-size: 100% 200%;
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.3;
    transition: all 0.6s ease;
    pointer-events: none;
}

.sponsor-card-v2:hover {
    transform: translateY(-20px) scale(1.02);
    border-color: #ffd700;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8),
        0 0 30px rgba(255, 0, 0, 0.1);
}

.sponsor-card-v2:hover::before {
    opacity: 0.8;
}

.sponsor-card-v2:hover::after {
    opacity: 1;
    animation: border-flow 2s linear infinite;
}

@keyframes border-flow {
    0% {
        background-position: 50% 0%;
    }

    100% {
        background-position: 50% 200%;
    }
}

.card-logo {
    height: 120px;
    width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.1));
    transition: all 0.6s ease;
}

.sponsor-card-v2:hover .card-logo {
    transform: scale(1.1);
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.2));
}

.bonus-box-top {
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(145deg, rgba(60, 0, 0, 0.6) 0%, rgba(150, 0, 0, 0.8) 50%, rgba(60, 0, 0, 0.6) 100%);
    border: 2px solid #d4af37;
    color: #ffd700;
    font-size: 0.85rem;
    font-weight: 800;
    padding: 12px 10px;
    border-radius: 12px;
    width: 100%;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3), inset 0 0 15px rgba(0, 0, 0, 0.5);
    margin-top: auto;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 5;
}

.bonus-box-main {
    background: linear-gradient(145deg, rgba(60, 0, 0, 0.4) 0%, rgba(120, 0, 0, 0.5) 50%, rgba(60, 0, 0, 0.4) 100%);
    border: 2px solid rgba(212, 175, 55, 0.4);
    border-radius: 20px;
    width: 100%;
    padding: 25px 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    backdrop-filter: blur(10px);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
}

/* Uçuşan Yıldızlar Efekti */
.bonus-box-top::before,
.bonus-box-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background-image:
        radial-gradient(1px 1px at 10% 20%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 30% 50%, rgba(212, 175, 55, 0.8), transparent),
        radial-gradient(1px 1px at 50% 10%, #fff, transparent),
        radial-gradient(1.5px 1.5px at 70% 80%, rgba(212, 175, 55, 0.8), transparent),
        radial-gradient(1px 1px at 90% 40%, #fff, transparent);
    background-size: 50% 50%;
    animation: stars-move 10s linear infinite;
    opacity: 0.4;
    z-index: 1;
}

@keyframes stars-move {
    from {
        transform: translate(0, 0);
    }

    to {
        transform: translate(-50%, -50%);
    }
}

.sponsor-card-v2:hover .bonus-box-main {
    border-color: #d4af37;
    background: linear-gradient(145deg, rgba(90, 0, 0, 0.6) 0%, rgba(150, 0, 0, 0.7) 50%, rgba(90, 0, 0, 0.6) 100%);
}

.main-amount {
    font-family: 'Cinzel Decorative', cursive;
    display: block;
    font-size: 2.3rem;
    font-weight: 700;
    /* Gökkuşağı Soldan Sağa - YAVAŞLATILDI */
    background: linear-gradient(to right, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff, #ff0000);
    background-size: 400% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow-left-to-right 18s linear infinite;
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.2));
    letter-spacing: -1px;
    margin-bottom: 2px;
    position: relative;
    z-index: 5;
}

@keyframes rainbow-left-to-right {
    0% {
        background-position: 0% center;
    }

    100% {
        background-position: 400% center;
    }
}

.bottom-text {
    font-family: 'Cinzel Decorative', cursive;
    display: block;
    font-size: 1.1rem;
    font-weight: 900;
    /* Gökkuşağı Sağdan Sola - YAVAŞLATILDI */
    background: linear-gradient(to left, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff, #ff0000);
    background-size: 400% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow-right-to-left 18s linear infinite;
    opacity: 1;
    letter-spacing: 1px;
    text-transform: uppercase;
    position: relative;
    z-index: 5;
}

@keyframes rainbow-right-to-left {
    0% {
        background-position: 400% center;
    }

    100% {
        background-position: 0% center;
    }
}

/* Animations */
.animate-up {
    animation: fade-up-premium 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes fade-up-premium {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse-bg {
    0% {
        opacity: 0.5;
        transform: translateX(-50%) scale(1);
    }

    100% {
        opacity: 1;
        transform: translateX(-50%) scale(1.1);
    }
}

@media (max-width: 1400px) {
    .main-sponsors-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1100px) {
    .main-sponsors-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 700px) {
    .main-sponsors-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding: 5px !important;
    }

    .sponsor-card-v2 {
        padding: 15px 8px !important;
        min-height: 250px !important;
        height: auto !important;
        gap: 15px !important;
        border-radius: 20px !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-start !important; /* Logoyu tepede tutmak için tekrar flex-start yaptık */
        align-items: center !important;
        position: relative !important;
    }

    .card-logo {
        height: 48px !important;
        width: auto !important;
        max-width: 85% !important;
        margin-bottom: 6px !important;
    }

    /* TAÇ KÜÇÜLTME VE HAREKET (Mobil Görünüm İçin) */
    .card-crown {
        width: 55px !important;
        height: 55px !important;
        top: -15px !important;
        left: -15px !important;
        filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5)) !important;
        animation: floating-crown-mobile 3s ease-in-out infinite !important;
    }

    @keyframes floating-crown-mobile {
        0%, 100% { transform: translateY(0) rotate(-5deg); }
        50% { transform: translateY(-3px) rotate(5deg); }
    }

    .bonus-box-top {
        font-family: 'Outfit', sans-serif !important;
        background: linear-gradient(145deg, rgba(60, 0, 0, 0.8) 0%, rgba(150, 0, 0, 0.9) 50%, rgba(60, 0, 0, 0.8) 100%) !important;
        border: 1px solid #d4af37 !important;
        color: #ffd700 !important;
        font-size: 0.5rem !important;
        padding: 5px 2px !important;
        border-radius: 8px !important;
        width: 100% !important;
        text-align: center !important;
        margin: 30px 0 2px 0 !important; /* Üstten 30px boşluk vererek içeriği daha da aşağı kaydırdık */
        text-transform: uppercase !important;
        box-shadow: 0 4px 10px rgba(0,0,0,0.4) !important;
    }

    .bonus-box-main {
        border: 1px solid rgba(212, 175, 55, 0.3) !important;
        background: linear-gradient(145deg, rgba(40, 0, 0, 0.5) 0%, rgba(80, 0, 0, 0.6) 100%) !important;
        padding: 10px 4px !important;
        border-radius: 12px !important;
        gap: 2px !important;
        width: 100% !important;
        backdrop-filter: blur(10px) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
    }

    .main-amount {
        font-family: 'Cinzel Decorative', cursive !important;
        font-size: 1.1rem !important;
        line-height: 1.1 !important;
        margin: 0 !important;
        background: linear-gradient(to right, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff, #ff0000) !important;
        background-size: 400% auto !important;
        -webkit-background-clip: text !important;
        background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        animation: rainbow-left-to-right 12s linear infinite !important;
        filter: drop-shadow(0 0 5px rgba(255, 255, 255, 0.2)) !important;
    }

    .bottom-text {
        font-family: 'Cinzel Decorative', cursive !important;
        font-size: 0.55rem !important;
        letter-spacing: 0.5px !important;
        background: linear-gradient(to left, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #8b00ff, #ff0000) !important;
        background-size: 400% auto !important;
        -webkit-background-clip: text !important;
        background-clip: text !important;
        -webkit-text-fill-color: transparent !important;
        animation: rainbow-right-to-left 12s linear infinite !important;
        opacity: 1 !important;
        text-transform: uppercase !important;
        font-weight: 900 !important;
    }

    /* TAÇ KÜÇÜLTME (Mobil Görünüm İçin) */
    .card-crown {
        width: 45px !important;
        height: 45px !important;
        top: -12px !important;
        left: -12px !important;
        filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5)) !important;
    }
}