/* ===============================================
   INDUS CUP 2K26 - LAYOUT STYLESHEET
   CSS Grid, Flexbox Layouts & Component Structure
   =============================================== */

/* ===============================================
   LOGO PLACEHOLDERS
   =============================================== */

.logo__placeholder, .hero__logo-placeholder {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-color), #FF6F00);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    position: relative;
    overflow: hidden;
}

.logo__placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.2), transparent);
    border-radius: 50%;
}

.logo__initial, .hero__logo-initial {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: bold;
    color: white;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero__logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0 15px;
}

.hero__logo-name {
    font-size: 0.7rem;
    color: white;
    font-weight: 600;
    margin-top: 5px;
    text-align: center;
}

/* ===============================================
   HEADER & NAVIGATION LAYOUT
   =============================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(27, 59, 115, 0.1);
  z-index: var(--z-fixed);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform, box-shadow;
}

.header--scrolled {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: translateY(0);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) 0;
  min-height: 70px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  flex-shrink: 0;
}

.logo__group {
  display: flex;
  gap: var(--space-xs);
  align-items: center;
}

.logo__img {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.nav__logo-img {
  height: 40px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-base);
  flex-shrink: 0;
}

.nav__logo-img:hover {
  transform: scale(1.05);
}

/* Responsive logo sizing using clamp for smooth scaling */
@media screen and (max-width: 1400px) {
  .nav__logo-img {
    height: clamp(22px, 3vw, 40px);
  }
}

.logo__text {
  font-family: var(--font-primary);
  font-size: var(--fs-h4);
  color: var(--primary-color);
  font-weight: var(--fw-bold);
}

.nav__list {
  display: none;
  gap: var(--space-lg);
}

/* Mobile Navigation List */
.nav__list--mobile {
  position: fixed;
  top: 70px;
  right: 0;
  width: 280px;
  max-width: 85vw;
  height: auto;
  max-height: calc(100vh - 90px);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: -4px 4px 20px rgba(0, 0, 0, 0.15);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  padding: var(--space-lg) var(--space-md);
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  gap: var(--space-sm);
  transform: translateX(100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: var(--z-dropdown);
  overflow-y: auto;
  overflow-x: hidden;
  border-left: 3px solid var(--primary-color);
}

.nav__list--mobile.nav__list--visible {
  display: flex;
  transform: translateX(0);
  opacity: 1;
  visibility: visible;
}

.nav__list--mobile .nav__item {
  width: 100%;
  text-align: left;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Hide items initially */
.nav__list--mobile:not(.nav__list--visible) .nav__item {
  opacity: 0;
  transform: translateX(20px);
  transition: none;
}

/* Staggered animation when menu opens */
.nav__list--mobile.nav__list--visible .nav__item {
  opacity: 1;
  transform: translateX(0);
}

.nav__list--mobile.nav__list--visible .nav__item:nth-child(1) {
  transition-delay: 0.1s;
}

.nav__list--mobile.nav__list--visible .nav__item:nth-child(2) {
  transition-delay: 0.15s;
}

.nav__list--mobile.nav__list--visible .nav__item:nth-child(3) {
  transition-delay: 0.2s;
}

.nav__list--mobile.nav__list--visible .nav__item:nth-child(4) {
  transition-delay: 0.25s;
}

.nav__list--mobile.nav__list--visible .nav__item:nth-child(5) {
  transition-delay: 0.3s;
}

.nav__list--mobile.nav__list--visible .nav__item:nth-child(6) {
  transition-delay: 0.35s;
}

.nav__list--mobile .nav__link {
  display: block;
  padding: var(--space-md) var(--space-sm);
  font-size: var(--fs-body);
  font-family: 'Poppins', var(--font-secondary);
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-md);
  width: 100%;
  transition: all 0.2s ease;
  border-bottom: none;
  color: var(--gray-800);
}

.nav__list--mobile .nav__link:hover,
.nav__list--mobile .nav__link--active {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: var(--white);
  transform: translateX(5px);
  box-shadow: var(--shadow-md);
}

.nav__link {
  font-family: var(--font-secondary);
  font-weight: var(--fw-medium);
  color: var(--gray-700);
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  text-decoration: none;
}

.nav__link:hover,
.nav__link--active {
  color: var(--primary-color);
  transform: translateY(-2px);
}

.nav__link--active::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: var(--radius-sm);
}

/* Mobile Navigation Toggle */
.nav__toggle {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 40px;
  height: 36px;
  cursor: pointer;
  padding: var(--space-sm);
  border-radius: var(--radius-md);
  transition: background-color var(--transition-base);
  overflow: hidden;
}

.nav__toggle:hover {
  background-color: rgba(27, 59, 115, 0.1);
}

.nav__toggle-line {
  display: block;
  position: absolute;
  height: 4px;
  width: 50%;
  background: var(--primary-color);
  opacity: 1;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
  border-radius: 4px;
}

/* Even spans (right half) */
.nav__toggle-line:nth-child(even) {
  left: 50%;
  border-radius: 0 4px 4px 0;
}

/* Odd spans (left half) */
.nav__toggle-line:nth-child(odd) {
  left: 0;
  border-radius: 4px 0 0 4px;
}

/* Position for each pair */
.nav__toggle-line:nth-child(1),
.nav__toggle-line:nth-child(2) {
  top: 8px;
}

.nav__toggle-line:nth-child(3),
.nav__toggle-line:nth-child(4) {
  top: 18px;
}

.nav__toggle-line:nth-child(5),
.nav__toggle-line:nth-child(6) {
  top: 28px;
}

/* Active/Open state - X formation */
.nav__toggle--active .nav__toggle-line:nth-child(1),
.nav__toggle--active .nav__toggle-line:nth-child(6) {
  transform: rotate(45deg);
}

.nav__toggle--active .nav__toggle-line:nth-child(2),
.nav__toggle--active .nav__toggle-line:nth-child(5) {
  transform: rotate(-45deg);
}

.nav__toggle--active .nav__toggle-line:nth-child(1) {
  left: 5px;
  top: 10px;
}

.nav__toggle--active .nav__toggle-line:nth-child(2) {
  left: calc(50% - 5px);
  top: 10px;
}

.nav__toggle--active .nav__toggle-line:nth-child(3) {
  left: -100%;
  opacity: 0;
  visibility: hidden;
}

.nav__toggle--active .nav__toggle-line:nth-child(4) {
  left: 150%;
  opacity: 0;
  visibility: hidden;
}

.nav__toggle--active .nav__toggle-line:nth-child(5) {
  left: 5px;
  top: 22px;
}

.nav__toggle--active .nav__toggle-line:nth-child(6) {
  left: calc(50% - 5px);
  top: 22px;
}

/* Mobile Menu Backdrop Overlay */
.nav__backdrop {
  position: fixed;
  top: 70px;
  left: 0;
  width: 100%;
  height: calc(100vh - 70px);
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(2px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: calc(var(--z-dropdown) - 1);
}

.nav__backdrop--visible {
  opacity: 1;
  visibility: visible;
}

/* ===============================================
   HERO SECTION LAYOUT
   =============================================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--gradient-hero);
  color: var(--white);
  position: relative;
  overflow: hidden;
  padding-top: 70px; /* Account for fixed header */
}

.hero__container {
  position: relative;
  z-index: 2;
}

.hero__content {
  text-align: center;
  max-width: 800px;
  margin: 108px auto;
  position: relative;
  z-index: 10;
}

.hero__title {
  font-family: var(--font-primary);
  font-size: var(--fs-hero);
  font-weight: normal;
  line-height: 0.9;
  margin-bottom: var(--space-md);
  text-shadow: 4px 4px 0px rgba(0, 0, 0, 0.9), 
               6px 6px 15px rgba(0, 0, 0, 0.7),
               0 0 40px rgba(255, 164, 27, 0.4);
  position: relative;
  z-index: 20;
  letter-spacing: 0.05em;
  transform: skewY(-1deg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.hero__title-main {
    display: block;
    margin-bottom: 10px;
    color: var(--white);
    font-weight: normal;
    text-transform: uppercase;
    filter: drop-shadow(3px 2px 2px rgba(0, 0, 0, 0.6));
    letter-spacing: 0.08em;
}

.hero__title-year {
  display: block;
  color: var(--accent-start);
  font-size: 0.9em;
  margin-top: 0;
  font-weight: normal;
  text-shadow: 4px 4px 0px rgba(0, 0, 0, 0.9),
               6px 6px 15px rgba(0, 0, 0, 0.7),
               0 0 30px rgba(255, 164, 27, 0.6);
  filter: drop-shadow(0 0 15px rgba(255, 164, 27, 0.7));
  letter-spacing: 0.08em;
}

.hero__subtitle {
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-lg);
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--secondary-color);
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7),
               0 0 15px rgba(230, 57, 70, 0.4);
  position: relative;
  z-index: 20;
  font-family: var(--font-secondary);
}

.hero__dates {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
  font-size: var(--fs-h3);
  font-weight: var(--fw-bold);
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
  position: relative;
  z-index: 20;
}

.hero__date-range {
  color: var(--accent-start);
}

.hero__year {
  color: var(--white);
}

.hero__cta {
  margin-top: var(--space-xl);
  position: relative;
  z-index: 20;
}

/* Hero Decorative Elements */
.hero__decorations {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

/* Geometric Shapes */
.hero__shape {
  position: absolute;
  opacity: 0.15;
  z-index: 1;
}

.hero__shape--circle-1 {
  width: 300px;
  height: 300px;
  border: 3px solid var(--secondary-color);
  border-radius: 50%;
  top: -100px;
  right: -50px;
  animation: float-rotate 20s infinite ease-in-out;
}

.hero__shape--circle-2 {
  width: 200px;
  height: 200px;
  border: 3px solid var(--accent-start);
  border-radius: 50%;
  bottom: -50px;
  left: -30px;
  animation: float-rotate 15s infinite ease-in-out reverse;
}

.hero__shape--triangle-1 {
  width: 0;
  height: 0;
  border-left: 100px solid transparent;
  border-right: 100px solid transparent;
  border-bottom: 173px solid rgba(247, 184, 1, 0.2);
  top: 15%;
  left: 10%;
  animation: float-pulse 8s infinite ease-in-out;
}

.hero__shape--triangle-2 {
  width: 0;
  height: 0;
  border-left: 80px solid transparent;
  border-right: 80px solid transparent;
  border-bottom: 138px solid rgba(230, 57, 70, 0.2);
  bottom: 20%;
  right: 15%;
  animation: float-pulse 10s infinite ease-in-out reverse;
}

.hero__shape--line-1 {
  width: 150px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--secondary-color), transparent);
  top: 30%;
  right: 5%;
  animation: line-slide 5s infinite ease-in-out;
}

.hero__shape--line-2 {
  width: 200px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-start), transparent);
  bottom: 35%;
  left: 5%;
  animation: line-slide 6s infinite ease-in-out reverse;
}

/* Sports Icons */
.hero__icon {
  position: absolute;
  font-size: 3rem;
  opacity: 0.25;
  z-index: 1;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.hero__icon--basketball {
  top: 12%;
  right: 8%;
  animation: bounce-icon 3s infinite ease-in-out;
}

.hero__icon--football {
  top: 60%;
  left: 5%;
  animation: bounce-icon 4s infinite ease-in-out 0.5s;
}

.hero__icon--cricket {
  top: 25%;
  left: 12%;
  animation: bounce-icon 3.5s infinite ease-in-out 1s;
}

.hero__icon--trophy {
  bottom: 15%;
  right: 10%;
  animation: pulse-glow 2s infinite ease-in-out;
  opacity: 0.3;
}

.hero__icon--medal {
  top: 45%;
  right: 5%;
  animation: swing 3s infinite ease-in-out;
}

.hero__icon--fire {
  bottom: 25%;
  left: 8%;
  animation: flicker 2s infinite ease-in-out;
  opacity: 0.35;
}

/* Clean hero design matching official poster - no floating elements */



/* ===============================================
   ABOUT SECTION LAYOUT
   =============================================== */

.about {
  background: var(--gray-100);
}

.about__content {
  display: grid;
  gap: var(--space-2xl);
}

.about__text {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about__description {
  font-size: var(--fs-body);
  line-height: 1.8;
  margin-bottom: var(--space-md);
}

.about__partners {
  text-align: center;
}

.about__partners-title {
  font-size: var(--fs-h3);
  color: var(--primary-color);
  margin-bottom: var(--space-lg);
}

.partners__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-xl);
  flex-wrap: wrap;
}

.partner__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.partner__logo:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.partner__img {
  height: 50px;
  width: auto;
  object-fit: contain;
  max-width: 120px;
}

.partner__name {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--gray-600);
}

/* ===============================================
   SPORTS SECTION LAYOUT
   =============================================== */

.sports {
  background: var(--white);
}

.sports__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.sport__card {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 2px solid transparent;
  transition: all var(--transition-base);
  cursor: pointer;
}

.sport__card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-start);
}

.sport__icon {
  font-size: 3rem;
  margin-bottom: var(--space-md);
  display: block;
}

.sport__name {
  font-size: var(--fs-h4);
  color: var(--primary-color);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-sm);
}

.sport__description {
  font-size: var(--fs-small);
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.sport__details {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.sport__detail {
  font-size: var(--fs-small);
  color: var(--gray-700);
  padding: var(--space-xs);
  background: var(--gray-100);
  border-radius: var(--radius-sm);
}

/* ===============================================
   PRIZES SECTION LAYOUT
   =============================================== */

.prizes {
  background: var(--gradient-secondary);
  color: var(--white);
  text-align: center;
}

.prizes__container {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: var(--space-2xl);
}

.prizes__title {
  font-size: var(--fs-h2);
  margin-bottom: var(--space-md);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.prizes__amount {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.prizes__currency {
  font-size: var(--fs-h2);
  font-weight: var(--fw-bold);
}

.prizes__value {
  font-family: var(--font-primary);
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: var(--fw-bold);
  color: var(--accent-start);
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.prizes__tagline {
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  letter-spacing: 1px;
}

.prizes__visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.prize__badge {
  width: 200px;
  height: 200px;
  border-radius: var(--radius-full);
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.badge__inner {
  width: 160px;
  height: 160px;
  border-radius: var(--radius-full);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.badge__text {
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  color: var(--primary-color);
}

/* ===============================================
   REGISTRATION SECTION LAYOUT
   =============================================== */

.registration {
  background: var(--gray-100);
}

.registration__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
  align-items: center;
}

.registration__qr {
  text-align: center;
}

.qr__container {
  display: inline-block;
  padding: var(--space-lg);
  background: var(--white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.qr__container:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-glow);
}

.qr__image {
  width: 200px;
  height: 200px;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
}

.qr__placeholder {
  width: 200px;
  height: 200px;
  border-radius: var(--radius-md);
  margin-bottom: var(--space-sm);
  background: var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
}

.qr__code {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
}

.qr__pattern {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  width: 80px;
  height: 80px;
}

.qr__dot {
  background: var(--primary-color);
  border-radius: 2px;
  opacity: 0.8;
}

.qr__dot:nth-child(2n) {
  opacity: 0.4;
}

.qr__label {
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--gray-600);
  letter-spacing: 1px;
}

.qr__text {
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--primary-color);
}

.registration__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  align-items: center;
}

/* ===============================================
   SCHEDULE SECTION LAYOUT
   =============================================== */

.schedule {
  background: var(--white);
}

.schedule__timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.schedule__timeline::before {
  content: '';
  position: absolute;
  left: 30px;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gradient-accent);
  border-radius: var(--radius-sm);
}

.timeline__item {
  display: flex;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
  position: relative;
}

.timeline__date {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: var(--fw-bold);
  position: relative;
  z-index: 2;
}

.date__day {
  font-size: var(--fs-body);
  line-height: 1;
}

.date__month {
  font-size: var(--fs-small);
  line-height: 1;
}

.timeline__content {
  flex: 1;
  padding: var(--space-md);
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent-start);
}

.timeline__title {
  font-size: var(--fs-h4);
  color: var(--primary-color);
  margin-bottom: var(--space-xs);
}

.timeline__description {
  color: var(--gray-600);
  line-height: 1.6;
}

/* ===============================================
   GALLERY SECTION LAYOUT
   =============================================== */

.gallery {
  background: var(--gray-100);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--space-lg);
}

.gallery__item {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.gallery__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.gallery__placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color), var(--accent-start));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  transition: transform var(--transition-slow);
}

.gallery__icon {
  font-size: 3rem;
  opacity: 0.9;
}

.gallery__sport {
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  color: var(--white);
  text-align: center;
}

.gallery__overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: var(--white);
  padding: var(--space-lg);
  transform: translateY(100%);
  transition: transform var(--transition-base);
}

.gallery__item:hover .gallery__image {
  transform: scale(1.1);
}

.gallery__item:hover .gallery__placeholder {
  transform: scale(1.1);
}

.gallery__item:hover .gallery__overlay {
  transform: translateY(0);
}

.gallery__caption {
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
}

/* ===============================================
   CONTACT SECTION LAYOUT
   =============================================== */

.contact {
  background: var(--white);
}

.contact__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-2xl);
}

.contact__coordinators {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--space-lg);
}

.coordinator__card {
  background: var(--gray-100);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  text-align: center;
  transition: all var(--transition-base);
  border: 2px solid transparent;
}

.coordinator__card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.coordinator__name {
  font-size: var(--fs-h4);
  color: var(--primary-color);
  margin-bottom: var(--space-xs);
}

.coordinator__phone {
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--secondary-color);
  margin-bottom: var(--space-xs);
}

.coordinator__role {
  font-size: var(--fs-small);
  color: var(--gray-600);
  margin-bottom: var(--space-md);
}

.coordinator__actions {
  display: flex;
  justify-content: center;
  gap: var(--space-sm);
}

.coordinator__btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--gradient-primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.2em;
  transition: all var(--transition-base);
}

.coordinator__btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-md);
}

.contact__form {
  background: var(--gray-100);
  padding: var(--space-xl);
  border-radius: var(--radius-xl);
}

/* ===============================================
   FOOTER LAYOUT
   =============================================== */

.footer {
  background: var(--primary-color);
  color: var(--white);
  padding: var(--space-xl) 0 var(--space-lg);
  position: relative;
}

.footer__content {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  text-align: center;
}

.footer__logos {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-md);
}

.footer__logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  max-width: 100px;
}

.footer__text {
  font-size: var(--fs-small);
  color: var(--gray-300);
  line-height: 1.6;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  flex-wrap: wrap;
}

.footer__link {
  font-size: var(--fs-small);
  color: var(--gray-300);
  transition: color var(--transition-base);
}

.footer__link:hover {
  color: var(--accent-start);
}

.scroll-top {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  width: 50px;
  height: 50px;
  border-radius: var(--radius-full);
  background: var(--gradient-accent);
  color: var(--white);
  border: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-base);
  z-index: var(--z-fixed);
}

.scroll-top--visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.scroll-top__icon {
  font-size: 1.5em;
  font-weight: var(--fw-bold);
}

/* ===============================================
   RESPONSIVE DESIGN - MOBILE FIRST
   =============================================== */

/* Tablet styles - 768px to 1023px */
@media screen and (min-width: 768px) and (max-width: 1023px) {
  /* Keep hamburger menu on tablet */
  .nav__toggle {
    display: flex;
  }
  
  /* Keep mobile menu for tablet */
  .nav__list {
    display: none;
  }
  
  /* Adjust logo size for tablet */
  .nav__logo-img {
    height: 35px;
  }
  
  /* Hero */
  .hero__dates {
    font-size: var(--fs-h2);
  }
  
  /* About */
  .about__content {
    grid-template-columns: 1fr;
  }
  
  .about__text {
    text-align: left;
  }
  
  /* Sports */
  .sports__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Prizes */
  .prizes__container {
    grid-template-columns: 1fr 1fr;
  }
  
  /* Registration */
  .registration__content {
    grid-template-columns: 1fr 1fr;
  }
  
  .registration__actions {
    align-items: flex-start;
  }
  
  /* Contact */
  .contact__content {
    grid-template-columns: 1fr;
  }
  
  /* Footer */
  .footer__content {
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }
  
  .footer__links {
    justify-content: flex-end;
  }
}

/* Desktop styles - 1024px and up */
@media screen and (min-width: 1024px) {
  /* Navigation - Show desktop menu */
  .nav__list {
    display: flex;
  }
  
  .nav__toggle {
    display: none;
  }
  
  /* Logos slightly larger on desktop */
  .nav__logo-img {
    height: 40px;
  }
  
  /* About */
  .about__content {
    grid-template-columns: 2fr 1fr;
    align-items: center;
  }
  
  /* Sports */
  .sports__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  /* Gallery */
  .gallery__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Contact */
  .contact__content {
    grid-template-columns: 2fr 1fr;
  }
  
  .contact__coordinators {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Large desktop styles - 1200px and up */
@media screen and (min-width: 1200px) {
  /* Sports */
  .sports__grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* Gallery */
  .gallery__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===============================================
   MOBILE SPECIFIC STYLES - Max Width 767px
   =============================================== */
@media screen and (max-width: 767px) {
  /* Fix navbar logo layout on mobile - keep horizontal */
  .nav__logo {
    flex-wrap: nowrap;
    gap: 6px;
    flex-shrink: 0;
  }
  
  .logo__group {
    gap: 4px;
    flex-wrap: nowrap;
  }
  
  .nav__logo-img {
    height: 28px;
    flex-shrink: 0;
  }
  
  /* Remove logo text styles as it's no longer in use */
  .logo__text {
    display: none;
  }
  
  /* Ensure nav doesn't overflow */
  .nav {
    padding: var(--space-xs) 0;
    min-height: 60px;
  }
  
  .nav__toggle {
    flex-shrink: 0;
    display: flex;
  }
  
  /* Fix mobile container padding */
  .container {
    padding: 0 var(--space-md);
  }
  
  /* Prevent horizontal overflow */
  body {
    overflow-x: hidden;
  }
  
  .main {
    overflow-x: hidden;
  }
  
  /* Hero section adjustments */
  .hero__title {
    font-size: clamp(2rem, 8vw, 3rem);
  }
  
  .hero__title-main,
  .hero__title-year {
    font-size: inherit;
  }
  
  /* Buttons responsive */
  .btn {
    padding: var(--space-sm) var(--space-md);
    font-size: var(--fs-small);
  }
  
  .btn--large {
    padding: var(--space-md) var(--space-lg);
  }
  
  /* Partner logos on mobile */
  .partners__logos {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
  }
  
  .partner__img {
    height: 40px;
    max-width: 80px;
  }
  
  /* Footer logos on mobile */
  .footer__logos {
    flex-wrap: wrap;
    gap: var(--space-md);
  }
  
  .footer__logo {
    height: 30px;
    max-width: 70px;
  }
}

/* Extra small mobile - Max Width 375px */
@media screen and (max-width: 375px) {
  .nav__logo {
    gap: 4px;
  }
  
  .nav__logo-img {
    height: 22px;
  }
  
  .logo__group {
    gap: 3px;
  }
  
  /* Adjust mobile menu for small screens */
  .nav__list--mobile {
    width: 260px;
    padding: var(--space-md) var(--space-sm);
  }
  
  .nav__list--mobile .nav__link {
    font-size: 0.9rem;
    padding: var(--space-sm);
  }
  
  /* Make buttons smaller on tiny screens */
  .btn {
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.8rem;
  }
}

/* ===============================================
   TABLET SPECIFIC FIXES - 600px to 767px
   =============================================== */
@media screen and (min-width: 600px) and (max-width: 767px) {
  /* Larger logos on bigger phones/small tablets */
  .nav__logo-img {
    height: 32px;
  }
  
  .nav__logo {
    gap: 8px;
  }
  
  /* Better button sizing */
  .btn {
    padding: var(--space-md) var(--space-lg);
    font-size: var(--fs-body);
  }
  
  /* Make hamburger more visible */
  .nav__toggle {
    padding: var(--space-md);
    width: 45px;
    height: 40px;
  }
  
  .nav__toggle-line {
    height: 4px;
  }
  
  .nav__toggle-line:nth-child(1),
  .nav__toggle-line:nth-child(2) {
    top: 10px;
  }
  
  .nav__toggle-line:nth-child(3),
  .nav__toggle-line:nth-child(4) {
    top: 20px;
  }
  
  .nav__toggle-line:nth-child(5),
  .nav__toggle-line:nth-child(6) {
    top: 30px;
  }
}