/* Minimal, clean styles (no framework) */
:root{
  --bg:#0e0f12;
  --card:#16181d;
  --ink:#e9ecf1;
  --muted:#a7b0be;
  --brand:#42ff9e;
  --brand-ink:#0a1f16;
  --accent:#5fd1ff;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0;background:var(--bg);color:var(--ink);font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,"Helvetica Neue",sans-serif}
a{color:var(--accent);text-decoration:none}
a:hover{text-decoration:underline}
.container{max-width:1100px;margin:0 auto;padding:24px}

/* Header & Footer */
.site-header,.site-footer{background:rgba(255,255,255,0.03);backdrop-filter:saturate(140%) blur(6px);position:sticky;top:0;z-index:50}
.site-footer{position:static;border-top:1px solid #1f232b}
.row{display:flex;gap:16px;flex-wrap:wrap}
.center{align-items:center}
.between{justify-content:space-between}

/* Brand (header logo + wordmark) */
.brand{display:flex;gap:12px;align-items:center;font-weight:600;color:var(--ink)}
.brand .logo{
  height:90px;            /* adjust between 80–100px as desired */
  width:auto;
  margin-right:12px;
  vertical-align:middle;
}
@media (max-width:768px){
  .brand .logo{height:70px}
}

.nav a{margin-left:16px;color:var(--ink);opacity:0.9}
.nav a:hover{opacity:1}

/* Hero */
.hero{
  padding:80px 0 40px;
  background:
    radial-gradient(600px 200px at 20% -10%, rgba(95,209,255,0.25), transparent),
    radial-gradient(600px 200px at 80% -10%, rgba(66,255,158,0.22), transparent)
}
.hero h1{font-size:2.6rem;line-height:1.15;margin:0 0 12px}
.hero p{max-width:800px;margin:0 0 24px;color:var(--muted)}
.cta-row{display:flex;gap:12px;flex-wrap:wrap}

/* Buttons */
.btn{display:inline-block;padding:12px 16px;border-radius:10px;background:var(--brand);color:var(--brand-ink);font-weight:700;border:1px solid rgba(0,0,0,0.1)}
.btn.ghost{background:transparent;border-color:#2a2f39;color:var(--ink)}

/* Sections */
.section{padding:56px 0}
.section.alt{background:#0f1218;border-top:1px solid #1b2029;border-bottom:1px solid #1b2029}
.section h2{margin:0 0 12px}
.section p{color:var(--muted)}

/* Lists */
.bullets{padding-left:18px}
.bullets li{margin-bottom:6px}

/* Cards */
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px}
.card{background:var(--card);border:1px solid #1f232b;border-radius:12px;padding:18px}
.card h3{margin:0 0 4px}
.card .meta{color:var(--muted);font-size:0.9rem}
.card .actions{margin-top:10px;display:flex;gap:10px}

/* Skeletons */
.skeleton{background:#202632;border-radius:8px}
.skeleton.title{height:20px;width:70%;margin-bottom:10px}
.skeleton.body{height:60px;width:100%}

/* Pricing tiers (sponsor levels) */
.tiers{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr));
  gap:16px;
  margin-top:12px;
  margin-bottom:20px; /* ensures space above the buttons */
}
.tier{
  background:var(--card);
  border:1px solid #1f232b;
  border-radius:12px;
  padding:18px;
}
.tier h3{
  margin:0 0 8px;
}
.tier.featured{
  outline:2px solid var(--brand);
}

/* Hide any old price lines */
.tier .price{ display:none; }

/* Bullet points inside tiers */
.tier-points{
  list-style:disc;
  margin:8px 0 0 18px;
  padding:0;
  color:var(--ink);
}
.tier-points li{
  margin:6px 0;
  line-height:1.45;
  word-break:break-word; /* prevents long items from crowding */
}

/* Extra spacing between tiers and the buttons row */
#sponsor .cta-row{ margin-top:16px; }

/* Contact footer */
.contact-list{list-style:none;padding:0;margin:0}
.contact-list li{margin:6px 0}
.more{margin-top:12px}
.site-footer small{color:var(--muted)}

/* --- Hero layout: logo left, text right --- */
.hero-flex{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between; /* side-by-side on desktop */
  gap:40px;
  text-align:left;
}
.hero-logo{flex-shrink:0}
.hero-text{flex:1;max-width:600px}

@media (max-width:768px){
  .hero-flex{flex-direction:column;text-align:center}
}

/* --- Hero logo (size + animation) --- */
.hero-logo img{
  max-width:300px;          /* desktop size */
  width:100%;
  height:auto;
  opacity:0;
  transform:translateY(20px);
  animation:logoFadeIn 1.2s ease-out forwards;
  filter:drop-shadow(0 2px 6px rgba(0,0,0,0.3));
}
@media (max-width:768px){
  .hero-logo img{
    max-width:160px;        /* mobile size */
    animation:logoFadeIn 1s ease-out forwards;
  }
}
@keyframes logoFadeIn{
  0%{opacity:0;transform:translateY(20px)}
  60%{opacity:1;transform:translateY(-5px)}
  100%{opacity:1;transform:translateY(0)}
}

/* --- Reduce motion preference --- */
@media (prefers-reduced-motion:reduce){
  .hero-logo img,.hero-text{
    animation:none!important;
    opacity:1!important;
    transform:none!important;
  }
}

/* Carousel */
.carousel{position:relative;margin-top:8px}
.slider{
  display:grid;
  grid-auto-flow:column;
  grid-auto-columns:minmax(280px,1fr);
  gap:16px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  padding-bottom:8px;
}
.slide{scroll-snap-align:start}
.slider::-webkit-scrollbar{height:8px}
.slider::-webkit-scrollbar-thumb{background:#202632;border-radius:8px}
.slider-controls{position:absolute;top:-42px;right:0;display:flex;gap:8px}

/* Event images */
.card-image{width:100%;overflow:hidden;border-radius:10px;margin-bottom:10px}
.card-image img{
  width:100%;
  height:180px;
  object-fit:cover;
  display:block;
  border-radius:10px;
}

/* Carousel slide images */
.slide img{
  width:100%;
  height:200px;
  object-fit:cover;
  border-radius:12px;
  margin-bottom:10px;
}

/* Active nav state */
.nav a.active{font-weight:600;color:#42ff9e;text-decoration:none}
.nav a.active::after{
  content:"";
  display:inline-block;
  vertical-align:middle;
  width:6px;height:6px;margin-left:6px;
  border-radius:50%;
  background:#42ff9e;
}

/* Sponsors & Partners */
.logo-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:40px;
  align-items:center;
  justify-items:center;
  margin-top:32px;
}
.logo-grid img{
  max-width:300px;
  max-height:150px;
  width:auto;
  height:auto;
  object-fit:contain;
  opacity:0.95;
  transition:transform .3s ease,opacity .3s ease;
  filter:drop-shadow(0 1px 3px rgba(0,0,0,0.25));
}
.logo-grid a:hover img{transform:scale(1.08);opacity:1}

/* Footer venue partners */
.footer-heading {
  font-size: 1.2rem;
  margin-bottom: 16px;
  color: var(--ink);
  text-align: center;
}

.venue-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  justify-items: center;
  align-items: center;
  margin-bottom: 32px;
}

.venue-grid img {
  max-width: 200px;
  max-height: 100px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.95;
  transition: transform 0.3s ease, opacity 0.3s ease;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.25));
}

.venue-grid a:hover img {
  transform: scale(1.08);
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid #1f232b;
  padding-top: 16px;
  margin-top: 24px;
}

/* Venue logos: grayscale → color hover effect */
.venue-grid img {
  filter: grayscale(100%) drop-shadow(0 1px 3px rgba(0, 0, 0, 0.25));
  transition: filter 0.4s ease, transform 0.3s ease, opacity 0.3s ease;
}

.venue-grid a:hover img {
  filter: grayscale(0%) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
  transform: scale(1.08);
  opacity: 1;
}

.venue-grid img {
  background: rgba(255,255,255,0.02);
  border-radius: 8px;
  padding: 6px;
}

/* Footer spacing polish */
.site-footer .container {
  padding-top: 32px;
  padding-bottom: 32px;
}

.footer-heading { margin-bottom: 16px; }

.venue-grid { margin-bottom: 28px; }

.footer-bottom {
  border-top: 1px solid #1f232b;
  padding-top: 16px;
  margin-top: 20px;
}

@media (max-width: 768px) {
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}


/* YouTube carousel styles */
.yt-slide .yt-frame{
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  border-radius: 12px;
  overflow: hidden;
  background: #000;
  margin-bottom: 8px;
}
.yt-slide .yt-frame iframe{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* --- Responsive logo grids (sponsors/partners/venues) --- */

/* Base: slightly smaller columns + tighter gaps for better wrap */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  align-items: center;
  justify-items: center;
}

/* Make each cell a flex box so the logo is centered and never overflows */
.logo-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;                 /* breathing room so logos don't touch edges */
  width: 100%;
  min-height: 110px;            /* consistent row height prevents overlaps */
  border-radius: 10px;          /* subtle polish */
}

/* Logos scale down cleanly, never overflow their box */
.logo-grid img {
  display: block;
  max-width: 220px;
  max-height: 110px;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* Mobile: 2 columns, smaller logos, tighter gaps */
@media (max-width: 640px) {
  .logo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }
  .logo-grid a {
    min-height: 90px;
    padding: 6px;
  }
  .logo-grid img {
    max-width: 150px;
    max-height: 70px;
  }
}

/* Very narrow phones: 1 column, center everything */
@media (max-width: 400px) {
  .logo-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .logo-grid a {
    min-height: 80px;
  }
  .logo-grid img {
    max-width: 180px; /* room to breathe in single column */
    max-height: 80px;
    margin: 0 auto;
  }
}
