/* ===========================
   RESET & BASE
=========================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --gold: #c9a84c;
  --gold-light: #f0c050;
  --gold-dark: #8a6a20;
  --black: #050505;
  --dark: #0d0d0d;
  --dark2: #141414;
  --dark3: #1c1c1c;
  --white: #f5f0e8;
  --grey: #888;
  --ig-grad: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  --tt-grad: linear-gradient(135deg, #010101, #69c9d0, #ee1d52);
  --yt-red: #ff0000;
}

html {
  overflow-x: clip;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
  overscroll-behavior: none;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  overflow-x: clip;
  max-width: 100%;
  -webkit-tap-highlight-color: transparent;
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}

.gold { color: var(--gold-light); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* ===========================
   HERO
=========================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 30%, rgba(201, 168, 76, 0.12) 0%, transparent 70%),
    radial-gradient(ellipse 100% 100% at 50% 100%, rgba(201, 168, 76, 0.05) 0%, transparent 60%),
    linear-gradient(180deg, #050505 0%, #0d0d0d 50%, #050505 100%);
  z-index: 0;
}

/* Subtle grid */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(201, 168, 76, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201, 168, 76, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.scanlines {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,0.15) 2px,
    rgba(0,0,0,0.15) 4px
  );
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 2rem;
}

.crown {
  font-size: 3rem;
  color: var(--gold);
  filter: drop-shadow(0 0 20px rgba(201, 168, 76, 0.6));
  animation: float 3s ease-in-out infinite;
  margin-bottom: 1rem;
  display: block;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.subtitle-top {
  font-family: 'Oswald', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(5rem, 18vw, 14rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--white);
  text-shadow:
    0 0 80px rgba(201, 168, 76, 0.2),
    0 4px 30px rgba(0,0,0,0.8);
  margin-bottom: 1.5rem;
}

.hero-name .gold {
  -webkit-text-stroke: 2px var(--gold);
  color: transparent;
  text-shadow:
    0 0 40px rgba(240, 192, 80, 0.4),
    0 0 80px rgba(240, 192, 80, 0.2);
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 1rem auto 1.5rem;
  max-width: 300px;
}

.line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.diamond {
  color: var(--gold);
  font-size: 0.7rem;
}

.tagline {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(1rem, 3vw, 1.6rem);
  letter-spacing: 0.15em;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
}

.hero-desc {
  font-size: 1rem;
  color: var(--grey);
  letter-spacing: 0.1em;
  margin-bottom: 2.5rem;
  font-weight: 300;
}

.cta-btn {
  display: inline-block;
  padding: 1rem 3rem;
  background: transparent;
  border: 2px solid var(--gold);
  color: var(--gold);
  font-family: 'Oswald', sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  transition: color 0.3s, box-shadow 0.3s;
}

.cta-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gold);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: -1;
}

.cta-btn:hover {
  color: var(--black);
  box-shadow: 0 0 30px rgba(201, 168, 76, 0.5);
}

.cta-btn:hover::before {
  transform: translateX(0);
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--gold);
  font-family: 'Oswald', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  opacity: 0.6;
}

.scroll-arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, var(--gold), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.6; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* ===========================
   SOCIALS SECTION
=========================== */
.socials-section {
  padding: 8rem 0 4rem;
  background: var(--dark);
  position: relative;
}

.socials-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.section-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  text-align: center;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 7vw, 5rem);
  text-align: center;
  letter-spacing: 0.05em;
  line-height: 1;
  margin-bottom: 1rem;
}

.section-sub {
  text-align: center;
  color: var(--grey);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  margin-bottom: 4rem;
  font-weight: 300;
}

/* ===========================
   CARDS
=========================== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

.card {
  position: relative;
  display: block;
  text-decoration: none;
  color: var(--white);
  border-radius: 4px;
  overflow: hidden;
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

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

.card-glow {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  z-index: 0;
}

.card:hover .card-glow { opacity: 1; }

/* INSTAGRAM */
.card--instagram .card-glow {
  background: radial-gradient(ellipse at top, rgba(220,39,67,0.15) 0%, transparent 70%);
  border-top: 2px solid #dc2743;
}
.card--instagram:hover {
  box-shadow: 0 20px 60px rgba(220,39,67,0.2), 0 0 0 1px rgba(220,39,67,0.3);
}
.card--instagram .card-icon { color: #e6683c; }
.card--instagram .card-platform { background: var(--ig-grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* TIKTOK */
.card--tiktok .card-glow {
  background: radial-gradient(ellipse at top, rgba(105,201,208,0.12) 0%, transparent 70%);
  border-top: 2px solid #69c9d0;
}
.card--tiktok:hover {
  box-shadow: 0 20px 60px rgba(105,201,208,0.2), 0 0 0 1px rgba(105,201,208,0.3);
}
.card--tiktok .card-icon { color: #69c9d0; }
.card--tiktok .card-platform { color: #69c9d0; }

/* YOUTUBE */
.card--youtube .card-glow {
  background: radial-gradient(ellipse at top, rgba(255,0,0,0.15) 0%, transparent 70%);
  border-top: 2px solid var(--yt-red);
}
.card--youtube:hover {
  box-shadow: 0 20px 60px rgba(255,0,0,0.2), 0 0 0 1px rgba(255,0,0,0.3);
}
.card--youtube .card-icon { color: var(--yt-red); }
.card--youtube .card-platform { color: var(--yt-red); }

/* THREADS */
.card--threads .card-glow {
  background: radial-gradient(ellipse at top, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-top: 2px solid rgba(255,255,255,0.3);
}
.card--threads:hover {
  box-shadow: 0 20px 60px rgba(255,255,255,0.08), 0 0 0 1px rgba(255,255,255,0.15);
}
.card--threads .card-icon { color: var(--white); }
.card--threads .card-platform { color: var(--white); }

/* FEATURED */
.card--featured {
  border-color: rgba(201, 168, 76, 0.3);
  background: var(--dark3);
  transform: scale(1.03);
}
.card--featured:hover {
  transform: scale(1.03) translateY(-8px);
  box-shadow: 0 30px 80px rgba(105,201,208,0.25), 0 0 0 1px rgba(105,201,208,0.4);
}

.featured-tag {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--gold);
  color: var(--black);
  font-family: 'Oswald', sans-serif;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.75rem;
  z-index: 2;
}

.card-inner {
  position: relative;
  z-index: 1;
  padding: 2.5rem 2rem 3.5rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-header {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.card-icon {
  width: 32px;
  height: 32px;
  margin-bottom: 0;
  flex-shrink: 0;
}

.card-icon svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 8px currentColor);
}

.card-platform {
  font-family: 'Oswald', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 0.3rem;
}

.card-handle {
  font-size: 0.85rem;
  color: var(--grey);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  font-weight: 300;
}

.card-desc {
  font-size: 0.85rem;
  color: rgba(245,240,232,0.6);
  line-height: 1.6;
  margin-bottom: 2rem;
  font-weight: 300;
}

.card-cta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  font-weight: 600;
  transition: gap 0.2s;
  margin-top: auto;
  white-space: nowrap;
}

.card:hover .card-cta { gap: 0.8rem; }

.card-cta .arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}

.card:hover .card-cta .arrow { transform: translateX(4px); }

.card-badge {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  font-family: 'Oswald', sans-serif;
  font-size: 0.55rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  border: 1px solid rgba(201, 168, 76, 0.3);
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  z-index: 1;
}

/* ===========================
   MINI CARDS
=========================== */
.mini-label {
  font-family: 'Oswald', sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--grey);
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 1rem;
  opacity: 0.7;
}

.mini-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  max-width: 480px;
  margin: 0 auto;
}

.mini-card {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.9rem;
  background: var(--dark2);
  border: 1px solid rgba(255,255,255,0.05);
  border-radius: 3px;
  text-decoration: none;
  color: var(--white);
  transition: background 0.2s, border-color 0.2s;
  min-height: 44px;
  overflow: hidden;
}

.mini-card:hover {
  background: var(--dark3);
}

.mini-card--soon {
  opacity: 0.4;
  pointer-events: none;
}

.mini-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  opacity: 0.8;
}

.mini-name {
  font-family: 'Oswald', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  white-space: nowrap;
  flex-shrink: 0;
}

.mini-handle {
  font-size: 0.65rem;
  color: var(--grey);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-weight: 300;
}

/* Platform accent colours */
.mini-card--patreon .mini-icon { color: #ff424d; }
.mini-card--patreon:hover { border-color: rgba(255,66,77,0.3); }

.mini-card--facebook .mini-icon { color: #1877f2; }
.mini-card--facebook:hover { border-color: rgba(24,119,242,0.3); }

.mini-card--instagram .mini-icon { color: #e6683c; }
.mini-card--instagram:hover { border-color: rgba(220,39,67,0.3); }

.mini-card--youtube .mini-icon { color: #ff0000; }
.mini-card--youtube:hover { border-color: rgba(255,0,0,0.3); }

.mini-card--tiktok .mini-icon { color: #69c9d0; }
.mini-card--tiktok:hover { border-color: rgba(105,201,208,0.3); }

.mini-card--discord .mini-icon { color: #5865f2; }
.mini-card--discord:hover { border-color: rgba(88,101,242,0.3); }

.mini-card--twitch .mini-icon { color: #9146ff; }
.mini-card--twitch:hover { border-color: rgba(145,70,255,0.3); }

.mini-card--kick .mini-icon { color: #53fc18; }
.mini-card--kick:hover { border-color: rgba(83,252,24,0.3); }

.mini-card--x .mini-icon { color: var(--white); }
.mini-card--x:hover { border-color: rgba(255,255,255,0.2); }

.mini-card--threads .mini-icon { color: var(--white); }
.mini-card--threads:hover { border-color: rgba(255,255,255,0.2); }

/* ===========================
   MANIFESTO
=========================== */
.manifesto {
  padding: 4rem 0;
  background: var(--black);
  position: relative;
  overflow: hidden;
}

.manifesto::before {
  content: 'Simon G';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 22vw, 22rem);
  color: rgba(201, 168, 76, 0.06);
  white-space: nowrap;
  pointer-events: none;
  letter-spacing: 0.1em;
  line-height: 1;
}

.quote {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 1;
}

.quote-mark {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 4rem;
  color: var(--gold);
  line-height: 0.6;
  margin-bottom: 2rem;
  opacity: 0.7;
}

.quote p {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(0.85rem, 2.5vw, 0.95rem);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 1.5rem;
}

.quote cite {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  font-style: normal;
  font-weight: 300;
}

/* ===========================
   FOOTER
=========================== */
.footer {
  background: var(--dark);
  padding: 4rem 0;
  text-align: center;
  border-top: 1px solid rgba(201, 168, 76, 0.2);
}

.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(1.4rem, 6vw, 3rem);
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 30px rgba(201, 168, 76, 0.4);
  word-break: break-all;
  overflow-wrap: break-word;
  max-width: 100%;
}

.footer-text {
  font-family: 'Oswald', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--grey);
  margin-bottom: 0.5rem;
}

.footer-copy {
  font-size: 0.7rem;
  color: rgba(136,136,136,0.5);
  letter-spacing: 0.1em;
}

/* ===========================
   HOVER — touch devices only
=========================== */
@media (hover: hover) and (pointer: fine) {
  .card:hover { transform: translateY(-8px); }
  .card--featured:hover { transform: scale(1.03) translateY(-8px); }
  .card:hover .card-glow { opacity: 1; }
  .card:hover .card-cta { gap: 0.8rem; }
  .card:hover .card-cta .arrow { transform: translateX(4px); }
  .cta-btn:hover { color: var(--black); box-shadow: 0 0 30px rgba(201, 168, 76, 0.5); }
  .cta-btn:hover::before { transform: translateX(0); }
}

/* Disable hover side effects on touch */
@media (hover: none) {
  .card { transition: none; }
  .card--featured { transform: scale(1); }
}

/* ===========================
   RESPONSIVE — tablet
=========================== */
@media (max-width: 900px) {
  .card--featured {
    transform: scale(1);
  }
}

/* ===========================
   RESPONSIVE — mobile
=========================== */
@media (max-width: 600px) {
  .container {
    padding: 0 1.25rem;
  }

  /* Hero */
  .hero-content {
    padding: 1.25rem;
    padding-top: env(safe-area-inset-top, 1.25rem);
  }

  .crown {
    font-size: 2rem;
    margin-bottom: 0.75rem;
  }

  .subtitle-top {
    font-size: 0.7rem;
    letter-spacing: 0.12em;
  }

  .hero-name {
    font-size: clamp(4.5rem, 24vw, 6.5rem);
    margin-bottom: 1rem;
  }

  .tagline {
    font-size: clamp(0.85rem, 4vw, 1.1rem);
    letter-spacing: 0.1em;
  }

  .hero-desc {
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    margin-bottom: 2rem;
  }

  .cta-btn {
    display: block;
    padding: 1rem 1.5rem;
    font-size: 0.85rem;
    min-height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .scroll-indicator {
    bottom: calc(1.5rem + env(safe-area-inset-bottom, 0px));
  }

  /* Socials */
  .socials-section {
    padding: 4rem 0 2rem;
    padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px));
  }

  .cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .card--featured {
    transform: scale(1);
    order: unset;
  }

  .card-inner {
    padding: 1.1rem 0.9rem;
    display: flex;
    flex-direction: column;
  }

  .card-header {
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
  }

  .card-icon {
    width: 22px;
    height: 22px;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .card-platform {
    font-size: 0.9rem;
  }

  .card-handle {
    font-size: 0.72rem;
    margin-bottom: 0.6rem;
  }

  .card-desc {
    font-size: 0.72rem;
    line-height: 1.5;
    margin-bottom: 1rem;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .card-cta {
    font-size: 0.62rem;
    letter-spacing: 0.03em;
  }

  .card-badge {
    display: none;
  }

  .featured-tag {
    font-size: 0.5rem;
    padding: 0.25rem 0.5rem;
  }

  .section-label {
    font-size: 0.65rem;
    letter-spacing: 0.15em;
  }

  .section-sub {
    font-size: 0.85rem;
    letter-spacing: 0.03em;
    margin-bottom: 2.5rem;
  }

  .cards {
    max-width: 100%;
    gap: 1rem;
  }

  .card-inner {
    padding: 1.75rem 1.25rem 1.5rem;
  }

  .card-icon {
    width: 36px;
    height: 36px;
    margin-bottom: 1rem;
  }

  .card-badge {
    font-size: 0.5rem;
  }

  /* Mini cards */
  .mini-cards {
    gap: 0.5rem;
    max-width: 100%;
  }

  .mini-card {
    padding: 0.55rem 0.75rem;
    gap: 0.5rem;
    min-height: 44px;
    flex-direction: row;
    align-items: center;
  }

  .mini-name {
    font-size: 0.7rem;
  }

  .mini-handle {
    font-size: 0.6rem;
  }

  .mini-label {
    margin-top: 2rem;
    font-size: 0.6rem;
  }

  /* Manifesto */
  .manifesto {
    padding: 3rem 0;
  }

  .manifesto::before {
    font-size: clamp(3.5rem, 20vw, 6rem);
    color: rgba(201, 168, 76, 0.09);
    white-space: normal;
    text-align: center;
    width: 90%;
  }

  .quote-mark {
    font-size: 3rem;
    margin-bottom: 1rem;
  }

  .quote p {
    font-size: 0.85rem;
    line-height: 1.75;
  }

  .quote cite {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
  }

  /* Footer */
  .footer {
    padding: 2.5rem 1.25rem;
    padding-bottom: calc(2.5rem + env(safe-area-inset-bottom, 0px));
  }

  .footer-text,
  .footer-copy {
    word-break: break-word;
  }
}

/* ===========================
   ANIMATIONS (JS triggered)
=========================== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) { transition-delay: 0.1s; }
.fade-up:nth-child(3) { transition-delay: 0.2s; }
