@charset "UTF-8";
/* ========================================================
   San Andreas Motorsport Federation (SAMF)
   High-Octane Motorsport Stylesheet
   ======================================================== */

@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:ital,wght@0,400;0,600;0,700;1,700&family=Inter:wght@300;400;500;600;700;800&family=Rajdhani:wght@500;600;700&display=swap');

:root {
  --samf-yellow: #f59e0b;
  --samf-yellow-glow: rgba(245, 158, 11, 0.35);
  --samf-red: #ef4444;
  --samf-dark: #0a0d14;
  --samf-card: #111622;
  --samf-border: #1e293b;
  --samf-font-heading: 'Chakra Petch', 'Rajdhani', sans-serif;
  --samf-font-body: 'Inter', sans-serif;
}

body {
  font-family: var(--samf-font-body);
  background-color: var(--samf-dark);
  color: #e2e8f0;
  overflow-x: hidden;
}

h1, h2, h3, h4, .font-heading {
  font-family: var(--samf-font-heading);
  letter-spacing: 0.03em;
}

/* Carbon Fiber Texture Overlay */
.carbon-bg {
  background-color: #0b0f19;
  background-image: 
    linear-gradient(45deg, #111625 25%, transparent 25%), 
    linear-gradient(-45deg, #111625 25%, transparent 25%), 
    linear-gradient(45deg, transparent 75%, #111625 75%), 
    linear-gradient(-45deg, transparent 75%, #111625 75%);
  background-size: 8px 8px;
}

/* Racing Kerb Strip (Red & White Motorsport Curb Accent) */
.kerb-strip {
  height: 6px;
  background: repeating-linear-gradient(
    45deg,
    #ef4444,
    #ef4444 15px,
    #ffffff 15px,
    #ffffff 30px
  );
}

.kerb-strip-yellow {
  height: 6px;
  background: repeating-linear-gradient(
    45deg,
    #f59e0b,
    #f59e0b 15px,
    #0f172a 15px,
    #0f172a 30px
  );
}

/* Glassmorphism Card */
.glass-panel {
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.glass-panel-glow {
  background: rgba(17, 24, 39, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(245, 158, 11, 0.25);
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.12);
}

/* Glow Badges & Buttons */
.btn-racing-yellow {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0a0a0a;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 18px var(--samf-yellow-glow);
}

.btn-racing-yellow:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.btn-racing-outline {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f1f5f9;
  transition: all 0.25s ease;
}

.btn-racing-outline:hover {
  border-color: #f59e0b;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.08);
  transform: translateY(-2px);
}

/* ========================================================
   DIGITAL RACE LICENSE CARD (FIA / IMSA Official Pass Style)
   ======================================================== */
.license-card-container {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
  perspective: 1000px;
}

.license-card {
  position: relative;
  background: linear-gradient(145deg, #0f172a 0%, #030712 100%);
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(245, 158, 11, 0.2);
  color: #ffffff;
  padding: 24px;
}

.license-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(245, 158, 11, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 40%);
  pointer-events: none;
}

/* Hologram foil effect */
.license-hologram {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    115deg,
    transparent 0%,
    transparent 45%,
    rgba(255, 255, 255, 0.08) 48%,
    rgba(255, 215, 0, 0.12) 50%,
    rgba(255, 255, 255, 0.08) 52%,
    transparent 55%,
    transparent 100%
  );
  transform: rotate(25deg);
  pointer-events: none;
  animation: holoSheen 6s infinite ease-in-out;
}

@keyframes holoSheen {
  0% { transform: translateY(-40%) rotate(25deg); }
  50% { transform: translateY(40%) rotate(25deg); }
  100% { transform: translateY(-40%) rotate(25deg); }
}

.license-stamp {
  border: 2px dashed #10b981;
  color: #10b981;
  font-family: var(--samf-font-heading);
  transform: rotate(-8deg);
  letter-spacing: 0.15em;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(16, 185, 129, 0.08);
}

/* Custom Checkbox / Radio for Exam */
.quiz-option-label {
  transition: all 0.2s ease;
  cursor: pointer;
}

.quiz-option-label:hover {
  border-color: rgba(245, 158, 11, 0.6);
  background-color: rgba(245, 158, 11, 0.05);
}

.quiz-option-label.selected {
  border-color: #f59e0b !important;
  background-color: rgba(245, 158, 11, 0.12) !important;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

/* Pulse animation for Live Race Indicators */
@keyframes racePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.15); }
}

.pulse-indicator {
  animation: racePulse 1.8s infinite;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #090d16;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #f59e0b;
}
