/* ============================================================
   THE OLSON PERSPECTIVE — styles.css
   Enhanced: Larger fonts, thick glossy coated border system
   ============================================================ */

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

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }

/* ── ROOT TOKENS ── */
:root {
  --bg:           #080810;
  --bg-card:      rgba(255,255,255,0.025);
  --text:         #e8e8f0;
  --text-muted:   rgba(255,255,255,0.42);
  --text-dim:     rgba(255,255,255,0.22);
  --border-faint: rgba(255,255,255,0.07);

  --font-display: 'Rajdhani', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius-card:   20px;
  --radius-pill:   999px;
  --radius-badge:  10px;

  --max-w: 880px;
  --pad-x: 36px;

  /* Glossy card surface gradient — simulates lacquer reflection from above */
  --gloss-surface: linear-gradient(
    170deg,
    rgba(255,255,255,0.07) 0%,
    rgba(255,255,255,0.03) 40%,
    rgba(255,255,255,0.008) 100%
  );
}

/* ══════════════════════════════════════════════════════════════
   GLOSSY BORDER SYSTEM
   Each .gb* class creates a multi-layer "coated lacquer" edge:
     1. CSS border      — crisp white ring
     2. Shadow layer 1  — bright white halo (light catching the gloss)
     3. Shadow layer 2  — thick black lacquer band
     4. Shadow layer 3  — white outer seam (defines the black edge)
     5. Shadow layer 4  — ambient drop shadow (depth)
     6. Inset 1         — black inner rim (interior edge)
     7. Inset 2         — BRIGHT top highlight (key gloss cue)
     8. Inset 3         — dim bottom fade
   ══════════════════════════════════════════════════════════════ */

.gb {
  border: 5px solid #ffffff;
  border-radius: var(--radius-card);
  box-shadow:
    /* Outer → inner */
    0 0 0  5px  rgba(255,255,255,0.80),   /* halo          */
    0 0 0  19px #000000,                   /* black band    */
    0 0 0  21px rgba(255,255,255,0.30),    /* outer seam    */
    0 16px 70px -8px rgba(0,0,0,0.92),    /* drop shadow   */
    /* Inset */
    inset 0  0   0  4px  #000000,          /* inner rim     */
    inset 0  7px 0  0    rgba(255,255,255,0.70),  /* top gloss    */
    inset 0 -2px 0  0    rgba(255,255,255,0.09);  /* bottom fade  */
}

/* Pill variant — buttons, small items */
.gb-pill {
  border: 5px solid #ffffff;
  border-radius: var(--radius-pill);
  box-shadow:
    0 0 0  5px  rgba(255,255,255,0.80),
    0 0 0  19px #000000,
    0 0 0  21px rgba(255,255,255,0.30),
    0 10px 45px -4px rgba(0,0,0,0.88),
    inset 0  0   0  4px  #000000,
    inset 0  6px 0  0    rgba(255,255,255,0.70),
    inset 0 -2px 0  0    rgba(255,255,255,0.08);
}

/* Badge variant — logo mark, small rounded boxes */
.gb-badge {
  border: 4px solid #ffffff;
  border-radius: var(--radius-badge);
  box-shadow:
    0 0 0  4px  rgba(255,255,255,0.78),
    0 0 0  15px #000000,
    0 0 0  17px rgba(255,255,255,0.28),
    0  8px 35px -4px rgba(0,0,0,0.88),
    inset 0  0   0  3px  #000000,
    inset 0  6px 0  0    rgba(255,255,255,0.68),
    inset 0 -2px 0  0    rgba(255,255,255,0.08);
}

/* Tag variant — small pill labels */
.gb-tag {
  border: 3px solid #ffffff;
  border-radius: var(--radius-pill);
  box-shadow:
    0 0 0  3px  rgba(255,255,255,0.75),
    0 0 0  11px #000000,
    0 0 0  12px rgba(255,255,255,0.26),
    0  5px 22px -2px rgba(0,0,0,0.82),
    inset 0  0   0  2px  #000000,
    inset 0  4px 0  0    rgba(255,255,255,0.62),
    inset 0 -1px 0  0    rgba(255,255,255,0.06);
}

/* ── BASE ── */
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  min-height: 100vh;
}

/* ── NAV ── */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--pad-x);
  border-bottom: 1px solid var(--border-faint);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8,8,16,0.93);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
}

.nav-logo-badge {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.04);
  flex-shrink: 0;
}

.nav-logo-badge span {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
}

.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* Hamburger — mobile only */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* Mobile nav open state */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: rgba(8,8,16,0.97);
  border-bottom: 1px solid var(--border-faint);
  padding: 22px var(--pad-x);
  gap: 20px;
}

/* ── PAGE WRAPPER ── */
.page {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 13px 32px;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}
.btn:active { transform: translateY(0); }

.btn-primary {
  background: #fff;
  color: #000;
}

.btn-secondary {
  background: rgba(255,255,255,0.04);
  color: #fff;
}

/* ── HERO (index) ── */
.hero {
  padding: 64px 0 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: start;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: 70px;
  font-weight: 700;
  line-height: 1.0;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
}

.hero-text h1 em {
  font-style: normal;
  color: rgba(255,255,255,0.22);
}

.hero-text p {
  font-size: 16px;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 32px;
  max-width: 320px;
}

.btn-row {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

/* Hero side card */
.hero-card {
  padding: 28px;
  background: var(--gloss-surface);
  background-color: rgba(255,255,255,0.025);
  position: relative;
}

.hero-card .kicker {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 10px;
}

.hero-card .card-title {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 14px;
}

.game-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.game-list li {
  font-size: 15px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
}

.game-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #000, inset 0 1px 0 rgba(255,255,255,0.5);
  flex-shrink: 0;
}

.card-divider {
  border: none;
  border-top: 1px solid var(--border-faint);
  margin: 18px 0;
}

.rig-info {
  font-size: 14px;
  color: rgba(255,255,255,0.35);
  line-height: 1.8;
}

/* ── SECTION STRIP ── */
.section-strip {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 0 36px;
}

.strip-line {
  flex: 1;
  height: 1px;
  background: var(--border-faint);
}

.strip-label {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-dim);
}

/* ── CARDS GRID ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 30px;
  padding-bottom: 48px;
}

.card {
  padding: 26px 22px 48px;
  background-image: var(--gloss-surface);
  background-color: rgba(255,255,255,0.025);
  position: relative;
  cursor: pointer;
  transition: transform 0.2s;
  text-decoration: none;
  display: block;
  color: inherit;
}

.card:hover { transform: translateY(-4px); }

.card-icon {
  font-size: 22px;
  color: rgba(255,255,255,0.65);
  margin-bottom: 14px;
}

.card-name {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 8px;
}

.card-desc {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255,255,255,0.38);
}

.card-arrow {
  position: absolute;
  bottom: 20px; right: 22px;
  font-size: 16px;
  color: rgba(255,255,255,0.22);
}

/* Wide card — spans full grid */
.card-wide {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 28px 32px;
}

.card-wide .kicker {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 6px;
}

.card-wide .card-name {
  font-size: 40px;
  margin-bottom: 4px;
}

.card-wide .card-sub {
  font-size: 14px;
  color: rgba(255,255,255,0.38);
}

.tag-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
}

.tag {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  padding: 6px 16px;
  background: rgba(255,255,255,0.04);
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: 56px 0 36px;
  border-bottom: 1px solid var(--border-faint);
  margin-bottom: 48px;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-size: 60px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 10px;
}

.page-hero p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 500px;
}

/* ── ABOUT PAGE ── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-bottom: 56px;
}

.about-section {
  padding: 28px;
  background-image: var(--gloss-surface);
  background-color: rgba(255,255,255,0.025);
  position: relative;
}

.about-section h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
}

.about-section p {
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.about-section p:last-child { margin-bottom: 0; }

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

.about-list li {
  font-size: 15px;
  color: var(--text-muted);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.about-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #000, inset 0 1px 0 rgba(255,255,255,0.5);
  flex-shrink: 0;
  margin-top: 5px;
}

.about-list a {
  color: rgba(255,255,255,0.7);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.about-contact {
  grid-column: 1 / -1;
  padding: 28px 32px;
  background-image: var(--gloss-surface);
  background-color: rgba(255,255,255,0.025);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.about-contact p {
  font-size: 15px;
  color: var(--text-muted);
}

/* ── GAMING PAGE ── */
.gaming-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  padding-bottom: 56px;
}

.gaming-section {
  padding: 28px;
  background-image: var(--gloss-surface);
  background-color: rgba(255,255,255,0.025);
  position: relative;
}

.gaming-section h2 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 18px;
  letter-spacing: 0.04em;
}

.gaming-section.full-width {
  grid-column: 1 / -1;
}

.game-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-faint);
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

.game-item:last-child { border-bottom: none; }
.game-item:hover .game-item-name { color: #fff; }

.game-item-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 0 0 2px #000, inset 0 1px 0 rgba(255,255,255,0.5);
  flex-shrink: 0;
}

.game-item-name {
  font-size: 15px;
  color: rgba(255,255,255,0.6);
  flex: 1;
}

.game-item-badge {
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.35);
  text-transform: uppercase;
  padding: 4px 12px;
  background: rgba(255,255,255,0.05);
}

.spec-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.spec-list li {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-size: 15px;
  padding: 11px 0;
  border-bottom: 1px solid var(--border-faint);
  color: var(--text-muted);
}

.spec-list li:last-child { border-bottom: none; }

.spec-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  min-width: 82px;
  flex-shrink: 0;
}

/* ── GALLERY PAGE ── */
.gallery-nav {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  padding-bottom: 32px;
}

.gallery-nav a {
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 9px 22px;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.03);
  transition: color 0.2s;
}

.gallery-nav a:hover,
.gallery-nav a.active { color: #fff; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  padding-bottom: 56px;
}

.gallery-item {
  aspect-ratio: 4/3;
  background: rgba(255,255,255,0.04);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s;
}

.gallery-item:hover { transform: scale(1.02); }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.2);
}

.gallery-placeholder i { font-size: 28px; }
.gallery-placeholder span {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── FOOTER ── */
.footer {
  border-top: 1px solid var(--border-faint);
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-left {
  font-size: 13px;
  color: var(--text-dim);
  letter-spacing: 0.05em;
}

.footer-right {
  font-size: 13px;
  color: rgba(255,255,255,0.32);
  text-decoration: none;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.footer-right:hover { color: #fff; }

/* ============================================================
   RESPONSIVE — tablets and phones
   ============================================================ */

/* Tablet: ≤ 700px */
@media (max-width: 700px) {
  :root {
    --pad-x: 20px;
  }

  /* Nav: hide links, show hamburger */
  .nav-links { display: none; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .nav-logo { font-size: 17px; }

  /* Hero: stack vertically */
  .hero {
    grid-template-columns: 1fr;
    padding: 40px 0 32px;
    gap: 32px;
  }

  .hero-text h1 { font-size: 50px; }
  .hero-text p { max-width: 100%; }

  /* Cards: 2 cols */
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .card-wide {
    grid-template-columns: 1fr;
    padding: 22px 20px;
    gap: 14px;
  }

  .card-wide .card-name { font-size: 30px; }

  .tag-group {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 8px;
  }

  /* Inner pages */
  .page-hero h1 { font-size: 46px; }

  /* Grids: stack */
  .about-grid { grid-template-columns: 1fr; }
  .about-contact { flex-direction: column; align-items: flex-start; }
  .gaming-grid { grid-template-columns: 1fr; }
}

/* Phone: ≤ 460px */
@media (max-width: 460px) {
  .hero-text h1 { font-size: 42px; }
  .cards-grid { grid-template-columns: 1fr; gap: 18px; }
  .page-hero h1 { font-size: 38px; }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
