/* ============================================
   DCG PANAMA — SPONSORS PAGE
   Concept: Exchange / Market Terminal
   Sponsors displayed as traded assets / stocks
============================================ */

:root {
  --platinum-color: #e7e7e7;
  --platinum-glow: rgba(230, 230, 230, 0.3);
  --gold-color: #ffb300;
  --gold-glow: rgba(255, 179, 0, 0.404);
  --silver-color: #949494;
  --silver-glow: rgba(141, 141, 141, 0.2);
  --infra-color: #00e5ff;
  --infra-glow: rgba(0,229,255,0.2);
}

/* ---- Page Header ---- */
.sponsors-header {
  padding: 6rem 2rem 2rem;
  text-align: center;
}

.sponsors-header-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--red-dim);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.sponsors-header h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--white);
  letter-spacing: 4px;
  text-transform: uppercase;
}

.sponsors-header h1 span {
  color: var(--red-primary);
  text-shadow: 0 0 15px var(--red-glow);
}

.sponsors-header-sub {
  font-family: var(--font-retro);
  font-size: 1.1rem;
  color: var(--white-dim);
  letter-spacing: 2px;
  margin-top: 1rem;
}

/* ---- Ticker tape ---- */
.ticker-wrap {
  overflow: hidden;
  background: #e7e7e7;
  border-top: 1px solid #ff0000;
  border-bottom: 1px solid #ff0000;
  padding: 0.5rem 0;
  margin: 2rem 0 0;
  white-space: nowrap;
}

.ticker-inner {
  display: inline-block;
  animation: tickerScroll 70s linear infinite;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #242424;
  letter-spacing: 2px;
}

.ticker-inner span {
  margin: 0 2rem;
}

.ticker-inner .ticker-up   { color: #004400; }
.ticker-inner .ticker-down { color: var(--red-dark); }
.ticker-inner .ticker-sym  { color: #1a1a1a; margin-right: 0.3rem; }

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

/* ---- Active Sponsors Section ---- */
.sponsors-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
}

.section-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--red-dim);
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-label::before {
  content: '//';
  color: var(--red-primary);
  text-shadow: 0 0 8px var(--red-glow);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-bar {
  width: 50px;
  height: 2px;
  background: var(--red-primary);
  box-shadow: 0 0 8px var(--red-glow);
  margin-bottom: 2rem;
}

/* ---- Empty State ---- */
.sponsors-empty-state {
  border: 1px solid #74747434;
  background: #1f1f1f;
  padding: 4rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.sponsors-empty-state::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 50px,
    rgba(255,0,0,0.01) 10px,
    rgba(255,0,0,0.01) 11px
  );
}

.empty-icon {
  font-family: var(--font-retro);
  font-size: 3rem;
  color: #7c7c7c;
  display: block;
  margin-bottom: 1rem;
  letter-spacing: 4px;
}

.empty-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #8b8b8b;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.empty-sub {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #747474;
  letter-spacing: 2px;
}

/* Tier placeholders */
.tier-placeholder-row {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1px;
  background: #222222;
  margin-top: 2px;
}

.tier-slot {
  background: #161616;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  min-height: 120px;
  justify-content: center;
}

.tier-slot::after {
  content: attr(data-tier);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0.08;
}

.tier-slot.platinum::after { color: var(--platinum-color); }
.tier-slot.gold::after     { color: var(--gold-color); }
.tier-slot.silver::after   { color: var(--silver-color); }
.tier-slot.infra::after    { color: var(--infra-color); }

.slot-label {
  font-family: var(--font-mono);
  font-size: 0.55rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  opacity: 0.60;
}

.slot-label.platinum { color: var(--platinum-color); }
.slot-label.gold     { color: var(--gold-color); }
.slot-label.silver   { color: var(--silver-color); }
.slot-label.infra    { color: var(--infra-color); }

.slot-placeholder {
  width: 120px;
  height: 40px;
  border: 1px dashed;
  opacity: 0.08;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slot-placeholder.platinum { border-color: var(--platinum-color); }
.slot-placeholder.gold     { border-color: var(--gold-color); }
.slot-placeholder.silver   { border-color: var(--silver-color); }
.slot-placeholder.infra    { border-color: var(--infra-color); }

/* ---- Info / Sponsorship Package Section ---- */
.info-section {
  max-width: 1100px;
  margin: 2rem auto 0;
  padding: 2rem;
}

/* Why sponsor — terminal block */
.why-terminal {
  background: #181818;
  border: 1px solid #1a1a1a;
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.terminal-topbar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 1.5rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid #111;
}

.tbar-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1a1a1a;
}

.tbar-dot:nth-child(1) { background: #3a0000; }
.tbar-dot:nth-child(2) { background: #2a2a00; }
.tbar-dot:nth-child(3) { background: #002a00; }

.tbar-title {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #ffffff;
  letter-spacing: 2px;
  margin-left: 0.5rem;
}

.terminal-line {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 2;
  margin-bottom: 0.3rem;
}

.terminal-line .prompt { color: var(--red-primary); margin-right: 0.5rem; }
.terminal-line .cmd    { color: #ffffff; }
.terminal-line .out    { color: #838383; padding-left: 1.2rem; display: block; line-height: 1.8; }
.terminal-line .out.highlight { color: #df0000; }

/* ---- Tier Cards ---- */
.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1px;
  background: #131313;
  margin-bottom: 2rem;
}

.tier-card {
  background: var(--unit-bg, #111111);
  padding: 1.8rem 1.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s ease;
}

.tier-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 2px;
  transition: opacity 0.3s ease;
}

.tier-card.platinum::before { background: linear-gradient(to right, transparent, var(--platinum-color), transparent); }
.tier-card.gold::before     { background: linear-gradient(to right, transparent, var(--gold-color), transparent); }
.tier-card.silver::before   { background: linear-gradient(to right, transparent, var(--silver-color), transparent); }
.tier-card.infra::before    { background: linear-gradient(to right, transparent, var(--infra-color), transparent); }

.tier-card:hover { background: #0a0a0a; }

.tier-badge {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  display: inline-block;
  padding: 3px 10px;
  border: 1px solid;
  margin-bottom: 1rem;
}

.tier-card.platinum .tier-badge { color: var(--platinum-color); border-color: var(--platinum-color); box-shadow: 0 0 8px var(--platinum-glow); }
.tier-card.gold     .tier-badge { color: var(--gold-color);     border-color: var(--gold-color);     box-shadow: 0 0 8px var(--gold-glow); }
.tier-card.silver   .tier-badge { color: var(--silver-color);   border-color: var(--silver-color); }
.tier-card.infra    .tier-badge { color: var(--infra-color);    border-color: var(--infra-color);    box-shadow: 0 0 8px var(--infra-glow); }

.tier-price {
  font-family: var(--font-retro);
  font-size: 2rem;
  display: block;
  margin-bottom: 0.3rem;
  line-height: 1;
}

.tier-card.platinum .tier-price { color: var(--platinum-color); text-shadow: 0 0 10px var(--platinum-glow); }
.tier-card.gold     .tier-price { color: var(--gold-color);     text-shadow: 0 0 10px var(--gold-glow); }
.tier-card.silver   .tier-price { color: var(--silver-color); }
.tier-card.infra    .tier-price { color: var(--infra-color);    text-shadow: 0 0 10px var(--infra-glow); }

.tier-period {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: #cfcfcf;
  letter-spacing: 2px;
  display: block;
  margin-bottom: 1.2rem;
}

.tier-desc {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #9c9c9c;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.tier-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.tier-features li {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: #666666;
  letter-spacing: 1px;
  line-height: 1.5;
  display: flex;
  gap: 0.5rem;
}

.tier-features li::before {
  content: '>';
  flex-shrink: 0;
}

.tier-card.platinum .tier-features li::before { color: var(--platinum-color); opacity: 0.5; }
.tier-card.gold     .tier-features li::before { color: var(--gold-color);     opacity: 0.5; }
.tier-card.silver   .tier-features li::before { color: var(--silver-color);   opacity: 0.5; }
.tier-card.infra    .tier-features li::before { color: var(--infra-color);    opacity: 0.5; }

/* ---- What sponsorship enables ---- */
.enables-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: #0e0e0e;
  margin-bottom: 2rem;
}

.enable-item {
  background: #050505;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.enable-icon {
  font-size: 1.3rem;
  display: block;
}

.enable-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--red-dim);
  letter-spacing: 1px;
}

.enable-desc {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  color: #a0a0a0;
  line-height: 1.6;
}

/* ---- CTA / Contact ---- */
.sponsor-cta {
  border: 1px solid #1a1a1a;
  background: #030303;
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  margin-bottom: 3rem;
}

.sponsor-cta::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--red-primary), transparent);
}

.sponsor-cta::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--red-primary), transparent);
}

.cta-headline {
  font-family: var(--font-retro);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--white);
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
}

.cta-sub {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: #838383;
  letter-spacing: 2px;
  margin-bottom: 2rem;
}

.contact-block {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid #1a1a1a;
  padding: 1.2rem 2rem;
  margin-bottom: 2rem;
}

.contact-row {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.contact-key { color: #666666; }
.contact-val { color: var(--red-dim); text-decoration: none; transition: color 0.3s ease; }
.contact-val:hover { color: var(--red-primary); text-shadow: 0 0 6px var(--red-glow); }

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-btn-primary {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--red-primary);
  border: 1px solid var(--red-primary);
  padding: 10px 28px;
  text-decoration: none;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.cta-btn-primary:hover {
  background: var(--red-primary);
  color: #000;
  box-shadow: 0 0 20px var(--red-glow);
}

.cta-btn-secondary {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #707070;
  border: 1px solid #1a1a1a;
  padding: 10px 28px;
  text-decoration: none;
  letter-spacing: 3px;
  text-transform: uppercase;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.cta-btn-secondary:hover {
  color: var(--white-dim);
  border-color: #474747;
}

/* ---- Responsive ---- */

/* Tablet (≤ 900px) */
@media (max-width: 900px) {
  .sponsors-section,
  .info-section {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .tiers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .tier-placeholder-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .enables-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile (≤ 600px) */
@media (max-width: 600px) {

  /* Header */
  .sponsors-header {
    padding: 5rem 1.2rem 1.5rem;
  }

  .sponsors-header-sub {
    font-size: 0.9rem;
    letter-spacing: 1px;
  }

  /* Sections */
  .sponsors-section,
  .info-section {
    padding: 2.5rem 1rem 1rem;
  }

  /* Tier sponsor rows — single column on small phones */
  .tier-placeholder-row {
    grid-template-columns: 1fr;
  }

  /* Active sponsor slots — more breathing room */
  .tier-slot {
    padding: 1.8rem 1.2rem;
    min-height: 100px;
  }

  /* Slot logo — scale down to fit */
  .tier-slot img {
    max-width: 130px !important;
    max-height: 50px !important;
  }

  /* Tier info cards — single column */
  .tiers-grid {
    grid-template-columns: 1fr;
  }

  .tier-card {
    padding: 1.4rem 1.2rem;
  }

  .tier-price {
    font-size: 1.6rem;
  }

  /* What sponsorship enables — single column */
  .enables-grid {
    grid-template-columns: 1fr;
  }

  .enable-item {
    padding: 1.2rem 1rem;
  }

  /* Why terminal block */
  .why-terminal {
    padding: 1.4rem 1rem;
  }

  .terminal-line {
    font-size: 0.72rem;
  }

  /* CTA block */
  .sponsor-cta {
    padding: 2rem 1rem;
  }

  .cta-headline {
    font-size: clamp(1.1rem, 5vw, 1.6rem);
  }

  .cta-sub {
    font-size: 0.65rem;
    letter-spacing: 1px;
  }

  .contact-block {
    padding: 1rem 1.2rem;
    width: 100%;
    box-sizing: border-box;
  }

  .contact-row {
    font-size: 0.65rem;
  }

  .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .cta-btn-primary,
  .cta-btn-secondary {
    width: 100%;
    max-width: 280px;
    text-align: center;
    padding: 12px 16px;
    font-size: 0.72rem;
    letter-spacing: 2px;
    box-sizing: border-box;
  }

  /* Ticker font size */
  .ticker-inner {
    font-size: 0.6rem;
  }
}