@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&display=swap');

/* Base styles and reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Orbitron', sans-serif !important;
}

/* Font Awesome icons - must use their font, not Orbitron */
.fas, .far, .fa, i[class^="fa-"], i[class*=" fa-"] {
    font-family: "Font Awesome 6 Free", "Font Awesome 5 Free" !important;
    font-weight: 900;
}
.fab, i[class*="fab "] {
    font-family: "Font Awesome 6 Brands", "Font Awesome 5 Brands" !important;
    font-weight: 400;
}

img {
    max-width: 100%;
    height: auto;
}

html {
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Orbitron', sans-serif !important;
    background: #030306;
    background-image: 
        radial-gradient(ellipse 140% 100% at 50% 0%, rgba(88, 28, 135, 0.35) 0%, transparent 55%),
        radial-gradient(ellipse 100% 80% at 90% 10%, rgba(0, 120, 180, 0.28) 0%, transparent 50%),
        radial-gradient(ellipse 80% 100% at 5% 90%, rgba(180, 20, 100, 0.22) 0%, transparent 50%),
        radial-gradient(ellipse 120% 120% at 50% 50%, rgba(138, 43, 226, 0.12) 0%, transparent 65%),
        linear-gradient(180deg, #030306 0%, #0a0a14 25%, #080812 50%, #0a0a14 75%, #030306 100%);
    color: #e8e8e8;
    line-height: 1.6;
    min-height: 100vh;
    padding: 0;
    overflow-x: hidden;
    position: relative;
    background-attachment: fixed;
    background-size: 100% 100%;
}

/* Static gradient overlay - no animation for performance */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(138, 43, 226, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 191, 255, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 60% 20%, rgba(255, 20, 147, 0.1) 0%, transparent 35%);
    pointer-events: none;
    z-index: 0;
}

/* Floating orbs - reduced blur for performance */
.bg-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.35;
    pointer-events: none;
    z-index: 0;
    animation: floatOrb 25s ease-in-out infinite;
}

.bg-orb-1 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.4) 0%, transparent 70%);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.bg-orb-2 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(0, 191, 255, 0.35) 0%, transparent 70%);
    top: 50%;
    right: -80px;
    animation-delay: -5s;
}

.bg-orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 20, 147, 0.3) 0%, transparent 70%);
    bottom: -50px;
    left: 20%;
    animation-delay: -10s;
}

.bg-orb-4 {
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.25) 0%, transparent 70%);
    top: 30%;
    right: 30%;
    animation-delay: -15s;
}

@keyframes floatOrb {
    0%, 100% { 
        transform: translate(0, 0) scale(1);
    }
    25% { 
        transform: translate(30px, -40px) scale(1.1);
    }
    50% { 
        transform: translate(-20px, 30px) scale(0.95);
    }
    75% { 
        transform: translate(-35px, -20px) scale(1.05);
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    animation: fadeIn 1s ease-out;
    width: 100%;
    padding: 30px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header styles */
.main-header {
    text-align: center;
    padding: 70px 50px;
    margin-bottom: 70px;
    background: linear-gradient(145deg, rgba(12, 12, 22, 0.85) 0%, rgba(6, 6, 14, 0.9) 100%);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border-radius: 32px;
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.7),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        0 0 100px rgba(138, 43, 226, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at 50% 50%, rgba(138, 43, 226, 0.08) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.main-header h1 {
    font-family: 'Orbitron', sans-serif !important;
    font-size: 4.5rem;
    margin-bottom: 25px;
    background: linear-gradient(
        135deg,
        #8a2be2 0%,
        #00bfff 25%,
        #ff1493 50%,
        #00bfff 75%,
        #8a2be2 100%
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 5s ease infinite;
    transform: translateX(-100%);
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 900;
    letter-spacing: 2px;
    text-shadow: 
        0 0 30px rgba(138, 43, 226, 0.5),
        0 0 60px rgba(0, 191, 255, 0.3);
    position: relative;
    z-index: 1;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.header-animate.animate {
    transform: translateX(0);
    opacity: 1;
}

.sub-header {
    font-family: 'Orbitron', sans-serif !important;
    font-size: 1.75rem;
    max-width: 800px;
    margin: 0 auto;
    color: #a8b0b8;
    font-weight: 400;
    transform: translateX(100%);
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.3s;
    position: relative;
    padding: 0 20px;
    line-height: 1.8;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.sub-header::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 150px;
    height: 4px;
    background: linear-gradient(
        90deg,
        transparent,
        #8a2be2,
        #00bfff,
        #ff1493,
        transparent
    );
    border-radius: 4px;
    animation: lineGlow 2s ease-in-out infinite;
}

@keyframes lineGlow {
    0%, 100% {
        box-shadow: 0 0 10px rgba(138, 43, 226, 0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 191, 255, 0.8);
    }
}

.subheader-animate.animate {
    transform: translateX(0);
    opacity: 1;
}

/* Sponsor section styles */
.sponsors-section {
    padding: 40px 30px 60px;
    position: relative;
}

.sponsors-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.3), transparent);
    z-index: -1;
}

.sponsor-tier {
    margin-bottom: 80px;
    position: relative;
    padding: 50px 30px;
    background: rgba(8, 8, 16, 0.3);
    border-radius: 28px;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.sponsor-tier:last-child {
    margin-bottom: 0;
}

.sponsor-tier::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(138, 43, 226, 0.4), transparent);
}

.sponsor-tier h2 {
    font-family: 'Orbitron', sans-serif !important;
    text-align: center;
    font-size: 2.6rem;
    margin-bottom: 45px;
    position: relative;
    padding: 20px 40px 28px;
    letter-spacing: 2px;
    font-weight: 800;
    opacity: 0;
    transform: translateY(40px) scale(0.9);
    animation: fadeInUpScale 1s forwards;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.sponsor-tier h2 .tier-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    opacity: 0.95;
    vertical-align: middle;
}

.sponsor-tier h2 .tier-icon svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.sponsor-tier.title h2 .tier-icon {
    color: #ffffff;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.6);
}

.sponsor-tier.associate h2 .tier-icon {
    color: #00bfff;
    text-shadow: 0 0 15px rgba(0, 191, 255, 0.6);
}

.sponsor-tier.gold h2 .tier-icon {
    color: #FFD700;
    text-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

.sponsor-tier.silver h2 .tier-icon {
    color: #C0C0C0;
    text-shadow: 0 0 15px rgba(192, 192, 192, 0.5);
}

.sponsor-tier h2 .tier-name {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 2.2rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    font-weight: 900;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.2);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 4px 20px rgba(0, 0, 0, 0.4);
}

.sponsor-tier h2 .tier-label {
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 0.9;
}


@keyframes fadeInUpScale {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.sponsor-tier:nth-child(1) h2 {
    animation-delay: 0.2s;
}

.sponsor-tier:nth-child(2) h2 {
    animation-delay: 0.35s;
}

.sponsor-tier:nth-child(3) h2 {
    animation-delay: 0.5s;
}

.sponsor-tier:nth-child(4) h2 {
    animation-delay: 0.65s;
}

/* Beautiful tier heading styles */
.sponsor-tier.title h2 .tier-name {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(200, 180, 255, 0.9) 50%, rgba(138, 43, 226, 0.8) 100%);
    color: #0a0a12;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 0 30px rgba(138, 43, 226, 0.4),
        0 4px 20px rgba(0, 0, 0, 0.4);
}

.sponsor-tier.title h2 .tier-label {
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 20px rgba(138, 43, 226, 0.5);
}

.sponsor-tier.associate h2 .tier-name {
    background: linear-gradient(135deg, rgba(0, 191, 255, 0.9) 0%, rgba(0, 120, 180, 0.95) 50%, rgba(0, 80, 140, 0.9) 100%);
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    border-color: rgba(100, 200, 255, 0.5);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.3),
        0 0 30px rgba(0, 191, 255, 0.4),
        0 4px 20px rgba(0, 0, 0, 0.4);
}

.sponsor-tier.associate h2 .tier-label {
    color: rgba(180, 220, 255, 0.95);
    text-shadow: 0 0 15px rgba(0, 191, 255, 0.4);
}

.sponsor-tier.gold h2 .tier-name {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 50%, #daa520 100%);
    color: #1a1a0a;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
    border-color: rgba(255, 215, 0, 0.6);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.5),
        0 0 35px rgba(255, 215, 0, 0.5),
        0 4px 20px rgba(0, 0, 0, 0.4);
}

.sponsor-tier.gold h2 .tier-label {
    color: rgba(255, 215, 0, 0.95);
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
}

.sponsor-tier.silver h2 .tier-name {
    background: linear-gradient(135deg, #e8e8e8 0%, #C0C0C0 50%, #a0a0a0 100%);
    color: #1a1a1a;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
    border-color: rgba(192, 192, 192, 0.5);
    box-shadow: 
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        0 0 25px rgba(192, 192, 192, 0.4),
        0 4px 20px rgba(0, 0, 0, 0.4);
}

.sponsor-tier.silver h2 .tier-label {
    color: rgba(192, 192, 192, 0.95);
    text-shadow: 0 0 15px rgba(192, 192, 192, 0.4);
}

/* Decorative line under tier headings */
.sponsor-tier h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 4px;
    border-radius: 4px;
}

.sponsor-tier.title h2::after {
    background: linear-gradient(90deg, transparent, #ffffff, #8a2be2, transparent);
}

.sponsor-tier.associate h2::after {
    background: linear-gradient(90deg, transparent, #00bfff, #0066aa, transparent);
}

.sponsor-tier.gold h2::after {
    background: linear-gradient(90deg, transparent, #FFD700, #daa520, transparent);
}

.sponsor-tier.silver h2::after {
    background: linear-gradient(90deg, transparent, #C0C0C0, #808080, transparent);
}

/* Single sponsor grid - centers the card */
.sponsor-grid-single {
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Tier-specific card accents */
.sponsor-tier.title .sponsor-card {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.15),
        0 0 40px rgba(138, 43, 226, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.sponsor-tier.title .sponsor-card:hover {
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.35),
        0 0 80px rgba(138, 43, 226, 0.4),
        0 0 120px rgba(255, 255, 255, 0.1);
}

.sponsor-tier.associate .sponsor-card {
    border-color: rgba(0, 191, 255, 0.25);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(0, 191, 255, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.sponsor-tier.associate .sponsor-card:hover {
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(0, 191, 255, 0.4),
        0 0 60px rgba(0, 191, 255, 0.25),
        0 0 100px rgba(0, 191, 255, 0.1);
}

.sponsor-tier.gold .sponsor-card {
    border-color: rgba(255, 215, 0, 0.2);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 215, 0, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.sponsor-tier.gold .sponsor-card:hover {
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 215, 0, 0.35),
        0 0 60px rgba(255, 215, 0, 0.25),
        0 0 100px rgba(255, 215, 0, 0.1);
}

.sponsor-tier.silver .sponsor-card {
    border-color: rgba(192, 192, 192, 0.2);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(192, 192, 192, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.sponsor-tier.silver .sponsor-card:hover {
    box-shadow: 
        0 40px 80px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(192, 192, 192, 0.3),
        0 0 50px rgba(192, 192, 192, 0.15),
        0 0 80px rgba(192, 192, 192, 0.08);
}

/* Sponsor grid layout */
.sponsor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 40px;
    margin-top: 35px;
    perspective: 1000px;
}

.sponsor-card {
    background: linear-gradient(145deg, rgba(15, 15, 25, 0.95) 0%, rgba(8, 8, 15, 0.9) 100%);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 2;
    transform: translateY(30px);
    opacity: 0;
}

.sponsor-card.visible {
    opacity: 1;
    transform: translateY(0);
    animation: cardReveal 0.6s ease-out forwards;
}

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

.sponsor-card.hidden {
    opacity: 0;
    transform: translateY(30px);
    animation: none;
}

.sponsor-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.12),
        0 0 40px rgba(138, 43, 226, 0.2);
    background: linear-gradient(145deg, rgba(20, 20, 35, 0.98) 0%, rgba(12, 12, 22, 0.95) 100%);
    z-index: 10;
}

.sponsor-logo {
    padding: 55px 35px;
    text-align: center;
    background: linear-gradient(180deg, rgba(12, 12, 20, 0.6) 0%, rgba(5, 5, 12, 0.9) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    position: relative;
    overflow: hidden;
    min-height: 320px;
    transition: all 0.4s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.sponsor-card:hover .sponsor-logo {
    background: rgba(10, 10, 15, 0.9);
    transform: scale(1.05);
}

.logo-rectangle {
    width: 260px;
    height: 180px;
    border-radius: 18px;
    background: linear-gradient(
        135deg,
        #8a2be2 0%,
        #00bfff 50%,
        #ff1493 100%
    );
    background-size: 200% 200%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    font-weight: 900;
    color: white;
    box-shadow: 
        0 0 30px rgba(138, 43, 226, 0.7),
        0 0 60px rgba(0, 191, 255, 0.5),
        0 0 90px rgba(255, 20, 147, 0.3),
        inset 0 0 30px rgba(255, 255, 255, 0.2);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.2);
}


.logo-rectangle::after {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    bottom: 12px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    pointer-events: none;
}

.logo-rectangle::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.15) 0%, transparent 50%);
    pointer-events: none;
}

.sponsor-card:hover .logo-rectangle {
    transform: scale(1.08);
    box-shadow: 
        0 0 50px rgba(138, 43, 226, 1),
        0 0 100px rgba(0, 191, 255, 0.8),
        0 0 150px rgba(255, 20, 147, 0.6),
        inset 0 0 40px rgba(255, 255, 255, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.5);
}

.sponsor-card:hover .logo-rectangle::after {
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.company-initial,
.logo-rectangle img {
    position: relative;
    z-index: 2;
}

.company-initial {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.7);
}

/* Support for actual logo images */
.logo-rectangle img {
    max-width: 90%;
    max-height: 90%;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Text placeholder when no logo (e.g. JB INFRA) */
.logo-rectangle.logo-text-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-name-text {
    font-family: 'Orbitron', sans-serif !important;
    font-size: 2.2rem;
    font-weight: 900;
    color: white;
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
    position: relative;
    z-index: 2;
}

.sponsor-info {
    padding: 28px 25px;
    text-align: center;
    background: linear-gradient(180deg, rgba(8, 8, 15, 0.95) 0%, rgba(5, 5, 12, 1) 100%);
    position: relative;
    z-index: 2;
    transition: all 0.4s ease;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.sponsor-card:hover .sponsor-info {
    background: rgba(10, 10, 15, 0.95);
    border-top: 1px solid rgba(138, 43, 226, 0.5);
}

.sponsor-info h3 {
    font-family: 'Orbitron', sans-serif !important;
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: #ffffff;
    word-wrap: break-word;
    overflow-wrap: break-word;
    background: linear-gradient(135deg, #8a2be2, #00bfff, #ff1493);
    background-size: 200% 200%;
    animation: gradientShift 3s ease infinite;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.sponsor-card:hover .sponsor-info h3 {
    transform: scale(1.05);
    text-shadow: 0 0 15px rgba(0, 201, 255, 0.5);
}

.website-link {
    font-family: 'Orbitron', sans-serif !important;
    display: inline-block;
    margin-top: 18px;
    padding: 14px 32px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.25) 0%, rgba(0, 191, 255, 0.2) 100%);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.website-link::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.5s;
}

.website-link:hover::before {
    left: 100%;
}

.website-link:hover {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.5), rgba(0, 191, 255, 0.4));
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 
        0 8px 30px rgba(138, 43, 226, 0.35),
        0 0 40px rgba(0, 191, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.sponsor-info p {
    font-family: 'Orbitron', sans-serif !important;
    color: #ccc;
    font-size: 0.95rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.9);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #00bfff, #00ffff);
    border-radius: 6px;
    border: 2px solid rgba(0, 0, 0, 0.9);
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.8);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #00ffff, #00bfff);
    box-shadow: 0 0 20px rgba(0, 255, 255, 1);
}

/* Selection styling */
::selection {
    background: rgba(138, 43, 226, 0.6);
    color: #ffffff;
}

::-moz-selection {
    background: rgba(138, 43, 226, 0.6);
    color: #ffffff;
}

/* ========== RESPONSIVE DESIGN ========== */

/* Large tablets & small laptops (1024px - 1200px) */
@media screen and (max-width: 1200px) {
    .container {
        max-width: 100%;
        padding: 0 20px;
    }
    
    .main-header h1 {
        font-size: 3.5rem;
    }
    
    .sponsor-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 35px;
    }
    
    .sponsor-grid-single {
        max-width: 450px;
    }
}

/* Tablets (768px - 1024px) */
@media screen and (max-width: 1024px) {
    body {
        padding: 0;
    }
    .container {
        padding: 25px 20px;
    }
    
    .main-header {
        padding: 55px 40px;
        margin-bottom: 55px;
        border-radius: 28px;
    }
    
    .main-header h1 {
        font-size: 3rem;
        letter-spacing: 1.5px;
    }
    
    .sub-header {
        font-size: 1.5rem;
        padding: 0 15px;
    }
    
    .sponsors-section {
        padding: 30px 20px 50px;
    }
    
    .sponsor-tier {
        padding: 40px 25px;
        margin-bottom: 65px;
    }
    
    .sponsor-tier h2 {
        font-size: 2.4rem;
        padding: 18px 30px 26px;
        margin-bottom: 40px;
    }
    
    .sponsor-tier h2 .tier-icon svg {
        width: 30px;
        height: 30px;
    }
    
    .sponsor-tier h2 .tier-name {
        font-size: 2rem;
        padding: 11px 24px;
    }
    
    .sponsor-tier h2 .tier-label {
        font-size: 1.5rem;
    }
    
    .sponsor-grid {
        grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
        gap: 30px;
    }
    
    .sponsor-grid-single {
        max-width: 100%;
    }
    
    .sponsor-logo {
        min-height: 300px;
        padding: 50px 30px;
    }
    
    .logo-rectangle {
        width: 240px;
        height: 165px;
        font-size: 4.5rem;
    }
    
    .company-name-text {
        font-size: 2rem;
    }
    
    .sponsor-info h3 {
        font-size: 1.6rem;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .bg-orb-1 { width: 300px; height: 300px; }
    .bg-orb-2 { width: 250px; height: 250px; }
    .bg-orb-3 { width: 220px; height: 220px; }
    .bg-orb-4 { width: 180px; height: 180px; }
}

/* Tablet portrait & large phones (640px - 768px) */
@media screen and (max-width: 768px) {
    body {
        padding: 0;
    }
    .container {
        padding: 20px 16px;
    }
    
    .main-header {
        padding: 45px 28px;
        margin-bottom: 45px;
        border-radius: 24px;
    }
    
    .main-header h1 {
        font-size: 2.6rem;
        letter-spacing: 1px;
    }
    
    .sub-header {
        font-size: 1.3rem;
        padding: 0 10px;
        line-height: 1.7;
    }
    
    .sponsors-section {
        padding: 25px 15px 40px;
    }
    
    .sponsor-tier {
        padding: 35px 20px;
        margin-bottom: 55px;
    }
    
    .sponsor-tier h2 {
        font-size: 2rem;
        letter-spacing: 2px;
        padding: 16px 24px 24px;
        margin-bottom: 35px;
        flex-direction: column;
        gap: 10px;
    }
    
    .sponsor-tier h2 .tier-icon {
        margin-right: 0;
    }
    
    .sponsor-tier h2 .tier-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .sponsor-tier h2 .tier-name {
        font-size: 1.75rem;
        padding: 10px 22px;
        letter-spacing: 4px;
    }
    
    .sponsor-tier h2 .tier-label {
        font-size: 1.35rem;
        letter-spacing: 3px;
    }
    
    .sponsor-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 25px;
    }
    
    .sponsor-logo {
        min-height: 280px;
        padding: 45px 25px;
    }
    
    .logo-rectangle {
        width: 220px;
        height: 150px;
        font-size: 4.2rem;
    }
    
    .company-name-text {
        font-size: 1.75rem;
    }
    
    .sponsor-info {
        padding: 24px 20px;
    }
    
    .sponsor-info h3 {
        font-size: 1.45rem;
        line-height: 1.4;
    }
    
    .website-link {
        padding: 12px 26px;
        font-size: 0.9rem;
    }
    
    .sponsor-card:hover {
        transform: translateY(-12px) scale(1.02);
    }
    
    .popup-modal {
        padding: 35px 30px;
        margin: 0 20px;
    }
    
    .popup-modal h3 {
        font-size: 1.35rem;
    }
    
    .popup-modal p {
        font-size: 0.9rem;
    }
}

/* Mobile landscape & standard phones (480px - 640px) */
@media screen and (max-width: 640px) {
    body {
        padding: 0;
    }
    .container {
        padding: 16px 12px;
    }
    
    .main-header {
        padding: 38px 22px;
        margin-bottom: 38px;
        border-radius: 20px;
    }
    
    .main-header h1 {
        font-size: 2.2rem;
        letter-spacing: 0.5px;
    }
    
    .sub-header {
        font-size: 1.15rem;
        padding: 0 8px;
    }
    
    .sponsor-tier {
        padding: 28px 15px;
        margin-bottom: 45px;
    }
    
    .sponsor-tier h2 {
        font-size: 1.75rem;
        padding: 14px 20px 22px;
        margin-bottom: 28px;
    }
    
    .sponsor-tier h2 .tier-name {
        font-size: 1.5rem;
        padding: 9px 18px;
    }
    
    .sponsor-tier h2 .tier-label {
        font-size: 1.2rem;
    }
    
    .sponsor-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
    
    .sponsor-logo {
        min-height: 260px;
        padding: 40px 20px;
    }
    
    .logo-rectangle {
        width: 200px;
        height: 140px;
        font-size: 3.8rem;
    }
    
    .company-name-text {
        font-size: 1.6rem;
        letter-spacing: 2px;
    }
    
    .sponsor-info h3 {
        font-size: 1.35rem;
    }
    
    .website-link {
        padding: 11px 22px;
        font-size: 0.85rem;
    }
    
    .bg-orb-1 { width: 200px; height: 200px; left: -80px; }
    .bg-orb-2 { width: 160px; height: 160px; right: -60px; }
    .bg-orb-3 { width: 140px; height: 140px; }
    .bg-orb-4 { width: 120px; height: 120px; }
}

/* Small phones (360px - 480px) */
@media screen and (max-width: 480px) {
    body {
        padding: 0;
    }
    .container {
        padding: 12px 10px;
    }
    
    .main-header {
        padding: 32px 18px;
        margin-bottom: 32px;
        border-radius: 18px;
    }
    
    .main-header h1 {
        font-size: 1.85rem;
        letter-spacing: 0.5px;
    }
    
    .sub-header {
        font-size: 1rem;
        line-height: 1.6;
        padding: 0 5px;
    }
    
    .sponsors-section {
        padding: 20px 10px 35px;
    }
    
    .sponsor-tier {
        padding: 24px 12px;
        margin-bottom: 38px;
    }
    
    .sponsor-tier h2 {
        font-size: 1.5rem;
        letter-spacing: 1px;
        margin-bottom: 24px;
        padding: 12px 16px 20px;
        gap: 6px;
    }
    
    .sponsor-tier h2 .tier-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .sponsor-tier h2 .tier-name {
        font-size: 1.3rem;
        padding: 8px 16px;
        letter-spacing: 3px;
    }
    
    .sponsor-tier h2 .tier-label {
        font-size: 1.05rem;
        letter-spacing: 2px;
    }
    
    .sponsor-grid {
        gap: 18px;
    }
    
    .sponsor-card {
        border-radius: 18px;
    }
    
    .sponsor-logo {
        min-height: 240px;
        padding: 35px 18px;
    }
    
    .logo-rectangle {
        width: 180px;
        height: 125px;
        font-size: 3.4rem;
        border-radius: 14px;
    }
    
    .logo-rectangle::after {
        top: 10px;
        left: 10px;
        right: 10px;
        bottom: 10px;
        border-radius: 8px;
    }
    
    .company-name-text {
        font-size: 1.4rem;
        letter-spacing: 2px;
    }
    
    .sponsor-info {
        padding: 20px 16px;
    }
    
    .sponsor-info h3 {
        font-size: 1.2rem;
        line-height: 1.35;
    }
    
    .website-link {
        padding: 10px 20px;
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
    
    .sponsor-card:hover {
        transform: translateY(-8px) scale(1.01);
    }
    
    .popup-modal {
        padding: 28px 22px;
        margin: 0 15px;
        border-radius: 18px;
    }
    
    .popup-icon {
        width: 55px;
        height: 55px;
        margin-bottom: 20px;
    }
    
    .popup-icon svg {
        width: 28px;
        height: 28px;
    }
    
    .popup-modal h3 {
        font-size: 1.2rem;
    }
    
    .popup-modal p {
        font-size: 0.85rem;
        margin-bottom: 24px;
    }
    
    .popup-close-btn {
        padding: 12px 32px;
        font-size: 0.9rem;
    }
}

/* Very small phones (320px - 360px) */
@media screen and (max-width: 360px) {
    body {
        padding: 0;
    }
    .container {
        padding: 10px 8px;
    }
    
    .main-header {
        padding: 28px 14px;
        margin-bottom: 28px;
        border-radius: 16px;
    }
    
    .main-header h1 {
        font-size: 1.6rem;
    }
    
    .sub-header {
        font-size: 0.95rem;
    }
    
    .sponsor-tier {
        padding: 20px 10px;
        margin-bottom: 32px;
    }
    
    .sponsor-tier h2 {
        font-size: 1.35rem;
        padding: 10px 14px 18px;
        margin-bottom: 20px;
    }
    
    .sponsor-tier h2 .tier-name {
        font-size: 1.15rem;
        padding: 6px 14px;
    }
    
    .sponsor-tier h2 .tier-label {
        font-size: 0.95rem;
    }
    
    .sponsor-logo {
        min-height: 220px;
        padding: 30px 15px;
    }
    
    .logo-rectangle {
        width: 160px;
        height: 110px;
        font-size: 3rem;
    }
    
    .company-name-text {
        font-size: 1.25rem;
    }
    
    .sponsor-info h3 {
        font-size: 1.1rem;
    }
    
    .website-link {
        padding: 9px 18px;
        font-size: 0.75rem;
    }
    
    .popup-modal {
        padding: 24px 18px;
        margin: 0 12px;
    }
}

/* Landscape orientation on small screens */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .main-header {
        padding: 25px 30px;
        margin-bottom: 30px;
    }
    
    .main-header h1 {
        font-size: 2rem;
    }
    
    .sub-header {
        font-size: 1rem;
    }
    
    .sponsor-tier {
        margin-bottom: 35px;
        padding: 25px 20px;
    }
    
    .sponsor-logo {
        min-height: 200px;
        padding: 30px 25px;
    }
    
    .logo-rectangle {
        width: 160px;
        height: 110px;
    }
}

/* Touch-friendly: reduce 3D effects on touch devices for better performance */
@media (hover: none) and (pointer: coarse) {
    .sponsor-card:hover {
        transform: translateY(-8px);
    }
    
    .sponsor-card {
        animation: none;
    }
    
    .sponsor-card.visible {
        animation: none;
    }
    
    .website-link {
        min-height: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Add a subtle gradient border glow on hover */
.sponsor-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.4), rgba(0, 191, 255, 0.3), rgba(255, 20, 147, 0.2), rgba(138, 43, 226, 0.4));
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
    border-radius: 26px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.sponsor-card:hover::before {
    opacity: 0.5;
}

/* Add a subtle pulse animation to the header */
@keyframes pulse {
    0%, 100% { 
        box-shadow: 
            0 20px 60px rgba(0, 0, 0, 0.6),
            0 0 0 1px rgba(138, 43, 226, 0.2),
            0 0 60px rgba(138, 43, 226, 0.3);
    }
    50% { 
        box-shadow: 
            0 25px 70px rgba(0, 0, 0, 0.7),
            0 0 0 1px rgba(138, 43, 226, 0.4),
            0 0 80px rgba(138, 43, 226, 0.5),
            0 0 120px rgba(0, 191, 255, 0.3);
    }
}

.main-header {
    animation: pulse 4s infinite;
}

/* Add sparkle effect to cards */
.sponsor-card::after {
    content: '';
    position: absolute;
    top: 20px;
    right: 20px;
    width: 10px;
    height: 10px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.9), transparent);
    border-radius: 50%;
    opacity: 0;
    animation: sparkle 3s infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.5) rotate(180deg);
    }
}

.sponsor-card:hover::after {
    animation: sparkle 1s infinite;
    box-shadow: 0 0 20px rgba(138, 43, 226, 1);
}

/* Add glow effect to tier headers - combine with fadeIn so headings stay visible */
.sponsor-tier.title h2 {
    animation: fadeInUpScale 1s forwards, glowTitle 3s ease-in-out infinite;
}

@keyframes glowTitle {
    0%, 100% {
        text-shadow: 
            0 0 20px rgba(255, 255, 255, 0.5),
            0 0 40px rgba(138, 43, 226, 0.3);
    }
    50% {
        text-shadow: 
            0 0 35px rgba(255, 255, 255, 0.8),
            0 0 60px rgba(138, 43, 226, 0.5),
            0 0 90px rgba(255, 255, 255, 0.2);
    }
}

.sponsor-tier.associate h2 {
    animation: fadeInUpScale 1s forwards, glowAssociate 3s ease-in-out infinite;
}

@keyframes glowAssociate {
    0%, 100% {
        text-shadow: 
            0 0 20px rgba(0, 191, 255, 0.5),
            0 0 40px rgba(0, 191, 255, 0.3);
    }
    50% {
        text-shadow: 
            0 0 30px rgba(0, 191, 255, 0.8),
            0 0 60px rgba(0, 191, 255, 0.5),
            0 0 90px rgba(0, 191, 255, 0.3);
    }
}

.sponsor-tier.gold h2 {
    animation: fadeInUpScale 1s forwards, glowGold 3s ease-in-out infinite;
}

@keyframes glowGold {
    0%, 100% {
        text-shadow: 
            0 0 20px rgba(255, 215, 0, 0.5),
            0 0 40px rgba(255, 215, 0, 0.3);
    }
    50% {
        text-shadow: 
            0 0 30px rgba(255, 215, 0, 0.8),
            0 0 60px rgba(255, 215, 0, 0.5),
            0 0 90px rgba(255, 215, 0, 0.3);
    }
}

.sponsor-tier.silver h2 {
    animation: fadeInUpScale 1s forwards, glowSilver 3s ease-in-out infinite;
}

@keyframes glowSilver {
    0%, 100% {
        text-shadow: 
            0 0 20px rgba(192, 192, 192, 0.5),
            0 0 40px rgba(192, 192, 192, 0.3);
    }
    50% {
        text-shadow: 
            0 0 30px rgba(192, 192, 192, 0.8),
            0 0 60px rgba(192, 192, 192, 0.5),
            0 0 90px rgba(192, 192, 192, 0.3);
    }
}

/* Website unavailable popup */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.popup-overlay.popup-active {
    opacity: 1;
    visibility: visible;
}

.popup-modal {
    background: linear-gradient(145deg, rgba(18, 18, 28, 0.98) 0%, rgba(10, 10, 20, 0.99) 100%);
    border-radius: 24px;
    padding: 45px 50px;
    max-width: 420px;
    text-align: center;
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.08),
        0 0 60px rgba(138, 43, 226, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: scale(0.9) translateY(20px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.popup-overlay.popup-active .popup-modal {
    transform: scale(1) translateY(0);
}

.popup-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.3), rgba(0, 191, 255, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.popup-icon svg {
    width: 36px;
    height: 36px;
    color: #00bfff;
}

.popup-modal h3 {
    font-family: 'Orbitron', sans-serif !important;
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.popup-modal p {
    font-family: 'Orbitron', sans-serif !important;
    color: #a8b0b8;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.popup-close-btn {
    font-family: 'Orbitron', sans-serif !important;
    padding: 14px 40px;
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.5), rgba(0, 191, 255, 0.4));
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.popup-close-btn:hover {
    background: linear-gradient(135deg, rgba(138, 43, 226, 0.7), rgba(0, 191, 255, 0.6));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(138, 43, 226, 0.4);
}

/* Error Loading page */
.error-loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 4rem 2rem;
    position: relative;
    z-index: 10;
}

.error-content {
    text-align: center;
    padding: 3rem 2rem;
    background: rgba(1, 8, 18, 0.8);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 24px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(0, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    max-width: 500px;
    width: 100%;
}

.error-icon {
    font-size: 5rem;
    color: #ff3232;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(255, 50, 50, 0.8);
    animation: errorPulse 2s ease-in-out infinite;
}

@keyframes errorPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.9; }
}

.error-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    color: #ff3232;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(255, 50, 50, 0.7);
    letter-spacing: 0.1em;
    font-weight: bold;
}

.error-message {
    font-size: 1.1rem;
    color: rgba(230, 245, 255, 0.8);
    letter-spacing: 0.05em;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .error-loading-container {
        min-height: 50vh;
        padding: 2rem 1rem;
    }
}