/* ============================================
   CSGORoll Dashboard - Glassmorphism Design System
   ============================================ */

/* ===== CSS Custom Properties ===== */
:root {
  /* Primary Colors */
  --primary: #7c8aff;
  --primary-dim: #5c6ac4;
  --primary-dark: #4a5ab8;
  
  /* Status Colors */
  --success: #34d399;
  --danger: #f87171;
  --warning: #fbbf24;
  --accent: #c9a227;
  
  /* Background Colors */
  --bg-base: #08090d;
  --bg-elevated: #0d0f14;
  --bg-glass: rgba(255, 255, 255, 0.03);
  --bg-glass-hover: rgba(255, 255, 255, 0.05);
  
  /* Text Colors */
  --text-primary: #e8eaed;
  --text-secondary: #b0b0b6;
  --text-dim: #a1a1a1;
  
  /* Border Colors */
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.12);
  
  /* Effects */
  --glass-blur: blur(20px);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  
  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 300ms cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 500ms cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  
  /* Border Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
}

/* ===== Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: clamp(14px, 1.5vw, 16px);
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  /* Use Inter with system font fallbacks - Inter will swap in when loaded */
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  width: 100%;
}

/* Performance optimizations */
img {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  loading: lazy;
  max-width: 100%;
  height: auto;
}

/* Prevent text overflow */
h1, h2, h3, h4, h5, h6, p {
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* Ensure all sections don't cause horizontal overflow */
section {
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* ===== Background Layer ===== */
.bg-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: linear-gradient(135deg, var(--bg-base) 0%, #0a0b10 50%, #0d0e15 100%);
}

/* ===== Floating Gradient Orbs ===== */
.gradient-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
  animation: float 20s ease-in-out infinite;
  will-change: transform;
}

.orb-1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  top: -200px;
  right: -200px;
  animation-delay: 0s;
}

.orb-2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #a78bfa 0%, transparent 70%);
  bottom: -250px;
  left: -250px;
  animation-delay: 10s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(30px, -30px) scale(1.1);
  }
  66% {
    transform: translate(-20px, 20px) scale(0.9);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.5);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* ======= header ======= */

/* Responsive */
    @media (max-width: 768px) {
      .header {
        padding: 0.75rem 1rem;
      }
      
      .header-logo .exodia-text {
        font-size: 1.2rem;
      }
      
      .header-logo img {
        width: 40px;
        height: 40px;
      }
      
      .header-buttons {
        gap: 0.5rem;
      }
      
      .btn {
        padding: 0.6rem 1rem;
        font-size: 0.8rem;
      }
      
      main {
        padding-top: 80px;
      }
      
      .faq-hero {
        padding: 2rem 1rem;
      }
      
      .faq-section {
        padding: 1rem 1rem 4rem;
      }
      
      .faq-accordion-header {
        padding: 1.25rem 1.5rem;
      }
      
      .faq-accordion-header h3 {
        font-size: 1rem;
      }
      
      .faq-accordion-content-inner {
        padding: 1.25rem 1.5rem;
      }
    }
    
    @media (max-width: 480px) {
      .header-logo .exodia-text {
        display: none;
      }
      
      .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
      }
    }

/* ===== Container ===== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: clamp(1rem, 2vw, 2rem);
}

/* ===== Glass Card Component ===== */
.glass {
  background: var(--bg-glass);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  transition: all var(--transition-base);
}

.glass:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-medium);
  box-shadow: var(--shadow-lg);
}


/* ===== Typography ===== */
h1 {
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  margin-bottom: var(--space-lg);
  color: var(--text-primary);
}

h2 {
  font-size: clamp(20px, 3vw, 28px);
  font-weight: 600;
  margin-bottom: var(--space-md);
  color: var(--text-primary);
}

h3 {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 600;
  margin-bottom: var(--space-sm);
  color: var(--text-primary);
}

p {
  font-size: clamp(13px, 1.5vw, 15px);
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Buttons ===== */
.btn {
  padding: clamp(8px, 1.5vw, 12px) clamp(16px, 2.5vw, 24px);
  border-radius: var(--radius-md);
  font-size: clamp(13px, 1.5vw, 15px);
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
}

.btn-primary {
  background: var(--primary);
  color: #000;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
  will-change: transform;
}

.btn-secondary {
  background: var(--bg-glass);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
  background: var(--bg-glass-hover);
  border-color: var(--border-medium);
}

.btn-success {
  background: var(--success);
  color: white;
}

.btn-danger {
  background: var(--danger);
  color: white;
}






/* ===== Utility Classes ===== */
.text-success {
  color: var(--success);
}

.text-danger {
  color: var(--danger);
}

.text-warning {
  color: var(--warning);
}

.text-primary {
  color: var(--primary);
}

.text-secondary {
  color: var(--text-secondary);
}

.mb-sm {
  margin-bottom: var(--space-sm);
}

.mb-md {
  margin-bottom: var(--space-md);
}

.mb-lg {
  margin-bottom: var(--space-lg);
}

.mb-xl {
  margin-bottom: var(--space-xl);
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

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

.justify-between {
  justify-content: space-between;
}

.gap-sm {
  gap: var(--space-sm);
}

.gap-md {
  gap: var(--space-md);
}

.gap-lg {
  gap: var(--space-lg);
}





/* ===== Inventory & Pricing Modal Styles ===== */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.85);
  background: rgba(8, 9, 13, 0.97);
  padding: 2rem;
}

.modal-content {
  width: 90%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .modal-content {
    width: 95%;
    max-height: 90vh;
    overflow-y: auto;
  }
}

/* ===== FAQ Section ===== */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 2rem;
}

.faq-item {
  transition: all var(--transition-base);
}

.faq-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(124, 138, 255, 0.15);
}

/* ====== Complete Header ======== */

/* ===== Header Styles ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1rem 2rem;
  background: rgba(8, 9, 13, 0.97);
  border-bottom: 1px solid rgba(124, 138, 255, 0.15);
  transition: all 0.3s ease;
}

.header-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.header-logo img {
  filter: drop-shadow(0 0 10px rgba(124, 138, 255, 0.5));
}

.header-logo .exodia-text {
  font-size: 1.5rem;
  color: var(--primary);
  letter-spacing: 0.1em;
}

.header-buttons {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

/* Header Button Base - Equal Dimensions */
.header-buttons .btn {
  padding: 0.65rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 50px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

/* FAQ Button */
.header-buttons .btn-secondary {
  background: rgba(124, 138, 255, 0.1);
  color: var(--primary);
  border: 1px solid rgba(124, 138, 255, 0.3);
}

.header-buttons .btn-secondary:hover {
  background: rgba(124, 138, 255, 0.2);
  border-color: rgba(124, 138, 255, 0.5);
}

.header-buttons .btn-secondary.active {
  background: rgba(124, 138, 255, 0.2);
  border-color: var(--primary);
}

/* Discord Button */
.header-buttons .btn-discord {
  background: rgba(88, 101, 242, 0.15);
  color: #5865F2;
  border: 1px solid rgba(88, 101, 242, 0.3);
}

.header-buttons .btn-discord:hover {
  background: rgba(88, 101, 242, 0.25);
  border-color: rgba(88, 101, 242, 0.5);
}

/* Join Waitlist Button */
.header-buttons .btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, #a78bfa 100%);
  color: white;
  border: none;
  box-shadow: 0 4px 15px rgba(124, 138, 255, 0.3);
}

.header-buttons .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(124, 138, 255, 0.5);
}

/* ===== Landing Page Styles ===== */
.landing-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: 10;
  overflow-x: hidden;
  background: var(--bg-base);
}

.landing-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 4rem;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  background: transparent;
}

.landing-logo-container {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.landing-logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(255, 255, 255, 0.4));
  transition: transform var(--transition-base);
}

.landing-logo:hover {
  transform: scale(1.05);
}

.landing-nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.landing-nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
  font-size: 0.9rem;
}

.landing-nav-link:hover {
  color: var(--text-primary);
}

/* Hero Section */
.hero-section {
  padding-top: 12rem;
  padding-bottom: 8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.5;
  z-index: 0 !important;
  transform: scale(1.05);
  filter: hue-rotate(10deg) saturate(120%) brightness(0.8);
  pointer-events: none;
}

.hero-background::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 138, 255, 0.25) 0%, rgba(167, 139, 250, 0.15) 100%);
  mix-blend-mode: multiply;
}

.hero-section > *:not(.hero-background) {
  position: relative;
  z-index: 1;
}

.landing-hero-title {
  font-size: clamp(3rem, 10vw, 6rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 2rem;
  padding-bottom: 0.2rem;
  background: linear-gradient(180deg, #fff 30%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.04em;
  max-width: 1100px;
}

.landing-hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: var(--text-secondary);
  margin-bottom: 3.5rem;
  max-width: 700px;
  line-height: 1.6;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    filter: drop-shadow(0 0 30px rgba(124, 138, 255, 0.8));
  }
  50% {
    transform: scale(1.05);
    filter: drop-shadow(0 0 50px rgba(124, 138, 255, 1));
  }
}

/* Logo piece hover effect */
.landing-feature-card img[alt^="Piece"] {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.landing-feature-card:hover img[alt^="Piece"] {
  transform: scale(1.15) rotate(5deg);
  filter: drop-shadow(0 0 35px rgba(124, 138, 255, 1)) brightness(1.2);
}

/* Targeting Section (Exclude someone) */
.target-section {
  padding: 8rem 2rem;
  background: rgba(255, 255, 255, 0.01);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  background-size: cover !important;
  background-position: center !important;
  position: relative;
  overflow: hidden;
}

.target-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,9,13,0.8) 0%, rgba(8,9,13,0.75) 100%);
  z-index: 0;
}

.target-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(124, 138, 255, 0.2) 0%, transparent 50%);
  z-index: 0;
}

.target-section > * {
  position: relative;
  z-index: 1;
}

.target-main-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 2rem;
  line-height: 1.1;
}

/* Trust Section */
.trust-section {
  padding: 8rem 2rem;
  background: linear-gradient(180deg, rgba(8,9,13,1) 0%, rgba(13,15,20,1) 100%);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.trust-card {
  padding: 3rem;
  text-align: left;
  border: 1px solid rgba(124, 138, 255, 0.3);
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0) 100%);
  background-size: cover !important;
  background-position: center !important;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.trust-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,9,13,0.6) 0%, rgba(8,9,13,0.5) 100%);
  z-index: 0;
  transition: all var(--transition-base);
}

.trust-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 138, 255, 0.12) 0%, rgba(167, 139, 250, 0.08) 100%);
  mix-blend-mode: overlay;
  z-index: 0;
}

.trust-card:hover::before {
  background: linear-gradient(135deg, rgba(8,9,13,0.45) 0%, rgba(8,9,13,0.4) 100%);
}

.trust-card > * {
  position: relative;
  z-index: 1;
}

.trust-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 15px 40px rgba(124, 138, 255, 0.4);
}

.trust-icon-box {
  width: 60px;
  height: 60px;
  background: rgba(124, 138, 255, 0.1);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 2rem;
}

/* Squealer Font  */
@font-face {
      font-family: 'Squealer';
      src: url('squealer/Squealer.otf') format('opentype');
      font-weight: normal;
      font-style: normal;
      font-display: swap;
    }

 .exodia-text {
      font-family: 'Squealer', 'Impact', 'Arial Black', sans-serif;
      font-weight: normal;
      letter-spacing: 0.05em;
    }

   /* Loading overlay - prevents flickering */
    .page-loader {
      position: fixed;
      inset: 0;
      background: #08090d;
      z-index: 9999;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: opacity 0.4s ease, visibility 0.4s ease;
    }
    
    .page-loader.hidden {
      opacity: 0;
      visibility: hidden;
      pointer-events: none;
    }
    
    .page-loader-spinner {
      width: 40px;
      height: 40px;
      border: 3px solid rgba(124, 138, 255, 0.2);
      border-top-color: var(--primary);
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
    }

 /* Page content fade-in */
    .page-content {
      animation: pageEnter 0.5s ease-out;
    }

/* Exit animation class */
    .page-exit {
      animation: pageExit 0.3s ease-in forwards;
    }
/* Feature Cards Overrides */
.landing-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 350px), 1fr));
  gap: 2.5rem;
  width: 100%;
  max-width: 1200px;
  margin: 4rem auto 0;
}

.landing-feature-card {
  padding: 3.5rem;
  transition: all var(--transition-base);
  background: var(--bg-glass);
  background-size: cover !important;
  background-position: center !important;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(124, 138, 255, 0.2);
}

.landing-feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(8,9,13,0.75) 0%, rgba(8,9,13,0.65) 100%);
  z-index: 0;
  transition: all var(--transition-base);
}

.landing-feature-card[style*="public/images/6.webp"]::before {
  background: linear-gradient(135deg, rgba(8,9,13,0.85) 0%, rgba(8,9,13,0.75) 100%);
}

.landing-feature-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(124, 138, 255, 0.15) 0%, rgba(167, 139, 250, 0.1) 100%);
  mix-blend-mode: overlay;
  z-index: 0;
}

.landing-feature-card:hover::before {
  background: linear-gradient(135deg, rgba(8,9,13,0.75) 0%, rgba(8,9,13,0.65) 100%);
}

.landing-feature-card > * {
  position: relative;
  z-index: 1;
}

.landing-feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
  box-shadow: 0 0 40px rgba(124, 138, 255, 0.6), 0 0 80px rgba(124, 138, 255, 0.3);
}

@media (max-width: 968px) {
  .landing-feature-card[style*="grid-template-columns: 1fr 1.5fr"] {
    grid-template-columns: 1fr !important;
  }
  
  .landing-feature-card[style*="grid-template-columns: 1fr 1.5fr"] > div:first-child {
    display: none !important;
  }
}

/* ===== Responsive Styles - Pure Scaling ===== */

/* Responsive floating navigation - scale down icons */
@media (max-width: 768px) {
  #floating-nav {
    right: 0.5rem !important;
    gap: 0.75rem !important;
    transform: translateY(-50%) scale(0.8) !important;
    transform-origin: right center !important;
  }
}

@media (max-width: 480px) {
  #floating-nav {
    right: 0.25rem !important;
    gap: 0.5rem !important;
    transform: translateY(-50%) scale(0.6) !important;
  }
}

/* Responsive header - scale */
@media (max-width: 768px) {
  .landing-header {
    padding: 1.5rem 1rem;
  }
  
  .landing-logo {
    height: clamp(40px, 10vw, 80px);
  }
}

/* Responsive hero section padding */
@media (max-width: 768px) {
  .hero-section {
    padding-top: clamp(6rem, 15vw, 12rem);
    padding-bottom: clamp(3rem, 8vw, 8rem);
    padding-left: clamp(0.5rem, 2vw, 2rem);
    padding-right: clamp(0.5rem, 2vw, 2rem);
  }
  
  .hero-visual {
    padding: 0 1rem;
  }
}

/* Responsive section padding */
@media (max-width: 768px) {
  .target-section,
  .trust-section {
    padding: clamp(3rem, 8vw, 8rem) clamp(0.5rem, 3vw, 2rem);
  }
  
  .trust-card,
  .landing-feature-card {
    padding: clamp(1.5rem, 4vw, 3.5rem);
  }
}

/* Ensure modal is usable on small screens */
@media (max-width: 768px) {
  .modal-overlay {
    padding: clamp(0.5rem, 2vw, 2rem);
  }
  
  .modal-content {
    max-height: 95vh;
    overflow-y: auto;
  }
}

/* Prevent iOS zoom on form inputs */
@media (max-width: 768px) {
  input[type="text"],
  input[type="email"],
  input[type="number"],
  textarea,
  select {
    font-size: 16px !important;
  }
}


