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

:root {
  --neon-blue: #00f2ff;
  --neon-purple: #bc13fe;
  --bg-black: #050508;
  --gold-color: #ffd700;
  --silver-color: #c0c0c0;
}

@property --angle {
  syntax: '<angle>';
  initial-value: 0deg;
  inherits: false;
}

@keyframes borderRotate {
  0% { --angle: 0deg; }
  100% { --angle: 360deg; }
}

/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  background: var(--bg-black);
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  overflow-x: hidden;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, 
    rgba(0,242,255,0.08), 
    transparent 70%
  );
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}

/* CYBER GRID */
.cyber-grid {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(0,242,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,242,255,0.03) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: gridMove 50s linear infinite;
  z-index: -2;
}

/* ================= NAVBAR ================= */
.cyber-nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 16px 6%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(
    135deg,
    rgba(5,5,8,0.95) 0%,
    rgba(10,10,15,0.9) 50%,
    rgba(5,5,8,0.95) 100%
  );
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 2px solid transparent;
  border-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0,242,255,0.5) 25%,
    rgba(188,19,254,0.5) 50%,
    rgba(0,242,255,0.5) 75%,
    transparent 100%
  ) 1;
  box-shadow: 
    0 4px 30px rgba(0,242,255,0.1),
    0 0 0 1px rgba(0,242,255,0.1) inset;
  z-index: 1000;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo {
  font-family: 'Orbitron';
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--neon-blue);
  text-shadow: 
    0 0 10px rgba(0,242,255,0.6),
    0 0 20px rgba(0,242,255,0.3),
    0 0 30px rgba(0,242,255,0.1);
  position: relative;
  transition: all 0.3s ease;
}

.logo:hover {
  text-shadow: 
    0 0 15px rgba(0,242,255,0.8),
    0 0 25px rgba(0,242,255,0.5),
    0 0 35px rgba(0,242,255,0.3);
  transform: scale(1.05);
}

.logo span {
  color: var(--neon-purple);
  text-shadow: 
    0 0 10px rgba(188,19,254,0.6),
    0 0 20px rgba(188,19,254,0.3);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-family: 'Orbitron';
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  color: rgba(255,255,255,0.9);
  position: relative;
  padding: 8px 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover {
  color: var(--neon-blue);
  text-shadow: 0 0 10px rgba(0,242,255,0.5);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active {
  color: var(--neon-blue);
  text-shadow: 0 0 10px rgba(0,242,255,0.6);
}

.nav-links a.active::after {
  width: 100%;
}
  

/* ================= HERO ================= */
.sponsor-hero {
  padding: 140px 6% 80px;
  text-align: center;
}

.glitch-text {
  font-family: 'Orbitron';
  font-size: clamp(2rem, 5vw, 3rem);
  letter-spacing: 4px;
  color: rgba(0,242,255,0.8);
  text-shadow:
    0 0 8px rgba(0,242,255,0.6),
    0 0 16px rgba(0,242,255,0.4),
    2px 2px rgba(188,19,254,0.4);
}

.hero-sub {
  margin-top: 14px;
  letter-spacing: 2px;
  color: var(--neon-blue);
}

/* ================= SECTION ================= */
.sponsor-section {
  /* padding: 90px 4%; adds alot of padding */
  text-align: center;
}

.sponsor-section:last-of-type {
  margin-bottom: 60px;
}

/* ================= SECTION TITLES ================= */
.sponsor-title {
  font-family: 'Orbitron';
  font-size: clamp(1.5rem, 3vw, 2rem);
  letter-spacing: 3px;
  color: var(--neon-blue);
  text-transform: uppercase;
  margin-bottom: 56px;
  text-shadow: 0 0 10px rgba(0,242,255,0.5);
}

.sponsor-title.gold,
.sponsor-title.silver {
  margin-top: 80px;
}

/* spacing title → cards */
.sponsor-section > .sponsor-row,
.sponsor-section > .title-sponsor-wrapper,
.sponsor-section > .co-sponsor-wrapper {
  margin-top: 56px;
}

/* ================= TITLE SPONSOR WRAPPER ================= */
.title-sponsor-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 550px;
  margin: 0 auto;
  transform: translateY(-20px);
}

.title-sponsor-wrapper .sponsor-card {
  padding: 50px 40px;
  min-height: 360px;
  border-width: 3px;
  border-color: rgba(0,242,255,0.5);
  background: rgba(15, 15, 25, 0.5);
  box-shadow: 
    0 0 40px rgba(0,242,255,0.2),
    0 0 80px rgba(0,242,255,0.1);
}

.title-sponsor-wrapper .sponsor-card::after {
  background: radial-gradient(circle at 50% 50%, 
    rgba(0,242,255,0.12), 
    transparent 70%
  );
  opacity: 0.7;
}

.title-sponsor-wrapper .sponsor-card:hover {
  transform: translateY(-16px) scale(1.03);
  border-color: rgba(0,242,255,0.8);
  box-shadow: 
    0 16px 50px rgba(0,242,255,0.35),
    0 0 0 1px rgba(0,242,255,0.5) inset,
    0 0 100px rgba(0,242,255,0.15);
}

/* ================= ROW SYSTEM (FULL WIDTH) ================= */
.sponsor-row {
  width: 100%;
  display: grid;
  gap: 32px;
  align-items: stretch;
  max-width: 1400px;
  margin: 0 auto;
}

/* CO-SPONSOR - Single centered card */
.sponsor-row.two-col {
  grid-template-columns: 1fr;
  max-width: 600px;
  margin: 0 auto;
  justify-items: center;
}

/* GOLD SPONSORS - 3 columns */
.sponsor-row.three-col {
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* SILVER SPONSORS - 3 columns */
.sponsor-row.four-col {
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* ================= CARD (FULL WIDTH AD PANEL) ================= */
.sponsor-card {
  position: relative;
  width: 100%;
  background: rgba(10, 10, 15, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 2px solid rgba(188,19,254,0.6);
  border-radius: 16px;
  padding: 40px 26px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.sponsor-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, 
    rgba(0,242,255,0.08), 
    transparent 70%
  );
  opacity: 0.5;
  z-index: -1;
  border-radius: 16px;
  transition: opacity 0.4s;
}

/* Title Sponsor - Smaller size */
.title-sponsor-wrapper .sponsor-card {
  padding: 40px 30px;
  min-height: 320px;
  border-width: 3px;
  border-color: rgba(188,19,254,0.8);
}

/* Co-Sponsor Card - Smaller size */
.sponsor-row.two-col .sponsor-card {
  padding: 35px 25px;
  min-height: 300px;
  border-width: 2.5px;
}

/* Gold Cards - Smaller size */
.gold-card {
  padding: 25px 18px;
  min-height: 220px;
  border-color: rgba(188,19,254,0.6);
}

.gold-card::after {
  background: radial-gradient(circle at 50% 50%, 
    rgba(255, 215, 0, 0.08), 
    transparent 70%
  );
}

/* Silver Cards - Smaller size */
.silver-card {
  padding: 20px 15px;
  min-height: 200px;
  border-color: rgba(188,19,254,0.6);
}

.silver-card::after {
  background: radial-gradient(circle at 50% 50%, 
    rgba(192, 192, 192, 0.08), 
    transparent 70%
  );
}

.sponsor-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: rgba(0,242,255,0.6);
  box-shadow: 
    0 12px 40px rgba(0,242,255,0.25),
    0 0 0 1px rgba(0,242,255,0.3) inset;
}

.sponsor-card:hover::after {
  opacity: 0.8;
}

/* Gold card hover with gold shadow */
.gold-card:hover {
  border-color: rgba(255, 215, 0, 0.7);
  box-shadow: 
    0 12px 40px rgba(255, 215, 0, 0.3),
    0 0 0 1px rgba(255, 215, 0, 0.4) inset;
}

/* Silver card hover with silver shadow */
.silver-card:hover {
  border-color: rgba(192, 192, 192, 0.7);
  box-shadow: 
    0 12px 40px rgba(192, 192, 192, 0.3),
    0 0 0 1px rgba(192, 192, 192, 0.4) inset;
}

/* ================= LOGO BOX ================= */
.logo-box {
  width: 150px;
  height: 150px;
  margin: 0 auto 20px;
  padding: 2px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(0,242,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.logo-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Title Sponsor - Logo box */
.title-sponsor-wrapper .logo-box {
  width: 150px;
  height: 150px;
  padding: 2px;
}

/* Co-Sponsor - Logo box */
.sponsor-row.two-col .logo-box {
  width: 130px;
  height: 130px;
  padding: 2px;
}

/* Gold Cards - Logo box */
.gold-card .logo-box {
  width: 110px;
  height: 110px;
  padding: 2px;
}

/* Silver Cards - Logo box */
.silver-card .logo-box {
  width: 95px;
  height: 95px;
  padding: 1px;
}

/* ================= COMPANY NAME ================= */
.sponsor-card h3 {
  font-family: 'Orbitron';
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 3px;
  margin-top: 16px;
  text-transform: uppercase;
  text-shadow: 0 0 10px rgba(0,242,255,0.5);
  color: var(--neon-blue);
}

/* Title Sponsor - Larger text */
.title-sponsor-wrapper .sponsor-card h3 {
  font-size: 1.2rem;
  letter-spacing: 4px;
  margin-top: 24px;
  text-shadow: 0 0 14px rgba(0,242,255,0.7);
}

/* Co-Sponsor - Medium text */
.sponsor-row.two-col .sponsor-card h3 {
  font-size: 1.05rem;
  letter-spacing: 3.5px;
  margin-top: 20px;
}

/* Sponsor Amount */
.sponsor-amount {
  font-family: 'Orbitron';
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-color);
  margin-top: 8px;
  text-shadow: 0 0 8px rgba(255,215,0,0.5);
  letter-spacing: 1px;
}

/* Gold Cards - Medium text with gold color */
.gold-card h3 {
  font-size: 0.95rem;
  color: var(--gold-color);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.6);
}

/* Silver Cards - Smaller text with silver color */
.silver-card h3 {
  font-size: 0.85rem;
  color: var(--silver-color);
  text-shadow: 0 0 8px rgba(192, 192, 192, 0.6);
}

/* Silver Cards - Smaller text with silver color */
.silver-card h3 {
  font-size: 0.85rem;
  color: var(--silver-color);
  text-shadow: 0 0 12px rgba(192, 192, 192, 0.6);
}

/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 1200px) {
  .sponsor-row.three-col,
  .sponsor-row.four-col {
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }
}

@media (max-width: 900px) {
  .sponsor-section {
    padding: 60px 4%;
  }

  .sponsor-row.three-col,
  .sponsor-row.four-col {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .title-sponsor-wrapper {
    max-width: 550px;
  }

  .sponsor-row.two-col {
    max-width: 500px;
  }

  .title-sponsor-wrapper .sponsor-card {
    padding: 50px 35px;
    min-height: 380px;
  }

  .sponsor-row.two-col .sponsor-card {
    padding: 45px 32px;
    min-height: 340px;
  }

  .title-sponsor-wrapper .logo-box {
    width: 200px;
    height: 200px;
  }

  .sponsor-row.two-col .logo-box {
    width: 180px;
    height: 180px;
  }

  .gold-card .logo-box {
    width: 150px;
    height: 150px;
  }

  .silver-card .logo-box {
    width: 130px;
    height: 130px;
  }
}

@media (max-width: 600px) {
  .sponsor-section {
    padding: 50px 3%;
  }

  .sponsor-row.two-col,
  .sponsor-row.three-col,
  .sponsor-row.four-col {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .title-sponsor-wrapper {
    max-width: 100%;
  }

  .sponsor-row.two-col {
    max-width: 100%;
  }

  .title-sponsor-wrapper .sponsor-card {
    padding: 45px 30px;
    min-height: 360px;
  }

  .sponsor-row.two-col .sponsor-card {
    padding: 40px 28px;
    min-height: 320px;
  }

  .gold-card,
  .silver-card {
    padding: 28px 20px;
  }

  .title-sponsor-wrapper .logo-box {
    width: 180px;
    height: 180px;
  }

  .sponsor-row.two-col .logo-box {
    width: 160px;
    height: 160px;
  }

  .gold-card .logo-box,
  .silver-card .logo-box {
    width: 140px;
    height: 140px;
  }

  .sponsor-title {
    font-size: clamp(1.2rem, 5vw, 1.5rem);
    margin-bottom: 40px;
  }
}
  

/* ================= SPONSOR MODAL ================= */
.sponsor-modal {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  animation: fadeIn 0.3s ease;
}

.sponsor-modal-content {
  position: relative;
  background: linear-gradient(
    135deg,
    rgba(10,10,15,0.95) 0%,
    rgba(15,15,20,0.95) 100%
  );
  border: 2px solid rgba(0,242,255,0.5);
  border-radius: 16px;
  padding: 40px;
  max-width: 600px;
  width: 90%;
  box-shadow: 
    0 20px 60px rgba(0,242,255,0.3),
    0 0 0 1px rgba(0,242,255,0.2) inset;
  animation: modalSlideIn 0.4s ease;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

@keyframes modalSlideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: var(--neon-blue);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  text-shadow: 0 0 15px rgba(0,242,255,0.6);
}

.modal-close:hover {
  color: #fff;
  text-shadow: 
    0 0 25px rgba(0,242,255,1),
    0 0 40px rgba(0,242,255,0.5);
  transform: scale(1.1) rotate(90deg);
}

.modal-banner {
  text-align: center;
  margin-bottom: 30px;
}

.modal-banner img {
  max-width: 100%;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 
    0 15px 40px rgba(0,242,255,0.4),
    0 0 0 2px rgba(0,242,255,0.4);
  display: block;
}

.modal-title {
  font-family: 'Orbitron';
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  color: var(--neon-blue);
  text-shadow: 0 0 15px rgba(0,242,255,0.6);
  letter-spacing: 3px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.modal-description {
  font-family: 'Rajdhani';
  font-size: 1.1rem;
  text-align: center;
  color: rgba(255,255,255,0.85);
  line-height: 1.8;
  margin-bottom: 30px;
  letter-spacing: 1px;
}

.modal-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.modal-btn {
  font-family: 'Orbitron';
  font-size: 0.9rem;
  font-weight: 600;
  padding: 14px 32px;
  background: linear-gradient(135deg, rgba(0,242,255,0.1), rgba(188,19,254,0.1));
  border: 2px solid var(--neon-blue);
  border-radius: 8px;
  color: var(--neon-blue);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 5px 15px rgba(0,242,255,0.2);
}

.modal-btn:hover {
  background: rgba(0,242,255,0.2);
  box-shadow: 
    0 8px 25px rgba(0,242,255,0.4),
    0 0 0 1px rgba(0,242,255,0.3) inset;
  transform: translateY(-3px);
  text-shadow: 0 0 10px rgba(0,242,255,0.8);
}

.modal-btn i {
  font-size: 1.1rem;
}

@media (max-width: 600px) {
  .sponsor-modal-content {
    padding: 30px 20px;
  }
  
  .modal-title {
    font-size: 1.4rem;
  }
  
  .modal-description {
    font-size: 1rem;
  }
  
  .modal-banner img {
    max-width: 180px;
  }
}

/* ================= ANIMATIONS ================= */
@keyframes gridMove {
  from { background-position: 0 0; }
  to { background-position: 800px 800px; }
}
