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

:root {
  --bg-dark: #030712;
  --bg-card: rgba(15, 23, 42, 0.75);
  --border-card: rgba(255, 255, 255, 0.08);
  --primary-gold: #f59e0b;
  --primary-orange: #ea580c;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-dark);
  color: #f3f4f6;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* Ambient Glows */
.ambient-glow-1 {
  position: absolute;
  top: -5%;
  left: 10%;
  width: min(600px, 90vw);
  height: min(600px, 90vw);
  background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, rgba(234, 88, 12, 0.04) 45%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}
.ambient-glow-2 {
  position: absolute;
  top: 45%;
  right: -5%;
  width: min(500px, 80vw);
  height: min(500px, 80vw);
  background: radial-gradient(circle, rgba(6, 182, 212, 0.08) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

/* Layout Container - Full Width & Fluid */
.container {
  width: 100%;
  max-width: 96%;
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 10;
}

/* Header & Mobile Nav */
.site-header {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(3, 7, 18, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0.85rem 0;
}
.header-inner {
  width: 100%;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.logo-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-badge {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, #f59e0b, #ea580c);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 0 18px rgba(245, 158, 11, 0.35);
  flex-shrink: 0;
}
.logo-title {
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
  display: block;
  line-height: 1.1;
  white-space: nowrap;
}
.logo-sub {
  font-size: 0.6rem;
  font-weight: 800;
  color: #f59e0b;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

/* Desktop Nav - Always Single Line & No Wrap */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  white-space: nowrap;
  flex-wrap: nowrap;
  flex-shrink: 0;
}
.desktop-nav a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
  flex-shrink: 0;
}
.desktop-nav a:hover {
  color: #fbbf24;
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Hamburger Toggle Button */
.mobile-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Mobile Drawer */
.mobile-menu {
  display: none;
  background: rgba(3, 7, 18, 0.98);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem 1rem;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  box-shadow: 0 25px 50px rgba(0,0,0,0.8);
}
.mobile-menu.open {
  display: block;
  animation: slideDown 0.25s ease-out forwards;
}
@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.mobile-link {
  display: flex;
  align-items: center;
  padding: 0.75rem 0.5rem;
  color: #e5e7eb;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.mobile-link:hover {
  color: #f59e0b;
}

/* Responsive Media Queries for Navigation */
@media (max-width: 992px) {
  .desktop-nav { display: none !important; }
  .desktop-only { display: none !important; }
  .mobile-toggle { display: inline-flex !important; }
}

/* Glass Panels & Cards */
.glass-panel {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-card);
  border-radius: 1.25rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}
.glass-card {
  background: rgba(30, 41, 59, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 1rem;
  transition: all 0.25s ease;
}
.glass-card:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 158, 11, 0.3);
}

/* Typography & Gradients */
.text-gradient {
  background: linear-gradient(135deg, #fbbf24 0%, #f97316 50%, #ef4444 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-title {
  font-size: clamp(2rem, 5.5vw, 3.75rem);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
}
.hero-desc {
  font-size: clamp(0.9rem, 2vw, 1.15rem);
  color: #9ca3af;
  line-height: 1.7;
}

/* Buttons */
.btn-glow {
  background: linear-gradient(135deg, #f59e0b 0%, #ea580c 100%);
  color: #030712;
  font-weight: 800;
  border: none;
  border-radius: 0.875rem;
  padding: 0.8rem 1.5rem;
  transition: all 0.2s ease;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.35);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  font-size: 0.9rem;
}
.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 35px rgba(245, 158, 11, 0.55);
}
.btn-glass {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f3f4f6;
  font-weight: 700;
  border-radius: 0.875rem;
  padding: 0.8rem 1.5rem;
  transition: all 0.2s ease;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  font-size: 0.9rem;
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}
.btn-sm {
  padding: 0.55rem 1rem !important;
  font-size: 0.8rem !important;
}

/* Badges */
.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
}
.badge-gold {
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.35);
  color: #fbbf24;
}
.badge-emerald {
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
}
.badge-cyan {
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.35);
  color: #38bdf8;
}

/* Okey Tile Graphic */
.okey-tile {
  width: 38px;
  height: 52px;
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.95rem;
  user-select: none;
}
.tile-red { color: #dc2626; }
.tile-black { color: #18181b; }
.tile-blue { color: #2563eb; }
.tile-yellow { color: #d97706; }
.tile-dot { width: 5px; height: 5px; border-radius: 50%; margin-top: 1px; }

/* Form Elements */
.modern-input {
  width: 100%;
  background: rgba(3, 7, 18, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  color: #fff;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  min-height: 46px;
}
.modern-input:focus {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

/* Responsive Grids */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }

@media (max-width: 640px) {
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr !important; }
  .btn-glow, .btn-glass { width: 100% !important; }
  .hero-buttons { flex-direction: column !important; width: 100% !important; }
}
