:root {
  --red: #d71420;
  --red-dark: #a50d17;
  --gold: #d4af37;
  --ink: #0d0f12;
  --ink-soft: #161a22;
  --ink-card: #1c212b;
  --paper: #f8f6f0;
  --paper-card: #ffffff;
  --line: #e3ddd3;
  --line-dark: rgba(255, 255, 255, 0.12);
  --text-muted: #6e6862;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.25);
  --transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Header */
.site-header {
  height: 84px;
  padding: 0 5vw;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(248, 246, 240, 0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: var(--ink);
}

.brand-crest {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--red);
  box-shadow: 0 4px 12px rgba(215, 20, 32, 0.25);
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 1px;
  line-height: 1;
}

.brand-sub {
  font-size: 9px;
  letter-spacing: 2px;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  margin-top: 3px;
}

nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

nav a {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  position: relative;
  transition: var(--transition);
  padding: 6px 0;
}

nav a:hover {
  color: var(--red);
}

nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--red);
  transition: var(--transition);
}

nav a:hover::after {
  width: 100%;
}

.nav-cta {
  background: var(--red);
  color: white !important;
  padding: 8px 16px !important;
  border-radius: 4px;
}

.nav-cta::after {
  display: none !important;
}

.nav-cta:hover {
  background: var(--red-dark);
}

.menu-button {
  display: none;
  background: none;
  border: 1px solid var(--line);
  padding: 8px 14px;
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  border-radius: 4px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #101216 0%, #1a080a 50%, #2e080c 100%);
  color: white;
  min-height: 680px;
  padding: 70px 5vw 50px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-bg-lines {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(215, 20, 32, 0.28) 0%, transparent 45%),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 100% 100%, 60px 60px, 60px 60px;
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  max-width: 1360px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-content {
  max-width: 650px;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(215, 20, 32, 0.2);
  border: 1px solid rgba(215, 20, 32, 0.45);
  color: #ff858d;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 30px;
  margin-bottom: 22px;
}

.pill-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff3344;
  box-shadow: 0 0 8px #ff3344;
  animation: pulse 1.8s infinite;
}

@keyframes pulse {
  0% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
  100% { opacity: 1; transform: scale(1); }
}

.hero h1 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(62px, 7.5vw, 118px);
  line-height: 0.86;
  letter-spacing: -1.5px;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.hero h1 span.gradient {
  background: linear-gradient(180deg, #ffffff 40%, #ff8c94 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1 em {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  -webkit-text-fill-color: var(--gold);
}

.hero-copy {
  font-size: 16px;
  line-height: 1.6;
  color: #cfd4dc;
  margin-bottom: 34px;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  padding: 14px 26px;
  border-radius: 6px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--red);
  color: white;
  box-shadow: 0 8px 24px rgba(215, 20, 32, 0.4);
}

.btn-primary:hover {
  background: #f01726;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(215, 20, 32, 0.55);
}

.btn-outline {
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: white;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(8px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: white;
  transform: translateY(-2px);
}

/* Hero Media Card */
.hero-visual {
  position: relative;
}

.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.15);
  aspect-ratio: 3 / 4;
  background: #000;
}

.hero-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.hero-card:hover img {
  transform: scale(1.03);
}

.hero-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 10, 15, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.hero-card-tag {
  font-size: 10px;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.hero-card-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 6px;
}

.hero-card-sub {
  font-size: 12px;
  color: #c7cbd3;
  margin: 0;
}

.hero-stats-banner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.stat-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  text-align: center;
}

.stat-value {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 800;
  line-height: 1;
  color: white;
}

.stat-label {
  font-size: 9px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #9ea4b0;
  margin-top: 4px;
}

/* Sections Common */
section {
  padding: 95px 5vw;
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 50px;
}

.section-tag {
  font-size: 11px;
  letter-spacing: 2px;
  font-weight: 800;
  color: var(--red);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-head h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 800;
  font-size: clamp(48px, 6vw, 84px);
  line-height: 0.9;
  letter-spacing: -1px;
  margin: 0;
  text-transform: uppercase;
}

.section-head h2 em {
  font-family: Georgia, serif;
  font-weight: 400;
  font-style: italic;
  color: var(--red);
}

.section-intro {
  max-width: 380px;
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}

/* Section 1: O Clube & História */
.history-section {
  background: #f1ede4;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.history-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 50px;
  align-items: center;
}

.history-media {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.history-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.history-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--ink);
  color: white;
  padding: 10px 16px;
  border-radius: 4px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.3);
}

.history-badge span {
  color: var(--gold);
}

.history-body h3 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 38px;
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.history-body p {
  color: #433f3a;
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.history-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 30px 0;
  padding: 20px 0;
  border-top: 1px solid #ddd5c7;
  border-bottom: 1px solid #ddd5c7;
}

.pillar h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 6px;
  color: var(--ink);
}

.pillar p {
  font-size: 12px;
  color: #6a645d;
  margin: 0;
  line-height: 1.45;
}

/* Section 2: Futebol & Resultados */
.football-section {
  background: var(--ink);
  color: white;
}

.football-section .section-tag {
  color: #ff5b66;
}

.football-section .section-intro {
  color: #9ba1ad;
}

.matches-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
}

.match-featured-card {
  background: var(--ink-card);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  padding: 32px;
  position: relative;
  overflow: hidden;
}

.match-status {
  display: inline-block;
  background: rgba(215, 20, 32, 0.25);
  border: 1px solid rgba(215, 20, 32, 0.5);
  color: #ff858d;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.match-scoreboard {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.team {
  flex: 1;
  text-align: center;
}

.team-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.team-sub {
  font-size: 11px;
  color: #8c93a0;
  text-transform: uppercase;
}

.score-display {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 52px;
  font-weight: 800;
  color: var(--gold);
  padding: 0 18px;
  line-height: 1;
}

.match-meta-list {
  border-top: 1px solid var(--line-dark);
  padding-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  font-size: 12px;
  color: #9ba1ad;
}

.meta-item strong {
  display: block;
  color: white;
  font-size: 13px;
  margin-bottom: 2px;
}

.match-quote {
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.04);
  padding: 16px;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--red);
  font-size: 13px;
  color: #d1d5db;
  font-style: italic;
}

.match-quote cite {
  display: block;
  margin-top: 6px;
  font-size: 10px;
  font-style: normal;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
}

.upcoming-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.upcoming-card {
  background: var(--ink-card);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: var(--transition);
}

.upcoming-card:hover {
  border-color: rgba(215, 20, 32, 0.6);
  transform: translateY(-2px);
}

.upcoming-date {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 8px;
}

.upcoming-fixture {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.upcoming-venue {
  font-size: 12px;
  color: #9ba1ad;
}

/* Section 3: Loja Oficial (Store) */
.store-section {
  background: #fdfcf9;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.product-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.1);
  border-color: #cac0b2;
}

.product-visual {
  position: relative;
  aspect-ratio: 4 / 4.2;
  background: #090b0e;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .product-visual img {
  transform: scale(1.05);
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--ink);
  color: white;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 4px;
}

.product-badge.red {
  background: var(--red);
}

.product-badge.gold {
  background: var(--gold);
  color: var(--ink);
}

.product-details {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-sponsor-tag {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--red);
  margin-bottom: 6px;
}

.product-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 28px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.product-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 18px;
  flex: 1;
}

.product-sizes {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
}

.size-pill {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  color: var(--ink);
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #f0eae1;
  padding-top: 16px;
}

.product-price-note {
  font-size: 11px;
  font-weight: 700;
  color: #555;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 10px;
}

/* Section 4: Galeria Multimédia */
.gallery-section {
  background: var(--ink-soft);
  color: white;
}

.gallery-section .section-tag {
  color: var(--gold);
}

.gallery-section .section-intro {
  color: #9ba1ad;
}

.gallery-filter-bar {
  display: flex;
  gap: 10px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.filter-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cdd2dc;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 20px;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background: var(--red);
  color: white;
  border-color: var(--red);
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3 / 4;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px rgba(0,0,0,0.3);
}

.gallery-item.span-2 {
  grid-column: span 2;
  aspect-ratio: 16 / 10;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(10, 12, 16, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0.95;
  transition: var(--transition);
}

.gallery-overlay span {
  font-size: 9px;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
}

.gallery-overlay h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin: 4px 0 0;
  text-transform: uppercase;
  line-height: 1.1;
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(8, 10, 14, 0.92);
  backdrop-filter: blur(16px);
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.lightbox-caption {
  color: white;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-top: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
}

/* Section 5: Plantel & Equipa Técnica */
.squad-section {
  background: #f4efe6;
}

.squad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.squad-card {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
  transition: var(--transition);
}

.squad-card:hover {
  transform: translateY(-4px);
  border-color: var(--red);
  box-shadow: var(--shadow);
}

.squad-num {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 42px;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
  margin-bottom: 6px;
}

.squad-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 24px;
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 4px;
  color: var(--ink);
}

.squad-role {
  font-size: 11px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Section 6: Patrocinadores & Rotação */
.sponsors-section {
  background: #ffffff;
  border-top: 1px solid var(--line);
}

.sponsor-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: stretch;
}

.sponsor-featured-box {
  background: var(--ink);
  color: white;
  border-radius: var(--radius-md);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow);
}

.sponsor-featured-tag {
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 800;
  color: var(--gold);
  text-transform: uppercase;
}

.featured-logo-wrapper {
  margin: 30px 0;
  background: white;
  border-radius: var(--radius-sm);
  padding: 30px;
  display: grid;
  place-items: center;
  min-height: 150px;
}

.featured-logo-wrapper img {
  max-width: 100%;
  max-height: 110px;
  object-fit: contain;
}

.featured-sponsor-info h4 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 26px;
  font-weight: 800;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.featured-sponsor-info p {
  color: #9ea4b0;
  font-size: 13px;
  margin: 0;
}

.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.sponsor-card-box {
  background: #fbf9f4;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px;
  display: grid;
  place-items: center;
  min-height: 140px;
  transition: var(--transition);
}

.sponsor-card-box:hover {
  border-color: var(--red);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.sponsor-card-box img {
  max-width: 100%;
  max-height: 90px;
  object-fit: contain;
}

/* Call to Action */
.join-section {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  color: white;
  text-align: center;
  padding: 100px 5vw;
}

.join-section h2 {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: clamp(54px, 8vw, 110px);
  font-weight: 800;
  line-height: 0.9;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.join-section h2 em {
  font-family: Georgia, serif;
  font-style: italic;
  font-weight: 400;
  color: #ffd2d5;
}

.join-copy {
  font-size: 16px;
  max-width: 500px;
  margin: 0 auto 36px;
  color: #ffe5e7;
}

/* Footer */
footer {
  background: var(--ink);
  color: #8c929e;
  padding: 50px 5vw;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 22px;
  font-weight: 800;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 50%;
}

.footer-copy {
  font-size: 12px;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-content {
    margin: 0 auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-visual {
    max-width: 450px;
    margin: 0 auto;
  }
  .history-layout {
    grid-template-columns: 1fr;
  }
  .matches-grid {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .gallery-masonry {
    grid-template-columns: repeat(2, 1fr);
  }
  .squad-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sponsor-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  nav {
    display: none;
  }
  nav.open {
    display: flex;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: var(--paper);
    padding: 24px 6vw;
    flex-direction: column;
    align-items: flex-start;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .menu-button {
    display: block;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .gallery-masonry {
    grid-template-columns: 1fr;
  }
  .gallery-item.span-2 {
    grid-column: span 1;
    aspect-ratio: 3 / 4;
  }
  .history-pillars {
    grid-template-columns: 1fr;
  }
}

/* Powered by mBora Technologies — Footer */
footer {
  background: var(--ink);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-powered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 5vw;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: #6a707c;
}

.footer-powered a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-powered a:hover {
  opacity: 0.8;
}

.mbora-footer-logo {
  display: block;
  width: 140px;
  height: 42px;
  object-fit: contain;
  filter: brightness(0) invert(0.55);
  transition: filter 0.2s ease;
}

.mbora-footer-logo:hover {
  filter: brightness(0) invert(1);
}


/* Match the Quimera OS "Powered by mBora Technologies" footer treatment. */
.footer-powered {
  background: transparent;
  color: #cbd5e1;
  border-top: 0;
  border-radius: 0;
  margin: 18px auto 0;
  padding: 12px 5vw 0;
  width: fit-content;
  max-width: 100%;
  letter-spacing: .08em;
}
.footer-powered .mbora-footer-logo {
  width: 180px;
  height: auto;
  max-width: min(180px, 48vw);
  max-height: 61px;
  object-fit: contain;
  filter: none;
}
.footer-powered .mbora-footer-logo:hover {
  filter: none;
}
@media (max-width: 520px) {
  .footer-powered { gap: 8px; padding: 12px; font-size: 10px; letter-spacing: .06em; }
  .footer-powered .mbora-footer-logo { max-width: 145px; }
}
