@import url("https://fonts.bunny.net/css?family=fraunces:500,700|manrope:400,500,600,700,800");

:root {
  --bg: #fbf7f0;
  --bg-alt: #f2ebdf;
  --surface: #ffffff;
  --ink: #19263a;
  --ink-muted: #4b5e78;
  --line: #d8d2c8;
  --brand: #ef8a17;
  --brand-dark: #ce7310;
  --accent: #0f7b73;
  --danger: #b4402f;
  --success: #1f7d47;
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-soft: 0 12px 30px rgba(25, 38, 58, 0.08);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background: radial-gradient(circle at 0% 0%, #fff2df 0%, transparent 35%),
    radial-gradient(circle at 100% 8%, #e4f6f1 0%, transparent 28%), var(--bg);
  line-height: 1.65;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.25s ease, text-shadow 0.25s ease;
}

a:hover {
  color: #0a5e59;
  text-shadow: 0 2px 4px rgba(15, 123, 115, 0.15);
}

h1,
h2,
h3,
h4 {
  margin: 0 0 10px;
  line-height: 1.15;
  font-family: "Fraunces", serif;
  color: #1a2a40;
  letter-spacing: -0.01em;
}

h1 {
  font-size: clamp(2.2rem, 5.4vw, 4.2rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  font-weight: 700;
}

h3 {
  font-size: clamp(1.2rem, 2.2vw, 1.5rem);
  font-weight: 600;
}

p {
  margin: 0 0 14px;
  color: var(--ink-muted);
}

ul,
ol {
  margin: 0;
  padding-left: 18px;
}

.container {
  width: min(var(--max), calc(100% - 32px));
  margin-inline: auto;
}

.section {
  padding: 84px 0;
}

.section-alt {
  background: linear-gradient(180deg, #f7f2e8, #f5ede1);
}

.section-head {
  margin-bottom: 34px;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-head h2 {
  background: linear-gradient(135deg, #1b2b43 0%, #19263a 50%, #0f7b73 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  background-size: 300% 300%;
  animation: slideInUp 0.6s ease-out;
  display: inline-block;
}

.section-head p {
  margin-left: auto;
  margin-right: auto;
}

.section-head.center {
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  margin-bottom: 14px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid #e8d4b4;
  background: linear-gradient(135deg, #fff8ec, #fffbf0);
  color: #96520d;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(239, 138, 23, 0.08);
}

.lead {
  font-size: 1.08rem;
  max-width: 730px;
  margin-left: auto;
  margin-right: auto;
  color: #4b5e78;
  line-height: 1.8;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid rgba(216, 210, 200, 0.9);
  background: rgba(251, 247, 240, 0.92);
  backdrop-filter: blur(12px);
}

.nav-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 800;
}

.nav-brand:hover {
  color: var(--ink);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(145deg, var(--brand), #f3a13f);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-links a {
  color: #30415a;
  font-size: 0.93rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-dark);
}

.nav-cta {
  padding: 10px 15px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(239, 138, 23, 0.32);
  transition: all 0.3s ease;
}

.nav-cta:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 28px rgba(239, 138, 23, 0.42);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #c8c0b3;
  border-radius: 10px;
  padding: 8px 9px;
  color: var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.84rem;
  color: #7f8fa5;
}

.breadcrumb a {
  color: #7f8fa5;
}

.breadcrumb span {
  color: #9d630f;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), 
              box-shadow 0.3s ease, 
              background 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn:hover::before {
  opacity: 1;
}

.btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 16px 40px rgba(25, 38, 58, 0.2) !important;
}

.btn:active {
  transform: translateY(-1px) scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), #f1b046);
  color: #fff;
  box-shadow: 0 12px 24px rgba(239, 138, 23, 0.38);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ce7310, #e8a239);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.btn-outline:hover {
  background: #e8f8f6;
  color: #0a5e59;
  border-color: #0a5e59;
  transform: translateY(-3px) scale(1.05);
}

.btn-ghost {
  background: #fff;
  color: var(--ink);
  border: 1px solid #d4cdbf;
}

.btn-ghost:hover {
  background: #fffaf0;
  color: var(--brand);
  border-color: var(--brand);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero {
  padding: 88px 0 70px;
  background: radial-gradient(circle at 20% 0%, rgba(239, 138, 23, 0.1), transparent 50%),
              radial-gradient(circle at 80% 100%, rgba(15, 123, 115, 0.08), transparent 50%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.hero-copy {
  animation: slideInLeft 0.8s ease-out;
}

.hero-image,
.tournament-image,
.kit-image,
.award-section-image,
.sponsor-showcase {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid #e4dbcd;
  background: linear-gradient(180deg, #edf2f7, #dce7f2);
  box-shadow: var(--shadow-soft);
}

.hero-image {
  animation: slideInRight 0.8s ease-out;
}

.tournament-image {
  animation: slideInLeft 0.8s ease-out;
}

.kit-image,
.award-section-image,
.sponsor-showcase {
  max-width: 980px;
  margin-inline: auto;
  animation: slideInUp 0.8s ease-out;
}

.kit-image {
  margin-bottom: 30px;
}

.award-section-image,
.sponsor-showcase {
  margin-bottom: 40px;
}

.hero-image img,
.tournament-image img,
.kit-image img,
.award-section-image img,
.sponsor-showcase img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.4s ease;
}

.hero-image:hover img,
.tournament-image:hover img,
.kit-image:hover img,
.award-section-image:hover img,
.sponsor-showcase:hover img {
  transform: scale(1.04);
  filter: brightness(1.06);
}

.tournament-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 30px;
  align-items: center;
}

.tournament-content {
  animation: slideInRight 0.8s ease-out;
}

.tournament-content h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  font-weight: 700;
  color: #f7f0e8;
}

.tournament-content p {
  color: #d9e3eb;
  font-size: 1.05rem;
  line-height: 1.8;
}

.tournament-content .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffd493;
  margin-bottom: 16px;
}

.hero-copy h1 {
  background: linear-gradient(135deg, #1b2b43 0%, #0f7b73 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeIn 0.8s ease-out 0.2s forwards;
  opacity: 0;
}

.hero-copy p {
  max-width: 720px;
  animation: fadeIn 0.8s ease-out 0.3s forwards;
  opacity: 0;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  animation: fadeIn 0.8s ease-out 0.4s forwards;
  opacity: 0;
}

.hero-copy p {
  max-width: 720px;
}

.hero-panel {
  background: linear-gradient(150deg, #fff8eb 0%, #ffffff 100%);
  border: 1px solid #e9dcc6;
  border-radius: var(--radius-lg);
  padding: 26px;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: bounceIn 0.7s ease-out 0.3s forwards;
  opacity: 0;
  position: relative;
  overflow: hidden;
}

.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(239, 138, 23, 0), rgba(239, 138, 23, 0.1), rgba(239, 138, 23, 0));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.hero-panel:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 24px 56px rgba(239, 138, 23, 0.18);
  border-color: var(--brand);
  background: linear-gradient(150deg, #fffbf0 0%, #fffef9 100%);
}

.hero-panel:hover::before {
  opacity: 1;
}

.hero-panel ul {
  display: grid;
  gap: 10px;
  margin-top: 12px;
}

.mini-note {
  margin-top: 14px;
  font-size: 0.88rem;
  color: #836543;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 22px;
}

.stat {
  background: #fff;
  border: 1px solid #e4dbcc;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 18px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.stats-grid .reveal.show .stat:nth-child(1) { animation: scaleIn 0.5s ease-out forwards 0.2s; }
.stats-grid .reveal.show .stat:nth-child(2) { animation: scaleIn 0.5s ease-out forwards 0.3s; }
.stats-grid .reveal.show .stat:nth-child(3) { animation: scaleIn 0.5s ease-out forwards 0.4s; }
.stats-grid .reveal.show .stat:nth-child(4) { animation: scaleIn 0.5s ease-out forwards 0.5s; }

.stat::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(239, 138, 23, 0.1), transparent);
  transition: all 0.5s ease;
  opacity: 0;
}

.stat:hover::before {
  top: 0;
  right: 0;
  opacity: 1;
}

.stat:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 20px 48px rgba(239, 138, 23, 0.18);
  border-color: var(--brand);
  background: linear-gradient(135deg, #fff, #fffef9);
}

.stat strong {
  font-size: 1.55rem;
  display: block;
  font-family: "Fraunces", serif;
  color: #1b2b43;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  z-index: 1;
}

.stat:hover strong {
  transform: scale(1.12) translateY(-2px);
  color: var(--brand);
}

.stat span {
  color: #607087;
  font-size: 0.85rem;
}

.card {
  background: var(--surface);
  border: 2px solid #e4dbcd;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(25, 38, 58, 0.08);
  padding: 28px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(239, 138, 23, 0.05), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), #f1b046, transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::before {
  opacity: 1;
}

.card:hover::after {
  opacity: 1;
}

.card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 56px rgba(25, 38, 58, 0.15);
  border-color: var(--brand);
  background: linear-gradient(135deg, var(--surface), rgba(255, 255, 255, 0.8));
}

.card h3 {
  margin-top: 8px;
  margin-bottom: 14px;
  color: #1b2b43;
}

.card p {
  flex-grow: 1;
  margin-bottom: 16px;
  color: #4b5e78;
  line-height: 1.7;
}

.card .btn {
  align-self: flex-start;
  margin-top: auto;
}

.card.soft {
  background: #fff9ef;
}

.card-grid {
  display: grid;
  gap: 18px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1200px;
  margin: 0 auto;
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.badge {
  display: inline-flex;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 7px 14px;
  margin-bottom: 8px;
  animation: slideInUp 0.5s ease-out;
}

.badge.brand {
  background: linear-gradient(135deg, #ffe8ca, #ffd8a3);
  color: #99530b;
  box-shadow: 0 4px 12px rgba(239, 138, 23, 0.15);
}

.badge.mint {
  background: linear-gradient(135deg, #d9f2ef, #b8e3dd);
  color: #0d655f;
  box-shadow: 0 4px 12px rgba(15, 123, 115, 0.15);
}

.badge.gray {
  background: linear-gradient(135deg, #edf1f6, #dce4f0);
  color: #5d6f87;
  box-shadow: 0 4px 12px rgba(93, 111, 135, 0.12);
}

.timeline {
  margin: 0;
  padding: 0;
  list-style: none;
  border-left: 3px solid #ebdfcb;
  position: relative;
}

.timeline li {
  margin-left: 16px;
  padding: 0 0 28px 24px;
  position: relative;
  transition: all 0.4s ease;
  animation: slideInLeft 0.6s ease-out forwards;
  opacity: 0;
}

.timeline li:nth-child(1) { animation-delay: 0.1s; }
.timeline li:nth-child(2) { animation-delay: 0.2s; }
.timeline li:nth-child(3) { animation-delay: 0.3s; }
.timeline li:nth-child(4) { animation-delay: 0.4s; }

.timeline li::before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  left: -26px;
  top: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), #f1b046);
  border: 3px solid #fff;
  box-shadow: 0 0 0 4px #fbf7f0, 0 4px 12px rgba(239, 138, 23, 0.3);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.timeline li:hover::before {
  transform: scale(1.3) translateX(4px);
  box-shadow: 0 0 0 4px #fbf7f0, 0 8px 20px rgba(239, 138, 23, 0.45);
}

.timeline li:hover {
  padding-left: 32px;
  margin-left: 8px;
}

.timeline li:hover h3 {
  color: var(--brand);
}

.step-list {
  display: grid;
  gap: 14px;
}

.step-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 12px;
  align-items: start;
}

.step-item .num {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: #ffeed8;
  color: #93510a;
}

.anchor-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 12px 0 20px;
}

.anchor-tabs a {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid #d5dce4;
  color: #40526b;
  font-weight: 700;
  font-size: 0.84rem;
}

.anchor-tabs a:hover {
  border-color: #9cb6cc;
}

.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid #e4dccc;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

th {
  text-align: left;
  background: #fff8eb;
  color: #73440f;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 12px 14px;
}

td {
  border-top: 1px solid #ece4d9;
  color: #4d5f79;
  padding: 12px 14px;
  font-size: 0.92rem;
}

.notice {
  border: 1px solid #ecddc6;
  border-left: 4px solid var(--brand);
  background: #fffaf1;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 12px 14px;
  color: #694017;
}

.alert {
  border-radius: var(--radius-sm);
  padding: 11px 12px;
  border: 1px solid transparent;
  font-size: 0.88rem;
  margin-bottom: 12px;
}

.alert.info {
  background: #ecf8f6;
  border-color: #b8e3dd;
  color: #145f59;
}

.alert.error {
  background: #fdeceb;
  border-color: #f4c2bd;
  color: #822719;
}

.alert.success {
  background: #ecf9f0;
  border-color: #bfe3cb;
  color: #1c663a;
}

.form-card {
  background: #fff;
  border: 1px solid #e2d7c6;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  margin-bottom: 14px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.82rem;
  color: #4f5f77;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

input,
select,
textarea {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #d4ccbf;
  padding: 11px 12px;
  font-size: 0.94rem;
  font-family: inherit;
  color: #24344d;
  background: #fffdfa;
  transition: all 0.25s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid #ffdcae;
  border-color: #d7a257;
  box-shadow: 0 0 0 4px rgba(239, 138, 23, 0.1);
}

input:hover,
select:hover,
textarea:hover {
  border-color: #c8c0b3;
  box-shadow: 0 4px 12px rgba(25, 38, 58, 0.06);
}

.form-note {
  margin-top: 8px;
  color: #75849a;
  font-size: 0.82rem;
}

.check-row {
  display: flex;
  align-items: start;
  gap: 8px;
  margin: 6px 0 14px;
}

.check-row input {
  width: auto;
  margin-top: 4px;
}

.faq-item {
  border: 1px solid #e6ddcf;
  border-radius: var(--radius-sm);
  background: #fff;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  border: 0;
  background: transparent;
  padding: 16px;
  font-size: 0.97rem;
  color: #2f415b;
  cursor: pointer;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-answer {
  display: none;
  border-top: 1px solid #efe7dc;
  padding: 0 16px 16px;
  color: #51627c;
}

.faq-item.open .faq-answer {
  display: block;
}

.role-toggle {
  display: inline-flex;
  gap: 8px;
  padding: 4px;
  border: 1px solid #e7ddcf;
  border-radius: 999px;
  background: #fff6e8;
  margin-bottom: 16px;
}

.role-toggle button {
  border: 0;
  background: transparent;
  padding: 7px 14px;
  border-radius: 999px;
  color: #495a72;
  font-weight: 700;
  cursor: pointer;
}

.role-toggle button.active {
  background: var(--brand);
  color: #fff;
}

.auth-shell {
  max-width: 560px;
  margin-inline: auto;
}

.site-footer {
  border-top: 1px solid #ddd3c2;
  background: #f1ebdf;
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.3fr;
  gap: 20px;
  padding-bottom: 30px;
}

.footer-brand {
  font-size: 1.5rem;
  font-family: "Fraunces", serif;
  margin-bottom: 8px;
}

.footer-title {
  margin-bottom: 12px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #3e4f68;
  font-weight: 800;
}

.footer-links {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 8px;
}

.footer-links a {
  color: #4f617c;
  font-size: 0.92rem;
}

.footer-contact p {
  margin-bottom: 8px;
  font-size: 0.92rem;
}

.footer-bottom {
  border-top: 1px solid #dbd1c1;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 0 18px;
  color: #677892;
  font-size: 0.84rem;
}

.page-hero {
  padding-top: 54px;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
}

.js-enhanced .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s cubic-bezier(0.34, 1.56, 0.64, 1),
              transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.js-enhanced .reveal.show {
  opacity: 1;
  transform: translateY(0);
}

/* Enhanced Animations */
@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 12px 30px rgba(25, 38, 58, 0.08);
  }
  50% {
    box-shadow: 0 12px 40px rgba(239, 138, 23, 0.15);
  }
}

@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

@keyframes bounceIn {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }
  50% {
    opacity: 1;
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes rotateIn {
  from {
    opacity: 0;
    transform: rotate(-10deg) translateY(20px);
  }
  to {
    opacity: 1;
    transform: rotate(0) translateY(0);
  }
}

@keyframes gradientShift {
  0%, 100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

.sports-shell {
  background:
    radial-gradient(circle at 10% 10%, rgba(239, 138, 23, 0.1), transparent 26%),
    radial-gradient(circle at 90% 15%, rgba(15, 123, 115, 0.12), transparent 24%),
    linear-gradient(180deg, #fdf9f2 0%, #f6efe4 100%);
}

.logo-ribbon {
  background: #fff;
  border-top: 1px solid #ece2d2;
  border-bottom: 1px solid #ece2d2;
  padding: 24px 0;
}

.logo-ribbon-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.logo-tile {
  min-height: 150px;
  padding: 22px 18px;
  border-radius: 24px;
  border: 1px solid #eadfce;
  background: linear-gradient(180deg, #ffffff, #fff8ef);
  display: grid;
  align-content: center;
  justify-items: center;
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.logo-badge {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  margin-bottom: 14px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
}

.logo-badge.blue {
  background: linear-gradient(145deg, #4d77ff, #6c92ff);
}

.logo-badge.red {
  background: linear-gradient(145deg, #ff5b47, #d93f2f);
}

.logo-badge.green {
  background: linear-gradient(145deg, #0f7b73, #1f9d8d);
}

.logo-badge.gold {
  background: linear-gradient(145deg, #ef8a17, #f0ad42);
}

.logo-title {
  margin-bottom: 6px;
  font-size: 1.18rem;
}

.dark-panel {
  background:
    radial-gradient(circle at top left, rgba(239, 138, 23, 0.16), transparent 30%),
    radial-gradient(circle at bottom right, rgba(15, 123, 115, 0.18), transparent 35%),
    linear-gradient(135deg, #0f1d28, #173041);
  color: #f6efe5;
}

.dark-panel h2,
.dark-panel h3,
.dark-panel h4,
.dark-panel p,
.dark-panel li {
  color: inherit;
}

.section-head.light .eyebrow {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.12);
  color: #ffd493;
}

.section-head.light h2,
.section-head.light p {
  color: #f7f0e8;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: linear-gradient(135deg, #ffffff, #fffef9);
}

.reveal.show .service-card {
  animation: slideInUp 0.6s ease-out forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }

.service-card:hover {
  transform: translateY(-8px) rotateX(2deg);
  box-shadow: 0 28px 56px rgba(239, 138, 23, 0.18);
  border-color: var(--brand);
  background: linear-gradient(135deg, #ffffff, #fffaf1);
}

.service-card::after {
  content: "";
  position: absolute;
  inset: auto -20px -30px auto;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(239, 138, 23, 0.15), rgba(239, 138, 23, 0.08));
  transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
  filter: blur(1px);
}

.service-card:hover::after {
  width: 140px;
  height: 140px;
  background: linear-gradient(135deg, rgba(239, 138, 23, 0.25), rgba(239, 138, 23, 0.12));
}

.service-label {
  display: inline-flex;
  margin-bottom: 12px;
  color: #8d5b19;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.achievement-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.achievement-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  padding: 22px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(4px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: slideInUp 0.6s ease-out forwards;
  opacity: 0;
  position: relative;
  overflow: hidden;
}

.achievement-card:nth-child(1) { animation-delay: 0.1s; }
.achievement-card:nth-child(2) { animation-delay: 0.2s; }
.achievement-card:nth-child(3) { animation-delay: 0.3s; }
.achievement-card:nth-child(4) { animation-delay: 0.4s; }

.achievement-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(239, 138, 23, 0.2), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.achievement-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.28);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 24px 56px rgba(239, 138, 23, 0.25);
}

.achievement-card:hover::before {
  opacity: 1;
}

.achievement-key {
  display: inline-flex;
  margin-bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffd493;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.score-spotlight {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 18px;
  align-items: stretch;
}

.scoreboard-card {
  border-radius: 28px;
  padding: 28px;
  background: linear-gradient(135deg, #16313f, #0d1f2c);
  color: #f7f0e8;
  box-shadow: 0 20px 48px rgba(25, 38, 58, 0.25);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: slideInLeft 0.7s ease-out;
  position: relative;
  overflow: hidden;
}

.scoreboard-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(239, 138, 23, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.scoreboard-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 28px 64px rgba(239, 138, 23, 0.25);
}

.scoreboard-card:hover::before {
  opacity: 1;
}

.scoreboard-card h2,
.scoreboard-card p,
.scoreboard-card h3 {
  color: inherit;
}

.score-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.score-box {
  border-radius: 18px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.score-box strong {
  display: block;
  margin-bottom: 5px;
  font-size: 1.08rem;
}

.status-stack {
  display: grid;
  gap: 12px;
}

.status-card {
  border-radius: 22px;
  padding: 18px;
  background: #fff;
  border: 1px solid #eadcca;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: slideInRight 0.7s ease-out;
  position: relative;
  overflow: hidden;
}

.status-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(239, 138, 23, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.status-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 48px rgba(239, 138, 23, 0.18);
  border-color: var(--brand);
  background: linear-gradient(135deg, #fff, #fffaf1);
}

.status-card:hover::before {
  opacity: 1;
}

.player-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.player-card {
  border-radius: 24px;
  padding: 20px;
  background: #fff;
  border: 1px solid #eadfce;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: scaleIn 0.5s ease-out forwards;
  opacity: 0;
  position: relative;
}

.player-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(239, 138, 23, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.player-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 24px 56px rgba(15, 123, 115, 0.18);
  border-color: var(--accent);
}

.player-card:hover::before {
  opacity: 1;
}

.player-avatar {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: linear-gradient(145deg, #1f4e4a, #0f7b73);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.player-role {
  color: #8a5d19;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.result-card {
  border-radius: 24px;
  padding: 20px;
  background: #fff;
  border: 1px solid #e8dcc9;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: slideInUp 0.5s ease-out forwards;
  opacity: 0;
  position: relative;
}

.result-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(239, 138, 23, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.result-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 28px 56px rgba(25, 38, 58, 0.18);
  border-color: var(--brand);
}

.result-card:hover::before {
  opacity: 1;
}

.result-card .match-line {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid #efe4d6;
}

.result-card .match-line:last-child {
  border-bottom: 0;
}

.award-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.award-card {
  border-radius: 24px;
  padding: 24px;
  border: 1px solid #eadcc8;
  background: linear-gradient(180deg, #fffdf8, #fff3dd);
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: rotateIn 0.6s ease-out forwards;
  opacity: 0;
  position: relative;
  overflow: hidden;
}

.award-card:nth-child(1) { animation-delay: 0.1s; }
.award-card:nth-child(2) { animation-delay: 0.2s; }
.award-card:nth-child(3) { animation-delay: 0.3s; }
.award-card:nth-child(4) { animation-delay: 0.4s; }
.award-card:nth-child(5) { animation-delay: 0.5s; }
.award-card:nth-child(6) { animation-delay: 0.6s; }

.award-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(239, 138, 23, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.award-card:hover {
  transform: translateY(-8px) rotateY(-2deg);
  box-shadow: 0 28px 56px rgba(239, 138, 23, 0.22);
  border-color: var(--brand);
  background: linear-gradient(180deg, #fffef9, #fffaf0);
}

.award-card:hover::before {
  opacity: 1;
}

.award-mark {
  width: 56px;
  height: 56px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  background: linear-gradient(145deg, #ef8a17, #f1b046);
  color: #fff;
  font-weight: 800;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 8px 20px rgba(239, 138, 23, 0.3);
}

.award-card:hover .award-mark {
  transform: scale(1.15) rotate(8deg);
  box-shadow: 0 12px 32px rgba(239, 138, 23, 0.4);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.story-card {
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #eadccb;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: scaleIn 0.6s ease-out forwards;
  opacity: 0;
  transform-origin: center;
}

.story-card:nth-child(1) { animation-delay: 0.1s; }
.story-card:nth-child(2) { animation-delay: 0.2s; }
.story-card:nth-child(3) { animation-delay: 0.3s; }

.story-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 28px 56px rgba(25, 38, 58, 0.18);
  border-color: var(--brand);
}

.story-thumb {
  min-height: 180px;
  padding: 24px;
  display: flex;
  align-items: end;
  background:
    linear-gradient(135deg, rgba(15, 123, 115, 0.9), rgba(12, 38, 55, 0.82)),
    linear-gradient(180deg, #214a60, #0f2332);
  color: #fff;
}

.story-thumb.thumb-warm {
  background:
    linear-gradient(135deg, rgba(239, 138, 23, 0.92), rgba(128, 58, 13, 0.82)),
    linear-gradient(180deg, #8d4f18, #4f2b0f);
}

.story-thumb.thumb-mint {
  background:
    linear-gradient(135deg, rgba(15, 123, 115, 0.92), rgba(9, 88, 82, 0.82)),
    linear-gradient(180deg, #17665f, #0d403c);
}

.story-thumb.thumb-blue {
  background:
    linear-gradient(135deg, rgba(34, 97, 160, 0.92), rgba(18, 50, 86, 0.82)),
    linear-gradient(180deg, #2a5d91, #10263b);
}

.story-thumb.thumb-red {
  background:
    linear-gradient(135deg, rgba(180, 64, 47, 0.92), rgba(94, 23, 16, 0.82)),
    linear-gradient(180deg, #96392c, #441812);
}

.story-thumb.thumb-dark {
  background:
    linear-gradient(135deg, rgba(22, 29, 42, 0.94), rgba(42, 56, 76, 0.82)),
    linear-gradient(180deg, #243345, #101720);
}

.story-thumb.thumb-gold {
  background:
    linear-gradient(135deg, rgba(217, 156, 34, 0.94), rgba(120, 76, 9, 0.82)),
    linear-gradient(180deg, #c38d20, #5d3f0f);
}

.story-body {
  padding: 22px;
}

.story-meta {
  display: inline-flex;
  margin-bottom: 10px;
  color: #8a5d19;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-card {
  border-radius: 24px;
  padding: 24px;
  background: #fff;
  border: 1px solid #eadfce;
  box-shadow: var(--shadow-soft);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  animation: scaleIn 0.6s ease-out forwards;
  opacity: 0;
  position: relative;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(15, 123, 115, 0.08), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 28px 56px rgba(25, 38, 58, 0.18);
  border-color: var(--accent);
}

.testimonial-card:hover::before {
  opacity: 1;
}

.quote-mark {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 2rem;
  line-height: 1;
}

.testimonial-source {
  display: block;
  margin-top: 14px;
  color: #8a5d19;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.home-note {
  margin-top: 16px;
  color: #7f8fa5;
  font-size: 0.9rem;
}

@media (max-width: 1000px) {
  .hero-grid,
  .grid-4,
  .grid-3,
  .achievement-grid,
  .player-grid,
  .tournament-top-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .logo-ribbon-grid,
  .results-grid,
  .award-grid,
  .story-grid,
  .testimonial-grid,
  .service-grid,
  .score-spotlight {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 840px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 76px;
    background: #faf5eb;
    border-bottom: 1px solid #e5d9c5;
    padding: 14px 16px 18px;
    display: none;
    flex-direction: column;
    align-items: start;
    gap: 12px;
  }

  .nav-links.open {
    display: flex;
  }

  .grid-3,
  .grid-2,
  .stats-grid,
  .form-row,
  .logo-ribbon-grid,
  .service-grid,
  .achievement-grid,
  .score-spotlight,
  .score-grid,
  .player-grid,
  .results-grid,
  .award-grid,
  .story-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }
}

@media (max-width: 620px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .hero {
    padding-top: 66px;
  }
}
