/* === Imports === */
@import url("../fonts/fonts.css");
@import url("./index/containers.css");

/* ===$ Root Variables $=== */
:root {
  /* Colors */
  --c-primary: #1563d8;
  --c-secondary: #ff6b35;
  --c-background: #000000;
  --c-background-secondary: #050911;
  --c-background-tertiary: #12152a;
  --c-surface: #1a1e34b9;
  --c-surface-hover: #20254097;
  --c-text: #ffffff;
  --c-text-secondary: #b8bdd4;
  --c-text-muted: #8a90b0;
  --c-border: rgba(255, 255, 255, 0.1);
  --c-success: #4ade80;
  --c-warning: #fbbf24;
  --c-error: #ef4444;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #1563d8 0%, #0d47a1 100%);
  --gradient-secondary: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
  --gradient-hero: linear-gradient(180deg, rgba(10, 14, 39, 0) 0%, rgba(10, 14, 39, 1) 100%);
  --gradient-card: linear-gradient(135deg, rgba(21, 99, 216, 0.05) 0%, rgba(255, 107, 53, 0.05) 100%);

  /* Roundness */
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 18px;
  --radius-full: 9999px;

  /* Spacing */
  --space-xs: 6px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 18px;
  --space-xl: 20px;
  --space-2xl: 24px;
  --space-3xl: 48px;

  /* Typography */
  --font-family: "Outfit", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  --font-size-6xl: 3.75rem;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 350ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-base: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --shadow-glow: 0 0 20px rgba(21, 99, 216, 0.3);

  /* Z-index */
  --z-base: 0;
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;

  /* Animations */
  --animation-duration: 0.5s;
  --animation-easing: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===$ Selection $=== */
::selection {
  background-color: rgba(0, 0, 0, 0.494);
  color: var(--c-secondary);
}

/* ===$ Base Styles $=== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family);
  background: var(--c-background);
  color: var(--c-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.sponsor-card {
  display: flex;
  flex-direction: row;
  width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}

.sponsor-card img {
  width: 200px;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* ===$ Typography $=== */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--c-text);
}

h1 {
  font-size: var(--font-size-5xl);
}

h2 {
  font-size: var(--font-size-4xl);
}

h3 {
  font-size: var(--font-size-3xl);
}

h4 {
  font-size: var(--font-size-2xl);
}

h5 {
  font-size: var(--font-size-xl);
}

h6 {
  font-size: var(--font-size-lg);
}

p {
  font-size: var(--font-size-base);
  line-height: 1.7;
  color: var(--c-text-secondary);
}

a {
  color: var(--c-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--c-secondary);
}

/* ===$ Utility Classes $=== */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--space-md);
}

@media (min-width: 768px) {
  .container {
    padding: 0 var(--space-lg);
  }
}

.section {
  padding: var(--space-3xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-2xl);
}

.section-label {
  display: inline-block;
  font-size: var(--font-size-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--c-secondary);
  margin-bottom: var(--space-sm);
}

.section-title {
  font-size: var(--font-size-4xl);
  font-weight: 800;
  margin-bottom: var(--space-md);
  background: linear-gradient(135deg, var(--c-text) 0%, var(--c-text-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-description {
  font-size: var(--font-size-lg);
  color: var(--c-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ===$ Buttons $=== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: 600;
  text-decoration: none;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gradient-primary);
  color: var(--c-text);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg), var(--shadow-glow);
}

.btn-secondary {
  background: var(--c-surface);
  color: var(--c-text);
  border: 2px solid var(--c-border);
}

.btn-secondary:hover {
  background: var(--c-surface-hover);
  border-color: var(--c-primary);
}

.btn-large {
  padding: var(--space-md) var(--space-xl);
  font-size: var(--font-size-lg);
}

.btn .material-symbols-rounded {
  font-size: 1.2em;
}

/* ===$ Brand Elements $=== */
.brand-gradient {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ===$ Material Icons $=== */
.material-symbols-rounded {
  font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 24;
  user-select: none;
}

/* ===$ Scrollbar $=== */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--c-background-secondary);
}

::-webkit-scrollbar-thumb {
  background: var(--c-surface);
  border-radius: var(--radius-md);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--c-surface-hover);
}
