/* ===== RESET & BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: #e0e0e0;
  background-color: #0a0a0f;
  min-height: 100vh;
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: #00f0ff;
  color: #0a0a0f;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  font-weight: 600;
  z-index: 1000;
  border-radius: 0 0 0.5rem 0;
}

.skip-link:focus {
  top: 0;
  outline: 3px solid #ff006e;
  outline-offset: 2px;
}

/* ===== CONTAINER ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid #00f0ff;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.2);
}

.header-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem 0;
  gap: 1rem;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: #00f0ff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.5);
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.nav-link {
  color: #e0e0e0;
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.nav-link:hover {
  color: #00f0ff;
  border-color: #00f0ff;
  background: rgba(0, 240, 255, 0.1);
}

.nav-link:focus {
  outline: 2px solid #00f0ff;
  outline-offset: 2px;
}

/* ===== HERO SECTION ===== */
.hero {
  padding: 3rem 0;
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.hero-text {
  flex: 1;
}

.hero-title {
  font-size: 2rem;
  font-weight: 800;
  color: #00f0ff;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.hero-description {
  font-size: 1.125rem;
  line-height: 1.6;
  color: #b0b0b0;
  margin-bottom: 2rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-illustration {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-illustration svg {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-primary {
  background: #00f0ff;
  color: #0a0a0f;
  border-color: #00f0ff;
}

.btn-primary:hover {
  background: transparent;
  color: #00f0ff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
}

.btn-primary:focus {
  outline: 3px solid #00f0ff;
  outline-offset: 3px;
}

.btn-secondary {
  background: transparent;
  color: #ff006e;
  border-color: #ff006e;
}

.btn-secondary:hover {
  background: #ff006e;
  color: #fff;
  box-shadow: 0 0 20px rgba(255, 0, 110, 0.4);
}

.btn-secondary:focus {
  outline: 3px solid #ff006e;
  outline-offset: 3px;
}

.btn-accent {
  background: #ff006e;
  color: #fff;
  border-color: #ff006e;
}

.btn-accent:hover {
  background: transparent;
  color: #ff006e;
  box-shadow: 0 0 20px rgba(255, 0, 110, 0.4);
}

.btn-accent:focus {
  outline: 3px solid #ff006e;
  outline-offset: 3px;
}

.btn-full {
  width: 100%;
}

/* ===== HIGHLIGHTS ===== */
.highlights {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.highlight-card {
  background: rgba(26, 26, 46, 0.6);
  border: 2px solid #00f0ff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 240, 255, 0.3);
}

.highlight-title {
  font-size: 0.875rem;
  text-transform: uppercase;
  color: #b0b0b0;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.highlight-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00f0ff;
}
/* ===== SPONSORS === */
.sponsor {
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: #00f0ff;
  text-align: center;
}
.sponsors-box {
  border-top: solid #00f0ff;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
  background: rgba(26, 26, 46, 0.6);
  gap: 100px;
}
.align-box {
  text-align: center;
}
.sponsors-box img {
  border-radius: 50%;
  margin-left: 20px;
  margin-bottom: 30px;
  border-color: #00f0ff;
  border-style: groove;
}
.sponsors-box img:hover {
  transform: scale(1.06);
}

/* ===== RANK ===== */

th, td{
  border-color: #2c9ea7;
  border-width: 3px;
  border-style: outset;
  text-align: center;
  height: 60px;
}
table {
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
  width: 1000px;
}

.team-logo {
  border-radius: 50%;
  width: 60px;
  height: 60px;
  border: 3px solid #00f0ff;
}

.logo-cell {
  padding: 5px;
}

/* ==== FAQ ==== */


/* ===== TEAMS SECTION ===== */
.teams-section {
  padding: 4rem 0;
  background: #0a0a0f;
}

.teams-layout {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.teams-main {
  flex: 1;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: #00f0ff;
  margin-bottom: 2rem;
  text-align: center;
  text-shadow: 0 0 15px rgba(0, 240, 255, 0.3);
}

.teams-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.team-card {
  background: rgba(26, 26, 46, 0.6);
  border: 2px solid #1a1a2e;
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.team-card:hover {
  border-color: #00f0ff;
  box-shadow: 0 4px 20px rgba(0, 240, 255, 0.2);
  transform: translateY(-3px);
}

.team-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00f0ff;
  margin-bottom: 0.5rem;
}

.team-game {
  font-size: 1rem;
  color: #ff006e;
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-achievements-title {
  font-size: 0.875rem;
  text-transform: uppercase;
  color: #b0b0b0;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.team-achievements {
  list-style: none;
  padding-left: 0;
}

.team-achievements li {
  padding: 0.25rem 0;
  color: #e0e0e0;
  position: relative;
  padding-left: 1.25rem;
}

.team-achievements li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: #00f0ff;
}

/* ===== RULES & STRATEGIES ===== */
.rules-strategies {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.rules-block,
.strategies-block {
  background: rgba(26, 26, 46, 0.4);
  border: 2px solid #1a1a2e;
  border-radius: 0.75rem;
  padding: 2rem;
}

.rules-list,
.strategies-list {
  padding-left: 1.5rem;
  color: #e0e0e0;
}

.rules-list li,
.strategies-list li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.strategies-list {
  list-style: disc;
}

/* ===== SPONSOR ASIDE ===== */
.sponsor-aside {
  width: 100%;
}

.sponsor-card {
  background: linear-gradient(135deg, rgba(255, 0, 110, 0.1) 0%, rgba(0, 240, 255, 0.1) 100%);
  border: 2px solid #ff006e;
  border-radius: 0.75rem;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(255, 0, 110, 0.2);
}

.sponsor-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ff006e;
  margin-bottom: 1rem;
}

.sponsor-text {
  color: #e0e0e0;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 100%);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-top: 2rem;
}

.contact-form-wrapper {
  background: rgba(26, 26, 46, 0.6);
  border: 2px solid #1a1a2e;
  border-radius: 0.75rem;
  padding: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-label {
  font-weight: 600;
  color: #00f0ff;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input,
.form-select,
.form-textarea {
  padding: 0.875rem;
  background: rgba(10, 10, 15, 0.8);
  border: 2px solid #1a1a2e;
  border-radius: 0.5rem;
  color: #e0e0e0;
  font-size: 1rem;
  font-family: inherit;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #00f0ff;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

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

.privacy-notice {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: #b0b0b0;
  text-align: center;
}

/* ===== CONTACT INFO ===== */
.contact-info {
  background: rgba(26, 26, 46, 0.6);
  border: 2px solid #1a1a2e;
  border-radius: 0.75rem;
  padding: 2rem;
}

.contact-info-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00f0ff;
  margin-bottom: 1.5rem;
}

.contact-item {
  margin-bottom: 1.5rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-item-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  color: #b0b0b0;
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.contact-item-value {
  color: #e0e0e0;
  line-height: 1.6;
}

.contact-item-value a {
  color: #00f0ff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item-value a:hover {
  color: #ff006e;
  text-decoration: underline;
}

.contact-item-value a:focus {
  outline: 2px solid #00f0ff;
  outline-offset: 2px;
  border-radius: 0.25rem;
}

address {
  font-style: normal;
}

/* ===== FOOTER ===== */
.footer {
  background: #0a0a0f;
  border-top: 2px solid #00f0ff;
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-copyright {
  color: #b0b0b0;
  font-size: 0.875rem;
}

.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-link {
  color: #e0e0e0;
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: #00f0ff;
}

.footer-link:focus {
  outline: 2px solid #00f0ff;
  outline-offset: 2px;
  border-radius: 0.25rem;
}

/* ===== RESPONSIVE DESIGN ===== */

/* Tablet (≥768px) */
@media (min-width: 768px) {
  .header-content {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    font-size: 1.5rem;
  }

  .hero-content {
    flex-direction: row;
    align-items: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .highlights {
    grid-template-columns: repeat(3, 1fr);
  }

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

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

  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }

  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* Desktop (≥1024px) */
@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }

  .hero {
    padding: 5rem 0;
  }

  .hero-title {
    font-size: 3rem;
  }

  .teams-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .teams-layout {
    flex-direction: row;
  }

  .teams-main {
    flex: 3;
  }

  .sponsor-aside {
    flex: 1;
    position: sticky;
    top: 100px;
    align-self: flex-start;
  }

  .section-title {
    text-align: left;
  }
}
