/* TACKUT Design System & Styles */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --color-bg: #0F141A;
  --color-surface: #181C23;
  --color-surface-card: #1E2229;
  --color-surface-container: #2A2F39;
  --color-digital-red: #DE2C2C;
  --color-digital-red-glow: rgba(222, 44, 44, 0.4);
  --color-ice-blue: #F1F5F9;
  --color-secondary: #94A3B8;
  --color-neon-cyan: #06B6D4;
  --color-neon-purple: #A855F7;
  --color-neon-amber: #F59E0B;
  --font-outfit: 'Outfit', sans-serif;
  --font-inter: 'Inter', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  background-color: var(--color-bg);
  color: var(--color-ice-blue);
  font-family: var(--font-outfit);
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* Material Symbols Icon Tweaks */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  user-select: none;
}
.material-symbols-outlined.fill {
  font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0A0E15;
}
::-webkit-scrollbar-thumb {
  background: rgba(222, 44, 44, 0.3);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-digital-red);
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}
.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Shader & Aurora Background */
@keyframes aurora {
  0% {
    background-position: 0% 50%, 100% 50%;
  }
  50% {
    background-position: 100% 50%, 0% 50%;
  }
  100% {
    background-position: 0% 50%, 100% 50%;
  }
}

.bg-shader {
  background: 
    radial-gradient(ellipse at 80% 10%, rgba(222, 44, 44, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 10% 90%, rgba(6, 182, 212, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse at 50% 50%, rgba(168, 85, 247, 0.08) 0%, transparent 70%),
    #0F141A;
  background-size: 200% 200%;
  animation: aurora 18s ease-in-out infinite;
}

/* Glassmorphism Components */
.glass-card {
  background: rgba(30, 34, 41, 0.65);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(241, 245, 249, 0.08);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
  border-color: rgba(222, 44, 44, 0.35);
  box-shadow: 0 0 25px rgba(222, 44, 44, 0.2), 0 12px 40px rgba(0, 0, 0, 0.6);
  transform: translateY(-4px);
}

.glass-panel {
  background: rgba(24, 28, 35, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(241, 245, 249, 0.12);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

/* Glassmorphism & High-Contrast Form Controls */
input,
textarea,
select,
.glass-input {
  background-color: #1a1d24 !important;
  border: 1px solid #2e3440 !important;
  color: #ffffff !important;
  font-family: var(--font-inter), sans-serif;
  transition: all 0.2s ease;
}

input::placeholder,
textarea::placeholder,
select::placeholder,
.glass-input::placeholder {
  color: #8b949e !important;
  opacity: 1 !important;
}

input:focus,
textarea:focus,
select:focus,
.glass-input:focus {
  outline: none !important;
  border-color: #de2c2c !important;
  box-shadow: 0 0 0 3px rgba(222, 44, 44, 0.3) !important;
  background-color: #161920 !important;
}

select option {
  background-color: #1a1d24 !important;
  color: #ffffff !important;
}

/* Gradient Text & Glowing Buttons */
.gradient-text {
  background: linear-gradient(135deg, #DE2C2C 0%, #FF8A8A 50%, #F1F5F9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.gradient-text-cyan {
  background: linear-gradient(135deg, #06B6D4 0%, #A855F7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.neon-btn {
  background: linear-gradient(135deg, #DE2C2C 0%, #A31010 100%);
  box-shadow: 0 0 15px rgba(222, 44, 44, 0.35);
  transition: all 0.3s ease;
}

.neon-btn:hover {
  box-shadow: 0 0 25px rgba(222, 44, 44, 0.65);
  transform: translateY(-2px);
  filter: brightness(1.15);
}

.neon-btn-secondary {
  background: rgba(241, 245, 249, 0.05);
  border: 1px solid rgba(241, 245, 249, 0.2);
  color: var(--color-ice-blue);
  transition: all 0.3s ease;
}

.neon-btn-secondary:hover {
  background: rgba(222, 44, 44, 0.15);
  border-color: var(--color-digital-red);
  color: #FFF;
  box-shadow: 0 0 15px rgba(222, 44, 44, 0.3);
}

/* 9:16 Reels Video Cards */
.reel-card {
  width: 280px;
  height: 498px; /* 9:16 aspect ratio */
  position: relative;
  border-radius: 1.25rem;
  overflow: hidden;
  shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

@media (min-width: 768px) {
  .reel-card {
    width: 300px;
    height: 533px;
  }
}

.reel-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 15px 35px rgba(222, 44, 44, 0.25);
}

/* Modal Animations */
.modal-overlay {
  animation: fadeIn 0.25s ease-out forwards;
}

.modal-content {
  animation: scaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.92) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* Timeline / Roadmap Glow Effects */
.roadmap-step {
  position: relative;
}

.roadmap-step::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 48px;
  bottom: -48px;
  width: 2px;
  background: linear-gradient(to bottom, var(--color-digital-red), rgba(255,255,255,0.1));
}

@media (min-width: 768px) {
  .roadmap-step::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.roadmap-step:last-child::before {
  display: none;
}

/* Badge Platform Styles */
.badge-tiktok {
  background: rgba(254, 44, 85, 0.15);
  color: #FE2C55;
  border: 1px solid rgba(254, 44, 85, 0.4);
}

.badge-shorts {
  background: rgba(255, 0, 0, 0.15);
  color: #FF0000;
  border: 1px solid rgba(255, 0, 0, 0.4);
}

.badge-reels {
  background: rgba(225, 48, 108, 0.15);
  color: #E1306C;
  border: 1px solid rgba(225, 48, 108, 0.4);
}

/* Video Player Pulse Overlay */
.play-pulse {
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { box-shadow: 0 0 0 0 rgba(222, 44, 44, 0.6); }
  70% { box-shadow: 0 0 0 20px rgba(222, 44, 44, 0); }
  100% { box-shadow: 0 0 0 0 rgba(222, 44, 44, 0); }
}
