/* ==========================================================================
   ANIFLOW CINEMATIC LANDING PAGE (GSAP + SCROLLTRIGGER + LENIS + GLASSMORPHISM)
   ========================================================================== */

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

:root {
  --aniflow-bg: #0A0A0C;
  --aniflow-red: #E50914;
  --aniflow-red-bright: #FF1E27;
  --aniflow-glow: rgba(229, 9, 20, 0.5);
  --aniflow-card-bg: rgba(255, 255, 255, 0.03);
  --aniflow-card-border: rgba(255, 255, 255, 0.08);
}

.landing-overlay {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  z-index: 9000 !important;
  background-color: var(--aniflow-bg) !important;
  background: var(--aniflow-bg) !important;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  color: #ffffff;
  font-family: 'Inter', -apple-system, sans-serif;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s ease;
}

.landing-overlay.fade-out {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Ambient Neon Glow Orbs */
.landing-ambient-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.35;
  pointer-events: none;
}

.ambient-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.6) 0%, rgba(0, 0, 0, 0) 70%);
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  animation: floatOrb1 12s infinite ease-in-out alternate;
}

.ambient-orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 30, 39, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
  bottom: 10%;
  right: -100px;
  animation: floatOrb2 16s infinite ease-in-out alternate;
}

.ambient-orb-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  top: 40%;
  left: -120px;
  animation: floatOrb3 14s infinite ease-in-out alternate;
}

@keyframes floatOrb1 {
  0% { transform: translateX(-50%) translateY(0) scale(1); }
  100% { transform: translateX(-50%) translateY(60px) scale(1.15); }
}

@keyframes floatOrb2 {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(-80px) scale(1.2); }
}

@keyframes floatOrb3 {
  0% { transform: translateY(0) scale(1); }
  100% { transform: translateY(50px) scale(0.9); }
}

.landing-content-wrap {
  position: relative;
  z-index: 2;
  width: 100%;
}

/* ==========================================================================
   BÖLÜM 1: HERO SECTION
   ========================================================================== */
.landing-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px 40px 24px;
  position: relative;
  box-sizing: border-box;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(229, 9, 20, 0.12);
  border: 1px solid rgba(229, 9, 20, 0.35);
  color: #ff4d58;
  padding: 8px 20px;
  border-radius: 9999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.2);
  backdrop-filter: blur(8px);
}

.hero-badge-dot {
  width: 7px;
  height: 7px;
  background: var(--aniflow-red-bright);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--aniflow-red-bright);
  animation: badgePulse 2s infinite ease-in-out;
}

@keyframes badgePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.7); opacity: 0.4; }
}

.hero-main-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(3.5rem, 10vw, 7.5rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: 2px;
  margin: 0 0 12px 0;
  background: linear-gradient(135deg, #ffffff 30%, #ff2e38 75%, #E50914 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 35px rgba(229, 9, 20, 0.55));
}

.hero-sub-title {
  font-size: clamp(1.4rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 18px 0;
  letter-spacing: -0.5px;
}

.hero-desc {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  color: #A0A0A0;
  max-width: 680px;
  margin: 0 auto 36px auto;
  line-height: 1.65;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.btn-landing-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--aniflow-red);
  color: #ffffff;
  border: none;
  padding: 16px 36px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  letter-spacing: 0.5px;
  font-family: inherit;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 30px rgba(229, 9, 20, 0.5), 0 0 20px rgba(229, 9, 20, 0.3);
}

.btn-landing-primary:hover {
  background: var(--aniflow-red-bright);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 40px rgba(229, 9, 20, 0.75), 0 0 30px rgba(229, 9, 20, 0.5);
}

.btn-landing-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  backdrop-filter: blur(12px);
  transition: all 0.25s ease;
}

.btn-landing-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-2px);
}

.hero-scroll-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.5px;
  color: #707070;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.25s;
  margin-top: auto;
}

.hero-scroll-indicator:hover {
  color: #ffffff;
}

.hero-scroll-indicator i {
  font-size: 16px;
  color: var(--aniflow-red);
  animation: heroBounce 2s infinite;
}

@keyframes heroBounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

/* ==========================================================================
   BÖLÜM 2: 3D INFINITE POSTER MARQUEE
   ========================================================================== */
.landing-marquee-section {
  padding: 40px 0 80px 0;
  position: relative;
  overflow: hidden;
  perspective: 1200px;
}

.marquee-section-header {
  text-align: center;
  margin-bottom: 36px;
  padding: 0 24px;
}

.marquee-pill {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--aniflow-red);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.marquee-title {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  color: #fff;
}

.marquee-3d-wrapper {
  transform: rotateX(6deg) rotateY(-2deg) rotateZ(0.5deg);
  display: flex;
  flex-direction: column;
  gap: 22px;
  transform-style: preserve-3d;
}

.marquee-track {
  display: flex;
  gap: 18px;
  width: max-content;
  will-change: transform;
}

.track-left {
  animation: scrollLeft 45s linear infinite;
}

.track-right {
  animation: scrollRight 45s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scrollLeft {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.marquee-card {
  width: 170px;
  height: 245px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
  background: #141418;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  cursor: pointer;
}

.marquee-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  color: transparent;
  background: #18181f;
  transition: transform 0.4s ease;
}

.marquee-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0.95) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 14px 12px;
  opacity: 0.85;
  transition: opacity 0.3s;
}

.marquee-card-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.6);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(229, 9, 20, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 20px rgba(229, 9, 20, 0.6);
}

.marquee-card:hover {
  transform: translateY(-8px) scale(1.08);
  border-color: rgba(229, 9, 20, 0.6);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.95), 0 0 25px rgba(229, 9, 20, 0.35);
  z-index: 20;
}

.marquee-card:hover img {
  transform: scale(1.06);
}

.marquee-card:hover .marquee-card-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.marquee-card-title {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 0 3px 0;
}

.marquee-card-badge {
  font-size: 10px;
  font-weight: 800;
  color: var(--aniflow-red-bright);
}

/* ==========================================================================
   BÖLÜM 3: İNTERAKTİF ÖZELLİK KARTLARI (FEATURE CARDS)
   ========================================================================== */
.landing-features-section {
  padding: 80px 24px 100px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.features-header {
  text-align: center;
  margin-bottom: 60px;
}

.features-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--aniflow-red-bright);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.features-main-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  color: #fff;
  margin: 0 0 16px 0;
}

.features-desc {
  font-size: 1.05rem;
  color: #A0A0A0;
  max-width: 580px;
  margin: 0 auto;
}

.feature-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 900px) {
  .feature-cards-grid {
    grid-template-columns: 1fr;
  }
}

.feature-card {
  background: var(--aniflow-card-bg);
  border: 1px solid var(--aniflow-card-border);
  border-radius: 18px;
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s, box-shadow 0.35s;
  display: flex;
  flex-direction: column;
}

.feature-card:hover {
  transform: translateY(-8px);
  border-color: rgba(229, 9, 20, 0.4);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.9), 0 0 30px rgba(229, 9, 20, 0.2);
}

.feature-card-glow {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(229, 9, 20, 0.2) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.feature-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 24px;
}

.icon-box-red {
  background: rgba(229, 9, 20, 0.15);
  color: #ff333f;
  border: 1px solid rgba(229, 9, 20, 0.3);
}

.icon-box-cyan {
  background: rgba(0, 240, 255, 0.15);
  color: #00f0ff;
  border: 1px solid rgba(0, 240, 255, 0.3);
}

.icon-box-amber {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.feature-tag-pill {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--aniflow-red);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.feature-card h3 {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.feature-card p {
  font-size: 0.96rem;
  color: #A0A0A0;
  line-height: 1.65;
  margin: 0 0 24px 0;
}

.feature-preview-widget {
  margin-top: auto;
  border-radius: 12px;
  overflow: hidden;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 14px;
}

/* 4K Badge Graphic */
.widget-4k-demo {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.badge-4k-ai {
  background: linear-gradient(135deg, #00f0ff, #0066ff);
  color: #000;
  font-weight: 900;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 6px;
  letter-spacing: 1px;
}

.widget-speed-demo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: #4ade80;
  font-weight: 700;
}

.widget-speed-bar {
  flex-grow: 1;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  overflow: hidden;
}

.widget-speed-fill {
  width: 98%;
  height: 100%;
  background: linear-gradient(90deg, #22c55e, #4ade80);
}

.widget-posters-mini {
  display: flex;
  gap: 8px;
  overflow: hidden;
}

.widget-posters-mini img {
  width: 44px;
  height: 62px;
  border-radius: 6px;
  object-fit: cover;
}

/* ==========================================================================
   BÖLÜM 4: CALL TO ACTION FOOTER BANNER
   ========================================================================== */
.landing-cta-section {
  padding: 60px 24px 100px 24px;
  max-width: 1000px;
  margin: 0 auto;
}

.landing-cta-box {
  background: linear-gradient(180deg, rgba(35, 14, 18, 0.7) 0%, rgba(12, 12, 16, 0.95) 100%);
  border: 1px solid rgba(229, 9, 20, 0.4);
  border-radius: 24px;
  padding: 60px 36px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.95), 0 0 50px rgba(229, 9, 20, 0.2);
  backdrop-filter: blur(20px);
}

.cta-epic-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 380px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(229, 9, 20, 0.5) 0%, rgba(0, 0, 0, 0) 75%);
  pointer-events: none;
}

.landing-cta-box h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 900;
  color: #fff;
  margin: 0 0 16px 0;
  letter-spacing: -0.5px;
}

.landing-cta-box p {
  font-size: 1.1rem;
  color: #c4c4c4;
  max-width: 620px;
  margin: 0 auto 36px auto;
  line-height: 1.6;
}

.cta-action-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  z-index: 20;
  pointer-events: auto;
}

.btn-cta-main {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--aniflow-red);
  color: #ffffff;
  border: none;
  padding: 18px 46px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 800;
  cursor: pointer !important;
  font-family: inherit;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 35px rgba(229, 9, 20, 0.65), 0 0 25px rgba(229, 9, 20, 0.35);
  position: relative;
  z-index: 25;
  pointer-events: auto !important;
  user-select: none;
}

.btn-cta-main:hover {
  background: var(--aniflow-red-bright);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 16px 50px rgba(229, 9, 20, 0.85);
}

.btn-cta-main:active {
  transform: scale(0.98);
}

.btn-cta-login-link {
  background: transparent;
  border: none;
  color: #A0A0A0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer !important;
  font-family: inherit;
  transition: color 0.2s;
  text-decoration: underline;
  text-underline-offset: 4px;
  position: relative;
  z-index: 25;
  pointer-events: auto !important;
  padding: 8px 16px;
}

.btn-cta-login-link:hover {
  color: #ffffff;
}

.btn-cta-login-link:active {
  color: var(--aniflow-red);
}

/* ==========================================================================
   ANIFLOW MASTER AUTH MODAL
   ========================================================================== */
.aniflow-auth-overlay {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999999 !important;
  display: none;
  align-items: center !important;
  justify-content: center !important;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
  padding: 20px;
}

.aniflow-auth-overlay.visible {
  opacity: 1 !important;
  visibility: visible !important;
  display: flex !important;
}

.aniflow-auth-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.aniflow-auth-dialog {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 440px;
  background: #111116;
  border: 1px solid rgba(229, 9, 20, 0.4);
  border-radius: 20px;
  padding: 32px 28px;
  box-shadow: 0 25px 80px rgba(0, 0, 0, 0.95), 0 0 40px rgba(229, 9, 20, 0.25);
  max-height: 90vh;
  overflow-y: auto;
}

.aniflow-auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #c4c4c4;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all 0.2s ease;
}

.aniflow-auth-close:hover {
  background: var(--aniflow-red);
  color: #fff;
  transform: rotate(90deg);
}

.aniflow-auth-header {
  text-align: center;
  margin-bottom: 24px;
}

.auth-header-logo {
  height: 48px;
  margin-bottom: 12px;
  object-fit: contain;
}

.aniflow-auth-header h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px 0;
}

.aniflow-auth-header p {
  font-size: 0.9rem;
  color: #999;
  margin: 0;
}

/* Google Auth Button Section */
.google-auth-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 14px;
  width: 100%;
}

.google-signin-btn-container {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  transform: scale(1.02);
  transition: transform 0.2s ease;
}

/* Ensure Google One Tap floats above everything on the same page */
#credential_picker_container,
#credential_picker_iframe,
div[id*="credential_picker"] {
  z-index: 2147483647 !important;
}

/* Force Google Sign-In Button inside auth modal to stay centered and relative */
.google-auth-section {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  margin: 0 0 16px 0 !important;
  width: 100% !important;
  min-height: 44px !important;
  position: relative !important;
  clear: both !important;
}

.google-auth-section > div,
.google-auth-section .g_id_signin,
.google-auth-section iframe {
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  margin: 0 auto !important;
  display: block !important;
  max-width: 100% !important;
}

.btn-google-native {
  width: 100%;
  padding: 12px 18px;
  background: #ffffff;
  color: #1f1f1f;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.btn-google-native:hover {
  background: #f1f3f4;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.btn-google-native svg {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  display: inline-block !important;
  flex-shrink: 0 !important;
  vertical-align: middle !important;
}

.auth-divider-text {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 16px 0 18px 0;
  color: #777;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.8px;
}

.auth-divider-text::before,
.auth-divider-text::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.auth-divider-text span {
  padding: 0 12px;
}

/* Tabs */
.auth-fallback-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 20px;
  gap: 4px;
}

.auth-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: #888;
  font-weight: 700;
  font-size: 14px;
  padding: 10px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.auth-tab-btn.active {
  background: var(--aniflow-red);
  color: #fff;
  box-shadow: 0 2px 10px rgba(229, 9, 20, 0.4);
}

/* Inputs */
.native-auth-fallback .form-group {
  margin-bottom: 16px;
  text-align: left;
}

.native-auth-fallback label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #aaa;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.native-auth-fallback label i {
  color: var(--aniflow-red);
  margin-right: 4px;
}

.native-auth-fallback input {
  width: 100%;
  padding: 12px 16px;
  background: #18181f;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #fff;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.native-auth-fallback input:focus {
  border-color: var(--aniflow-red);
  box-shadow: 0 0 12px rgba(229, 9, 20, 0.35);
}

/* Buttons */
.btn-auth-submit {
  width: 100%;
  padding: 14px;
  background: var(--aniflow-red);
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 8px 25px rgba(229, 9, 20, 0.5);
  transition: all 0.2s ease;
  margin-top: 10px;
}

.btn-auth-submit:hover {
  background: var(--aniflow-red-bright);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(229, 9, 20, 0.7);
}

.auth-guest-divider {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 18px 0;
  color: #555;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
}

.auth-guest-divider::before,
.auth-guest-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-guest-divider span {
  padding: 0 10px;
}

.btn-auth-guest {
  width: 100%;
  padding: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e0e0e0;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-auth-guest:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.25);
}

/* AniFlow Auth Form Message & Feedback */
.auth-error-message {
  background: rgba(229, 9, 20, 0.16);
  border: 1px solid rgba(229, 9, 20, 0.5);
  color: #ff6b6b;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: shakeError 0.35s ease-in-out;
}

@keyframes shakeError {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}


