/* =========================================================
   KP2TIMES — Main Stylesheet v5
   Purple + Gold brand colors matching official logo
   Bebas Neue + Syne + DM Sans
   ========================================================= */

:root {
  --bg:         #08090D;
  --bg2:        #0E0F18;
  --bg3:        #13142099;
  --border:     rgba(255,255,255,0.07);
  --border2:    rgba(124,92,252,0.2);

  /* Brand colors from logo */
  --purple:     #7C3AED;
  --purple2:    #9D6FFF;
  --purple-dim: #5B21B6;
  --purple-glow:rgba(124,58,237,0.18);
  --gold:       #F0B429;
  --gold2:      #FFD166;
  --gold-glow:  rgba(240,180,41,0.15);

  --text:       #E8EAF0;
  --muted:      #6B7280;
  --muted2:     #9CA3AF;
  --green:      #10B981;
  --kick:       #53FC18;
  --radius:     14px;
  --radius-sm:  8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.gold { color: var(--gold); }
.purple { color: var(--purple2); }

/* ── LAYOUT ─────────────────────────────────────────────── */
.section-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ── NAV ────────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(8,9,13,0.88);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}
.nav-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.logo-img { height: 40px; width: auto; display: block; mix-blend-mode: screen; }
.logo { display: flex; align-items: center; transition: opacity 0.2s; }
.logo:hover { opacity: 0.85; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-link {
  font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 600;
  color: var(--muted2); transition: color 0.2s; letter-spacing: 0.02em;
}
.nav-link:hover, .nav-link.active { color: var(--text); }
.nav-cta {
  font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700;
  background: var(--kick); color: #000; padding: 8px 18px; border-radius: 6px;
  transition: opacity 0.2s, transform 0.2s;
}
.nav-cta:hover { opacity: 0.9; transform: translateY(-1px); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; }
.mobile-menu {
  display: none; flex-direction: column; padding: 16px 24px 20px;
  border-top: 1px solid var(--border); gap: 16px;
}
.mobile-menu a { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 600; color: var(--muted2); }
.mobile-menu a:hover { color: var(--text); }
.mobile-menu.open { display: flex; }

/* ── HERO ────────────────────────────────────────────────── */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 120px 24px 80px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-glow {
  position: absolute; top: -10%; left: 50%; transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(124,58,237,0.14) 0%, rgba(240,180,41,0.06) 50%, transparent 75%);
  border-radius: 50%;
  animation: glowPulse 5s ease-in-out infinite;
}
@keyframes glowPulse {
  0%,100% { opacity: 0.8; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.04); }
}
.hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(124,58,237,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(124,58,237,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 75%);
}
.hero-inner { position: relative; z-index: 2; text-align: center; max-width: 820px; }

/* Live badge — defined in index.html inline styles */

/* Logo — mix-blend-mode makes black bg transparent against dark site bg */
.hero-logo {
  width: 220px; margin: 0 auto 20px;
  mix-blend-mode: screen;
  filter: drop-shadow(0 0 20px rgba(124,58,237,0.35));
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(60px, 11vw, 110px);
  line-height: 0.95; letter-spacing: 0.02em; color: var(--text); margin-bottom: 24px;
}
.hero-title .accent {
  background: linear-gradient(135deg, var(--purple2) 0%, var(--gold) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-sub { font-size: 18px; color: var(--muted2); font-weight: 300; max-width: 480px; margin: 0 auto 36px; line-height: 1.7; }

.hero-stats { display: flex; align-items: center; justify-content: center; gap: 32px; margin-bottom: 36px; flex-wrap: wrap; }
.hstat { text-align: center; }
.hstat-n { display: block; font-family: 'Bebas Neue', sans-serif; font-size: 30px; color: var(--gold); letter-spacing: 0.04em; }
.hstat-l { display: block; font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px; }
.hstat-div { width: 1px; height: 36px; background: var(--border); }

.hero-socials {
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
  max-width: 660px; margin: 0 auto;
}
.social-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: 'Syne', sans-serif; font-size: 12px; font-weight: 700;
  padding: 8px 14px; border-radius: 7px; border: 1px solid var(--border);
  background: var(--bg2); transition: all 0.2s; letter-spacing: 0.02em;
  white-space: nowrap;
}
.social-btn:hover { transform: translateY(-2px); border-color: rgba(255,255,255,0.18); }
.social-btn.kick { border-color: rgba(83,252,24,0.3); color: var(--kick); }
.social-btn.tt { color: var(--text); }
.social-btn.dc { color: #7289da; border-color: rgba(114,137,218,0.3); }

/* Scroll hint — inline below content, never absolute/overlapping */
.hero-scroll-hint {
  display: flex; flex-direction: column; align-items: center; gap: 5px;
  font-size: 11px; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase;
  margin-top: 36px;
  animation: floatY 2.5s ease-in-out infinite;
}
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }

/* Remove old absolute scroll */
.hero-scroll { display: none; }

/* Live status */
.live-badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 14px;
  border-radius: 100px; margin-bottom: 20px; transition: all 0.4s; text-decoration: none;
}
.live-badge.is-live { color: #fff; background: rgba(239,68,68,0.12); border: 1px solid rgba(239,68,68,0.35); }
.live-badge.is-offline { color: var(--kick); background: rgba(83,252,24,0.07); border: 1px solid rgba(83,252,24,0.2); }
.live-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.live-badge.is-live .live-dot { background: #EF4444; animation: pulse-red 1.5s ease-in-out infinite; }
.live-badge.is-offline .live-dot { background: var(--kick); }
@keyframes pulse-red { 0%,100% { box-shadow: 0 0 0 0 rgba(239,68,68,0.5); } 50% { box-shadow: 0 0 0 6px rgba(239,68,68,0); } }
.viewer-count { font-size: 11px; color: rgba(255,255,255,0.55); margin-left: 2px; }

/* ── DISCLAIMER BAR ─────────────────────────────────────── */
.disclaimer-bar {
  background: rgba(124,58,237,0.05); border-top: 1px solid var(--border2);
  border-bottom: 1px solid var(--border2); padding: 10px 24px; text-align: center;
  font-size: 12px; color: var(--muted); display: flex; align-items: center;
  justify-content: center; gap: 8px; flex-wrap: wrap;
}
.disclaimer-bar a { color: var(--gold); }
.disclaimer-bar a:hover { text-decoration: underline; }
.age-badge {
  background: var(--gold); color: #000;
  font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 800;
  padding: 2px 7px; border-radius: 4px; letter-spacing: 0.05em;
}
.age-badge.sm { font-size: 10px; padding: 1px 5px; }

/* ── CASINOS ─────────────────────────────────────────────── */
.casinos { padding: 80px 0 100px; }
.section-header { text-align: center; margin-bottom: 52px; }
.section-header h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(38px,5vw,60px); letter-spacing: 0.04em; margin-bottom: 10px; }
.section-header p { color: var(--muted2); font-size: 15px; font-weight: 300; }

.casino-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 18px; }

.casino-card {
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px; position: relative; transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  display: flex; flex-direction: column; gap: 14px;
}
.casino-card:hover { transform: translateY(-4px); border-color: var(--border2); box-shadow: 0 12px 40px var(--purple-glow); }
.casino-card.featured {
  border-color: rgba(124,58,237,0.35);
  background: linear-gradient(135deg, var(--bg2) 0%, rgba(124,58,237,0.06) 100%);
}

.card-badge {
  position: absolute; top: -12px; left: 18px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--gold) 100%);
  color: #fff; font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 800;
  padding: 4px 12px; border-radius: 100px; letter-spacing: 0.04em;
}
.card-badge.mga { background: #2563EB; color: #fff; }

.card-top { display: flex; align-items: center; justify-content: space-between; }
.casino-logo-wrap { height: 40px; display: flex; align-items: center; }
.casino-logo-text { font-family: 'Bebas Neue', sans-serif; font-size: 24px; letter-spacing: 0.06em; color: var(--text); }
.card-rating { display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.stars { font-size: 12px; color: var(--gold); letter-spacing: 1px; }
.rating-n { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; color: var(--muted2); }

.bonus-highlight { display: flex; align-items: baseline; gap: 8px; }
.bonus-main { font-family: 'Bebas Neue', sans-serif; font-size: 50px; letter-spacing: 0.02em; line-height: 1;
  background: linear-gradient(135deg, var(--purple2) 0%, var(--gold) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.bonus-unit { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 600; color: var(--muted2); }
.bonus-note { font-size: 13px; color: var(--muted); margin-top: -8px; }

.card-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.tag {
  font-family: 'Syne', sans-serif; font-size: 11px; font-weight: 600; color: var(--muted2);
  background: rgba(124,58,237,0.08); border: 1px solid var(--border2);
  padding: 3px 9px; border-radius: 100px; letter-spacing: 0.02em;
}
.card-pros { display: flex; flex-direction: column; gap: 5px; flex: 1; }
.pro { font-size: 13px; color: var(--muted2); }
.pro::first-letter { color: var(--green); }

.card-cta {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dim) 100%);
  color: #fff; font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 800;
  padding: 14px 24px; border-radius: var(--radius-sm); transition: all 0.2s;
  letter-spacing: 0.02em; margin-top: auto; border: 1px solid rgba(124,58,237,0.4);
}
.card-cta:hover { background: linear-gradient(135deg, var(--purple2) 0%, var(--purple) 100%); transform: translateY(-1px); box-shadow: 0 6px 20px var(--purple-glow); }
.card-disclaimer { font-size: 11px; color: var(--muted); text-align: center; }

/* ── ABOUT / WHO IS ──────────────────────────────────────── */
.about-strip {
  background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 80px 0;
}
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.section-tag {
  font-family: 'Syne', sans-serif; font-size: 12px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--purple2); margin-bottom: 16px;
}
.about-text h2 { font-family: 'Bebas Neue', sans-serif; font-size: clamp(34px,4.5vw,52px); letter-spacing: 0.04em; line-height: 1.05; margin-bottom: 18px; }
.about-text p { color: var(--muted2); font-size: 15px; line-height: 1.8; margin-bottom: 12px; font-weight: 300; }
.about-text p strong { color: var(--text); font-weight: 600; }
.about-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
.about-btn {
  font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700;
  padding: 11px 22px; border-radius: 8px; transition: all 0.2s; letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--purple) 0%, var(--purple-dim) 100%); color: #fff;
}
.about-btn:hover { opacity: 0.9; transform: translateY(-1px); box-shadow: 0 6px 20px var(--purple-glow); }
.about-btn.secondary { background: transparent; color: var(--text); border: 1px solid var(--border); }
.about-btn.secondary:hover { border-color: var(--border2); box-shadow: none; }

.about-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.astat { background: rgba(124,58,237,0.06); border: 1px solid var(--border2); padding: 24px 20px; display: flex; flex-direction: column; gap: 5px; }
.astat:first-child { border-radius: 12px 0 0 0; }
.astat:nth-child(2) { border-radius: 0 12px 0 0; }
.astat:nth-child(3) { border-radius: 0 0 0 12px; }
.astat:last-child { border-radius: 0 0 12px 0; }
.astat-n { font-family: 'Bebas Neue', sans-serif; font-size: 34px; color: var(--gold); letter-spacing: 0.04em; line-height: 1; }
.astat-l { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }

/* ── RIZZPARTY ───────────────────────────────────────────── */
.rizz-strip {
  padding: 80px 0; border-bottom: 1px solid var(--border); overflow: hidden; position: relative;
  background: linear-gradient(135deg, var(--bg) 0%, rgba(124,58,237,0.04) 100%);
}
.rizz-strip::before {
  content: 'RIZZPARTY';
  position: absolute; font-family: 'Bebas Neue', sans-serif; font-size: 180px;
  color: rgba(124,58,237,0.04); top: 50%; left: 50%; transform: translate(-50%,-50%);
  white-space: nowrap; pointer-events: none; letter-spacing: 0.04em;
}
.rizz-inner { text-align: center; position: relative; z-index: 1; }
.rizz-tag { font-family: 'Syne', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.rizz-title { font-family: 'Bebas Neue', sans-serif; font-size: clamp(56px,9vw,96px); letter-spacing: 0.04em; line-height: 1; margin-bottom: 18px;
  background: linear-gradient(135deg, var(--purple2) 0%, var(--gold) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.rizz-desc { font-size: 16px; color: var(--muted2); max-width: 500px; margin: 0 auto 28px; line-height: 1.8; font-weight: 300; }
.rizz-btn {
  display: inline-flex; font-family: 'Syne', sans-serif; font-size: 14px; font-weight: 700;
  padding: 12px 28px; border-radius: 8px; border: 1px solid var(--purple2); color: var(--purple2); transition: all 0.2s;
}
.rizz-btn:hover { background: var(--purple); color: #fff; border-color: var(--purple); }

/* ── SOCIALS SECTION ─────────────────────────────────────── */
.socials-section { padding: 80px 0; border-top: 1px solid var(--border); }
.socials-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(155px, 1fr)); gap: 12px; margin-top: 40px; }
.social-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px 14px; text-decoration: none; transition: all 0.2s;
}
.social-card:hover { transform: translateY(-3px); border-color: var(--border2); box-shadow: 0 8px 24px var(--purple-glow); }
.social-card.kick-card { border-color: rgba(83,252,24,0.15); }
.social-card.kick-card:hover { border-color: rgba(83,252,24,0.35); box-shadow: 0 8px 24px rgba(83,252,24,0.08); }
.sc-name { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; color: var(--text); }
.sc-handle { font-size: 11px; color: var(--muted); }

/* ── FOOTER ─────────────────────────────────────────────── */
.footer { background: var(--bg2); border-top: 1px solid var(--border); padding: 60px 0 40px; }
.footer-inner { display: flex; flex-direction: column; gap: 48px; }
.footer-top { display: grid; grid-template-columns: 1fr 2fr; gap: 60px; }
.footer-logo-img { height: 36px; width: auto; margin-bottom: 12px; mix-blend-mode: screen; }
.footer-brand p { font-size: 13px; color: var(--muted); line-height: 1.7; }
.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col-title { font-family: 'Syne', sans-serif; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.footer-col a { font-size: 14px; color: var(--muted2); transition: color 0.2s; }
.footer-col a:hover { color: var(--text); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 24px; display: flex; flex-direction: column; gap: 12px; }
.footer-disclaimer { font-size: 12px; color: var(--muted); line-height: 1.8; }
.footer-disclaimer a { color: var(--gold); }
.footer-disclaimer a:hover { text-decoration: underline; }
.footer-copy { font-size: 12px; color: var(--muted); font-family: 'Syne', sans-serif; }

/* ── WHY SECTION (yhteistyo) ─────────────────────────────── */
.why-section { padding: 80px 0; background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; margin-top: 40px; }
.why-card { background: rgba(124,58,237,0.05); border: 1px solid var(--border2); border-radius: var(--radius-sm); padding: 26px; }
.why-card h4 { font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 700; color: var(--gold); margin-bottom: 10px; text-transform: uppercase; letter-spacing: 0.06em; }
.why-card p { font-size: 14px; color: var(--muted2); line-height: 1.7; font-weight: 300; }

/* ── ANIMATIONS ─────────────────────────────────────────── */
[data-aos] { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
[data-aos].aos-animate { opacity: 1; transform: none; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero { padding: 100px 20px 60px; }
  .hero-title { font-size: clamp(48px,15vw,72px); }
  .hero-logo { width: 180px; }
  .hstat-div { display: none; }
  .hero-stats { gap: 20px; }
  .casino-grid { grid-template-columns: 1fr; }
  .about-inner { grid-template-columns: 1fr; gap: 36px; }
  .about-stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 36px; }
  .footer-links { grid-template-columns: repeat(2,1fr); }
  .disclaimer-bar { font-size: 11px; }
}
@media (max-width: 480px) {
  .footer-links { grid-template-columns: 1fr; }
  .about-stats-grid { grid-template-columns: 1fr; }
  .astat:first-child { border-radius: 12px 12px 0 0; }
  .astat:nth-child(2) { border-radius: 0; }
  .astat:nth-child(3) { border-radius: 0; }
  .astat:last-child { border-radius: 0 0 12px 12px; }
  .socials-grid { grid-template-columns: repeat(2,1fr); }
}
