
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:wght@300;400;500;600;700&family=Barlow:wght@300;400;500&display=swap');

:root {
  --fire: #FF3D00;
  --fire-dark: #BF2600;
  --fire-glow: color-mix(in srgb, var(--fire) 35%, transparent);
  --black: #0A0A0A;
  --dark: #111111;
  --dark-2: #1A1A1A;
  --dark-3: #222222;
  --gray: #555555;
  --light: #E8E8E8;
  --white: #F5F5F5;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  overflow-x: hidden;
}

/* ---- GRAIN OVERLAY ---- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.35;
}

/* ---- TYPOGRAPHY ---- */
.font-display {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 0.05em;
}

.font-condensed {
  font-family: 'Barlow Condensed', sans-serif;
}

/* ---- FIRE BUTTON ---- */
.btn-fire {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  background: var(--fire);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
  text-decoration: none;
}

.btn-fire:hover {
  background: var(--fire-dark);
  box-shadow: 0 0 30px var(--fire-glow), 0 0 60px color-mix(in srgb, var(--fire) 15%, transparent);
  transform: translateY(-2px);
}

.btn-fire:active {
  transform: translateY(0px);
}

/* ---- OUTLINE BUTTON ---- */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 35px;
  background: transparent;
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1.5px solid rgba(255,255,255,0.25);
  cursor: pointer;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: border-color 0.2s, color 0.2s, box-shadow 0.2s, transform 0.15s;
  text-decoration: none;
}

.btn-outline:hover {
  border-color: var(--fire);
  color: var(--fire);
  box-shadow: 0 0 20px var(--fire-glow);
  transform: translateY(-2px);
}

/* ---- GHOST BUTTON ---- */
.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 32px;
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(10px);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  clip-path: polygon(8px 0%, 100% 0%, calc(100% - 8px) 100%, 0% 100%);
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  text-decoration: none;
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

/* ---- PAGE LOAD ANIMATIONS ---- */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes slideLeft {
  from { opacity: 0; transform: translateX(-40px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes lineGrow {
  from { width: 0; }
  to   { width: 100%; }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px var(--fire-glow); }
  50%       { box-shadow: 0 0 50px var(--fire-glow), 0 0 80px color-mix(in srgb, var(--fire) 10%, transparent); }
}

.anim-fade-up   { animation: fadeUp 0.7s ease forwards; }
.anim-fade-in   { animation: fadeIn 0.6s ease forwards; }
.anim-slide-l   { animation: slideLeft 0.7s ease forwards; }
.anim-scale-in  { animation: scaleIn 0.6s ease forwards; }

.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.25s; opacity: 0; }
.delay-3 { animation-delay: 0.4s; opacity: 0; }
.delay-4 { animation-delay: 0.55s; opacity: 0; }
.delay-5 { animation-delay: 0.7s; opacity: 0; }
.delay-6 { animation-delay: 0.85s; opacity: 0; }

/* ---- HERO BG ---- */
.hero-bg {
  position: relative;
  min-height: 100vh;
  background: var(--black);
  overflow: hidden;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 60% 50% at 70% 50%, color-mix(in srgb, var(--fire) 8%, transparent) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 20% 80%, color-mix(in srgb, var(--fire) 4%, transparent) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 40%, transparent 100%);
}

/* ---- DIAGONAL ACCENT ---- */
.diagonal-accent {
  position: absolute;
  width: 2px;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--fire), transparent);
  transform: rotate(25deg);
}

/* ---- CARD ---- */
.glass-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  backdrop-filter: blur(20px);
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.glass-card:hover {
  border-color: color-mix(in srgb, var(--fire) 30%, transparent);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.4), 0 0 30px color-mix(in srgb, var(--fire) 5%, transparent);
}

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 40px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10,10,10,0.7);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
  transition: background 0.3s;
}

.navbar.scrolled {
  background: rgba(10,10,10,0.95);
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  letter-spacing: 0.1em;
  color: var(--white);
  text-decoration: none;
}

.nav-logo span {
  color: var(--fire);
}

/* ---- FIRE DIVIDER ---- */
.fire-line {
  width: 50px;
  height: 3px;
  background: var(--fire);
  display: block;
  margin: 16px 0;
}

/* ---- BADGE ---- */
.badge-fire {
  display: inline-block;
  padding: 4px 14px;
  background: color-mix(in srgb, var(--fire) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--fire) 40%, transparent);
  color: var(--fire);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

/* ---- SCROLL INDICATOR ---- */
.scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.3);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, color-mix(in srgb, var(--fire) 80%, transparent), transparent);
  animation: scrollPulse 2s ease infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.1); }
}

/* ---- LOGIN SPECIFIC ---- */
.login-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  color: var(--white);
  font-family: 'Barlow', sans-serif;
  font-size: 0.95rem;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.login-input::placeholder {
  color: rgba(255,255,255,0.2);
}

.login-input:focus {
  border-color: var(--fire);
  background: color-mix(in srgb, var(--fire) 4%, transparent);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--fire) 8%, transparent);
}

.login-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
  display: block;
}

.google-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--white);
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  text-decoration: none;
}

.google-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
  transform: translateY(-1px);
}

.divider-text {
  display: flex;
  align-items: center;
  gap: 16px;
  color: rgba(255,255,255,0.2);
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.divider-text::before,
.divider-text::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.08);
}

/* ---- STAT NUMBERS ---- */
.stat-number {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.5rem;
  line-height: 1;
  color: var(--fire);
}

.stat-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* ---- TICKER ---- */
.ticker-wrap {
  overflow: hidden;
  white-space: nowrap;
  background: var(--fire);
  padding: 10px 0;
}

.ticker-content {
  display: inline-block;
  animation: ticker 30s linear infinite;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  color: #fff;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .navbar { padding: 0 20px; }
  .stat-number { font-size: 2.5rem; }
}
