/* ============================================
   KrapMaps V3 — css/styles.css
   Pink-dominant theme, bento grids, premium feel
   ============================================ */

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

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

@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;
  }
}

body {
  font-family: 'Nunito', sans-serif;
  font-weight: 400;
  color: #1A1A1A;
  background: #FFFFFF;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }

/* --- TYPOGRAPHY --- */
h1, h2, h3, h4 {
  font-family: 'Lilita One', cursive;
  text-transform: uppercase;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 32px; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.4rem); }

p { font-size: clamp(1rem, 1.5vw, 1.125rem); }

.text-pink { color: #EE3E7B; }
.text-yellow { color: #FDB941; }
.text-muted { color: #666666; }
.text-small { font-size: 0.875rem; }

h2 {
  color: #1A1A1A;
}

.section-pink h2 {
  color: #FFFFFF;
}

/* --- LAYOUT --- */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 80px 0;
}

.section-white {
  background: #FFFFFF;
  color: #1A1A1A;
}

.section-grey {
  background: #F8F8F8;
}

.section-pink {
  background: #EE3E7B;
  color: #FFFFFF;
}

.section-pink h2,
.section-pink h3,
.section-pink p,
.section-pink .stat-number,
.section-pink .traction-number,
.section-pink .goal-current,
.section-pink .goal-text {
  color: #FFFFFF;
}

.section-pink .stat-label,
.section-pink .goal-target {
  color: rgba(255,255,255,0.8);
}

/* Traction labels are inside white bento cards on pink bg - keep them dark */
.section-pink .bento-item .traction-label {
  color: #666;
}

.section-pink .bento-item .traction-number {
  color: #EE3E7B;
}

.section-pink .btn-yellow {
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.section-blush {
  background: #FFF0F5;
  color: #1A1A1A;
}

@media (min-width: 768px) {
  .section { padding: 100px 0; }
  .container { padding: 0 40px; }
}

/* --- BENTO GRID --- */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.bento-item {
  border-radius: 16px;
  padding: 32px;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 8px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bento-item:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  transform: translateY(-4px);
}

.bento-item.span-12 { grid-column: span 12; }
.bento-item.span-8 { grid-column: span 8; }
.bento-item.span-7 { grid-column: span 7; }
.bento-item.span-6 { grid-column: span 6; }
.bento-item.span-5 { grid-column: span 5; }
.bento-item.span-4 { grid-column: span 4; }

@media (max-width: 768px) {
  .bento-item { grid-column: span 12 !important; }
}

/* --- SCROLL REVEAL --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- HEADER --- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #FFFFFF;
  transition: box-shadow 0.3s ease;
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  box-shadow: 0 1px 8px rgba(0,0,0,0.06);
  border-bottom-color: #E8E8E8;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  height: 40px;
  width: auto;
  border-radius: 6px;
}

.logo-text {
  font-family: 'Lilita One', cursive;
  font-size: 1.6rem;
  color: #EE3E7B;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1;
}

.logo-pin {
  flex-shrink: 0;
}

/* Partner card images */
.partner-card-img {
  width: 100%;
  height: auto;
  max-height: 360px;
  object-fit: contain;
  border-radius: 8px;
  margin-bottom: 20px;
}

/* Partner card image placeholder */
.partner-card-img-placeholder {
  width: 100%;
  height: 200px;
  background: #E8E8E8;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Update entry images */
.update-img {
  width: 100%;
  max-width: 480px;
  border-radius: 8px;
  margin: 16px 0;
}

/* Partner link text */
.partner-link {
  display: inline-block;
  margin-top: 16px;
  font-weight: 700;
  font-size: 0.9rem;
  color: #EE3E7B;
}

a.partner-card {
  text-decoration: none;
  color: inherit;
  display: block;
}

a.partner-card:hover .partner-link {
  text-decoration: underline;
}

/* Desktop Nav */
.nav-links {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-weight: 600;
  font-size: 0.95rem;
  color: #1A1A1A;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: #EE3E7B;
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a:focus::after {
  width: 100%;
}

.nav-links a:hover { color: #EE3E7B; }

@media (min-width: 900px) {
  .nav-links { display: flex; }
}

/* Header CTA */
.header-cta {
  display: none;
  background: #EE3E7B;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 24px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.header-cta:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 16px rgba(238,62,123,0.3);
}

.header-cta:active {
  transform: scale(0.98);
}

@media (min-width: 900px) {
  .header-cta { display: inline-block; }
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1100;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #1A1A1A;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 900px) {
  .hamburger { display: none; }
}

/* Mobile Menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background: #FFFFFF;
  z-index: 1050;
  padding: 90px 32px 40px;
  box-shadow: -4px 0 24px rgba(0,0,0,0.08);
  transition: right 0.35s ease;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu.open {
  right: 0;
}

.mobile-menu a {
  font-weight: 600;
  font-size: 1.1rem;
  padding: 12px 0;
  border-bottom: 1px solid #E8E8E8;
  display: block;
  transition: color 0.3s ease;
}

.mobile-menu a:hover { color: #EE3E7B; }

.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 1040;
}

.mobile-overlay.open { display: block; }

/* --- BUTTONS --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

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

.btn-pink {
  background: #EE3E7B;
  color: #FFFFFF;
}

.btn-pink:hover {
  box-shadow: 0 6px 20px rgba(238,62,123,0.3);
}

.btn-yellow {
  background: #FDB941;
  color: #1A1A1A;
  font-weight: 800;
}

.btn-yellow:hover {
  box-shadow: 0 6px 20px rgba(253,185,65,0.4);
}

.btn-dark {
  background: #1A1A1A;
  color: #FFFFFF;
}

.btn-dark:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.btn-outline {
  background: transparent;
  color: #1A1A1A;
  border: 2px solid #E8E8E8;
}

.btn-outline:hover {
  border-color: #EE3E7B;
  color: #EE3E7B;
}

.btn-outline-white {
  background: transparent;
  color: #FFFFFF;
  border: 2px solid rgba(255,255,255,0.4);
}

.btn-outline-white:hover {
  border-color: #FFFFFF;
  background: rgba(255,255,255,0.1);
}

.btn-small {
  padding: 10px 22px;
  font-size: 0.9rem;
}

.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* --- CARDS --- */
.card {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 8px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* ============================================
   HERO
   ============================================ */
.hero {
  background: #EE3E7B;
  padding: 60px 0 80px;
  overflow: hidden;
  color: #FFFFFF;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

@media (min-width: 900px) {
  .hero-inner {
    flex-direction: row;
    align-items: center;
    gap: 60px;
  }
  .hero-content { flex: 1; }
  .hero-visual { flex: 0 0 380px; }
}

.hero-tag {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
}

.hero h1 {
  margin-bottom: 20px;
  color: #FFFFFF;
}

.hero h1 .text-pink {
  color: #FFFFFF;
}

.hero h1 .text-yellow {
  color: #FDB941;
}

.hero-sub {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,0.9);
  max-width: 480px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero .btn-group {
  margin-bottom: 48px;
}

/* Stat counters */
.stat-row {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-family: 'Lilita One', cursive;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: #FFFFFF;
  line-height: 1.1;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  font-weight: 600;
}

/* Phone mockup */
.phone-mockup {
  position: relative;
  width: 260px;
  height: 520px;
  margin: 0 auto;
  background: #F8F8F8;
  border-radius: 36px;
  border: 3px solid #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  animation: phoneFloat 4s ease-in-out infinite;
}

.phone-mockup-inner {
  color: #999;
  font-weight: 600;
  font-size: 0.9rem;
  text-align: center;
  padding: 20px;
}

.phone-mockup-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 33px;
}

.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 24px;
  background: rgba(255,255,255,0.3);
  border-radius: 12px;
  z-index: 2;
}

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

@media (prefers-reduced-motion: reduce) {
  .phone-mockup { animation: none; }
}

/* ============================================
   HOW IT WORKS
   ============================================ */
.steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  position: relative;
}

@media (min-width: 768px) {
  .steps-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
  }
}

.step {
  position: relative;
  text-align: center;
  background: #FFFFFF;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 8px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.step-number {
  font-family: 'Lilita One', cursive;
  font-size: 2.4rem;
  color: #EE3E7B;
  opacity: 0.25;
  line-height: 1;
  margin-bottom: 12px;
}

.step h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.step p {
  color: #666;
  font-size: 0.95rem;
  max-width: 220px;
  margin: 0 auto;
}

/* ============================================
   APP SCREENSHOTS
   ============================================ */
.phone-frame {
  background: #FFFFFF;
  border-radius: 24px;
  padding: 12px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 8px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.phone-frame:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.phone-frame img {
  border-radius: 16px;
  width: 100%;
  height: auto;
}

.phone-frame-label {
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: #1A1A1A;
  margin-top: 12px;
  padding-bottom: 4px;
}

/* ============================================
   COMMUNITY GOAL
   ============================================ */
.goal-section {
  text-align: center;
}

.goal-bar-wrap {
  max-width: 600px;
  margin: 32px auto;
}

.goal-bar-bg {
  background: rgba(255,255,255,0.3);
  border-radius: 12px;
  height: 24px;
  overflow: hidden;
  position: relative;
}

.section-pink .goal-bar-bg {
  background: rgba(255,255,255,0.3);
}

.goal-bar-fill {
  height: 100%;
  background: #FFFFFF;
  border-radius: 12px;
  width: 0;
  transition: width 1.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.section-pink .goal-bar-fill {
  background: #FDB941;
}

.goal-bar-fill.animated {
  width: 68.27%;  /* 1024/1500 */
}

.goal-numbers {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-weight: 700;
  font-size: 0.95rem;
}

.goal-current { color: #FFFFFF; }
.goal-target { color: rgba(255,255,255,0.7); }

.goal-text {
  margin-top: 20px;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.9);
}

/* ============================================
   LIVE ACTIVITY
   ============================================ */
.activity-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 40px;
}

.live-dot {
  width: 10px;
  height: 10px;
  background: #22c55e;
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34,197,94,0.4); }
  50% { opacity: 0.8; box-shadow: 0 0 0 8px rgba(34,197,94,0); }
}

.activity-feed {
  max-width: 640px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 8px 30px rgba(0,0,0,0.05);
  opacity: 0;
  transform: translateX(-20px);
  transition: opacity 0.5s ease, transform 0.5s ease, box-shadow 0.3s ease;
}

.activity-item:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.activity-item.visible {
  opacity: 1;
  transform: translateX(0);
}

.activity-flag {
  font-size: 1.4rem;
  flex-shrink: 0;
}

.activity-text {
  flex: 1;
  font-size: 0.95rem;
}

.activity-text strong {
  font-weight: 700;
}

.activity-location {
  color: #666;
}

.activity-time {
  font-size: 0.8rem;
  color: #999;
  white-space: nowrap;
  font-weight: 600;
}

/* ============================================
   PARTNERS (homepage)
   ============================================ */
.partners-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-bottom: 48px;
}

.partner-badge {
  display: inline-block;
  padding: 14px 28px;
  background: #FFFFFF;
  border: 2px solid #EE3E7B;
  border-radius: 12px;
  font-family: 'Lilita One', cursive;
  font-size: 0.95rem;
  text-transform: uppercase;
  color: #EE3E7B;
  text-decoration: none;
  transition: all 0.3s ease;
  letter-spacing: 0.02em;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 8px 30px rgba(0,0,0,0.05);
}

.partner-badge:hover {
  background: #EE3E7B;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(238, 62, 123, 0.25);
}

/* Partner logos (images instead of text) */
.partner-logo {
  height: 52px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  display: block;
}

.partner-badge:has(.partner-logo) {
  padding: 16px 24px;
  background: #fff;
  border: 1px solid #E8E8E8;
  display: flex;
  align-items: center;
  justify-content: center;
}

.partner-badge:has(.partner-logo):hover {
  background: #fff;
  border-color: #EE3E7B;
  color: inherit;
}

/* Goal section enhancements */
.goal-subtitle {
  color: rgba(255,255,255,0.9);
  font-size: 1.1rem;
  max-width: 560px;
  margin: 0 auto 32px auto;
  line-height: 1.6;
}

.goal-rewards {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
  justify-content: center;
}

.goal-reward-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.15);
  padding: 12px 20px;
  border-radius: 12px;
  color: #fff;
  font-size: 0.95rem;
  backdrop-filter: blur(4px);
}

.featured-in {
  margin-top: 48px;
  text-align: center;
}

.featured-in h3 {
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  color: #999;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.featured-logos {
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}

.featured-logos span {
  font-weight: 700;
  color: #666;
  font-size: 1rem;
}

/* ============================================
   TRACTION
   ============================================ */
.traction-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

@media (min-width: 768px) {
  .traction-grid { grid-template-columns: repeat(4, 1fr); }
}

.traction-item {
  text-align: center;
  padding: 32px 16px;
  background: #FFFFFF;
  border-radius: 16px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 8px 30px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.traction-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.traction-number {
  font-family: 'Lilita One', cursive;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: #EE3E7B;
  line-height: 1.1;
}


.traction-label {
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 8px;
  color: #666;
}

.traction-text {
  max-width: 560px;
  color: rgba(255,255,255,0.9);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ============================================
   FINAL CTA
   ============================================ */
.cta-section {
  text-align: center;
  padding: 100px 0 120px;
}

.cta-section h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 16px;
}

.cta-section p {
  margin-bottom: 32px;
  font-size: 1.1rem;
}

.section-pink.cta-section p {
  color: rgba(255,255,255,0.9);
}

/* ============================================
   PAGE HEADER (inner pages)
   ============================================ */
.page-header {
  padding: 60px 0 40px;
  text-align: center;
  background: #EE3E7B;
  color: #FFFFFF;
}

.page-header h1 {
  margin-bottom: 12px;
  color: #FFFFFF;
}

.page-header p {
  color: rgba(255,255,255,0.9);
  font-size: 1.15rem;
  max-width: 500px;
  margin: 0 auto;
}

/* ============================================
   ABOUT PAGE
   ============================================ */
.origin-text {
  max-width: 680px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 60px;
}

.stats-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  padding: 40px 0;
  border-top: 1px solid #E8E8E8;
  border-bottom: 1px solid #E8E8E8;
  margin-bottom: 80px;
}

.stats-bar-item {
  text-align: center;
}

.stats-bar-number {
  font-family: 'Lilita One', cursive;
  font-size: 1.6rem;
  color: #EE3E7B;
}

.stats-bar-label {
  font-size: 0.8rem;
  color: #666;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Timeline */
.timeline {
  position: relative;
  max-width: 640px;
  margin: 0 auto 80px;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: #E8E8E8;
}

.timeline-item {
  position: relative;
  margin-bottom: 36px;
}

.timeline-dot {
  position: absolute;
  left: -40px;
  top: 4px;
  width: 16px;
  height: 16px;
  background: #EE3E7B;
  border-radius: 50%;
  border: 3px solid #fff;
  box-shadow: 0 0 0 2px #EE3E7B;
}

.timeline-item.visible .timeline-dot {
  animation: dotPulse 2s ease-in-out 1;
}

@keyframes dotPulse {
  0% { box-shadow: 0 0 0 2px #EE3E7B; }
  50% { box-shadow: 0 0 0 6px rgba(238,62,123,0.2); }
  100% { box-shadow: 0 0 0 2px #EE3E7B; }
}

.timeline-date {
  font-size: 0.8rem;
  font-weight: 700;
  color: #EE3E7B;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 4px;
}

.timeline-title {
  font-weight: 800;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.timeline-desc {
  color: #666;
  font-size: 0.95rem;
}

/* Thesis */
.thesis-section {
  max-width: 680px;
  margin: 0 auto 80px;
}

.thesis-section h2 {
  margin-bottom: 20px;
}

.thesis-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #333;
  margin-bottom: 16px;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  max-width: 700px;
  margin: 0 auto 80px;
}

@media (min-width: 600px) {
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

.team-member {
  text-align: center;
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #FFF0F5;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: 'Lilita One', cursive;
  font-size: 1.4rem;
  color: #EE3E7B;
  border: 2px solid #E8E8E8;
}

.team-name {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 2px;
}

.team-role {
  font-size: 0.85rem;
  color: #EE3E7B;
  font-weight: 700;
  margin-bottom: 8px;
}

.team-bio {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Values */
.values-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  max-width: 700px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .values-grid { grid-template-columns: repeat(2, 1fr); }
}

.value-item {
  padding: 0;
}

.value-item h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.value-item p {
  color: #666;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ============================================
   LEADERBOARD PAGE
   ============================================ */
.lb-toggle {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  justify-content: center;
}

.lb-toggle-btn {
  padding: 10px 28px;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 8px;
  border: 2px solid #E8E8E8;
  background: #fff;
  color: #666;
  transition: all 0.3s ease;
}

.lb-toggle-btn.active {
  background: #EE3E7B;
  border-color: #EE3E7B;
  color: #fff;
}

.lb-toggle-btn:hover:not(.active) {
  border-color: #EE3E7B;
  color: #EE3E7B;
}

.lb-table {
  width: 100%;
  max-width: 700px;
  margin: 0 auto 60px;
  border-collapse: collapse;
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 8px 30px rgba(0,0,0,0.05);
}

.lb-table th {
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #999;
  padding: 12px 16px;
  border-bottom: 2px solid #E8E8E8;
}

.lb-table td {
  padding: 16px;
  border-bottom: 1px solid #F0F0F0;
  font-size: 0.95rem;
}

.lb-table tr:hover td {
  background: #FFF0F5;
}

.lb-rank {
  font-family: 'Lilita One', cursive;
  font-size: 1.1rem;
  color: #EE3E7B;
  width: 50px;
}

.lb-username {
  font-weight: 700;
}

.lb-points {
  font-weight: 600;
  color: #444;
}

.tier-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.tier-elite { background: #FFF0F4; color: #EE3E7B; }
.tier-platinum { background: #F0F4FF; color: #5B6FE6; }
.tier-gold { background: #FFF8E6; color: #D4920A; }
.tier-silver { background: #F4F4F4; color: #777; }
.tier-bronze { background: #FDF3EC; color: #B87333; }

/* Team War */
.team-war-card {
  background: #FFFFFF;
  border-radius: 20px;
  padding: 48px 32px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 8px 30px rgba(0,0,0,0.05);
  max-width: 600px;
  margin: 0 auto 60px;
  text-align: center;
}

.team-war-header {
  font-family: 'Lilita One', cursive;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #999;
  margin-bottom: 24px;
}

.team-war-vs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.team-side {
  text-align: center;
  flex: 1;
}

.team-name-label {
  font-family: 'Lilita One', cursive;
  font-size: 1.4rem;
  text-transform: uppercase;
}

.team-crimson .team-name-label { color: #EE3E7B; }
.team-azure .team-name-label { color: #3B82F6; }

.team-stats {
  margin-top: 8px;
  font-size: 0.9rem;
  color: #666;
}

.team-stats strong {
  font-size: 1.6rem;
  display: block;
  font-family: 'Lilita One', cursive;
  color: #1A1A1A;
}

.vs-divider {
  font-family: 'Lilita One', cursive;
  font-size: 1.2rem;
  color: #ccc;
  flex-shrink: 0;
}

/* ============================================
   PARTNERS PAGE
   ============================================ */
.partner-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto 60px;
}

@media (min-width: 700px) {
  .partner-cards { grid-template-columns: repeat(2, 1fr); }
}

.partner-card {
  background: #fff;
  border-radius: 16px;
  padding: 32px 24px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08), 0 8px 30px rgba(0,0,0,0.05);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.partner-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.partner-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.partner-card .partner-type {
  font-size: 0.8rem;
  font-weight: 700;
  color: #EE3E7B;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.partner-card p {
  color: #666;
  font-size: 0.9rem;
  line-height: 1.6;
}

.affiliate-section {
  max-width: 600px;
  margin: 0 auto 60px;
  text-align: center;
}

.affiliate-section h2 {
  margin-bottom: 24px;
}

.affiliate-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.affiliate-item {
  padding: 14px 28px;
  border: 1px solid #E8E8E8;
  border-radius: 12px;
  font-weight: 600;
  color: #444;
  font-size: 0.95rem;
}

.affiliate-item .coming-soon {
  font-size: 0.75rem;
  color: #999;
  margin-left: 8px;
}

.partner-cta {
  text-align: center;
  padding: 60px 0;
  max-width: 500px;
  margin: 0 auto;
}

.partner-cta h2 {
  margin-bottom: 16px;
}

.partner-cta p {
  margin-bottom: 8px;
}

.section-pink .partner-cta p {
  color: rgba(255,255,255,0.9);
}

.partner-cta a.partner-email {
  color: #FDB941;
  font-weight: 700;
}

.partner-cta a.partner-email:hover {
  text-decoration: underline;
}

/* ============================================
   UPDATES PAGE
   ============================================ */
.updates-list {
  max-width: 680px;
  margin: 0 auto;
}

.update-entry {
  padding: 40px 0;
  border-bottom: 1px solid #E8E8E8;
}

.update-entry:last-child {
  border-bottom: none;
}

.update-date {
  font-size: 0.8rem;
  font-weight: 700;
  color: #EE3E7B;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
}

.update-entry h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.update-entry p {
  color: #444;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ============================================
   SUPPORT / FAQ
   ============================================ */
.faq-list {
  max-width: 680px;
  margin: 0 auto 60px;
}

.faq-item {
  border-bottom: 1px solid #E8E8E8;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 20px 0;
  font-size: 1.05rem;
  font-weight: 700;
  color: #1A1A1A;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: color 0.3s ease;
}

.faq-question:hover { color: #EE3E7B; }

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  background: #999;
  border-radius: 2px;
}

.faq-icon::before {
  width: 14px;
  height: 2px;
  top: 11px;
  left: 5px;
}

.faq-icon::after {
  width: 2px;
  height: 14px;
  top: 5px;
  left: 11px;
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon::after {
  transform: scaleY(0);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 300px;
}

.faq-answer-inner {
  padding: 0 0 20px;
  color: #555;
  font-size: 1rem;
  line-height: 1.7;
}

/* Contact block */
.contact-block {
  text-align: center;
  margin-bottom: 48px;
}

.contact-block h2 {
  margin-bottom: 12px;
}

.contact-email {
  font-size: 1.1rem;
  font-weight: 700;
  color: #EE3E7B;
}

.contact-email:hover {
  text-decoration: underline;
}

/* Social links */
.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid #E8E8E8;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  color: #444;
  transition: all 0.3s ease;
}

.social-link:hover {
  border-color: #EE3E7B;
  color: #EE3E7B;
}

.social-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: #1A1A1A;
  padding: 60px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

@media (min-width: 700px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
  }
}

.footer-brand p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-top: 12px;
  max-width: 260px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.4);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.footer-col a:hover { color: #EE3E7B; }

/* Footer Socials — icons only, horizontal row */
.footer-socials {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 8px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #999;
  transition: color 0.3s ease, transform 0.3s ease;
}

.footer-social-link:hover {
  color: #EE3E7B;
  transform: translateY(-2px);
}

.footer-social-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* --- Legal Content --- */
.legal-content h2 {
  margin-top: 40px;
  margin-bottom: 16px;
  font-size: 1.4rem;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  margin-bottom: 12px;
  line-height: 1.7;
}

.legal-content ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 16px;
}

.legal-content li {
  margin-bottom: 6px;
  line-height: 1.6;
}

/* --- Cookie Consent Banner --- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #1A1A1A;
  color: #fff;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 9999;
  font-size: 0.9rem;
  flex-wrap: wrap;
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner p {
  margin: 0;
  flex: 1;
  min-width: 200px;
}

.cookie-banner a {
  color: #EE3E7B;
}

.cookie-accept {
  background: #EE3E7B;
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
