/* ===================================================================
   FABLE HOSTING - LEGENDARY HOSTING
   Theme: Ultraviolet 3D Cyber / Neon Violet & Obsidian
   =================================================================== */

:root {
  /* Brand Ultraviolet Palette derived from 3D Fable Emblem */
  --color-uv-primary: #9333ea;
  --color-uv-glow: #a855f7;
  --color-uv-bright: #c084fc;
  --color-uv-light: #e879f9;
  --color-uv-specular: #f5d0fe;
  
  --color-violet-deep: #7e22ce;
  --color-indigo-cyber: #818cf8;
  --color-cyan-arcane: #38bdf8;
  --color-green-status: #34d399;
  
  /* Gradients */
  --gradient-uv: linear-gradient(135deg, #c084fc 0%, #9333ea 50%, #7c3aed 100%);
  --gradient-specular: linear-gradient(135deg, #f5d0fe 0%, #c084fc 50%, #a855f7 100%);
  --gradient-ambient-left: radial-gradient(circle, rgba(168, 85, 247, 0.22) 0%, transparent 70%);
  --gradient-ambient-right: radial-gradient(circle, rgba(129, 140, 248, 0.18) 0%, transparent 70%);
  
  /* Backgrounds & Surfaces */
  --bg-deep: #06040a;
  --bg-card: rgba(14, 10, 24, 0.92);
  --border-card: rgba(168, 85, 247, 0.28);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.14);
  
  /* Text */
  --text-white: #ffffff;
  --text-muted: #a5b4fc;
  --text-dim: #71717a;
  
  /* Fonts */
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body.landing-body {
  font-family: var(--font-family);
  background-color: var(--bg-deep);
  color: var(--text-white);
  line-height: 1.5;
  overflow-x: hidden;
  background-image: 
    radial-gradient(ellipse 70% 55% at 20% 25%, rgba(168, 85, 247, 0.16), transparent 70%),
    radial-gradient(ellipse 60% 50% at 80% 65%, rgba(129, 140, 248, 0.12), transparent 70%),
    radial-gradient(ellipse 45% 45% at 50% 10%, rgba(192, 132, 252, 0.10), transparent 60%),
    url("data:image/svg+xml,%3Csvg width='48' height='48' viewBox='0 0 48 48' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.02' fill-rule='evenodd'%3E%3Cpath d='M24 22v-2h-2v2h-2v2h2v2h2v-2h2v-2h-2zM0 22v-2h-2v2h-2v2h2v2h2v-2h2v-2h-2zM48 22v-2h-2v2h-2v2h2v2h2v-2h2v-2h-2z'/%3E%3C/g%3E%3C/svg%3E");
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Glow Orbs */
.ambient-glow {
  position: fixed;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(120px);
  z-index: 0;
}

.glow-top-left {
  top: -120px;
  left: 3%;
  width: 550px;
  height: 550px;
  background: var(--gradient-ambient-left);
}

.glow-bottom-right {
  bottom: -120px;
  right: 3%;
  width: 600px;
  height: 600px;
  background: var(--gradient-ambient-right);
}

/* Page Layout */
.site-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ===================================================================
   TOP HEADER
   =================================================================== */
.site-header {
  padding: 1.5rem 0;
  width: 100%;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(168, 85, 247, 0.45));
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), filter 0.25s ease;
}

.brand-link:hover .brand-logo {
  transform: scale(1.03);
  filter: drop-shadow(0 0 25px rgba(192, 132, 252, 0.75));
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

/* Top Action 1: Billing Login */
.btn-top-billing {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.15rem;
  border-radius: 9px;
  font-size: 0.875rem;
  font-weight: 600;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-top-billing:hover {
  background: rgba(168, 85, 247, 0.15);
  border-color: rgba(192, 132, 252, 0.45);
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.25);
}

/* Top Action 2: Panel Login (Vibrant Ultraviolet Button) */
.btn-top-panel {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1.25rem;
  border-radius: 9px;
  font-size: 0.875rem;
  font-weight: 700;
  color: #ffffff;
  background: var(--gradient-uv);
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 20px rgba(147, 51, 234, 0.45);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-top-panel:hover {
  box-shadow: 0 6px 28px rgba(168, 85, 247, 0.7);
  transform: translateY(-1px);
}

/* ===================================================================
   MAIN CONTENT HERO & PORTAL HUB
   =================================================================== */
.main-content {
  flex: 1;
  display: flex;
  align-items: center;
  padding: 3rem 0;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 3.5rem;
  width: 100%;
}

/* Left Column: Headline & Action Buttons */
.hero-left {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.hero-heading {
  font-size: 4rem;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #ffffff;
}

/* Flame gradient updated to Ultraviolet / Neon Purple */
.gradient-fire {
  background: linear-gradient(135deg, #e879f9 0%, #c084fc 40%, #9333ea 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 0 25px rgba(192, 132, 252, 0.35));
}

/* Cyber gradient updated to Specular Violet / Lavender */
.gradient-cyber {
  background: linear-gradient(135deg, #c084fc 0%, #818cf8 60%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Buttons Row */
.hero-buttons-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.15rem;
}

/* Hero Button 1: Control Panel Login */
.btn-hero-fire {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.85rem;
  border-radius: 12px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #c084fc 0%, #9333ea 50%, #7c3aed 100%);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 6px 28px rgba(147, 51, 234, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-hero-fire:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 10px 38px rgba(168, 85, 247, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

/* Hero Button 2: Billing Login */
.btn-hero-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.95rem 1.85rem;
  border-radius: 12px;
  font-size: 1.0625rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(18, 13, 30, 0.85);
  border: 1px solid rgba(168, 85, 247, 0.25);
  backdrop-filter: blur(14px);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-dark:hover {
  background: rgba(30, 20, 52, 0.95);
  border-color: rgba(192, 132, 252, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(168, 85, 247, 0.25);
}

/* ===================================================================
   RIGHT: CLIENT ACCESS HUB CARD
   =================================================================== */
.hero-right {
  display: flex;
  justify-content: center;
}

.access-hub-card {
  width: 100%;
  max-width: 520px;
  background: var(--bg-card);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--border-card);
  border-radius: 24px;
  padding: 2.25rem;
  box-shadow: 0 25px 60px -15px rgba(0, 0, 0, 0.85), 0 0 45px rgba(147, 51, 234, 0.22);
  position: relative;
  overflow: hidden;
}

/* Subtle top gradient line */
.access-hub-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-uv-glow), var(--color-uv-specular), transparent);
}

/* Card Header */
.hub-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 1.5rem;
}

.hub-title-group {
  display: flex;
  align-items: center;
  gap: 0.95rem;
}

.hub-phoenix-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(168, 85, 247, 0.12);
  border: 1px solid rgba(168, 85, 247, 0.3);
  padding: 4px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.4));
}

.hub-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.hub-subheading {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.hub-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(168, 85, 247, 0.14);
  color: #e9d5ff;
  border: 1px solid rgba(168, 85, 247, 0.35);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--color-uv-bright);
  box-shadow: 0 0 8px var(--color-uv-bright);
}

/* Links Stack */
.hub-links-stack {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  margin-bottom: 1.75rem;
}

.hub-portal-link {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  padding: 1.25rem 1.35rem;
  border-radius: 16px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-medium);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hub-portal-link:hover {
  transform: translateY(-2px);
}

/* Link 1: Game Panel */
.link-panel {
  border-color: rgba(168, 85, 247, 0.35);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.1) 0%, rgba(124, 58, 237, 0.04) 100%);
}

.link-panel:hover {
  border-color: rgba(192, 132, 252, 0.75);
  box-shadow: 0 8px 30px rgba(168, 85, 247, 0.35);
  background: linear-gradient(135deg, rgba(168, 85, 247, 0.18) 0%, rgba(124, 58, 237, 0.08) 100%);
}

.box-panel {
  background: rgba(168, 85, 247, 0.18);
  color: var(--color-uv-bright);
  border: 1px solid rgba(168, 85, 247, 0.4);
}

/* Link 2: Billing & Services */
.link-billing {
  border-color: rgba(129, 140, 248, 0.35);
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.08) 0%, rgba(168, 85, 247, 0.04) 100%);
}

.link-billing:hover {
  border-color: rgba(165, 180, 252, 0.75);
  box-shadow: 0 8px 30px rgba(129, 140, 248, 0.35);
  background: linear-gradient(135deg, rgba(129, 140, 248, 0.16) 0%, rgba(168, 85, 247, 0.08) 100%);
}

.box-billing {
  background: rgba(129, 140, 248, 0.18);
  color: #a5b4fc;
  border: 1px solid rgba(129, 140, 248, 0.35);
}

.portal-icon-box {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.portal-text-box {
  flex: 1;
}

.portal-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.25rem;
}

.portal-title {
  font-weight: 700;
  font-size: 1.0625rem;
  color: #ffffff;
}

.portal-arrow {
  color: var(--text-muted);
  transition: transform 0.2s ease, color 0.2s ease;
}

.hub-portal-link:hover .portal-arrow {
  transform: translate(2px, -2px);
  color: #ffffff;
}

.portal-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Bottom Features Row */
.hub-footer-features {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.feature-item svg {
  color: var(--color-green-status);
  flex-shrink: 0;
}

/* ===================================================================
   CLEAN FOOTER
   =================================================================== */
.site-footer {
  padding: 1.5rem 0;
  border-top: 1px solid var(--border-subtle);
  background: rgba(6, 4, 10, 0.7);
  backdrop-filter: blur(8px);
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--text-dim);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-divider {
  color: var(--border-medium);
}

/* ===================================================================
   RESPONSIVE (MOBILE & TABLET)
   =================================================================== */
@media (max-width: 992px) {
  .hero-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }

  .hero-left {
    align-items: center;
  }

  .hero-heading {
    font-size: 3rem;
  }

  .hero-buttons-row {
    justify-content: center;
  }

  .access-hub-card {
    max-width: 500px;
    margin: 0 auto;
  }

  .hub-footer-features {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .hero-heading {
    font-size: 2.25rem;
  }

  .hero-buttons-row {
    flex-direction: column;
    width: 100%;
  }

  .btn-hero-fire, .btn-hero-dark {
    width: 100%;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .btn-top-billing, .btn-top-panel {
    padding: 0.45rem 0.85rem;
    font-size: 0.8125rem;
  }

  .access-hub-card {
    padding: 1.5rem;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
  }
}
