/* ══ SPONSORS PAGE — PREMIUM EDITION ══ */

/* ── Hero banner ── */
.sp-sponsors-hero {
    background: linear-gradient(150deg, #0f2027 0%, #1a4a3d 45%, #0F7B6C 100%);
    position: relative;
    overflow: hidden;
    padding: 140px 24px 90px;
    text-align: center;
}

.sp-sponsors-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M40 0C17.9 0 0 17.9 0 40s17.9 40 40 40 40-17.9 40-40S62.1 0 40 0zm0 72C22.3 72 8 57.7 8 40S22.3 8 40 8s32 14.3 32 32-14.3 32-32 32z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    background-size: 80px 80px;
    pointer-events: none;
}

.sph-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(232, 114, 26, 0.2) 0%, transparent 70%);
    top: -120px;
    right: -80px;
    pointer-events: none;
}

.sph-glow-2 {
    position: absolute;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(15, 123, 108, 0.2) 0%, transparent 70%);
    bottom: -80px;
    left: -60px;
    pointer-events: none;
}

.sph-inner {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
}

.sph-label {
    display: inline-block;
    background: rgba(232, 114, 26, 0.2);
    color: #FFB978;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 50px;
    border: 1px solid rgba(232, 114, 26, 0.35);
    margin-bottom: 20px;
}

.sph-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.2rem, 5vw, 3.2rem);
    font-weight: 900;
    color: white;
    line-height: 1.15;
    margin-bottom: 16px;
}

.sph-title .accent {
    color: #FFB978;
}

.sph-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 32px;
}

.sph-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.sph-stat-num {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    color: #FFB978;
    display: block;
}

.sph-stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* ══ PREMIUM CONTAINER ══ */
.sponsors-container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 88px 24px 96px;
    position: relative;
}

.sponsors-container::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 60% 40% at 10% 20%, rgba(212, 160, 23, 0.03) 0%, transparent 60%),
        radial-gradient(ellipse 50% 40% at 90% 80%, rgba(15, 123, 108, 0.04) 0%, transparent 60%);
    z-index: 0;
}

.sponsors-container>* {
    position: relative;
    z-index: 1;
}

/* ── Tier heading ── */
.sponsors-tier {
    margin-bottom: 72px;
}

.tier-heading {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 36px;
}

.tier-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 20px;
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 1.8px;
    text-transform: uppercase;
    flex-shrink: 0;
    white-space: nowrap;
}

.tier-badge.gold {
    background: linear-gradient(135deg, #FEF9E7, #FFF8DC);
    color: #8B6914;
    border: 1.5px solid rgba(212, 160, 23, 0.35);
    box-shadow: 0 2px 12px rgba(212, 160, 23, 0.12);
}

.tier-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, rgba(212, 160, 23, 0.25), rgba(0, 0, 0, 0.05), transparent);
}

/* ══ SPONSOR GRID ══ */
.sponsors-grid {
    display: grid;
    gap: 28px;
}

.sponsors-grid.gold-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
}

/* ══ SPONSOR CARD — TEAM-PHOTO STYLE ══ */
.sponsor-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.07);
    box-shadow:
        0 4px 16px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    position: relative;
    display: flex;
    flex-direction: column;
    text-align: center;
    padding: 0;
    gap: 0;
    will-change: transform;
}

.sponsor-card:hover {
    transform: translateY(-10px);
    box-shadow:
        0 24px 56px rgba(0, 0, 0, 0.13),
        0 8px 20px rgba(0, 0, 0, 0.08);
}

/* ── Photo area (top of card) ── */
.sponsor-img-wrap {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #F0EDE4, #EAE6DB);
    flex-shrink: 0;
}

.sponsor-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.sponsor-card:hover .sponsor-img-wrap img {
    transform: scale(1.08);
}

/* No-photo placeholder */
.sponsor-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: linear-gradient(135deg, #F7F5EF, #EEE9DF);
}

.sponsor-img-placeholder .sp-initials {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0F7B6C, #17A08E);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 900;
    color: white;
    box-shadow: 0 8px 24px rgba(15, 123, 108, 0.3);
}

.sponsor-img-placeholder .sp-ph-label {
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: #B8B4A8;
    text-transform: uppercase;
}

/* Gold shimmer top bar appears on hover */
.sponsor-img-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #C8980A, #F0C840, #C8980A);
    z-index: 3;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.45s cubic-bezier(0.23, 1, 0.32, 1);
}

.sponsor-card:hover .sponsor-img-wrap::before {
    transform: scaleX(1);
}

/* White wash overlay on hover */
.sponsor-img-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.15);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
}

.sponsor-card:hover .sponsor-img-wrap::after {
    opacity: 1;
}

/* Since badge — slides up from bottom on hover */
.sponsor-since-badge {
    position: absolute;
    bottom: 14px;
    left: 14px;
    z-index: 4;
    background: rgba(15, 26, 20, 0.85);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.63rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 5px 12px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(6px);
    opacity: 0;
    transition: all 0.35s cubic-bezier(0.23, 1, 0.32, 1);
}

.sponsor-since-badge::before {
    content: '◆';
    font-size: 0.4rem;
    color: #D4A017;
}

.sponsor-card:hover .sponsor-since-badge {
    opacity: 1;
    transform: translateY(0);
}

/* ── Card title bar (bottom colored strip) ── */
.sponsor-title-bar {
    /*background: linear-gradient(135deg, #1A1A2E 0%, #252050 100%);*/
    background: linear-gradient(135deg, rgb(187, 159, 31) 0%, #ecd054 100%);
    padding: 20px 22px 18px;
    transition: background 0.35s ease;
    flex-shrink: 0;
    position: relative;
}

/* Thin gold accent rule at top of title bar */
.sponsor-title-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 160, 23, 0.5), transparent);
}

.sponsor-card:hover .sponsor-title-bar {
    /*background: linear-gradient(135deg, #0F7B6C 0%, #17A08E 100%);*/
    background: linear-gradient(135deg, #e3c851 0%, #e4c434 100%);
}

.sponsor-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: white;
    margin: 0 0 6px;
    line-height: 1.3;
}

.sponsor-type {
    font-size: 0.74rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* ── Empty slot ── */
.sponsor-card.empty {
    border-style: dashed;
    border-color: rgba(232, 114, 26, 0.25);
    background: rgba(232, 114, 26, 0.01);
    cursor: pointer;
    box-shadow: none;
    min-height: 290px;
    align-items: center;
    justify-content: center;
    padding: 40px 24px;
}

.sponsor-card.empty:hover {
    background: rgba(232, 114, 26, 0.04);
    border-color: rgba(232, 114, 26, 0.45);
    box-shadow: 0 12px 32px rgba(232, 114, 26, 0.08);
}

.empty-icon {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(232, 114, 26, 0.07);
    border: 2px dashed rgba(232, 114, 26, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #E8721A;
    transition: all 0.3s ease;
    margin-bottom: 14px;
}

.sponsor-card.empty:hover .empty-icon {
    background: rgba(232, 114, 26, 0.14);
    border-color: rgba(232, 114, 26, 0.55);
    transform: scale(1.1) rotate(-6deg);
}

.empty-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #E8721A;
    margin: 0 0 4px;
}

.empty-sub {
    font-size: 0.72rem;
    color: #C0BDB0;
    margin: 0;
}

/* ══ PREMIUM BECOME-A-SPONSOR BAND ══ */
.become-sponsor-band {
    background: linear-gradient(135deg, #0E1521 0%, #1A2A1E 50%, #0D1A15 100%);
    border-radius: 28px;
    padding: 60px 56px;
    margin-bottom: 80px;
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow:
        0 0 0 1px rgba(212, 160, 23, 0.08),
        0 32px 80px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.become-sponsor-band::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(212, 160, 23, 0.6) 30%,
            rgba(240, 200, 64, 0.9) 50%,
            rgba(212, 160, 23, 0.6) 70%,
            transparent 100%);
    pointer-events: none;
}

.become-sponsor-band .bsb-glow-a {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 160, 23, 0.07) 0%, transparent 70%);
    top: -80px;
    right: 80px;
    pointer-events: none;
}

.become-sponsor-band .bsb-glow-b {
    position: absolute;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15, 123, 108, 0.08) 0%, transparent 70%);
    bottom: -60px;
    left: 40px;
    pointer-events: none;
}

.become-sponsor-band .bsb-deco {
    position: absolute;
    top: -10px;
    right: 48px;
    font-size: 13rem;
    font-family: 'Playfair Display', serif;
    color: rgba(212, 160, 23, 0.05);
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.bsb-text {
    position: relative;
    z-index: 1;
}

.bsb-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.66rem;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #D4A017;
    margin-bottom: 16px;
}

.bsb-eyebrow::before,
.bsb-eyebrow::after {
    content: '';
    width: 20px;
    height: 1px;
    background: linear-gradient(90deg, transparent, #D4A017);
}

.bsb-eyebrow::after {
    background: linear-gradient(90deg, #D4A017, transparent);
}

.bsb-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 900;
    color: #FFFFFF;
    line-height: 1.25;
    margin-bottom: 14px;
}

.bsb-text h3 span {
    color: #FFD166;
}

.bsb-text p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.62);
    line-height: 1.85;
    max-width: 480px;
    margin-bottom: 10px;
}

.bsb-text p.tamil {
    font-family: 'Noto Sans Tamil', sans-serif;
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.38);
    font-style: italic;
}

.bsb-divider {
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, rgba(212, 160, 23, 0.6), transparent);
    margin: 18px 0;
}

.bsb-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.bsb-btn-primary {
    background: linear-gradient(135deg, #D4A017, #F0C840, #D4A017);
    background-size: 200% 100%;
    color: #1A1000;
    padding: 15px 32px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.875rem;
    letter-spacing: 0.3px;
    box-shadow:
        0 4px 16px rgba(212, 160, 23, 0.35),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
    transition: all 0.35s ease;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    white-space: nowrap;
    border: 1px solid rgba(255, 220, 80, 0.4);
}

.bsb-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(212, 160, 23, 0.5);
    color: #0E0800;
    text-decoration: none;
}

.bsb-btn-outline {
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.82);
    padding: 13px 26px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    backdrop-filter: blur(6px);
}

.bsb-btn-outline:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
    transform: translateY(-2px);
}

.bsb-note {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.3);
    text-align: center;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.bsb-note::before {
    content: '✦';
    font-size: 0.55rem;
    color: #D4A017;
    opacity: 0.6;
}

/* ── Scroll reveal ── */
.spr-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s cubic-bezier(0.23, 1, 0.32, 1);
}

.spr-reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 900px) {
    .become-sponsor-band {
        grid-template-columns: 1fr;
        padding: 40px 30px;
        text-align: center;
    }

    .bsb-text p {
        margin: 0 auto 10px;
    }

    .bsb-divider {
        margin: 18px auto;
    }

    .bsb-eyebrow {
        justify-content: center;
    }

    .bsb-cta {
        align-items: center;
    }

    .become-sponsor-band .bsb-deco {
        display: none;
    }
}

@media (max-width: 768px) {
    .sponsors-container {
        padding: 64px 20px 80px;
    }

    .sponsors-grid.gold-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .sph-stats {
        gap: 28px;
    }
}

@media (max-width: 480px) {
    .sponsors-grid.gold-grid {
        grid-template-columns: 1fr;
    }

    .become-sponsor-band {
        padding: 32px 20px;
    }

    .sponsor-img-wrap {
        height: 200px;
    }
}