/* ─────────────────────────────────────────────────────────────
   CAYMAN SUPER KINGS CRICKET CLUB — DESIGN TOKENS
   Strict adherence to brief design tokens & typography
   ───────────────────────────────────────────────────────────── */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@500;600;700;800&family=Barlow+Condensed:wght@400;500;600;700;800;900&family=Manrope:wght@400;500;600;700;800&display=swap');
@import url('futuristic.css');

:root {
  /* Brand Colours - Cayman Super Kings Premium Dark Navy & Gold */
  --c-navy: #040914;
  --c-navy-light: #0A1630;
  --c-navy-surface: #0E1F3D;
  --c-navy-dark: #020408;
  --c-navy-card: #08142A;
  
  --c-gold: #FFFFFF;
  --c-gold-hover: #E2E8F0;
  --c-gold-light: rgba(255, 255, 255, 0.1);
  --c-gold-subtle: rgba(255, 255, 255, 0.05);
  --c-gold-muted: #94A3B8;
  
  --c-flame: #38BDF8;           /* Accent fills / match alerts */
  --c-flame-text: #38BDF8;      /* Contrast safe text on dark backgrounds */
  --c-flame-light: rgba(56, 189, 248, 0.14);
  
  --c-teal: #38C6D9;            /* Secondary accent — badges & details */
  --c-teal-hover: #29AEC0;
  --c-teal-light: rgba(56, 198, 217, 0.18);
  
  --c-page-bg: #02050C;
  --c-card-bg: #08142A;
  --c-card-bg-elevated: #0E1F3D;
  --c-border: rgba(255, 255, 255, 0.08);
  --c-border-subtle: rgba(255, 255, 255, 0.05);
  --c-border-gold: rgba(255, 255, 255, 0.12);
  
  --c-text-main: #FFFFFF;
  --c-text-muted: #94A3B8;
  --c-text-light: #64748B;
  --c-text-inverse: #080E18;
  --c-text-inverse-muted: #CBD5E1;

  /* Typography */
  --font-display: 'Barlow Condensed', Impact, Haettenschweiler, sans-serif;
  --font-nav: 'Outfit', 'Plus Jakarta Sans', -apple-system, sans-serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Grid & Dimensions */
  --max-width: 1180px;
  --section-pad-desktop: 80px;
  --section-pad-mobile: 44px;

  /* Radii */
  --radius-card: 14px;
  --radius-pill: 999px;
  --radius-badge: 6px;

  /* Elevation (Unified Hover Lift) */
  --shadow-card: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-hover-lift: 0 16px 36px rgba(0, 0, 0, 0.5);

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base Resets */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  color: var(--c-text-main);
  background-color: var(--c-page-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  width: 100%;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.15;
  color: #FFFFFF;
  letter-spacing: -0.02em;
}

h1 { font-size: 2.75rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}
p:last-child {
  margin-bottom: 0;
}

a {
  color: var(--c-gold);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

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

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Accessibility Focus Ring (2px Teal) */
:focus-visible {
  outline: 2px solid var(--c-teal) !important;
  outline-offset: 2px !important;
}

/* Tabular numeric helper for scores & statistics */
.tabular-nums {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}
