/* ==========================================================================
   SMISH VENTURES — Official Publisher Design System
   Modern Dark Mode • Responsive • Glassmorphic • Performance Optimized
   ========================================================================== */

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

:root {
  --bg-dark: #04060A;
  --bg-surface: #0A0E17;
  --bg-card: #0F1422;
  --bg-card-hover: #151C30;
  --bg-glass: rgba(15, 20, 34, 0.75);

  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(252, 211, 77, 0.35);
  --border-glow: rgba(252, 211, 77, 0.15);

  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;

  --gold-primary: #FCD34D;
  --gold-dark: #D97706;
  --gold-glow: rgba(245, 158, 11, 0.3);

  --cyan-primary: #06B6D4;
  --emerald-primary: #10B981;
  --purple-primary: #8B5CF6;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --max-width: 1200px;
  --transition-fast: 0.15s ease;
  --transition-smooth: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient Radial Glow Background */
.ambient-background {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.08) 0%, transparent 60%),
    radial-gradient(circle at 90% 40%, rgba(6, 182, 212, 0.05) 0%, transparent 50%),
    radial-gradient(circle at 10% 80%, rgba(139, 92, 246, 0.04) 0%, transparent 50%);
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */

.nav-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(4, 6, 10, 0.85);
  border-bottom: 1px solid var(--border-subtle);
  transition: background var(--transition-fast);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  transition: opacity var(--transition-fast);
}

.brand-logo:hover {
  opacity: 0.95;
}

.brand-logo-img {
  height: 38px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
  transition: transform var(--transition-fast), filter var(--transition-fast);
}

.brand-logo:hover .brand-logo-img {
  transform: translateY(-1px) scale(1.02);
  filter: drop-shadow(0 0 16px rgba(245, 197, 24, 0.45));
}

.brand-crest {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #1E1B13 0%, #0D0E12 100%);
  border: 1.5px solid var(--gold-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 19px;
  color: var(--gold-primary);
  box-shadow: 0 0 16px var(--gold-glow);
}

.brand-name {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.brand-tag {
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--gold-primary);
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 13.5px;
  font-weight: 600;
  transition: color var(--transition-fast);
}

.nav-links a:hover,
.nav-links a.active {
  color: #FFFFFF;
}

.nav-cta {
  padding: 8px 18px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
  color: #1F1202 !important;
  font-weight: 800 !important;
  font-size: 12.5px !important;
  box-shadow: 0 4px 14px var(--gold-glow);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast) !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.45);
}

/* ==========================================================================
   Buttons & Badges
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 12px;
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-smooth);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-primary) 0%, var(--gold-dark) 100%);
  color: #261502;
  border: 1px solid #FEF08A;
  box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #fff;
}

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

.btn-cyan {
  background: linear-gradient(135deg, var(--cyan-primary) 0%, #0891B2 100%);
  color: #04121E;
  border: 1px solid #A5F3FC;
  box-shadow: 0 4px 20px rgba(6, 182, 212, 0.35);
}

.btn-cyan:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(6, 182, 212, 0.55);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.badge-gold {
  background: rgba(252, 211, 77, 0.1);
  border: 1px solid rgba(252, 211, 77, 0.35);
  color: var(--gold-primary);
}

.badge-cyan {
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: var(--cyan-primary);
}

.badge-live {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: var(--emerald-primary);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero-section {
  padding: 90px 0 60px;
  text-align: center;
  position: relative;
}

.hero-pill {
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.hero-title-highlight {
  background: linear-gradient(135deg, #FFFFFF 20%, var(--gold-primary) 70%, #F59E0B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  max-width: 680px;
  margin: 0 auto 36px;
  font-size: clamp(15px, 2.2vw, 18px);
  color: var(--text-secondary);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Games Portfolio Showcase
   ========================================================================== */

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-tag {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--gold-primary);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-bottom: 80px;
}

.game-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
  position: relative;
}

.game-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-highlight);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 30px var(--gold-glow);
}

.game-card-banner {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
  background: #000;
}

.game-card-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.game-card:hover .game-card-banner img {
  transform: scale(1.04);
}

.game-card-body {
  padding: 28px 24px 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.game-header-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.game-app-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.6);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  flex-shrink: 0;
  object-fit: cover;
}

.game-card-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.game-card-genre {
  font-size: 12px;
  color: var(--gold-primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.game-card-desc {
  color: var(--text-secondary);
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
}

.game-features-list {
  list-style: none;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.game-features-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.8);
}

.game-card-footer {
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

/* ==========================================================================
   Studio Philosophy & Stats
   ========================================================================== */

.philosophy-section {
  padding: 80px 0;
  background: linear-gradient(180deg, transparent 0%, rgba(10, 14, 23, 0.6) 50%, transparent 100%);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 80px;
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.philosophy-card {
  background: var(--bg-glass);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: left;
  transition: all var(--transition-smooth);
}

.philosophy-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-3px);
}

.philosophy-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: rgba(252, 211, 77, 0.1);
  border: 1px solid rgba(252, 211, 77, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 18px;
}

.philosophy-card h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.philosophy-card p {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Legal & Document Pages (Privacy, Terms, Support)
   ========================================================================== */

.legal-page {
  padding: 60px 0 100px;
}

.legal-header {
  margin-bottom: 40px;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 24px;
}

.legal-badge {
  margin-bottom: 12px;
}

.legal-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 5vw, 44px);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.legal-meta {
  font-size: 13px;
  color: var(--text-muted);
}

.legal-content {
  background: var(--bg-card);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 48px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
}

.legal-content h2 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  margin: 36px 0 14px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.legal-content h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-content h3 {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--gold-primary);
  margin: 20px 0 8px;
}

.legal-content p {
  font-size: 14.5px;
  color: #CBD5E1;
  line-height: 1.7;
  margin-bottom: 16px;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 20px 24px;
  color: #CBD5E1;
}

.legal-content li {
  font-size: 14px;
  line-height: 1.65;
  margin-bottom: 8px;
}

.legal-content strong {
  color: #fff;
}

.legal-box {
  background: rgba(252, 211, 77, 0.06);
  border: 1px solid rgba(252, 211, 77, 0.25);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 24px 0;
}

.legal-box p {
  color: #FEF08A;
  margin: 0;
  font-size: 13.5px;
}

/* ==========================================================================
   Support & Contact Page
   ========================================================================== */

.support-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

@media (max-width: 800px) {
  .support-grid {
    grid-template-columns: 1fr;
  }
}

.faq-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}

.faq-question {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
}

.faq-answer {
  font-size: 13.5px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 60px 0 36px;
  background: rgba(4, 6, 10, 0.95);
  font-size: 13px;
  color: var(--text-muted);
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-brand .brand-logo-img {
  height: 42px;
  max-width: 180px;
  margin-bottom: 4px;
}

.footer-brand p {
  margin-top: 12px;
  max-width: 320px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.footer-nav {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 14px;
}

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

.footer-col a {
  text-decoration: none;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

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