/* ============================================
   Miss World Indonesia — Custom CSS
   Colors: Gold, Navy, Rose, Off-White
   Typography: Playfair Display + system-ui
   ============================================ */

:root {
  --gold: #C5A572;
  --gold-light: #D4B88C;
  --gold-dark: #A88B5E;
  --navy: #1B2A4A;
  --navy-dark: #0F1A2E;
  --navy-light: #2A3F6A;
  --rose: #E8C4C4;
  --rose-light: #F2DADA;
  --white: #FFFFFF;
  --off-white: #F8F6F3;
  --text: #2D3748;
  --text-light: #718096;
  --border: #E2E8F0;
  --shadow: 0 2px 8px rgba(27, 42, 74, 0.08);
  --shadow-lg: 0 8px 32px rgba(27, 42, 74, 0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.25s ease;
  --max-width: 1200px;
  --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

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

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--off-white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.3;
  color: var(--navy);
}

a { color: var(--gold-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold); }

img { max-width: 100%; height: auto; display: block; }

/* ============================================
   Navigation
   ============================================ */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.site-nav.scrolled { box-shadow: var(--shadow); }

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
}
.nav-brand:hover { color: var(--navy); }
.nav-crown { font-size: 1.5rem; color: var(--gold); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}
.nav-links a {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.nav-links a:hover { color: var(--gold-dark); background: var(--off-white); }
.nav-links a.active { color: var(--gold-dark); border-bottom: 2px solid var(--gold); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--white) !important;
  border-radius: 50px !important;
  padding: 0.5rem 1.25rem !important;
}
.nav-cta:hover { background: var(--gold-dark) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(197, 165, 114, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(232, 196, 196, 0.1) 0%, transparent 50%);
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 3rem 1.5rem;
}
.hero-crown {
  display: block;
  font-size: 3.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 20px rgba(197, 165, 114, 0.4));
}
.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-bottom: 0.75rem;
}
.hero-tagline {
  font-size: 1.15rem;
  color: var(--gold-light);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.hero-divider {
  width: 60px;
  height: 2px;
  background: var(--gold);
  margin: 0 auto 1.5rem;
}
.hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

/* Hero Newsletter */
.hero-cta { max-width: 480px; margin: 0 auto; }
.hero-newsletter {
  display: flex;
  gap: 0;
  border-radius: 50px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}
.hero-newsletter input {
  flex: 1;
  padding: 0.9rem 1.5rem;
  border: none;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  outline: none;
  background: var(--white);
  color: var(--text);
}
.hero-newsletter input::placeholder { color: var(--text-light); }
.hero-newsletter button {
  padding: 0.9rem 2rem;
  background: var(--gold);
  color: var(--white);
  border: none;
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: background var(--transition);
  white-space: nowrap;
}
.hero-newsletter button:hover { background: var(--gold-dark); }

/* ============================================
   Stats Bar
   ============================================ */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}
.stats-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  justify-content: center;
  gap: 4rem;
}
.stat-item { text-align: center; }
.stat-number {
  display: block;
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-dark);
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============================================
   Sections
   ============================================ */
.section-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  text-align: center;
  margin-bottom: 0.5rem;
}
.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}
.section-cta { text-align: center; margin-top: 2.5rem; }

.features { padding: 5rem 0; }

/* ============================================
   Feature Cards
   ============================================ */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}
.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  text-align: center;
  transition: all var(--transition);
  display: block;
  color: var(--text);
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold-light);
  color: var(--text);
}
.feature-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.feature-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
}
.feature-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }

.feature-card--cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-color: transparent;
}
.feature-card--cta h3 { color: var(--gold-light); }
.feature-card--cta p { color: rgba(255, 255, 255, 0.7); }
.feature-card--cta:hover { border-color: var(--gold); color: var(--white); }

/* ============================================
   Recent Winners
   ============================================ */
.recent-winners {
  padding: 5rem 0;
  background: var(--white);
}
.winner-highlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}
.winner-highlight-card {
  text-align: center;
  padding: 2rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: all var(--transition);
}
.winner-highlight-card:hover {
  border-color: var(--gold-light);
  box-shadow: var(--shadow);
}
.winner-year {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.winner-highlight-card h3 { font-size: 1.1rem; margin-bottom: 0.25rem; }
.winner-province { font-size: 0.85rem; color: var(--text-light); margin-bottom: 0.5rem; }
.winner-badge {
  display: inline-block;
  font-size: 0.75rem;
  background: var(--rose-light);
  color: var(--gold-dark);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-weight: 600;
}

/* ============================================
   CTA Section
   ============================================ */
.cta-section {
  padding: 5rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  color: var(--white);
}
.cta-section h2 {
  color: var(--white);
  font-size: clamp(1.5rem, 4vw, 2rem);
  margin-bottom: 1rem;
}
.cta-section p {
  color: rgba(255, 255, 255, 0.75);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
  text-align: center;
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
}
.btn-gold:hover { background: var(--gold-dark); color: var(--white); }
.btn-outline {
  background: transparent;
  border-color: var(--gold);
  color: var(--gold-dark);
}
.btn-outline:hover { background: var(--gold); color: var(--white); }
.btn-lg { padding: 1rem 2.5rem; font-size: 1.05rem; }

/* ============================================
   Newsletter (footer)
   ============================================ */
.newsletter-form {
  display: flex;
  gap: 0.5rem;
}
.newsletter-form input {
  flex: 1;
  padding: 0.6rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-family: var(--font-sans);
  background: var(--white);
  color: var(--text);
}
.newsletter-form button {
  padding: 0.6rem 1.25rem;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background var(--transition);
}
.newsletter-form button:hover { background: var(--gold-dark); }
.newsletter-msg {
  font-size: 0.8rem;
  margin-top: 0.5rem;
  min-height: 1.2em;
}
.newsletter-msg.success { color: #38a169; }
.newsletter-msg.error { color: #e53e3e; }

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 0;
}
.footer-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 2fr;
  gap: 2rem;
}
.footer-crown { font-size: 2rem; color: var(--gold); display: block; margin-bottom: 0.5rem; }
.footer-brand h3 {
  font-family: var(--font-serif);
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}
.footer-brand p { font-size: 0.9rem; }
.footer-links h4 {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1rem;
  margin-bottom: 1rem;
}
.footer-links a {
  display: block;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  padding: 0.25rem 0;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold-light); }
.footer-newsletter h4 {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.footer-newsletter p { font-size: 0.85rem; margin-bottom: 1rem; }
.footer-newsletter .newsletter-form input {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}
.footer-newsletter .newsletter-form input::placeholder { color: rgba(255, 255, 255, 0.4); }

.footer-bottom {
  margin-top: 3rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  font-size: 0.8rem;
}

/* ============================================
   Error Page (404)
   ============================================ */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
}
.error-content h1 {
  font-size: 6rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.error-content p {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}
.error-crown { font-size: 3rem; color: var(--gold); display: block; margin-bottom: 1rem; }

/* ============================================
   Page Header
   ============================================ */
.page-header {
  padding: 3rem 0 2rem;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.page-header--compact { padding: 1.5rem 0 1rem; }
.page-header h1 { margin-bottom: 0.5rem; }
.page-subtitle { color: var(--text-light); font-size: 1.05rem; }

/* Breadcrumbs */
.breadcrumbs { font-size: 0.85rem; margin-bottom: 1rem; color: var(--text-light); }
.breadcrumbs a { color: var(--gold-dark); }
.breadcrumbs a:hover { text-decoration: underline; }
.breadcrumb-sep { margin: 0 0.4rem; color: var(--border); }
.breadcrumb-current { color: var(--text); }

/* ============================================
   Timeline
   ============================================ */
.timeline-section { padding: 4rem 0; }
.timeline { position: relative; padding: 2rem 0; }
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gold-light);
  transform: translateX(-1px);
}
.timeline-item {
  position: relative;
  width: 50%;
  padding: 0 2.5rem 3rem;
}
.timeline-item.left { left: 0; text-align: right; }
.timeline-item.right { left: 50%; }
.timeline-dot {
  position: absolute;
  top: 0.5rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--navy);
  border: 3px solid var(--gold);
  z-index: 1;
}
.timeline-item.left .timeline-dot { right: -7px; }
.timeline-item.right .timeline-dot { left: -7px; }
.dot-gold { background: var(--gold); }
.timeline-card {
  background: var(--white);
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  transition: all var(--transition);
}
.timeline-card:hover { box-shadow: var(--shadow); border-color: var(--gold-light); }
.timeline-year {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.25rem;
}
.timeline-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.timeline-card p { font-size: 0.9rem; color: var(--text-light); line-height: 1.7; }
.timeline-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gold-dark);
}

/* ============================================
   Winners Page Header (override)
   ============================================ */
.page-header--winners {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 60%, var(--navy-light) 100%);
  padding: 4rem 0 3rem;
  border-bottom: none;
  text-align: center;
}
.page-header--winners h1 { color: var(--white); font-size: clamp(2rem, 5vw, 3rem); }
.page-header--winners .page-subtitle { color: var(--gold-light); }
.page-header--winners .breadcrumbs { color: rgba(255,255,255,0.5); }
.page-header--winners .breadcrumbs a { color: var(--gold-light); }
.page-header--winners .breadcrumb-current { color: rgba(255,255,255,0.8); }

/* ============================================
   Winners Grid — Modern Card Layout
   ============================================ */
.winners-section { padding: 3rem 0 5rem; }
.winners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}
.winner-card {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: block;
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transition: transform 0.35s cubic-bezier(0.23, 1, 0.32, 1), box-shadow 0.35s ease;
}
/* When inside wrapper, fill entire wrapper */
.winner-card-wrapper .winner-card {
  position: absolute;
  inset: 0;
  aspect-ratio: auto;
}
.winner-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 40px rgba(27, 42, 74, 0.25);
  color: var(--white);
}
.winner-card-photo {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.winner-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s cubic-bezier(0.23, 1, 0.32, 1), filter 0.3s ease;
}
.winner-card:hover .winner-card-photo img {
  transform: scale(1.08);
}
.winner-card-placeholder {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}
.winner-card-placeholder span { font-size: 3.5rem; color: var(--gold); opacity: 0.6; }

/* Gradient overlay on card */
.winner-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    0deg,
    rgba(15, 26, 46, 0.95) 0%,
    rgba(15, 26, 46, 0.5) 35%,
    rgba(15, 26, 46, 0) 60%
  );
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.winner-card:hover::after {
  background: linear-gradient(
    0deg,
    rgba(15, 26, 46, 0.98) 0%,
    rgba(15, 26, 46, 0.4) 40%,
    rgba(15, 26, 46, 0) 65%
  );
}

.winner-card-year {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2;
  background: rgba(197, 165, 114, 0.9);
  backdrop-filter: blur(8px);
  color: var(--white);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.85rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.15);
}
.winner-card-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.winner-card-info h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.winner-card-province {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
}
.winner-badge {
  display: inline-block;
  font-size: 0.7rem;
  background: rgba(197, 165, 114, 0.2);
  backdrop-filter: blur(4px);
  color: var(--gold-light);
  padding: 0.2rem 0.65rem;
  border-radius: 50px;
  font-weight: 600;
  border: 1px solid rgba(197, 165, 114, 0.3);
  margin-top: 0.25rem;
  align-self: flex-start;
}

/* ============================================
   Winner Profile — Modern Layout
   ============================================ */
.winner-profile { padding: 0 0 5rem; }

/* Profile hero with photo */
.profile-hero {
  position: relative;
  min-height: 420px;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  overflow: hidden;
  margin-bottom: 3rem;
}
.profile-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 20%;
  filter: blur(30px) brightness(0.4);
  transform: scale(1.2);
}
.profile-hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.5rem;
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: end;
}

.profile-grid { display: grid; grid-template-columns: 380px 1fr; gap: 3rem; align-items: start; }
.profile-photo {
  position: sticky;
  top: 5rem;
}
.profile-photo-frame {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 40px rgba(0,0,0,0.2), 0 0 0 1px rgba(255,255,255,0.1);
  background: var(--off-white);
}
.profile-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s ease;
}
.profile-photo-frame:hover img {
  transform: scale(1.03);
}
/* Landscape photos */
.profile-photo-frame.landscape img {
  object-fit: contain;
  object-position: center;
  background: var(--off-white);
}
.profile-photo-placeholder {
  aspect-ratio: 3/4; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg); color: var(--gold);
}
.profile-photo-placeholder span { font-size: 5rem; }
.profile-photo-placeholder p { color: rgba(255,255,255,0.5); margin-top: 1rem; }
.profile-year-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
  color: var(--white);
  padding: 0.35rem 1.1rem;
  border-radius: 50px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 8px rgba(197, 165, 114, 0.3);
}
.profile-info h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.profile-origin {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.profile-origin::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  flex-shrink: 0;
}
.profile-highlight { margin-bottom: 1.5rem; }
.winner-badge--lg {
  font-size: 0.9rem;
  padding: 0.5rem 1.25rem;
  background: linear-gradient(135deg, rgba(197,165,114,0.15) 0%, rgba(197,165,114,0.08) 100%);
  color: var(--gold-dark);
  border: 1px solid rgba(197,165,114,0.3);
  backdrop-filter: blur(4px);
}
.profile-bio, .profile-achievements, .profile-social { margin-bottom: 2rem; }
.profile-bio h2, .profile-achievements h2, .profile-social h2 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.profile-bio h2::before, .profile-achievements h2::before {
  content: '';
  width: 3px;
  height: 1.1em;
  background: var(--gold);
  border-radius: 2px;
}
.profile-bio p { color: var(--text-light); line-height: 1.9; }
.profile-achievements ul { list-style: none; padding: 0; }
.profile-achievements li {
  padding: 0.5rem 0 0.5rem 1.75rem;
  position: relative;
  color: var(--text-light);
  border-left: 2px solid var(--border);
  margin-left: 3px;
}
.profile-achievements li::before {
  content: '';
  position: absolute;
  left: -5px;
  top: 0.85rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 3px var(--white);
}
.profile-detail { margin-bottom: 0.5rem; font-size: 0.95rem; }
.profile-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-right: 0.75rem;
  padding: 0.5rem 1.1rem;
  border: 1px solid var(--gold);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--gold-dark);
  transition: all var(--transition);
}
.profile-social a:hover {
  background: var(--gold);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(197, 165, 114, 0.3);
}
.profile-share { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }

/* Profile nav (prev/next) */
.profile-nav {
  display: flex;
  justify-content: space-between;
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}
.profile-nav-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--text-light);
  font-size: 0.9rem;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius);
  transition: all var(--transition);
}
.profile-nav-link:hover {
  color: var(--gold-dark);
  background: rgba(197, 165, 114, 0.08);
}
.profile-nav-arrow { font-size: 1.2rem; }

/* ============================================
   Articles
   ============================================ */
.filter-bar { padding: 1.5rem 0; background: var(--white); }
.filter-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filter-pill {
  padding: 0.4rem 1rem; border-radius: 50px; font-size: 0.85rem;
  border: 1px solid var(--border); color: var(--text-light); transition: all var(--transition);
}
.filter-pill:hover { border-color: var(--gold); color: var(--gold-dark); }
.filter-pill.active { background: var(--gold); color: var(--white); border-color: var(--gold); }

.articles-section { padding: 3rem 0 5rem; }
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.article-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: all var(--transition); display: block; color: var(--text);
}
.article-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--text); }
.article-card-img { aspect-ratio: 16/9; overflow: hidden; }
.article-card-img img { width: 100%; height: 100%; object-fit: cover; }
.article-card-body { padding: 1.25rem; }
.article-card-cat { font-size: 0.75rem; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; letter-spacing: 0.05em; }
.article-card h3 { font-size: 1.05rem; margin: 0.4rem 0; }
.article-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }
.article-card-date { font-size: 0.8rem; color: var(--text-light); margin-top: 0.5rem; display: block; }

/* Article Detail */
.article-detail { padding: 0 0 5rem; }
.article-container { max-width: 780px; margin: 0 auto; padding: 2rem 1.5rem; }
.article-cat-link { font-size: 0.8rem; text-transform: uppercase; color: var(--gold-dark); font-weight: 600; letter-spacing: 0.05em; }
.article-detail h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); margin: 0.5rem 0 1rem; }
.article-meta { font-size: 0.85rem; color: var(--text-light); margin-bottom: 2rem; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.article-cover { margin-bottom: 2rem; border-radius: var(--radius-lg); overflow: hidden; }
.article-cover img { width: 100%; }
.article-content { line-height: 1.9; font-size: 1.05rem; }
.article-content h2 { margin: 2rem 0 1rem; font-size: 1.4rem; }
.article-content h3 { margin: 1.5rem 0 0.75rem; font-size: 1.2rem; }
.article-content p { margin-bottom: 1.25rem; }
.article-content img { border-radius: var(--radius); margin: 1.5rem 0; }
.article-content blockquote { border-left: 3px solid var(--gold); padding: 1rem 1.5rem; margin: 1.5rem 0; background: var(--off-white); border-radius: 0 var(--radius) var(--radius) 0; font-style: italic; }
.article-share { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }

/* ============================================
   Gallery
   ============================================ */
.gallery-section { padding: 3rem 0 5rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.gallery-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; transition: all var(--transition); display: block; color: var(--text);
}
.gallery-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); color: var(--text); }
.gallery-card-cover { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--off-white); }
.gallery-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.gallery-card-placeholder { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%); }
.gallery-card-placeholder span { font-size: 3rem; }
.gallery-card-count { position: absolute; bottom: 0.75rem; right: 0.75rem; background: rgba(0,0,0,0.7); color: var(--white); padding: 0.2rem 0.6rem; border-radius: 50px; font-size: 0.75rem; }
.gallery-card-info { padding: 1rem 1.25rem; }
.gallery-card-info h3 { font-size: 1rem; margin-bottom: 0.2rem; }
.gallery-card-year, .gallery-card-event { font-size: 0.8rem; color: var(--text-light); }

/* Gallery Detail */
.gallery-detail { padding: 2rem 0 5rem; }
.gallery-detail h1 { margin-bottom: 0.5rem; }
.gallery-meta { color: var(--text-light); margin-bottom: 0.5rem; }
.gallery-desc { color: var(--text-light); margin-bottom: 2rem; }
.gallery-masonry { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.gallery-item { border-radius: var(--radius); overflow: hidden; }
.gallery-photo img { width: 100%; display: block; transition: transform var(--transition); }
.gallery-photo:hover img { transform: scale(1.03); }
.gallery-video { position: relative; padding-bottom: 56.25%; height: 0; }
.gallery-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border-radius: var(--radius); }
.gallery-item-caption { font-size: 0.8rem; color: var(--text-light); padding: 0.5rem 0; }
.gallery-share { margin-top: 2.5rem; }

/* ============================================
   Share Buttons
   ============================================ */
.share-buttons { display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap; }
.share-label { font-size: 0.85rem; color: var(--text-light); margin-right: 0.25rem; }
.share-btn {
  padding: 0.35rem 0.75rem; border-radius: 50px; font-size: 0.8rem; font-weight: 600;
  border: 1px solid var(--border); color: var(--text-light); cursor: pointer;
  background: var(--white); font-family: var(--font-sans); transition: all var(--transition);
  text-decoration: none;
}
.share-btn:hover { border-color: var(--gold); color: var(--gold-dark); }
.share-wa:hover { background: #25D366; color: var(--white); border-color: #25D366; }
.share-tw:hover { background: #1DA1F2; color: var(--white); border-color: #1DA1F2; }
.share-fb:hover { background: #1877F2; color: var(--white); border-color: #1877F2; }

/* ============================================
   Search
   ============================================ */
.search-form { display: flex; gap: 0.75rem; margin-top: 1.5rem; max-width: 500px; }
.search-form input {
  flex: 1; padding: 0.75rem 1.25rem; border: 1px solid var(--border); border-radius: 50px;
  font-size: 1rem; font-family: var(--font-sans); background: var(--off-white);
}
.search-form input:focus { outline: none; border-color: var(--gold); }
.search-results { padding: 2rem 0 5rem; }
.search-group { margin-bottom: 2.5rem; }
.search-group h2 { font-size: 1.2rem; margin-bottom: 1rem; }
.search-list { display: flex; flex-direction: column; gap: 0.5rem; }
.search-item {
  display: block; padding: 1rem 1.25rem; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); color: var(--text); transition: all var(--transition);
}
.search-item:hover { border-color: var(--gold-light); box-shadow: var(--shadow); color: var(--text); }
.search-item strong { display: block; margin-bottom: 0.25rem; }
.search-item-meta { font-size: 0.85rem; color: var(--text-light); }
.search-item p { font-size: 0.85rem; color: var(--text-light); margin-top: 0.25rem; }
.search-hint { color: var(--text-light); }

/* ============================================
   Empty State
   ============================================ */
.empty-state { text-align: center; padding: 4rem 1.5rem; }
.empty-icon { font-size: 3rem; display: block; margin-bottom: 1rem; }
.empty-state h2 { margin-bottom: 0.5rem; }
.empty-state p { color: var(--text-light); }

/* ============================================
   Related Section
   ============================================ */
.related-section { margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--border); }
.related-section h2 { font-size: 1.3rem; margin-bottom: 1.5rem; }

/* ============================================
   Pagination
   ============================================ */
.pagination { display: flex; justify-content: center; align-items: center; gap: 1rem; margin-top: 2.5rem; }
.pagination-info { font-size: 0.9rem; color: var(--text-light); }

/* ============================================
   Mobile Responsive
   ============================================ */
@media (max-width: 768px) {
  body { padding-bottom: 70px; }
  .nav-toggle { display: none; }
  .nav-links { display: none !important; }

  .hero { min-height: 80vh; }
  .hero-title { font-size: 2.2rem; }
  .hero-newsletter { flex-direction: column; border-radius: var(--radius); }
  .hero-newsletter input, .hero-newsletter button {
    border-radius: var(--radius);
    text-align: center;
  }

  .stats-container { gap: 2rem; }
  .stat-number { font-size: 1.5rem; }

  .feature-grid { grid-template-columns: 1fr; }

  .winner-highlight-grid { grid-template-columns: repeat(2, 1fr); }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

  .newsletter-form { flex-direction: column; }

  /* Timeline mobile */
  .timeline::before { left: 20px; }
  .timeline-item { width: 100%; left: 0 !important; padding-left: 50px; padding-right: 0; text-align: left !important; }
  .timeline-item .timeline-dot { left: 13px !important; right: auto !important; }

  /* Winners grid mobile */
  .winners-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .winner-card-info { padding: 0.75rem; }
  .winner-card-info h3 { font-size: 0.85rem; }

  /* Profile mobile */
  .profile-grid { grid-template-columns: 1fr; gap: 2rem; }
  .profile-photo { position: static; max-width: 320px; margin: 0 auto; }
  .profile-photo-placeholder { aspect-ratio: 1; }
  .profile-info h1 { -webkit-text-fill-color: var(--navy); }

  /* Search */
  .search-form { flex-direction: column; }
}

@media (max-width: 480px) {
  .stats-container { flex-direction: column; gap: 1.5rem; }
  .winner-highlight-grid { grid-template-columns: 1fr; }
}

/* ============================================
   Vote Button
   ============================================ */
.winner-card-wrapper {
  position: relative;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1.5px solid var(--border);
  background: var(--white);
  border-radius: 50px;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all var(--transition);
  color: var(--text-light);
}
.vote-btn:hover {
  border-color: #e74c6f;
  color: #e74c6f;
  background: #fef2f5;
}
.vote-btn.voted {
  border-color: #e74c6f;
  color: #e74c6f;
  background: #fef2f5;
}
.vote-btn.voted .vote-heart {
  color: #e74c6f;
}
.vote-heart {
  font-size: 1.1em;
  line-height: 1;
  transition: transform 0.3s ease;
}
.vote-btn:hover .vote-heart,
.vote-btn.voted .vote-heart {
  transform: scale(1.2);
}
.vote-count {
  font-size: 0.85em;
  font-weight: 600;
}

/* Vote on winner card */
.vote-btn--card {
  position: absolute;
  top: 0.6rem;
  left: 0.6rem;
  padding: 0.3rem 0.65rem;
  font-size: 0.75rem;
  z-index: 3;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(4px);
}

/* Vote on profile page */
.profile-vote {
  margin: 1.5rem 0;
}
.vote-btn--profile {
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
}
.vote-label {
  font-weight: 500;
}

/* Vote animation */
@keyframes votePulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.4); }
  100% { transform: scale(1); }
}
.vote-btn.vote-animate .vote-heart {
  animation: votePulse 0.4s ease;
}

/* ============================================
   Support / Comments Section
   ============================================ */
.support-section {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 2px solid var(--border);
}
.support-section h2 {
  font-size: 1.75rem;
  margin-bottom: 0.25rem;
}
.support-subtitle {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

/* Comment Form */
.support-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.5rem;
  margin-bottom: 2rem;
}
.support-form-row {
  margin-bottom: 1rem;
}
.support-form-row:last-child {
  margin-bottom: 0;
}
.support-input,
.support-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--text);
  background: var(--off-white);
  transition: border-color var(--transition);
  outline: none;
}
.support-input:focus,
.support-textarea:focus {
  border-color: var(--gold);
}
.support-textarea {
  resize: vertical;
  min-height: 80px;
}
.support-form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.support-char-count {
  font-size: 0.8rem;
  color: var(--text-light);
}
.support-submit {
  padding: 0.65rem 1.75rem;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--transition);
}
.support-submit:hover {
  background: var(--gold-dark);
}
.support-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
.support-msg {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  padding: 0.5rem 0;
}
.support-msg.success { color: #38a169; }
.support-msg.error { color: #e53e3e; }

/* Comments List */
.support-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.support-loading {
  text-align: center;
  color: var(--text-light);
  padding: 2rem;
}
.support-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: box-shadow var(--transition);
}
.support-card:hover {
  box-shadow: var(--shadow);
}
.support-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}
.support-card-name {
  font-weight: 600;
  color: var(--navy);
  font-size: 0.95rem;
}
.support-card-date {
  font-size: 0.8rem;
  color: var(--text-light);
}
.support-card-message {
  color: var(--text);
  line-height: 1.7;
  font-size: 0.95rem;
}
.support-empty {
  text-align: center;
  color: var(--text-light);
  padding: 2rem;
  font-style: italic;
}

/* Load More */
.support-load-more {
  text-align: center;
  margin-top: 1rem;
}
.support-load-more-btn {
  padding: 0.6rem 2rem;
  background: transparent;
  border: 1.5px solid var(--gold);
  color: var(--gold-dark);
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
}
.support-load-more-btn:hover {
  background: var(--gold);
  color: var(--white);
}

/* ============================================
   Bottom Navigation (Mobile)
   ============================================ */
.bnav {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--white);
  border-top: 1px solid var(--border);
  box-shadow: 0 -2px 12px rgba(27, 42, 74, 0.08);
  padding: 0;
  padding-bottom: env(safe-area-inset-bottom, 0);
}

@media (max-width: 768px) {
  .bnav {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
  }
}

.bnav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 1;
  padding: 8px 4px 6px;
  color: var(--text-light);
  text-decoration: none;
  transition: color var(--transition);
  -webkit-tap-highlight-color: transparent;
  position: relative;
}

.bnav-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 32px;
  height: 3px;
  background: var(--gold);
  border-radius: 0 0 3px 3px;
  transition: transform var(--transition);
}

.bnav-active::before {
  transform: translateX(-50%) scaleX(1);
}

.bnav-active {
  color: var(--gold-dark);
}

.bnav-active .bnav-icon {
  stroke: var(--gold-dark);
}

.bnav-icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  margin-bottom: 2px;
  transition: transform 0.15s ease;
}

.bnav-item:active .bnav-icon {
  transform: scale(0.9);
}

.bnav-label {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1;
}
