@font-face {
  font-family: "Digital Sans EF Medium";
  src:
    url("../fonts/ds/DigitalSansEFMedium.woff2") format("woff2"),
    url("../fonts/ds/DigitalSansEFMedium.woff") format("woff"),
    url("../fonts/ds/Digital Sans EF Medium.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand Colors */
  --primary: #f9934e;
  --secondary: #7fdb5d;
  --blue: #0643a3;

  --orange-light: #ffb37f;
  --green-light: #b5ef9c;
  --blue-light: #4f7fd1;

  /* Text */
  --dark: #0f172a;
  --text: #475569;
  --text-light: #64748b;

  /* Backgrounds */
  --white: #ffffff;
  --bg: #ffffff;
  --bg-light: #f8fbff;
  --bg-soft: #eef6ff;

  /* Gradients */
  --gradient-brand: linear-gradient(
    135deg,
    #0643a3 0%,
    #7fdb5d 50%,
    #f9934e 100%
  );

  --gradient-blue: linear-gradient(135deg, #0643a3, #2e67cb);

  --gradient-green: linear-gradient(135deg, #7fdb5d, #a8ef82);

  --gradient-orange: linear-gradient(135deg, #f9934e, #ffb06a);

  /* Radius */
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-pill: 999px;

  /* Shadow */
  --shadow-sm: 0 5px 15px rgba(6, 67, 163, 0.08);
  --shadow-md: 0 15px 35px rgba(6, 67, 163, 0.12);
  --shadow-lg: 0 25px 60px rgba(6, 67, 163, 0.16);

  /* Fonts */
  --font-family: "Poppins", sans-serif;

  /* Sizes */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.2rem;
  --fs-xl: 2rem;
  --fs-xxl: 3.5rem;

  /* Spacing */
  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2rem;
  --space-5: 4rem;
  --space-6: 6rem;

  --premium-ease: cubic-bezier(0.16, 1, 0.3, 1);

  --header-bg: #05070d;
  --header-bg-2: #0a0f18;
  --card-bg: #0f1624;
  --card-bg-2: #131d30;

  --border: rgba(255, 255, 255, 0.08);

  --orange-glow: rgba(249, 147, 78, 0.35);
  --green-glow: rgba(127, 219, 93, 0.35);

  --text: rgba(255, 255, 255, 0.82);
  --heading: #ffffff;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;

  font-family: var(--font-family);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.7;

  color: var(--text);
  background: var(--bg);

  overflow-x: hidden;

  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Text Selection */
::selection {
  background: var(--primary);
  color: var(--white);
}

::-moz-selection {
  background: var(--primary);
  color: var(--white);
}

/* Small Devices */
@media (max-width: 600px) {
  body {
    line-height: 1.8;
    font-size: 0.95rem;
  }
}

/* Large Screens */
@media (min-width: 1200px) {
  body {
    font-size: 1.05rem;
  }
}
/* =========================
   HEADING SYSTEM
========================= */

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-family);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--dark);
}

/* HERO / PRIMARY TITLE */
h1 {
  font-size: var(--fs-xxl);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: var(--space-3);
  color: var(--dark);
}

/* SECTION TITLE */
h2 {
  font-size: var(--fs-xl);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.03em;
  margin-bottom: var(--space-2);
  color: var(--dark);
}

/* SUBSECTION */
h3 {
  font-size: var(--fs-lg);
  line-height: 1.3;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: var(--space-2);
  color: var(--dark);
}

/* CARD / COMPONENT TITLE */
h4 {
  font-size: var(--fs-base);
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: var(--space-1);
  color: var(--dark);
}

/* SMALL HEADING */
h5 {
  font-size: var(--fs-sm);
  line-height: 1.4;
  font-weight: 500;
  letter-spacing: 0;
  margin-bottom: var(--space-1);
  color: var(--text-light);
}

/* MICRO LABEL */
h6 {
  font-size: var(--fs-xs);
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: var(--space-1);
  color: var(--primary);
}

/* Optional Accent Line */
/*
h2::after {
  content: "";
  display: block;
  width: 50px;
  height: 4px;
  margin-top: var(--space-1);
  background: var(--primary);
  border-radius: var(--radius-pill);
}
*/

@media (min-width: 768px) {
  h1 {
    line-height: 1.1;
    letter-spacing: -0.03em;
  }

  h2 {
    line-height: 1.2;
  }

  h3 {
    line-height: 1.25;
  }
}

@media (min-width: 1024px) {
  h1 {
    font-size: clamp(2.8rem, 2rem + 2vw, 3.8rem);
    margin-bottom: var(--space-4);
  }

  h2 {
    font-size: clamp(2rem, 1.6rem + 1.2vw, 2.6rem);
    margin-bottom: var(--space-3);
  }

  h3 {
    font-size: clamp(1.4rem, 1.2rem + 0.8vw, 1.8rem);
  }
}

@media (min-width: 1920px) {
  h1 {
    max-width: 18ch;
  }
}
/* =========================
   PARAGRAPH SYSTEM
========================= */

p {
  font-family: var(--font-family);
  font-size: var(--fs-base);
  line-height: 1.7;
  font-weight: 400;
  color: var(--white);

  margin: 0 0 var(--space-2) 0;

  /* Justification */
  text-align: justify;
  text-justify: inter-word;

  /* Better word flow */
  hyphens: auto;
  overflow-wrap: break-word;
  word-break: normal;

  /* Improve rendering */
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

p.muted {
  color: var(--text-light);
}

/* Tablet */
@media (min-width: 768px) {
  p {
    line-height: 1.7;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  p {
    font-size: var(--fs-base);
    line-height: 1.65;
  }
}

p.muted {
  color: var(--text-light);
}

p.lead {
  font-size: var(--fs-lg);
  line-height: 1.6;
  font-weight: 500;
  max-width: 60ch;
  color: var(--dark);
}

p.small {
  font-size: var(--fs-sm);
  line-height: 1.6;
}
/* =========================
   SECTION SYSTEM
========================= */

section {
  position: relative;
  width: 100%;
  padding-block: var(--space-5);
}

/* Mobile */
@media (max-width: 600px) {
  section {
    padding-block: var(--space-4);
  }
}

/* Tablet */
@media (min-width: 768px) {
  section {
    padding-block: var(--space-5);
  }
}

/* Desktop */
@media (min-width: 1024px) {
  section {
    padding-block: var(--space-6);
  }
}

/* Light section */
.section-light {
  background: var(--bg-light);
}

/* Dark section */
.section-dark {
  background: var(--primary);
  color: var(--white);
}

/* Gradient section */
.section-gradient {
  background: var(--gradient-brand);
  color: var(--white);
}

/* No padding (utility) */
.section-tight {
  padding-block: var(--space-3);
}

/* Centered content */
.section-center {
  text-align: center;
}

/* Flex center */
.section-flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Generic block wrapper */
.div {
  display: block;
}

.flex {
  display: flex;
}

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

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-column {
  display: flex;
  flex-direction: column;
}

/* =========================
   CONTAINER SYSTEM
========================= */

.container {
  width: min(100% - 32px, 1240px);
  /* margin-left: 50px !important;
  margin-right: 50px !important; */
  margin: auto;
}

/* Small devices */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

/* Tablet */
@media (min-width: 768px) {
  .container {
    max-width: 720px;
    padding-inline: var(--space-3);
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .container {
    max-width: 960px;
  }
}

/* Large Desktop */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* Ultra Wide */
@media (min-width: 1440px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1550px) {
  .container {
    max-width: 1500px;
  }
}

/* Full-width but controlled padding */
.container-fluid {
  width: 100%;
  padding-inline: clamp(16px, 4vw, 48px);
}
/* =========================
   GRID SYSTEM
========================= */

.grid {
  display: grid;
  gap: var(--space-3);
}

/* Auto responsive grid (BEST) */
.grid-auto {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* Fixed column grids */
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}

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

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

/* Tablet */
@media (max-width: 992px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }

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

/* Mobile */
@media (max-width: 768px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }

  .col-span-2,
  .col-span-3 {
    grid-column: auto;
  }
}

.grid-sm {
  gap: var(--space-2);
}

.grid-lg {
  gap: var(--space-4);
}

.grid-center {
  align-items: center;
}

.grid-start {
  align-items: start;
}

.grid-end {
  align-items: end;
}

.grid-between {
  justify-content: space-between;
}

.col-span-2 {
  grid-column: span 2;
}

.col-span-3 {
  grid-column: span 3;
}

/* Margin Utilities */

.mt-1 {
  margin-top: var(--space-1);
}

.mt-2 {
  margin-top: var(--space-2);
}

.mt-3 {
  margin-top: var(--space-3);
}

.mb-1 {
  margin-bottom: var(--space-1);
}

.mb-2 {
  margin-bottom: var(--space-2);
}

.mb-3 {
  margin-bottom: var(--space-3);
}

/* Padding Utilities */

.p-1 {
  padding: var(--space-1);
}

.p-2 {
  padding: var(--space-2);
}

.p-3 {
  padding: var(--space-3);
}
/* =========================
   BUTTON SYSTEM
========================= */

.btn {
  position: relative;
  isolation: isolate;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 56px;
  padding: 0 34px;

  border: none;
  outline: none;

  color: var(--white);
  text-decoration: none;

  font-family: var(--font-family);
  font-weight: 700;
  font-size: var(--fs-sm);

  letter-spacing: 0.08em;
  text-transform: uppercase;

  cursor: pointer;
  overflow: hidden;

  transition:
    transform 0.35s var(--premium-ease),
    box-shadow 0.35s var(--premium-ease),
    filter 0.35s var(--premium-ease);
}

/* =========================
   RHOMBUS SHAPE
========================= */

.btn::before {
  content: "";

  position: absolute;
  inset: 0;

  clip-path: polygon(12px 0, 100% 0, calc(100% - 12px) 100%, 0 100%);

  z-index: -2;
}

.btn::after {
  content: "";

  position: absolute;
  inset: 6px;

  clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%);

  z-index: -1;

  transition: 0.35s ease;
}

/* =========================
   TEXT
========================= */

.btn-text {
  position: relative;
  z-index: 5;
}

/* =========================
   PRIMARY
========================= */
.btn-primary {
  position: relative;

  background: transparent;
  color: #fff;

  border: none;

  clip-path: polygon(
    12px 0,
    100% 0,
    calc(100% - 12px) 100%,
    0 100%
  );

  overflow: hidden;
}

/* Gradient Border */
.btn-primary::before {
  content: "";

  position: absolute;
  inset: 0;

  background: var(--gradient-brand);

  clip-path: polygon(
    12px 0,
    100% 0,
    calc(100% - 12px) 100%,
    0 100%
  );

  z-index: -2;
}

/* Inner Cutout */
.btn-primary::after {
  content: "";

  position: absolute;
  inset: 2px;

  background: rgba(5, 7, 13, .95);

  clip-path: polygon(
    10px 0,
    100% 0,
    calc(100% - 10px) 100%,
    0 100%
  );

  z-index: -1;
}

.btn-primary:hover {
  transform: translateY(-3px);

  box-shadow:
    0 0 20px rgba(249,147,78,.25),
    0 0 35px rgba(127,219,93,.15);
}

.btn-outline-light {
  position: relative;

  background: rgba(255,255,255,.06);

  color: #fff;

  border: 1px solid rgba(255,255,255,.12);

  backdrop-filter: blur(12px);

  clip-path: polygon(
    12px 0,
    100% 0,
    calc(100% - 12px) 100%,
    0 100%
  );

  transition: .35s ease;
}

.btn-outline-light:hover {
  background: rgba(255,255,255,.12);

  transform: translateY(-3px);

  border-color: rgba(255,255,255,.25);
}

/* =========================
   SECONDARY
========================= */

.btn-secondary::before {
  background: rgba(7, 15, 25, 0.95);

  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-secondary::after {
  background: var(--gradient-blue);
}

.btn-secondary:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* =========================
   OUTLINE
========================= */

.btn-outline {
  color: #fff;
}

.btn-outline::before {
  background: rgba(12, 20, 30, 0.85);

  border: 1px solid rgba(255, 255, 255, 0.12);
}

.btn-outline::after {
  background: rgba(255, 255, 255, 0.05);

  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  transform: translateY(-4px);
}

.btn-outline:hover::after {
  background: rgba(255, 255, 255, 0.12);
}

/* =========================
   LEFT ACCENT BAR
========================= */

.btn .accent {
  position: absolute;

  left: 6px;
  top: 8px;
  bottom: 8px;

  width: 3px;

  background: var(--gradient-brand);

  transform: skewX(-14deg);

  z-index: 3;
}

/* =========================
   SHINE EFFECT
========================= */

.btn-primary .shine {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    115deg,
    transparent 0 35%,
    rgba(255, 255, 255, 0.35) 48%,
    transparent 60%
  );

  transform: translateX(-150%);

  transition: transform 0.8s ease;

  z-index: 2;
}

.btn-primary:hover .shine {
  transform: translateX(150%);
}

/* =========================
   ACTIVE
========================= */

.btn:active {
  transform: scale(0.97);
}

/* =========================
   FOCUS
========================= */

.btn:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}

/* =========================
   DISABLED
========================= */

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  pointer-events: none;
}

/* =========================
   SIZES
========================= */

.btn-sm {
  min-height: 44px;
  padding: 0 22px;
  font-size: var(--fs-xs);
}

.btn-lg {
  min-height: 64px;
  padding: 0 42px;
  font-size: var(--fs-base);
}

/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {
  .btn {
    width: 100%;
  }
}
/* =========================
   IMAGE SYSTEM
========================= */

img {
  max-width: 100%;
  height: auto;
  display: block;

  border-radius: var(--radius-md);

  /* Prevent layout shift */
  object-fit: cover;

  /* Smooth rendering */
  image-rendering: auto;
}

/* Rounded */
.img-rounded {
  border-radius: var(--radius-lg);
}

/* Circle (avatars) */
.img-circle {
  border-radius: 50%;
}

/* Shadow */
.img-elevated {
  box-shadow: var(--shadow-md);
}

/* Hover zoom (cards) */
.img-hover {
  transition: transform 0.4s var(--premium-ease);
}

.img-hover:hover {
  transform: scale(1.05);
}

/* Aspect ratio control */
.img-wrapper {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Brand Frame */
.img-framed {
  padding: 6px;
  background: var(--gradient-brand);
  border-radius: var(--radius-lg);
}

/* Soft Shadow */
.img-soft {
  box-shadow: var(--shadow-sm);
}

/* Premium Shadow */
.img-premium {
  box-shadow: var(--shadow-lg);
}
/* =========================
   LINK SYSTEM
========================= */

a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;

  transition: all 0.3s ease;
  cursor: pointer;
}

/* Hover */
a:hover {
  color: var(--primary);
}

/* Active */
a:active {
  opacity: 0.8;
}

/* Focus (accessibility) */
a:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Muted link */
.link-muted {
  color: var(--text-light);
}

.link-muted:hover {
  color: var(--text);
}

/* Underline animation */
.link-animated {
  position: relative;
}

.link-animated::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;

  width: 0;
  height: 2px;
  background: currentColor;

  transition: width 0.3s ease;
}

.link-animated:hover::after {
  width: 100%;
}

p a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

p a:hover {
  text-decoration-thickness: 2px;
}
/* Card container */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: var(--space-3);

  box-shadow: var(--shadow-sm);
  transition: all 0.35s var(--premium-ease);

  border: 1px solid rgba(6, 67, 163, 0.08);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* Form Fields */

input,
textarea,
select {
  padding: 12px 14px;
  border-radius: var(--radius-md);
  border: 1px solid #e5e7eb;
  background: var(--white);
  color: var(--text);
  transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(6, 67, 163, 0.15);
}

/* Tag */
.section-tag {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 14px;
  margin-bottom: var(--space-3);
  border-radius: var(--radius-pill);
  background: rgba(66, 133, 244, 0.1);
  color: var(--color-blue);
  box-shadow: 0 2px 10px rgba(66, 133, 244, 0.1);
}

/* =========================
   SPORTS SECTION HEADINGS
========================= */

.section-heading {
    text-align: center;
    margin-bottom: 60px;
}

.section-title-wrap {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 22px 60px;

    overflow: hidden;
}

/* Dark panel */

.section-title-wrap::before {
    content: "";

    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            transparent 0%,
            rgba(255,255,255,.12) 50%,
            transparent 100%
        );

    z-index: 1;
}

/* Heading */

.section-title {
    position: relative;
    z-index: 2;

    margin: 0;

    color: #fff;

    font-size: clamp(2.2rem,4vw,4.5rem);
    font-weight: 900;

    line-height: .9;

    text-transform: uppercase;

    font-style: italic;

    letter-spacing: -.03em;

    transform: skewX(-10deg);

    text-shadow:
        0 2px 0 rgba(255,255,255,.05),
        0 6px 20px rgba(0,0,0,.25);
}

/* Small accent line */

/* .section-title-wrap::after {
    content: "";

    position: absolute;

    bottom: 0;
    left: 50%;

    transform: translateX(-50%);

    width: 120px;
    height: 3px;

    background: linear-gradient(
        90deg,
        var(--secondary),
        var(--primary)
    );
} */

/* =========================
   REDUCED MOTION
========================= */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}
