/* ==========================================================================
   SAMAR SEQUENCE - Professional Deluxe Gaming Website Stylesheet
   ========================================================================== */

/* Google Font: Plus Jakarta Sans */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800;900&display=swap');

/* Global Navigation */
.site-header {
  background: rgba(8, 14, 30, 0.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.site-nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-item {
  color: #94a3b8;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  letter-spacing: -0.2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.nav-item:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.nav-item.active {
  color: #ffffff !important;
  background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
  border: 1px solid rgba(147, 197, 253, 0.4) !important;
  border-radius: 999px !important;
  padding: 8px 18px !important;
  font-weight: 800 !important;
  box-shadow: 0 4px 15px rgba(37, 99, 235, 0.45) !important;
}

.nav-item.active:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-login-btn {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  color: #f8fafc;
  padding: 8px 18px;
  font-weight: 700;
  border-radius: 999px;
  font-size: 0.88rem;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.nav-login-btn:hover {
  border-color: #f59e0b;
  color: #f59e0b;
  background: rgba(245, 158, 11, 0.08);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero-section {
  padding: 70px 24px 50px;
  position: relative;
  overflow: hidden;
}

.hero-container {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  align-items: center;
  gap: 48px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fde68a;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.8px;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
  text-transform: uppercase;
  box-shadow: 0 0 15px rgba(245, 158, 11, 0.2);
}

.live-dot {
  width: 8px;
  height: 8px;
  background: #10b981;
  border-radius: 50%;
  box-shadow: 0 0 8px #10b981;
  animation: livePulse 1.5s infinite;
}

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

.hero-title {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.12;
  margin-bottom: 20px;
  letter-spacing: -1px;
}

.gold-gradient-text {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  text-shadow: 0 0 30px rgba(245, 158, 11, 0.3);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 34px;
  max-width: 540px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  margin-bottom: 44px;
  flex-wrap: wrap;
}

.btn-hero {
  height: 54px;
  padding: 0 30px;
  font-size: 1.05rem;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-play-pulse {
  animation: heroPulse 2.5s infinite;
}

@keyframes heroPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4); }
  50% { box-shadow: 0 4px 30px rgba(245, 158, 11, 0.7), 0 0 15px rgba(254, 240, 138, 0.5); }
}

.hero-stats {
  display: flex;
  gap: 36px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-item strong {
  font-size: 1.6rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
}

.stat-item span {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* ==========================================================================
   3D Isometric Game Arena Stage Showcase (Hero Right)
   ========================================================================== */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  perspective: 1200px;
}

.arena-stage {
  position: relative;
  width: 380px;
  max-width: 100%;
  aspect-ratio: 1;
  transform-style: preserve-3d;
  transform: rotateX(24deg) rotateZ(-12deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.arena-stage:hover {
  transform: rotateX(16deg) rotateZ(-6deg) scale(1.04);
}

.stage-board {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #091a38 0%, #040d1c 100%);
  border: 3.5px solid #d97706;
  border-radius: 16px;
  box-shadow: 
    0 25px 65px rgba(0, 0, 0, 0.85),
    0 0 35px rgba(217, 119, 6, 0.25),
    inset 0 0 25px rgba(0, 0, 0, 0.8);
  padding: 8px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 4px;
}

.stage-cell {
  position: relative;
  background: linear-gradient(145deg, #ffffff 0%, #f1f4f9 100%);
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.25);
  font-size: 0.82rem;
  font-weight: 900;
  user-select: none;
}

.stage-cell.corner-gold {
  background: radial-gradient(circle at 35% 35%, #fde047 0%, #ca8a04 60%, #92400e 100%);
  border: 1.5px solid #fef08a;
  color: #1e1e1e;
  font-size: 1.1rem;
}

.stage-chip {
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  font-weight: 900;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.7), inset 0 1px 2px rgba(255, 255, 255, 0.8);
  z-index: 2;
}

.stage-chip-blue {
  background: radial-gradient(circle at 35% 35%, #60a5fa 0%, #2563eb 60%, #1d4ed8 100%);
  border: 2px solid #93c5fd;
}

.stage-chip-green {
  background: radial-gradient(circle at 35% 35%, #34d399 0%, #059669 60%, #047857 100%);
  border: 2px solid #a7f3d0;
}

.stage-chip-red {
  background: radial-gradient(circle at 35% 35%, #f87171 0%, #dc2626 60%, #b91c1c 100%);
  border: 2px solid #fca5a5;
}

.stage-chip-locked {
  border: 2.5px solid #fbbf24;
  box-shadow: 0 0 16px #fbbf24, 0 4px 10px rgba(0, 0, 0, 0.7);
  animation: stagePulse 1.5s infinite alternate;
}

@keyframes stagePulse {
  0% { transform: scale(0.96); box-shadow: 0 0 10px #f59e0b; }
  100% { transform: scale(1.04); box-shadow: 0 0 20px #fbbf24; }
}

/* Floating HUD Badges in 3D Stage */
.floating-hud {
  position: absolute;
  top: -24px;
  right: -16px;
  background: rgba(11, 19, 41, 0.92);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(245, 158, 11, 0.5);
  padding: 8px 16px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  z-index: 10;
  font-size: 0.8rem;
  font-weight: 800;
  color: #fff;
}

.floating-action-card {
  position: absolute;
  bottom: -24px;
  left: -20px;
  background: rgba(11, 19, 41, 0.92);
  backdrop-filter: blur(12px);
  border: 1.5px solid rgba(59, 130, 246, 0.45);
  padding: 10px 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
  z-index: 10;
}

.floating-action-card .card-thumb {
  width: 32px;
  height: 44px;
  background: #fff;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.floating-action-card .card-text {
  display: flex;
  flex-direction: column;
}

.floating-action-card .card-text strong {
  font-size: 0.85rem;
  color: #fff;
}

.floating-action-card .card-text span {
  font-size: 0.72rem;
  color: #93c5fd;
  font-weight: 700;
}

/* ==========================================================================
   Sections & Steps Grid
   ========================================================================== */
.section-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 70px 24px;
}

.section-title {
  text-align: center;
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 52px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.step-card {
  background: linear-gradient(180deg, rgba(16, 26, 54, 0.85) 0%, rgba(9, 15, 33, 0.95) 100%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--border-radius-lg);
  padding: 36px 26px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(12px);
  transition: transform var(--transition-fast), border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.step-card:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(245, 158, 11, 0.15);
}

.step-number {
  position: absolute;
  top: -18px;
  left: 26px;
  width: 40px;
  height: 40px;
  background: var(--gold-gradient);
  color: var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.15rem;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.5);
}

.step-icon {
  font-size: 2.4rem;
  margin-bottom: 18px;
}

.step-card h3 {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: #fff;
  letter-spacing: -0.3px;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   Features Grid
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-box {
  background: linear-gradient(180deg, rgba(16, 26, 54, 0.7) 0%, rgba(9, 15, 33, 0.85) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  padding: 28px 24px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(10px);
  transition: transform var(--transition-fast), border-color var(--transition-fast);
}

.feature-box:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.4);
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 14px;
}

.feature-box h4 {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #ffffff;
}

.feature-box p {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

/* ==========================================================================
   FAQ
   ========================================================================== */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: linear-gradient(180deg, rgba(16, 26, 54, 0.6) 0%, rgba(9, 15, 33, 0.8) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--border-radius-md);
  padding: 24px;
  transition: border-color var(--transition-fast);
}

.faq-item:hover {
  border-color: rgba(245, 158, 11, 0.35);
}

.faq-item h4 {
  font-size: 1.1rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #ffffff;
}

.faq-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-section {
  padding: 50px 24px 90px;
}

.cta-box {
  max-width: 960px;
  margin: 0 auto;
  background: radial-gradient(circle at center, #1e3a8a 0%, #08112e 85%);
  border: 2px solid rgba(245, 158, 11, 0.5);
  border-radius: var(--border-radius-lg);
  padding: 54px 30px;
  text-align: center;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(245, 158, 11, 0.2);
  position: relative;
  overflow: hidden;
}

.cta-box h2 {
  font-size: 2.4rem;
  font-weight: 900;
  margin-bottom: 14px;
  color: #fff;
  letter-spacing: -0.5px;
}

.cta-box p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 580px;
  margin: 0 auto 28px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #030611;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 54px 24px 28px;
  color: var(--text-muted);
}

.footer-container {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 44px;
}

.brand-col .footer-desc {
  margin-top: 16px;
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 380px;
}

.footer-col h5 {
  color: #fff;
  font-size: 0.92rem;
  font-weight: 900;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col ul li a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.footer-col ul li a:hover {
  color: var(--gold-primary);
}

.footer-bottom {
  max-width: 1140px;
  margin: 0 auto;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  text-align: center;
  font-size: 0.85rem;
}

/* ==========================================================================
   Comprehensive Responsive Layout for Mobile & Tablet
   ========================================================================== */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

@media (max-width: 880px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }

  .hero-title {
    font-size: clamp(2rem, 5vw, 2.5rem);
  }

  .hero-subtitle, .hero-buttons {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
    gap: 20px;
  }

  .arena-stage {
    width: min(90vw, 340px);
    margin: 0 auto;
  }

  .steps-grid, .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .site-nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 0;
  }

  .site-nav-container {
    padding: 10px 14px;
    gap: 10px;
  }

  .brand-logo {
    width: 32px;
    height: 32px;
  }

  .brand-samar {
    font-size: 0.95rem;
  }

  .brand-sequence {
    font-size: 0.65rem;
  }

  .nav-cta {
    gap: 6px;
  }

  .nav-cta .btn, .nav-cta .nav-login-btn {
    padding: 6px 12px;
    font-size: 0.82rem;
    height: 36px;
    white-space: nowrap;
  }

  .hero-section {
    padding: 28px 14px 24px;
  }

  .hero-container {
    gap: 24px;
  }

  .hero-badge {
    font-size: 0.72rem;
    padding: 4px 12px;
    margin-bottom: 14px;
  }

  .hero-title {
    font-size: clamp(1.65rem, 6.2vw, 2.1rem);
    line-height: 1.18;
    margin-bottom: 12px;
  }

  .hero-subtitle {
    font-size: 0.9rem;
    line-height: 1.48;
    margin-bottom: 20px;
    padding: 0 4px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .btn-hero {
    width: 100%;
    justify-content: center;
    height: 48px;
    font-size: 0.98rem;
    padding: 0 16px;
    border-radius: 10px;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 18px;
    width: 100%;
  }

  .stat-item strong {
    font-size: 1.3rem;
  }

  .stat-item span {
    font-size: 0.68rem;
    letter-spacing: 0.2px;
  }

  .hero-visual {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    perspective: none;
    padding: 10px 0;
  }

  .arena-stage {
    width: min(88vw, 300px);
    transform: none !important;
    margin: 0 auto;
  }

  .floating-action-card {
    right: 0 !important;
    bottom: -10px !important;
    transform: scale(0.9);
    transform-origin: bottom right;
  }

  .section-container {
    padding: 32px 14px;
  }

  .section-title {
    font-size: 1.55rem;
    margin-bottom: 8px;
  }

  .section-subtitle {
    font-size: 0.88rem;
    margin-bottom: 24px;
  }

  .step-card, .feature-card {
    padding: 18px 14px;
  }

  .download-card {
    padding: 24px 16px;
  }

  .download-buttons {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }

  .download-buttons .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .site-brand .brand-sequence {
    display: none;
  }

  .site-nav-container {
    padding: 8px 10px;
  }

  .nav-cta {
    gap: 4px;
  }

  .nav-cta .btn, .nav-cta .nav-login-btn {
    padding: 5px 9px;
    font-size: 0.76rem;
    height: 32px;
  }
}
