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

body, html { 
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  scroll-behavior: smooth; 
  line-height: 1.6;
  background:  #0a0a0a; /* your site background */
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: #ffffff;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE 10+ */
}

body::-webkit-scrollbar {
    width: 0px;
    background: transparent;
}

/* ================= MAIN CONTAINER ================= */
.main-container {
  width: 100%;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* ================= HEADER ================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1em 2vw; 
  background: rgba(10, 10, 10, .35);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  color: #ffffff;
  font-size: clamp(1rem, 1.2vw, 1.5rem);
  font-weight: 700;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.4s ease;
  height: clamp(60px, 10vh, 100px);
}

@media (max-width: 768px) {
  header {
    padding: 0.75em 6vw;
    font-size: 1.1rem;
    height: 60px;
  }
}

header.scrolled {
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.logo-btn img {
  max-width: 200px;
  height: auto;
  display: block;
}

.logo-btn {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  width: 100%;
}

.logo-btn img {
  display: block;
  width: 55%;
  height: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 45px;
  list-style: none;
  font-size: 1rem;
  font-weight: 500;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  padding: 8px 0;
}

.nav-links a:hover {
  color: #ffffff;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background: linear-gradient(90deg, #00d4ff, #0099cc);
  transition: width 0.3s ease;
}

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

/* Parent dropdown container */
.nav-links li {
  position: relative;
}



/* Dropdown menu styling */
.teams-dropdown {
  position: absolute;
  top: 100%;                /* start just below the header */
  left: 0;
  min-width: 100px;          /* width of dropdown */
  margin-top: 15px;           /* small gap for visual separation */
  background: linear-gradient(
    180deg,
    rgba(10, 10, 10, 0.45) 0%,
    rgba(10, 10, 10, 0.6) 100%
  );                          /* subtle gradient for depth */
  backdrop-filter: blur(30px) saturate(180%);
  -webkit-backdrop-filter: blur(30px) saturate(180%);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 0 0 12px 12px; /* rounded bottom corners */
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
  list-style: none;
  padding: 10px 0;
  
  opacity: 0;                 /* hidden initially */
  transform: translateY(-100px); /* start slightly above */
  pointer-events: none;       /* disable interactions when hidden */
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: -2;
}

/* Dropdown items */
.teams-dropdown li {
  padding: 0;
}

.teams-dropdown a {
  display: block;
  padding: 10px 20px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease;
  white-space: nowrap;
  text-align: center;
}

.teams-dropdown a:hover {
  background: rgba(0, 212, 255, 0.15);
  color: #fff;
}

.nav-links li:hover > .teams-dropdown,
.nav-links li > .teams-dropdown:hover {
  opacity: 1;
  transform: translateY(-10px) translateX(-25px);
  pointer-events: auto;
}

main-container {
  width: 100%;
  overflow-x: hidden;
}

/* HERO */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 50vh;  /* takes half the viewport height */
  max-height: 60vh;  /* but not too tall */
  overflow: hidden;
  margin-bottom: 90px;
}

.hero-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateY(-100px);
}


.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.4);
}

.hero-overlay h1 {
  font-family: 'Staatliches', sans-serif;
  font-size: 3rem;
  color: #fff;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.8);
}

.sponsors-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.sponsor {
  flex: 0 1 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  transform: rotate(var(--tilt, 0deg)) translateY(var(--lift, 0px));
  transition: transform 0.3s ease;
}

.sponsor img {
  max-width: 350px;
  background: #111;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

.sponsor.light-bg img {
  background: #fff;
  padding: 12px;
  border-radius: 10px;
}

