/* SIGG Studio Hub — playsigg.com
   Dark premium lounge: deep black / green / gold */

:root {
  --bg: #060908;
  --bg-elevated: #0c1210;
  --bg-card: #0f1613;
  --bg-card-hover: #131c18;
  --surface: #161f1b;
  --border: rgba(201, 162, 39, 0.14);
  --border-strong: rgba(201, 162, 39, 0.32);
  --border-subtle: rgba(232, 245, 233, 0.06);
  --text: #e8f5e9;
  --text-muted: #8a9a8e;
  --text-dim: #5c6b60;
  --gold: #c9a227;
  --gold-soft: #d4b84a;
  --gold-dim: rgba(201, 162, 39, 0.55);
  --green: #1b7a4e;
  --green-bright: #2a9d66;
  --green-glow: rgba(27, 122, 78, 0.35);
  --gold-glow: rgba(201, 162, 39, 0.2);
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.45), 0 0 0 1px var(--border-subtle);
  --shadow-glow: 0 0 40px var(--green-glow), 0 0 80px var(--gold-glow);
  --max: 1100px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  min-height: 100dvh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ambient lounge backdrop */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% -10%, rgba(27, 122, 78, 0.18), transparent 55%),
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(201, 162, 39, 0.08), transparent 50%),
    radial-gradient(ellipse 40% 50% at 10% 80%, rgba(27, 122, 78, 0.1), transparent 50%),
    linear-gradient(180deg, #060908 0%, #080c0a 50%, #060908 100%);
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.wrap {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  background: rgba(6, 9, 8, 0.72);
  border-bottom: 1px solid var(--border-subtle);
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 0.9rem;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--text);
  transition: opacity 0.2s var(--ease);
}

.brand:hover {
  opacity: 0.85;
}

.brand-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-text small {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dim);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.45rem 0.75rem;
  border-radius: 999px;
  transition: color 0.2s var(--ease), background 0.2s var(--ease);
}

.nav a:hover {
  color: var(--text);
  background: rgba(232, 245, 233, 0.05);
}

.nav a:focus-visible,
.btn:focus-visible,
.card a:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

/* —— Hero —— */
.hero {
  padding: 3.5rem 0 2.5rem;
  text-align: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(201, 162, 39, 0.06);
}

.hero-eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 8px var(--green-glow);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.5rem, 8vw, 4.25rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 0.5rem;
}

.hero h1 .sigg {
  background: linear-gradient(135deg, var(--text) 0%, var(--gold-soft) 55%, var(--gold) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-sub {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2.8vw, 1.35rem);
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  margin-bottom: 1.25rem;
}

.hero-lead {
  max-width: 34rem;
  margin: 0 auto 2rem;
  color: var(--text-dim);
  font-size: 1.02rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

/* —— Buttons —— */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.8rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s var(--ease), background 0.2s var(--ease),
    border-color 0.2s var(--ease), box-shadow 0.2s var(--ease), color 0.2s var(--ease);
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  color: #0a0f0c;
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  box-shadow: 0 4px 20px var(--gold-glow);
}

.btn-primary:hover {
  box-shadow: 0 6px 28px rgba(201, 162, 39, 0.35);
  transform: translateY(-1px);
}

.btn-ghost {
  color: var(--text);
  background: transparent;
  border-color: var(--border-strong);
}

.btn-ghost:hover {
  background: rgba(201, 162, 39, 0.08);
  border-color: var(--gold);
}

.btn-sm {
  padding: 0.55rem 1.05rem;
  font-size: 0.82rem;
}

/* —— Sections —— */
.section {
  padding: 2.5rem 0 3.5rem;
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1.75rem;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 3.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.section-head p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 36rem;
}

/* —— Game grid —— */
.game-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .game-grid {
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: auto auto;
  }

  .game-card--featured {
    grid-row: 1 / 3;
  }
}

/* —— Cards —— */
.game-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-card);
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease),
    transform 0.25s var(--ease);
  overflow: hidden;
}

.game-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(201, 162, 39, 0.04), transparent 40%);
  opacity: 0;
  transition: opacity 0.25s var(--ease);
}

.game-card:hover {
  border-color: var(--border);
  background: var(--bg-card-hover);
}

.game-card:hover::before {
  opacity: 1;
}

.game-card--featured {
  padding: 1.75rem;
  border-color: var(--border);
  background:
    linear-gradient(160deg, rgba(27, 122, 78, 0.12) 0%, transparent 45%),
    var(--bg-card);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.game-card--featured:hover {
  border-color: var(--border-strong);
}

.game-card--soon {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 11rem;
  border-style: dashed;
  border-color: rgba(138, 154, 142, 0.2);
  background: rgba(15, 22, 19, 0.6);
}

.game-card--soon:hover {
  border-color: rgba(201, 162, 39, 0.25);
  background: var(--bg-card);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.badge--live::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--green-bright);
  box-shadow: 0 0 6px var(--green-glow);
  animation: pulse 2s ease-in-out infinite;
}

.badge--soon {
  color: var(--text-dim);
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

.game-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 120px;
  margin-bottom: 1.25rem;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 60%, rgba(27, 122, 78, 0.25), transparent 65%),
    var(--surface);
  border: 1px solid var(--border-subtle);
}

.game-visual svg {
  width: 72px;
  height: 72px;
}

.game-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.35rem;
}

.game-card--featured h3 {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
}

.game-kicker {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-dim);
  margin-bottom: 0.75rem;
}

.game-tagline {
  color: var(--text-muted);
  font-size: 0.98rem;
  margin-bottom: 1.5rem;
  max-width: 28rem;
}

.game-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.soon-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 0.85rem;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(232, 245, 233, 0.04);
  border: 1px solid var(--border-subtle);
  color: var(--text-dim);
}

.soon-icon svg {
  width: 20px;
  height: 20px;
}

.game-card--soon h3 {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
}

.game-card--soon p {
  font-size: 0.88rem;
  color: var(--text-dim);
}

/* —— About strip —— */
.about {
  margin-top: 0.5rem;
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  background: var(--bg-elevated);
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 720px) {
  .about {
    grid-template-columns: 1fr 1fr;
    align-items: start;
    padding: 2.25rem 2.5rem;
  }
}

.about h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.6rem;
}

.about p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.about-points {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.about-points li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.about-points li::before {
  content: "";
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px var(--gold-glow);
}

/* —— Footer —— */
.site-footer {
  margin-top: 1rem;
  padding: 2rem 0 2.5rem;
  border-top: 1px solid var(--border-subtle);
}

.site-footer .wrap {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  text-align: center;
}

@media (min-width: 640px) {
  .site-footer .wrap {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-brand {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-brand span {
  color: var(--gold-dim);
}

.footer-meta {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-meta a {
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
}

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

/* —— Reduced motion —— */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
