/* Lintaswin — Premium Gaming Portal (Dark Navy + Salted Egg Blue) */
:root {
  --bg-darkest: #050d1a;
  --bg-dark: #0a1930;
  --bg-mid: #122544;
  --surface: #0f1f3d;
  --surface-light: #182f55;
  --border: #22406b;
  --border-light: #2d4e80;
  --primary: #a0dde3;
  --primary-light: #c5edf1;
  --primary-dark: #6dbcc5;
  --primary-deeper: #4a95a0;
  --accent: #f4c95d;
  --accent-dark: #d4a942;
  --text: #e8f0f7;
  --text-muted: #a7bccf;
  --text-soft: #7a94af;
  --radius: 10px;
  --radius-lg: 16px;
  --shadow: 0 10px 30px rgba(0,0,0,0.3);
  --shadow-glow: 0 0 40px rgba(160,221,227,0.15);
  --max-width: 1180px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --gradient-main: linear-gradient(135deg, #050d1a 0%, #0a1930 40%, #1a3a5c 100%);
  --gradient-hero: linear-gradient(135deg, #061120 0%, #0a1930 50%, #1a3a5c 100%);
  --gradient-card: linear-gradient(145deg, rgba(160,221,227,0.03) 0%, rgba(160,221,227,0.08) 100%);
  --gradient-accent: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg-dark);
  background-image: radial-gradient(ellipse at top, rgba(160,221,227,0.08) 0%, transparent 50%), var(--bg-dark);
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

h1, h2, h3, h4 {
  color: var(--text);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); letter-spacing: -0.03em; }
h1 .highlight {
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.05rem; color: var(--primary); }
p { margin: 0 0 1em; color: var(--text-muted); }
a { color: var(--primary); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--primary-light); text-decoration: underline; }
ul, ol { padding-left: 1.3em; color: var(--text-muted); }
li { margin-bottom: 0.4em; }
code {
  background: rgba(160,221,227,0.08);
  color: var(--primary-light);
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 0.9em;
  border: 1px solid rgba(160,221,227,0.15);
}

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.25rem; }

/* Header */
.site-header {
  background: rgba(10,25,48,0.85);
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.15rem;
}
.brand:hover { text-decoration: none; }
.brand-mark { width: 40px; height: 40px; flex-shrink: 0; }
.brand-text { line-height: 1.15; }
.brand-text small {
  display: block;
  color: var(--primary);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; transition: .2s; }

.site-nav ul {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
}
.site-nav a {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.93rem;
  padding: 0.4rem 0;
  position: relative;
  transition: color .15s ease;
}
.site-nav a:hover, .site-nav a.active {
  color: var(--primary);
  text-decoration: none;
}
.site-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0; right: 0;
  height: 2px;
  background: var(--gradient-accent);
  border-radius: 1px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  background: var(--gradient-accent);
  color: var(--bg-darkest) !important;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  border: 0;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 25px rgba(160,221,227,0.3); }
.btn-outline {
  background: transparent;
  color: var(--primary) !important;
  border: 2px solid var(--primary-dark);
  padding: calc(0.85rem - 2px) calc(1.6rem - 2px);
}
.btn-outline:hover { background: rgba(160,221,227,0.1); border-color: var(--primary); }
.btn-gold {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--bg-darkest) !important;
}

/* Hero */
.hero {
  position: relative;
  padding: 5.5rem 0 4.5rem;
  background: var(--gradient-hero);
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 15% 25%, rgba(160,221,227,0.12) 0%, transparent 40%),
    radial-gradient(circle at 85% 75%, rgba(244,201,93,0.08) 0%, transparent 40%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(160,221,227,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(160,221,227,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 3rem;
  align-items: center;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-block;
  background: rgba(160,221,227,0.1);
  color: var(--primary);
  font-weight: 600;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.3rem;
  border: 1px solid rgba(160,221,227,0.25);
}
.hero h1 { margin-bottom: 1rem; }
.hero p.lead { font-size: 1.15rem; color: var(--text-muted); margin-bottom: 1.8rem; max-width: 520px; }
.hero-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; }
.hero-illustration { max-width: 100%; height: auto; display: block; filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3)); }

/* Page header */
.page-header {
  position: relative;
  padding: 4rem 0 3rem;
  background: var(--gradient-hero);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 70% 50%, rgba(160,221,227,0.1) 0%, transparent 50%);
}
.page-header > .container { position: relative; }
.breadcrumb {
  color: var(--text-soft);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}
.breadcrumb a { color: var(--text-soft); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span.sep { margin: 0 0.5rem; }
.page-header h1 { margin-bottom: 0.6rem; }
.page-header .lede { color: var(--text-muted); font-size: 1.1rem; max-width: 720px; }

/* Sections */
section { padding: 4rem 0; position: relative; }
section.alt {
  background: var(--bg-mid);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head .eyebrow {
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.7rem;
  display: inline-block;
}
.section-head h2 { margin-bottom: 0.7rem; }
.section-head p { font-size: 1.05rem; }

/* Grids */
.grid { display: grid; gap: 1.5rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* Cards */
.card {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  transition: all .25s ease;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: var(--gradient-accent);
  opacity: 0;
  transition: opacity .25s ease;
}
.card:hover {
  transform: translateY(-4px);
  border-color: var(--primary-dark);
  box-shadow: var(--shadow), var(--shadow-glow);
}
.card:hover::before { opacity: 1; }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: rgba(160,221,227,0.1);
  color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  border: 1px solid rgba(160,221,227,0.2);
}
.card .icon svg { width: 28px; height: 28px; }
.card h3 { margin-bottom: 0.5rem; font-size: 1.2rem; color: var(--text); }
.card p { margin-bottom: 0.5rem; font-size: 0.95rem; color: var(--text-muted); }
.card .read-more {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.7rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
}
.card .read-more::after {
  content: "→";
  transition: transform .2s ease;
}
.card:hover .read-more::after { transform: translateX(4px); }

/* Game card featured */
.game-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all .25s ease;
}
.game-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-glow); border-color: var(--primary-dark); }
.game-card-img {
  height: 160px;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.game-card-img svg { width: 80px; height: 80px; color: var(--bg-darkest); }
.game-card-img.mlbb { background: linear-gradient(135deg, #1a3a5c 0%, #6dbcc5 100%); }
.game-card-img.pubg { background: linear-gradient(135deg, #2d2416 0%, #f4c95d 100%); }
.game-card-img.freefire { background: linear-gradient(135deg, #3d1f1a 0%, #d4634a 100%); }
.game-card-img.genshin { background: linear-gradient(135deg, #1a2d4a 0%, #a0dde3 100%); }
.game-card-img svg { color: #ffffff; opacity: 0.9; }
.game-card-body { padding: 1.5rem; }
.game-card-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.game-card-body h3 { font-size: 1.2rem; margin-bottom: 0.4rem; }
.game-card-body h3 a { color: var(--text); }
.game-card-body h3 a:hover { color: var(--primary); text-decoration: none; }
.game-card-body p { font-size: 0.92rem; color: var(--text-muted); }

/* Listings */
.listing {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}
.listing-item {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.8rem 2rem;
  transition: all .25s ease;
}
.listing-item:hover { box-shadow: var(--shadow-glow); border-color: var(--primary-dark); transform: translateY(-2px); }
.listing-item .meta {
  color: var(--primary);
  font-size: 0.75rem;
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.listing-item h3 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.listing-item h3 a { color: var(--text); }
.listing-item h3 a:hover { color: var(--primary); text-decoration: none; }
.listing-item p { color: var(--text-muted); font-size: 0.95rem; }

/* Article content */
.article-body {
  max-width: 780px;
  margin: 0 auto;
  padding: 3rem 1.25rem 4rem;
  font-size: 1.05rem;
}
.article-body h2 { margin-top: 2em; color: var(--text); }
.article-body h3 { margin-top: 1.6em; color: var(--primary-light); }
.article-body p, .article-body li { color: var(--text); }
.article-body p { color: var(--text-muted); }
.article-body li { color: var(--text-muted); }
.article-body strong { color: var(--text); }
.article-meta {
  color: var(--text-soft);
  font-size: 0.9rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.article-hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  margin: 1rem 0 2rem;
  border: 1px solid var(--border);
  background: var(--surface);
  display: block;
}

/* Callout */
.callout {
  background: rgba(160,221,227,0.08);
  border-left: 4px solid var(--primary);
  padding: 1.3rem 1.5rem;
  margin: 2rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}
.callout strong { color: var(--primary); }
.callout.warning { background: rgba(244,201,93,0.08); border-left-color: var(--accent); }
.callout.warning strong { color: var(--accent); }

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 2.5rem;
  background: var(--gradient-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.stat { text-align: center; }
.stat .num {
  font-size: 2.4rem;
  background: var(--gradient-accent);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat .lbl { color: var(--text-muted); font-size: 0.85rem; margin-top: 0.5rem; }

/* CTA band */
.cta-band {
  padding: 4rem 0;
  text-align: center;
  background: var(--gradient-hero);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(160,221,227,0.1) 0%, transparent 60%);
}
.cta-band > .container { position: relative; }
.cta-band p { color: var(--text-muted); max-width: 620px; margin: 0 auto 1.5rem; font-size: 1.1rem; }

/* TOC */
.toc {
  background: var(--gradient-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.3rem 1.5rem;
  margin: 1.5rem 0 2rem;
}
.toc-title {
  font-weight: 700;
  margin-bottom: 0.6rem;
  font-size: 0.85rem;
  color: var(--primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.toc ol { margin: 0; padding-left: 1.3rem; }
.toc li { margin-bottom: 0.3rem; font-size: 0.95rem; color: var(--text); }
.toc a { color: var(--text); }
.toc a:hover { color: var(--primary); }

/* Glossary */
.glossary-list { list-style: none; padding: 0; margin: 2rem 0; }
.glossary-list li { padding: 1.3rem 0; border-bottom: 1px solid var(--border); margin: 0; }
.glossary-list dt { font-weight: 700; color: var(--primary); font-size: 1.1rem; margin-bottom: 0.4rem; }
.glossary-list dd { margin: 0; color: var(--text-muted); }

/* Forms */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-weight: 600; margin-bottom: 0.3rem; font-size: 0.9rem; color: var(--text); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  background: var(--surface);
  color: var(--text);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.form-group input:focus, .form-group textarea:focus {
  outline: 0;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(160,221,227,0.15);
}

/* Footer */
.site-footer {
  background: var(--bg-darkest);
  color: var(--text-muted);
  padding: 3.5rem 0 1.5rem;
  font-size: 0.92rem;
  border-top: 1px solid var(--border);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand { font-weight: 700; color: var(--text); font-size: 1.05rem; margin-bottom: 0.6rem; display: flex; align-items: center; gap: 0.5rem; }
.footer-brand img { width: 30px; height: 30px; }
.footer-grid h4 { color: var(--primary); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 1rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin-bottom: 0.5rem; }
.footer-grid a { color: var(--text-muted); }
.footer-grid a:hover { color: var(--primary); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  color: var(--text-soft);
}

/* Responsive */
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; }
  .hero-illustration { max-width: 420px; margin: 0; }
  .grid-3, .grid-2, .grid-4 { grid-template-columns: 1fr; }
  .listing { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--bg-mid);
    border-bottom: 1px solid var(--border);
    display: none;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; padding: 1rem 1.25rem; gap: 0.8rem; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  section { padding: 3rem 0; }
}
