/* ==========================================================================
   CALGARY DISC DOG CLUB - MASTER STYLESHEET
   Brand Theme: Deep Spruce Teal & Vibrant Coral Palette
   Teal: #174b52 | Teal Accent: #2b737c | Bright Teal: #4097a3
   Coral Accent: #e96b61 | Coral Hover: #d4574d
   Abyssal Teal: #071416 | Sea Salt: #f4f8f8
   ========================================================================== */

:root {
  /* Deep Spruce Teal Surfaces */
  --spruce-black: #071416;
  --spruce-dark: #0c1d20;
  --spruce: #11292d;
  --spruce-accent: #174b52;
  --mountain-blue: #235f68;
  --sky-blue: #4097a3;
  --sky-bright: #64b8c5;
  --sage: #98b2b5;
  --sand: #f4f8f8;
  --sand-muted: #8faab0;

  /* Primary Accent: Vibrant Coral */
  --orange: #e96b61;
  --orange-hover: #d4574d;
  --orange-glow: rgba(233, 107, 97, 0.42);

  /* Lines, Panels & Depth */
  --line: rgba(244, 248, 248, 0.08);
  --line-light: rgba(244, 248, 248, 0.16);
  --panel: rgba(12, 29, 32, 0.88);
  --shadow: 0 25px 60px rgba(0, 0, 0, 0.72);

  /* Unified Template Variables */
  --theme-orange: #e96b61;
  --theme-orange-glow: rgba(233, 107, 97, 0.42);
  --theme-blue: #174b52;
  --theme-blue-glow: rgba(23, 75, 82, 0.45);
  --dark-base: #071416;
  --glass-bg: rgba(12, 29, 32, 0.78);
  --glass-border: rgba(64, 151, 163, 0.22);
  --text-muted: #8faab0;

  /* Division Color Tokens */
  --div-novice: #4097a3;         /* Aqua Teal */
  --div-intermediate: #ebb042;   /* Warm Honey Amber */
  --div-advanced: #e96b61;       /* Vibrant Coral */
}

/* Base Badge Style */
.division-pill {
  display: inline-block;
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 900;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  text-transform: capitalize;
}

/* Division Badge Classes */
.badge-novice {
  background: rgba(64, 151, 163, 0.18) !important;
  border: 1.5px solid var(--div-novice) !important;
  color: #64b8c5 !important;
  box-shadow: 0 0 14px rgba(64, 151, 163, 0.25) !important;
}

.badge-intermediate {
  background: rgba(235, 176, 66, 0.18) !important;
  border: 1.5px solid var(--div-intermediate) !important;
  color: #ebb042 !important;
  box-shadow: 0 0 14px rgba(235, 176, 66, 0.25) !important;
}

.badge-advanced {
  background: rgba(233, 107, 97, 0.18) !important;
  border: 1.5px solid var(--div-advanced) !important;
  color: #e96b61 !important;
  box-shadow: 0 0 14px rgba(233, 107, 97, 0.25) !important;
}

/* Text Utility Classes for Numbers */
.text-div-novice {
  color: #64b8c5 !important;
}

.text-div-intermediate {
  color: var(--div-intermediate) !important;
}

.text-div-advanced {
  color: var(--div-advanced) !important;
}

/* 2. THEME MODIFIER OVERRIDES (Opt-in for Frost Theme) */
body.got-frost-theme {
  --theme-orange: #38b4d8;
  --theme-orange-glow: rgba(56, 180, 216, 0.35);
  --theme-blue: #155566;
  --theme-blue-glow: rgba(21, 85, 102, 0.35);
  --dark-base: #061217;
  --glass-bg: rgba(6, 18, 23, 0.8);
  --glass-border: rgba(56, 180, 216, 0.2);
  --text-muted: #95b3bc;
  background: 
    radial-gradient(circle at 80% -10%, rgba(56, 180, 216, 0.22), transparent 45%),
    linear-gradient(180deg, #0a1c22 0%, #061217 100%) !important;
}

* { 
  box-sizing: border-box; 
  margin: 0; 
  padding: 0; 
}

html { 
  scroll-behavior: smooth; 
  background: var(--spruce-black); 
}

/* Master Ambient Background */
body {
  margin: 0;
  background: 
    radial-gradient(circle at 80% -10%, rgba(23, 75, 82, 0.45), transparent 50%),
    radial-gradient(circle at 10% 25%, rgba(233, 107, 97, 0.18), transparent 42%),
    linear-gradient(180deg, #0e2428 0%, var(--spruce-black) 100%);
  color: var(--sand);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
  line-height: 1.7;
  letter-spacing: 0.02em;
  -webkit-font-smoothing: antialiased;
}

/* Micro-grain overlay */
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 30;
  opacity: .12;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

/* Master Vector Mountains Pattern (Teal Peaks & Coral Lines) */
.bg-geometric-mountains {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 800' preserveAspectRatio='xMidYMax slice'%3E%3Cpath d='M0,800 L0,450 L250,250 L600,550 L1000,200 L1440,500 L1440,800 Z' fill='rgba(23, 75, 82, 0.35)'/%3E%3Cpath d='M0,800 L0,550 L350,350 L700,650 L1150,300 L1440,600 L1440,800 Z' fill='rgba(12, 29, 32, 0.65)'/%3E%3Cpath d='M0,800 L0,650 L450,500 L800,750 L1300,450 L1440,650 L1440,800 Z' fill='rgba(7, 20, 22, 0.94)'/%3E%3Cpath d='M0,450 L250,250 L600,550 L1000,200 L1440,500' fill='none' stroke='rgba(64, 151, 163, 0.35)' stroke-width='2'/%3E%3Cpath d='M0,550 L350,350 L700,650 L1150,300 L1440,600' fill='none' stroke='rgba(233, 107, 97, 0.28)' stroke-width='2'/%3E%3C/svg%3E");
}

body.got-frost-theme .bg-geometric-mountains {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 800' preserveAspectRatio='xMidYMax slice'%3E%3Cpath d='M0,800 L0,450 L250,250 L600,550 L1000,200 L1440,500 L1440,800 Z' fill='rgba(21, 85, 102, 0.35)'/%3E%3Cpath d='M0,800 L0,550 L350,350 L700,650 L1150,300 L1440,600 L1440,800 Z' fill='rgba(10, 28, 34, 0.6)'/%3E%3Cpath d='M0,800 L0,650 L450,500 L800,750 L1300,450 L1440,650 L1440,800 Z' fill='rgba(6, 18, 23, 0.95)'/%3E%3Cpath d='M0,450 L250,250 L600,550 L1000,200 L1440,500' fill='none' stroke='rgba(56, 180, 216, 0.3)' stroke-width='2'/%3E%3Cpath d='M0,550 L350,350 L700,650 L1150,300 L1440,600' fill='none' stroke='rgba(255, 255, 255, 0.16)' stroke-width='2'/%3E%3C/svg%3E");
}

p, 
li, 
small, 
.page-subtitle, 
.hero-lede, 
.footer-desc, 
.intro-copy,
.criteria-box,
.breakdown-table td {
  letter-spacing: 0.025em;
  line-height: 1.72;
}

a { 
  color: inherit; 
  text-decoration: none; 
}

button { 
  font: inherit; 
}

.content-container {
  width: min(1200px, calc(100% - 44px));
  margin: 0 auto;
}

.eyebrow {
  font-size: .75rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--orange);
  font-weight: 800;
}

.lookup-eyebrow {
  font-size: 0.95rem;
  letter-spacing: 0.22em;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 0.25rem;
}

/* ANNOUNCEMENT TOPBAR */
.topbar {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #040d0f;
  border-bottom: 1px solid var(--line);
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sand-muted);
  position: relative;
  z-index: 25;
}

.topbar span { 
  color: var(--orange); 
  font-weight: 700; 
}

/* ==========================================================================
   HEADER NAVIGATION & BRAND LOCKUP
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(7, 20, 22, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

.nav-wrapper {
  width: min(1200px, calc(100% - 44px));
  margin: 0 auto;
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 48px !important;
  max-height: 48px !important;
  width: auto !important;
  max-width: 120px !important;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
  transition: transform 0.2s ease, filter 0.2s ease;
}

.brand-badge:hover .brand-logo-img {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 14px var(--orange-glow));
}

.brand-text-group {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-text {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  display: block;
  line-height: 1.1;
  color: var(--sand);
}

.brand-sub {
  font-size: 0.64rem;
  color: var(--sage);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
  margin-top: 2px;
}

.nav-links {
  display: flex;
  gap: 24px;
  align-items: center;
  font-size: .78rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--sand-muted);
}

.nav-links a { 
  transition: all .2s ease; 
}

.nav-links a:hover { 
  color: var(--orange); 
}

.nav-links a.active {
  color: var(--orange) !important;
  font-weight: 800;
}

body.got-frost-theme .nav-links a.active {
  color: #38b4d8 !important;
  font-weight: 800;
}

/* BUTTONS */
.btn {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--line-light);
  padding: 13px 22px;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 800;
  transition: all .2s ease;
  background: rgba(23, 75, 82, 0.35);
  color: var(--sand);
  border-radius: 8px;
}

.btn:hover {
  background: rgba(23, 75, 82, 0.65);
  border-color: var(--sky-blue);
}

.btn-primary {
  background: var(--orange);
  color: #ffffff;
  border: 1px solid #f2867e;
  box-shadow: 0 4px 14px rgba(233, 107, 97, 0.3);
}

.btn-primary:hover {
  background: var(--orange-hover);
  border-color: #f79d96;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--orange-glow);
}

/* SITE FOOTER */
.site-footer {
  padding: 60px 0 70px;
  color: var(--sand-muted);
  background: #040c0e;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 50px;
  align-items: start;
  margin-bottom: 40px;
}

.footer-brand {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.75;
  letter-spacing: 0.025em;
  color: var(--sage);
  max-width: 460px;
}

.footer-contact h4 {
  font-size: .95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--sand);
  margin-bottom: 12px;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 10px 14px;
  margin-bottom: 8px;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-family: inherit;
  font-size: .88rem;
  letter-spacing: 0.02em;
}

.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255, 255, 255, 0.07);
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.footer-bottom-flex {
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--sage);
}

/* AMBIENT PARTICLES */
#particles {
  position: fixed;
  inset: 0;
  z-index: 9;
  pointer-events: none;
  overflow: hidden;
}

.part {
  position: absolute;
  width: 2.5px;
  height: 2.5px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0;
  box-shadow: 0 0 8px var(--orange);
  animation: rise linear infinite;
}

@keyframes rise {
  0% { transform: translateY(20px) scale(.6); opacity: 0; }
  15% { opacity: .75; }
  85% { opacity: .2; }
  100% { transform: translateY(-110vh) translateX(50px) scale(1.4); opacity: 0; }
}

/* SCROLL REVEAL UTILITY */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: .75s cubic-bezier(.2, .75, .2, 1);
}

.reveal.in {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   SUBPAGE & DIVISION CALCULATOR
   ========================================================================== */
.page-main {
  padding: 4.5rem 0 6.5rem;
  min-height: calc(100vh - 420px);
}

.page-container {
  max-width: 840px;
}

.page-header {
  margin-bottom: 2.5rem;
}

.page-header.text-center {
  text-align: center;
}

.page-title {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--sand);
  margin: 0.4rem 0 0.8rem;
  line-height: 1.05;
}

.page-subtitle {
  color: var(--sand-muted);
  font-size: 1.02rem;
  max-width: 640px;
  margin: 0 auto;
}

.lookup-card-wrap {
  background: var(--panel);
  border: 1px solid var(--line-light);
  border-radius: 12px;
  padding: 2.25rem;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.lookup-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--sage);
  margin-bottom: 0.6rem;
}

.lookup-input-row {
  display: flex;
  gap: 12px;
}

.lookup-input-row input {
  flex: 1;
  background: rgba(4, 13, 15, 0.65);
  border: 1.5px solid var(--line-light);
  border-radius: 8px;
  padding: 14px 18px;
  color: #ffffff;
  font-size: 1.1rem;
  font-family: inherit;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: all 0.2s ease;
}

.lookup-input-row input:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(4, 13, 15, 0.85);
  box-shadow: 0 0 16px var(--orange-glow);
}

.lookup-input-row input::placeholder {
  color: rgba(244, 248, 248, 0.25);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.lookup-input-row button {
  white-space: nowrap;
  padding: 0 26px;
  font-size: 0.85rem;
}

.input-hint {
  display: block;
  margin-top: 0.6rem;
  font-size: 0.76rem;
  color: var(--sand-muted);
}

.lookup-status-msg {
  margin-top: 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--orange);
}

/* RESULTS CARD CONTAINER */
.lookup-result-panel {
  margin-top: 2rem;
  padding: 2rem;
  background: rgba(6, 17, 19, 0.95);
  border: 1px solid var(--line-light);
  border-radius: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.team-header {
  border-bottom: 1px solid var(--line);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.team-name {
  font-family: 'Cabinet Grotesk', sans-serif;
  font-size: 2.1rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}

/* METADATA CHIPS */
.team-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.meta-chip {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.85rem 1.1rem;
  display: flex;
  flex-direction: column;
}

.chip-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--sage);
  font-weight: 800;
  margin-bottom: 4px;
}

.chip-value {
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.points-val {
  color: var(--orange);
}

/* ACCORDION */
.breakdown-accordion {
  margin-top: 1.5rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(4, 13, 15, 0.45);
  overflow: hidden;
}

.breakdown-summary {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--sand);
  cursor: pointer;
  user-select: none;
  padding: 0.95rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
  transition: background 0.15s;
}

.breakdown-summary::-webkit-details-marker {
  display: none;
}

.breakdown-summary:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--orange);
}

.summary-caret {
  font-size: 0.8rem;
  color: var(--sand-muted);
  transition: transform 0.2s ease;
}

.breakdown-accordion[open] .summary-caret {
  transform: rotate(180deg);
}

.breakdown-content {
  padding: 0 1.25rem 1.25rem;
}

/* BREAKDOWN TABLE */
.table-responsive {
  overflow-x: auto;
}

.breakdown-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  text-align: left;
}

.breakdown-table thead tr {
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid var(--line-light);
}

.breakdown-table th {
  padding: 10px 12px;
  color: var(--sage);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 800;
}

.th-center, .td-center {
  text-align: center;
}

.breakdown-table tbody tr {
  border-bottom: 1px solid var(--line);
}

.breakdown-table tbody tr:last-child {
  border-bottom: none;
}

.breakdown-table td {
  padding: 12px 12px;
  color: var(--sand-muted);
}

.td-game {
  text-transform: capitalize;
  font-weight: 600;
  color: var(--sand);
}

.td-percentile {
  font-weight: 800;
  font-size: 0.95rem;
}

/* ==========================================================================
   GLOBAL SPONSORS MARQUEE RIBBON
   ========================================================================== */
.site-sponsors-section {
  background: rgba(5, 15, 17, 0.96);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}

.sponsors-label {
  padding: 0 24px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--sage);
  white-space: nowrap;
  border-right: 1px solid var(--line);
  z-index: 2;
  background: #050f11;
}

.marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: marqueeScroll 25s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.sponsor-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--sand-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.sponsor-chip:hover {
  color: var(--orange);
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* NAVIGATION DROPDOWN MENU */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  font: inherit;
  color: inherit;
  padding: 0;
}

.nav-dropdown-toggle .caret {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.nav-dropdown:hover .nav-dropdown-toggle .caret,
.nav-dropdown.open .nav-dropdown-toggle .caret {
  transform: rotate(180deg);
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(7, 20, 22, 0.97);
  border: 1px solid rgba(64, 151, 163, 0.4);
  border-radius: 10px;
  padding: 8px 0;
  min-width: 210px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.8), 0 0 16px rgba(233, 107, 97, 0.16);
  backdrop-filter: blur(16px);
  z-index: 10000;
  list-style: none;
  margin: 0;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-item {
  display: block;
  padding: 10px 18px;
  color: var(--sand-muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.18s ease;
  white-space: nowrap;
}

.nav-dropdown-item:hover {
  background: rgba(233, 107, 97, 0.12);
  color: #fff;
  padding-left: 22px;
}

.nav-dropdown-item.active {
  color: var(--orange);
  background: rgba(233, 107, 97, 0.08);
}

/* RESPONSIVE LAYOUT */
@media(max-width: 820px) {
  .site-header { padding: 0.65rem 0 0.5rem; }
  .nav-wrapper { height: auto !important; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.5rem; }
  .brand-badge { margin: 0; gap: 10px; }
  .brand-logo-img { height: 40px !important; max-height: 40px !important; }
  .brand-text { font-size: 1rem; }
  .brand-sub { font-size: 0.58rem; }
  .nav-links {
    display: flex !important;
    width: 100%;
    order: 3;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    padding-top: 0.5rem;
    border-top: 1px solid var(--line-light);
    flex-wrap: wrap !important;
  }
}

/* TOPBAR & INJECTION UTILITY STYLES */
.topbar-link {
  color: inherit;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 6px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--sky-blue);
  text-decoration: none;
}
.footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.form-success-box {
  background: rgba(23, 75, 82, 0.25);
  border: 1.5px solid var(--mountain-blue);
  padding: 14px;
  border-radius: 8px;
  text-align: center;
}
.form-success-box .success-title { color: #fff; font-weight: 800; margin: 0 0 4px 0; }
.form-success-box .success-desc { color: var(--sand-muted); font-size: 0.85rem; margin: 0; }

.game-tiers-badge.dual {
  background: rgba(233, 107, 97, 0.15);
  border-color: rgba(233, 107, 97, 0.35);
  color: var(--theme-orange);
}

.game-tiers-badge.distance {
  background: rgba(235, 176, 66, 0.16);
  border: 1px solid rgba(235, 176, 66, 0.5);
  color: #ebb042;
  box-shadow: 0 0 12px rgba(235, 176, 66, 0.15);
}
