/* Weekend Warriors Wrestling Club Theme */
/* Colors: Red (#e60000), Black (#000000), Silver (#cccccc) */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', 'Roboto', sans-serif;
}

html {
  overflow-x: hidden;
  width: 100%;
  height: 100%;
  /* Prevent iOS overscroll bounce */
  overscroll-behavior: none;
  -webkit-overflow-scrolling: touch;
}

body {
  background: linear-gradient(135deg, #000000 0%, #1a0000 50%, #000000 100%);
  background-attachment: fixed;
  color: #ccc;
  line-height: 1.8;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  position: relative;
  /* Prevent iOS overscroll bounce - no white space when scrolling too far */
  overscroll-behavior-y: none;
  -webkit-overflow-scrolling: touch;
}

/* HEADER - Enhanced with depth and animation */
header {
  text-align: center;
  padding: 3rem 1rem 2rem;
  background: linear-gradient(180deg, rgba(0,0,0,0.98) 0%, rgba(20,0,0,0.95) 100%);
  border-bottom: 4px solid #e60000;
  box-shadow:
    0 4px 20px rgba(230, 0, 0, 0.4),
    0 8px 40px rgba(230, 0, 0, 0.2),
    inset 0 -1px 0 rgba(230, 0, 0, 0.3);
  position: relative;
  isolation: isolate;
  overflow: hidden;
}

header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 50% 50%, rgba(230, 0, 0, 0.35) 0%, transparent 72%);
  pointer-events: none;
  animation: headerPulse 8s ease-in-out infinite;
}

@keyframes headerPulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.05);
  }
}

header img.logo {
  width: 220px;
  max-width: 90%;
  display: block;
  margin: 0 auto 1.5rem auto;
  filter: drop-shadow(0 4px 12px rgba(230, 0, 0, 0.5));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  mix-blend-mode: screen;
  background: transparent;
  z-index: 1;
}

header img.logo:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 8px 20px rgba(230, 0, 0, 0.8));
}

header h1 {
  color: #e60000;
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  text-shadow:
    0 0 20px rgba(230, 0, 0, 0.8),
    0 0 40px rgba(230, 0, 0, 0.5),
    0 4px 8px rgba(0, 0, 0, 0.8);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
  animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
  0% {
    text-shadow:
      0 0 20px rgba(230, 0, 0, 0.8),
      0 0 40px rgba(230, 0, 0, 0.5),
      0 4px 8px rgba(0, 0, 0, 0.8);
  }
  100% {
    text-shadow:
      0 0 30px rgba(230, 0, 0, 1),
      0 0 60px rgba(230, 0, 0, 0.7),
      0 4px 8px rgba(0, 0, 0, 0.8);
  }
}

header p {
  font-size: 1.3rem;
  color: #fff;
  font-weight: 500;
  letter-spacing: 1px;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.9),
    0 0 20px rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 1;
}

/* NAVIGATION - Enhanced with depth */
nav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  background: linear-gradient(90deg, #0a0a0a 0%, #1a0000 50%, #0a0a0a 100%);
  border-top: 2px solid #e60000;
  border-bottom: 2px solid #e60000;
  box-shadow:
    0 4px 15px rgba(0, 0, 0, 0.6),
    0 8px 30px rgba(230, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

nav a {
  color: #ccc;
  text-decoration: none;
  padding: 1.2rem 2rem;
  display: inline-block;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  font-size: 0.95rem;
  overflow: hidden;
}

nav a::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #e60000, transparent);
  transform: translateX(-50%);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px rgba(230, 0, 0, 0.8);
}

nav a::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(230, 0, 0, 0.2), transparent);
  transition: left 0.5s ease;
}

nav a:hover::after {
  left: 100%;
}

nav a:hover {
  background: linear-gradient(180deg, #e60000 0%, #b30000 100%);
  color: #fff;
  transform: translateY(-3px);
  box-shadow:
    0 6px 20px rgba(230, 0, 0, 0.5),
    0 0 30px rgba(230, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

nav a:hover::before {
  width: 90%;
}

/* Active link */
nav a.active, nav a[aria-current="page"] {
  background: linear-gradient(180deg, #e60000 0%, #b30000 100%);
  color: #fff;
  box-shadow: 0 4px 15px rgba(230, 0, 0, 0.4);
}

nav a.active::before, nav a[aria-current="page"]::before {
  width: 80%;
}

/* USA Membership Button - Modern Glass Morphism */
.usa-membership-btn {
  display: inline-flex !important;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  background: linear-gradient(135deg,
    rgba(139, 21, 56, 0.15) 0%,
    rgba(0, 59, 122, 0.25) 100%) !important;
  padding: 0.7rem 1.5rem !important;
  border-radius: 10px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(139, 21, 56, 0.4) !important;
  white-space: normal;
  text-align: center;
  box-shadow:
    0 8px 32px rgba(139, 21, 56, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #ffffff !important;
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  line-height: 1.3;
  position: relative;
  overflow: hidden;
}

.usa-membership-btn::before,
.usa-membership-btn::after {
  display: none !important;
}

.usa-membership-btn:hover {
  background: linear-gradient(135deg,
    rgba(139, 21, 56, 0.35) 0%,
    rgba(0, 59, 122, 0.45) 100%) !important;
  border-color: rgba(139, 21, 56, 0.6) !important;
  transform: translateY(-3px) !important;
  box-shadow:
    0 12px 40px rgba(139, 21, 56, 0.4),
    0 0 20px rgba(139, 21, 56, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2) !important;
  color: #fff !important;
}

/* Winter Season Navigation Link - Modern Glass Morphism */
nav a.winter-nav {
  background: linear-gradient(135deg,
    rgba(77, 184, 255, 0.15) 0%,
    rgba(135, 206, 250, 0.25) 100%);
  color: #ffffff;
  border: 1px solid rgba(77, 184, 255, 0.4);
  border-radius: 10px;
  box-shadow:
    0 8px 32px rgba(77, 184, 255, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    inset 0 -1px 0 rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-weight: 700;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
  font-size: 0.85rem;
  padding: 0.7rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  line-height: 1.3;
  gap: 0.15rem;
  min-width: auto;
  white-space: normal;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

nav a.winter-nav::before,
nav a.winter-nav::after {
  display: none !important;
}

nav a.winter-nav:hover {
  background: linear-gradient(135deg,
    rgba(77, 184, 255, 0.35) 0%,
    rgba(135, 206, 250, 0.45) 100%);
  color: #fff;
  box-shadow:
    0 12px 40px rgba(77, 184, 255, 0.4),
    0 0 20px rgba(77, 184, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  transform: translateY(-3px);
  border-color: rgba(135, 206, 250, 0.6);
}

nav a.winter-nav.active,
nav a.winter-nav[aria-current="page"] {
  background: linear-gradient(135deg,
    rgba(77, 184, 255, 0.4) 0%,
    rgba(135, 206, 250, 0.5) 100%);
  color: #fff;
  box-shadow:
    0 12px 40px rgba(77, 184, 255, 0.5),
    0 0 25px rgba(77, 184, 255, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3),
    inset 0 -1px 0 rgba(0, 0, 0, 0.2);
  border-color: rgba(135, 206, 250, 0.7);
}

/* Keep nav links centered and pin Sign out on the right */
.nav-signout {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  margin-left: 0 !important;
}

@media (max-width: 640px) {
  .nav-signout {
    position: static;
    transform: none;
    margin-left: auto !important; /* move to the end on small screens */
  }
}

@keyframes iceGlare {
  0% {
    left: -60%;
  }
  100% {
    left: 160%;
  }
}

@keyframes iceRotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes snowfall {
  0%, 100% {
    top: -10%;
    opacity: 0;
  }
  50% {
    top: 50%;
    opacity: 0.5;
  }
}


/* MAIN SECTIONS */
section {
  padding: 4rem 2rem;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

section h2 {
  color: #e60000;
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 700;
  text-shadow:
    0 0 20px rgba(230, 0, 0, 0.8),
    0 0 40px rgba(230, 0, 0, 0.4),
    0 4px 8px rgba(0, 0, 0, 0.6);
  position: relative;
  display: inline-block;
  animation: headingPulse 4s ease-in-out infinite;
}

@keyframes headingPulse {
  0%, 100% {
    text-shadow:
      0 0 20px rgba(230, 0, 0, 0.8),
      0 0 40px rgba(230, 0, 0, 0.4),
      0 4px 8px rgba(0, 0, 0, 0.6);
  }
  50% {
    text-shadow:
      0 0 30px rgba(230, 0, 0, 1),
      0 0 60px rgba(230, 0, 0, 0.6),
      0 4px 8px rgba(0, 0, 0, 0.6);
  }
}

section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #e60000, transparent);
  box-shadow: 0 0 10px rgba(230, 0, 0, 0.8);
  animation: underlineGlow 2s ease-in-out infinite;
}

@keyframes underlineGlow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(230, 0, 0, 0.8);
  }
  50% {
    box-shadow: 0 0 20px rgba(230, 0, 0, 1);
  }
}

section p {
  max-width: 800px;
  margin: 0 auto 1.5rem;
  color: #e0e0e0;
  font-size: 1.15rem;
  line-height: 1.9;
}

/* HERO SECTION */
.hero {
  background: radial-gradient(circle at center, rgba(230, 0, 0, 0.15) 0%, transparent 70%);
  padding: 5rem 2rem;
  margin-bottom: 2rem;
}

/* CONTENT CARDS - Enhanced with glow and depth */
.content-card {
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(10, 0, 0, 0.95) 100%);
  border: 2px solid #e60000;
  border-radius: 12px;
  padding: 2.5rem;
  margin: 2rem auto;
  max-width: 100%;
  width: 100%;
  box-shadow:
    0 8px 30px rgba(230, 0, 0, 0.3),
    0 0 60px rgba(230, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.content-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(230, 0, 0, 0.1), transparent);
  transition: left 0.5s ease;
}

.content-card:hover::before {
  left: 100%;
}

.content-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow:
    0 16px 50px rgba(230, 0, 0, 0.5),
    0 0 100px rgba(230, 0, 0, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border-color: #ff3333;
}


/* HERO SLIDER */
.hero-slider {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 2rem auto;
  border: 2px solid #e60000;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(20,20,20,0.9), rgba(10,0,0,0.9));
  box-shadow: 0 12px 40px rgba(230, 0, 0, 0.25);
  aspect-ratio: 16 / 9;
}

.hero-slider .slides { position: relative; width: 100%; height: 100%; }

.hero-slider .slide {
  position: absolute;
  inset: 20px; /* Small padding from all sides */
  background-size: contain;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.8s ease, transform 6s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-slider .slide.is-active { opacity: 1; transform: scale(1); }
.hero-slider .slide::after {
  content: '';
  position: absolute;
  inset: -20px; /* Extend overlay to full slideshow area */
  background: radial-gradient(circle at 50% 80%, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.65) 70%);
  pointer-events: none;
  z-index: 1;
}

.hero-slider .slide video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: contain; /* Fit video within the padded area */
}

.hero-slider .caption {
  position: absolute;
  left: 1.2rem;
  bottom: 1.2rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 1px;
  background: rgba(230, 0, 0, 0.85);
  padding: 0.6rem 0.9rem;
  border-radius: 6px;
  border: 1px solid #ff3333;
  box-shadow: 0 6px 20px rgba(230, 0, 0, 0.4);
  z-index: 2;
}

.hero-slider .slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: 2px solid #e60000;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  z-index: 3;
}
.hero-slider .slider-arrow:hover { background: #e60000; box-shadow: 0 6px 18px rgba(230, 0, 0, 0.5); }
.hero-slider .slider-arrow.prev { left: 12px; }
.hero-slider .slider-arrow.next { right: 12px; }

.hero-slider .slider-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.hero-slider .slider-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #e60000;
  background: transparent;
  cursor: pointer;
  transition: all 0.2s ease;
}
.hero-slider .slider-dots button.active { background: #e60000; box-shadow: 0 0 0 3px rgba(230, 0, 0, 0.25); }

/* Audio controls - Enhanced with pulse animation */
.audio-controls {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  background: linear-gradient(135deg, rgba(230, 0, 0, 0.95) 0%, rgba(180, 0, 0, 0.95) 100%);
  border: 3px solid #ff3333;
  border-radius: 50%;
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow:
    0 6px 20px rgba(230, 0, 0, 0.6),
    0 0 40px rgba(230, 0, 0, 0.3),
    inset 0 2px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  animation: audioPulse 2s ease-in-out infinite;
}

@keyframes audioPulse {
  0%, 100% {
    box-shadow:
      0 6px 20px rgba(230, 0, 0, 0.6),
      0 0 40px rgba(230, 0, 0, 0.3),
      inset 0 2px 0 rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow:
      0 8px 30px rgba(230, 0, 0, 0.8),
      0 0 60px rgba(230, 0, 0, 0.5),
      inset 0 2px 0 rgba(255, 255, 255, 0.3);
  }
}

.audio-controls:hover {
  background: linear-gradient(135deg, #ff1a1a 0%, #e60000 100%);
  transform: scale(1.15) rotate(5deg);
  animation: none;
  box-shadow:
    0 10px 40px rgba(230, 0, 0, 0.9),
    0 0 80px rgba(230, 0, 0, 0.6),
    inset 0 2px 0 rgba(255, 255, 255, 0.4);
}

.audio-controls svg {
  width: 28px;
  height: 28px;
  fill: #fff;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}

.audio-controls:hover svg {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .hero-slider {
    margin: 1rem auto 1.5rem;
    aspect-ratio: 16 / 9;
    max-width: 100%;
  }
  .hero-slider .slides { height: 100%; }
  .hero-slider .slide {
    inset: 0;
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .hero-slider .slide::after { inset: 0; }
  .hero-slider .slide video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .hero-slider .slider-arrow { width: 36px; height: 36px; }
  .hero-slider .slider-arrow.prev { left: 8px; }
  .hero-slider .slider-arrow.next { right: 8px; }
  .hero-slider .caption { font-size: 0.9rem; left: 0.8rem; bottom: 0.8rem; right: 0.8rem; }
  .audio-controls {
    bottom: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
  }
  .audio-controls svg {
    width: 20px;
    height: 20px;
  }
}

/* SCHEDULE TABLE */
.table-wrapper {
  width: 100%;
  overflow-x: visible;
  margin: 2rem auto;
}

table {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(230, 0, 0, 0.3);
  table-layout: fixed;
}

th, td {
  padding: 0.8rem 0.5rem;
  text-align: center;
  border: none;
  white-space: normal;
  word-wrap: break-word;
  font-size: 0.85rem;
}

th {
  background: linear-gradient(135deg, #e60000 0%, #b30000 100%);
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 2px 8px rgba(230, 0, 0, 0.3);
  position: relative;
  text-align: center;
  vertical-align: middle;
  line-height: 1.3;
}

th::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
}

td {
  background-color: rgba(20, 20, 20, 0.8);
  color: #e0e0e0;
  border-bottom: 1px solid rgba(230, 0, 0, 0.2);
  /* Removed transition to eliminate hover animation */
}

tr:last-child td {
  border-bottom: none;
}

tbody tr {
  /* Removed transition for hover animation */
}

/* Removed hover animation and scale effect */

/* Ensure no hover effects on any table rows */
tbody tr:hover,
table.admin-list tr:hover,
.tournament-table tr:hover {
  background: transparent !important;
  transform: none !important;
  box-shadow: none !important;
}

/* Admin Dashboard Style Tournament Card */
.tournament-card {
  background: rgba(36, 36, 36, 0.95) !important;
  border: 1px solid rgba(230, 0, 0, 0.3) !important;
  border-radius: 12px !important;
  padding: 1.5rem !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
  max-width: 100% !important;
  width: 100% !important;
  overflow: hidden !important;
  overflow-x: hidden !important;
  overflow-y: hidden !important;
}

.tournament-card h2 {
  color: #fff !important;
  font-size: 1.8rem !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  margin-bottom: 1.5rem !important;
  padding-bottom: 0.75rem !important;
  border-bottom: 3px solid #e60000 !important;
  text-align: center !important;
}

/* Professional Table Container */
.table-container {
  overflow-x: hidden; /* No horizontal scroll */
  margin-top: 1rem;
  border: 1px solid rgba(230, 0, 0, 0.3);
  border-radius: 8px;
  background: rgba(42, 42, 42, 0.9);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.3);
  /* Prevent iOS overscroll bounce in table container */
  -webkit-overflow-scrolling: touch;
}

/* Admin List Table Styling */
table.admin-list {
  border-collapse: collapse;
  width: 100%;
  background: transparent;
  table-layout: auto;
  max-width: 100%;
}

/* Tournament table specific - prevent overflow */
.tournament-table {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: fixed !important;
}

table.admin-list th {
  background: rgba(26, 26, 26, 0.95);
  padding: 0.8rem 0.5rem;
  text-align: center;
  font-weight: 700;
  white-space: normal;
  word-wrap: break-word;
  color: #fff;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid #e60000;
  vertical-align: middle;
  line-height: 1.3;
}

table.admin-list td {
  text-align: left;
  padding: 0.8rem 0.5rem;
  border-bottom: 1px solid rgba(51, 51, 51, 0.8);
  color: #ddd;
  font-size: 0.85rem;
  vertical-align: middle;
  background: transparent;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Removed hover effects for schedule tables */

table.admin-list tr:last-child td {
  border-bottom: none;
}

/* Register Link Styling */
.register-link {
  display: inline-block;
  padding: 0.5rem 1.2rem;
  background: linear-gradient(135deg, #e60000, #cc0000);
  color: #fff !important;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(230, 0, 0, 0.3);
  white-space: nowrap;
  min-width: 96px;
  text-align: center;
}

.register-link:hover {
  background: linear-gradient(135deg, #ff0000, #e60000);
  box-shadow: 0 4px 16px rgba(230, 0, 0, 0.6);
  transform: translateY(-2px);
}

/* Ensure Register column has enough space on desktop */
.tournament-table th:last-child,
.tournament-table td:last-child {
  width: 12%;
  min-width: 110px;
  text-align: center;
}

/* Hide any scrollbars in schedule tables */
.table-container {
  scrollbar-width: none;
  overflow: hidden !important; /* Prevent any scrollbars */
  overflow-x: hidden !important;
  overflow-y: hidden !important;
}
.table-container::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Tournament table specific styling for centered headers */
.tournament-table th {
  text-align: center !important;
  vertical-align: middle !important;
  line-height: 1.3 !important;
  padding: 0.8rem 0.5rem !important;
}

/* Ensure tournament table cells are centered */
.tournament-table td {
  text-align: center !important;
  vertical-align: middle !important;
}

/* CONTACT FORM - Enhanced with modern styling */
form {
  width: 90%;
  max-width: 700px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.95) 0%, rgba(10, 0, 0, 0.95) 100%);
  padding: 3rem;
  border-radius: 12px;
  border: 2px solid #e60000;
  box-shadow:
    0 8px 30px rgba(230, 0, 0, 0.3),
    0 0 60px rgba(230, 0, 0, 0.1);
  position: relative;
}

form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, #e60000, transparent);
  border-radius: 12px 12px 0 0;
}

form input, form textarea, form select {
  padding: 1.2rem;
  background-color: rgba(0, 0, 0, 0.6);
  border: 2px solid rgba(230, 0, 0, 0.5);
  color: #fff;
  font-size: 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
}

form input:focus, form textarea:focus, form select:focus {
  outline: none;
  border-color: #ff1a1a;
  background-color: rgba(0, 0, 0, 0.8);
  box-shadow:
    0 0 20px rgba(230, 0, 0, 0.4),
    inset 0 2px 4px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

form textarea {
  resize: vertical;
  min-height: 150px;
}

form button {
  background: linear-gradient(135deg, #e60000 0%, #b30000 100%);
  color: #fff;
  padding: 1.2rem;
  border: none;
  cursor: pointer;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(230, 0, 0, 0.4);
  position: relative;
  overflow: hidden;
}

form button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

form button:hover::before {
  width: 300px;
  height: 300px;
}

form button:hover {
  background: linear-gradient(135deg, #ff1a1a 0%, #e60000 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(230, 0, 0, 0.7);
}

form button:active {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(230, 0, 0, 0.5);
}

/* CONTACT INFO */
.contact-info {
  margin-top: 3rem;
  background: linear-gradient(135deg, rgba(20, 20, 20, 0.9) 0%, rgba(10, 0, 0, 0.9) 100%);
  padding: 2.5rem;
  border-radius: 10px;
  border: 2px solid #e60000;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 8px 30px rgba(230, 0, 0, 0.2);
}

/* Ensure long email wraps nicely on small phones - NO hyphens */
.contact-info p {
  overflow-wrap: break-word;
  word-break: normal;
  hyphens: none;
}

/* Email: keep username together, break only at @ */
.contact-info .email-nowrap {
  display: inline-block;
  hyphens: none;
  word-break: normal;
}

@media (max-width: 480px) {
  .contact-info p { font-size: 0.95rem; }
}


/* FOOTER - Enhanced with depth */
footer {
  text-align: center;
  padding: 2.5rem;
  background: linear-gradient(180deg, rgba(10, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.98) 100%);
  border-top: 3px solid #e60000;
  color: #ccc;
  font-size: 1rem;
  margin-top: 4rem;
  box-shadow:
    0 -4px 20px rgba(230, 0, 0, 0.3),
    0 -8px 40px rgba(230, 0, 0, 0.1),
    inset 0 1px 0 rgba(230, 0, 0, 0.3);
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e60000, transparent);
  box-shadow: 0 0 10px rgba(230, 0, 0, 0.8);
}

footer a {
  color: #e60000;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
}

footer a:hover {
  color: #ff3333;
  text-shadow: 0 0 10px rgba(230, 0, 0, 0.8);
}

/* Syndiscore.ai branding with glow animation */
.powered-by-syndiscore {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  opacity: 0.9;
}

.powered-by-syndiscore a {
  color: #e60000;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.5px;
  animation: syndicoreGlow 3s ease-in-out infinite;
  display: inline-block;
  transition: all 0.3s ease;
}

@keyframes syndicoreGlow {
  0%, 100% {
    color: #e60000;
    text-shadow:
      0 0 10px rgba(230, 0, 0, 0.6),
      0 0 20px rgba(230, 0, 0, 0.4),
      0 0 30px rgba(230, 0, 0, 0.2);
  }
  50% {
    color: #ff3333;
    text-shadow:
      0 0 20px rgba(230, 0, 0, 1),
      0 0 40px rgba(230, 0, 0, 0.8),
      0 0 60px rgba(230, 0, 0, 0.6);
  }
}

.powered-by-syndiscore a:hover {
  color: #ff1a1a;
  text-shadow:
    0 0 25px rgba(230, 0, 0, 1),
    0 0 50px rgba(230, 0, 0, 0.9),
    0 0 75px rgba(230, 0, 0, 0.7);
  transform: scale(1.05);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  header {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    gap: 1rem;
  }
  header img.logo {
    width: auto;
    height: auto;
    max-width: min(75vw, 280px);
    max-height: 120px;
    object-fit: contain;
  }
  header h1 {
    font-size: 1.8rem;
    letter-spacing: 2px;
  }
  header p {
    font-size: 1rem;
  }
  nav {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  nav a {
    padding: 0.9rem 0.5rem;
    flex: 1 1 calc(50% - 0.25rem);
    text-align: center;
    font-size: 0.85rem;
  }
  /* Winter nav link takes full width on mobile */
  nav a.winter-nav {
    flex: 1 1 100%;
    padding: 0.8rem 1.2rem;
    font-size: 0.8rem;
    min-height: 60px;
    line-height: 1.4;
  }
  /* USA Membership button on tablet */
  .usa-membership-btn {
    padding: 0.8rem 1.2rem !important;
    gap: 0.2rem;
    flex: 1 1 calc(50% - 0.25rem);
    font-size: 0.8rem;
    min-height: 60px;
    line-height: 1.4;
  }
  section {
    padding: 3rem 1rem;
  }
  section h2 {
    font-size: 2rem;
  }
  form {
    padding: 2rem 1.5rem;
    width: 95%;
  }
  table {
    font-size: 0.8rem;
    width: 100%;
  }

  table.admin-list {
    width: 100%;
    font-size: 0.65rem;
    table-layout: auto;
  }

  th, td {
    padding: 0.4rem 0.2rem;
    font-size: 0.65rem;
  }

  table.admin-list th {
    padding: 0.4rem 0.2rem;
    font-size: 0.55rem;
    letter-spacing: 0.2px;
    line-height: 1.3;
    text-align: center;
    vertical-align: middle;
  }

  table.admin-list td {
    padding: 0.4rem 0.2rem;
    font-size: 0.65rem;
    line-height: 1.3;
  }

  /* Remove horizontal scroll on mobile */
  .table-container {
    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
    -webkit-overflow-scrolling: touch;
  }

  .tournament-card {
    padding: 1rem !important;
  }

  .tournament-card h2 {
    font-size: 1.4rem !important;
    letter-spacing: 1px !important;
  }

  .register-link {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }
  .content-card {
    padding: 1.5rem;
    margin: 1rem auto;
  }
}

/* Landscape Mode Fixes - Remove White Bars */
@media (max-width: 926px) and (orientation: landscape) {
  * {
    box-sizing: border-box;
  }

  html {
    width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
  }

  body {
    width: 100%;
    min-width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    background-attachment: scroll; /* Better performance on mobile landscape */
  }

  header {
    padding: 1rem 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  header img.logo {
    max-width: min(60vw, 200px);
    max-height: 80px;
  }

  header h1 {
    font-size: 1.5rem;
    letter-spacing: 1.5px;
  }

  header p {
    font-size: 0.9rem;
  }

  nav {
    width: 100%;
    padding: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  nav a {
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    white-space: nowrap;
    flex: 0 0 auto;
  }

  /* USA Membership button on mobile */
  .usa-membership-btn {
    padding: 0.7rem 1rem !important;
    gap: 0.2rem;
    font-size: 0.75rem;
    min-height: 55px;
    line-height: 1.3;
  }

  /* Winter nav button on mobile */
  nav a.winter-nav {
    padding: 0.7rem 1rem;
    font-size: 0.75rem;
    min-height: 55px;
    line-height: 1.3;
  }

  section {
    padding: 2rem 1rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .content-card {
    width: 100%;
    max-width: 100%;
    padding: 1.5rem;
    margin: 1rem 0;
    box-sizing: border-box;
  }

  form {
    width: 100%;
    max-width: 100%;
    padding: 1.5rem 1rem;
    box-sizing: border-box;
  }

  footer {
    width: 100%;
    padding: 1.5rem 1rem;
    box-sizing: border-box;
  }

  /* Hero slider landscape fixes */
  .hero-slider {
    width: 100%;
    max-width: 100%;
    margin: 1rem 0;
  }

  /* Contact info landscape fixes */
  .contact-info {
    width: 100%;
    max-width: 100%;
    padding: 1.5rem;
  }

  /* Tournament cards landscape fixes */
  .tournament-card {
    width: 100%;
    max-width: 100%;
    padding: 1.5rem;
    box-sizing: border-box;
  }

  /* Ensure all containers fit within viewport */
  .table-container,
  .program-info-container,
  .program-options,
  .program-card,
  .logo-animation-container,
  .signup-form-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Prevent any element from causing horizontal scroll */
  * {
    max-width: 100vw;
  }

  img, video {
    max-width: 100%;
    height: auto;
  }
}

/* Stack tables into readable cards on small phones (no horizontal scroll) */
@media (max-width: 768px) {
  .table-container {
    overflow: hidden !important;
    overflow-x: hidden !important;
    overflow-y: hidden !important;
  }

  /* Hide header and display rows as blocks */
  table.admin-list thead { display: none; }

  table.admin-list,
  table.admin-list tbody,
  table.admin-list tr,
  table.admin-list td {
    display: block;
    width: 100%;
  }

  table.admin-list tr {
    border: 1px solid rgba(230, 0, 0, 0.3);
    border-radius: 8px;
    margin: 0 0 0.75rem 0;
    padding: 0.5rem 0.75rem;
    background: rgba(26, 26, 26, 0.85);
  }

  table.admin-list td {
    border: none;
    padding: 0.4rem 0;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.3;
    white-space: normal;
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  table.admin-list td::before {
    content: attr(data-label);
    flex: 0 0 46%;
    max-width: 46%;
    color: #e60000;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
  }

  /* Remove colgroup widths on small phones */
  .tournament-table colgroup { display: none; }
}
