@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Playfair+Display:wght@700&display=swap');

:root {
  --primary: #6c63ff;
  --secondary: #ff6584;
  --bg: #0d0d1a;
  --bg2: #13132a;
  --card: #1a1a30;
  --card-hover: #1f1f38;
  --text: #f0f0ff;
  --muted: rgba(240,240,255,0.55);
  --border: rgba(255,255,255,0.08);
  --radius: 14px;
}
[data-theme="light"] {
  --bg: #f4f4ff;
  --bg2: #eaeaff;
  --card: #ffffff;
  --card-hover: #f8f8ff;
  --text: #1a1a2e;
  --muted: #666;
  --border: rgba(0,0,0,0.08);
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}

/* ── HEADER ── */
.site-header {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 100;
  height: 64px;
}
.header-inner {
  max-width: 1280px; margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; }
.logo-mark {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1rem;
}
.logo-mark { width: 36px; height: 36px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 9px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1rem; font-weight: 800; flex-shrink: 0; }
.logo-text h1 { font-size: 1.2rem; font-weight: 800; color: var(--text); line-height: 1; }
.logo-text span { font-size: 0.65rem; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
.hdr-nav { display: flex; align-items: center; gap: 2px; flex: 1; justify-content: center; }
.hdr-nav a {
  color: var(--muted); text-decoration: none;
  padding: 6px 12px; border-radius: 8px;
  font-size: 0.8rem; font-weight: 500;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.hdr-nav a:hover { color: var(--text); background: rgba(108,99,255,0.15); }
.hdr-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.icon-btn {
  width: 36px; height: 36px;
  background: var(--card); border: 1px solid var(--border);
  color: var(--muted); border-radius: 9px;
  cursor: pointer; font-size: 0.9rem;
  display: flex; align-items: center; justify-content: center;
  transition: color 0.2s, background 0.2s;
}
.icon-btn:hover { color: var(--text); background: var(--card-hover); }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 6px; background: none; border: none; }
.hamburger span { width: 20px; height: 2px; background: var(--muted); border-radius: 2px; transition: all 0.25s; display: block; }

/* ── MOBILE NAV ── */
.mob-nav {
  display: none; position: fixed;
  top: 64px; left: 0; right: 0; bottom: 0;
  background: var(--bg); z-index: 99;
  overflow-y: auto; padding: 12px;
  flex-direction: column; gap: 4px;
}
.mob-nav.open { display: flex; }
.mob-nav a {
  color: var(--muted); text-decoration: none;
  padding: 12px 16px; border-radius: 10px;
  font-size: 0.9rem; border: 1px solid var(--border);
  transition: all 0.2s; display: flex; align-items: center; gap: 10px;
}
.mob-nav a:hover { background: var(--card); color: var(--text); }
.mob-nav a i { width: 18px; text-align: center; color: var(--primary); }

/* ── SEARCH BAR ── */
.search-bar {
  position: fixed; top: 64px; left: 0; right: 0;
  background: var(--bg2); border-bottom: 1px solid var(--border);
  padding: 12px 20px; z-index: 98;
  transform: translateY(-100%); opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
  pointer-events: none;
}
.search-bar.open { transform: translateY(0); opacity: 1; pointer-events: all; }
.search-inner { max-width: 560px; margin: 0 auto; position: relative; }
.search-inner i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--muted); font-size: 0.9rem; }
.search-inner input {
  width: 100%; padding: 11px 16px 11px 40px;
  background: var(--card); border: 1px solid var(--border);
  border-radius: 50px; color: var(--text);
  font-size: 0.9rem; font-family: 'Poppins', sans-serif; outline: none;
  transition: border-color 0.2s;
}
.search-inner input:focus { border-color: var(--primary); }
.search-inner input::placeholder { color: var(--muted); }

@media(max-width: 860px) { .hdr-nav { display: none; } .hamburger { display: flex; } }
@media(max-width: 480px) { .header-inner { padding: 0 14px; } }

/* ── HERO ── */
.hero {
  min-height: 80vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center; padding: 60px 20px 40px;
  background: radial-gradient(ellipse at 50% 0%, rgba(108,99,255,0.12) 0%, transparent 70%);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(108,99,255,0.1); border: 1px solid rgba(108,99,255,0.25);
  color: #a89cff; padding: 6px 16px; border-radius: 50px;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 1px;
  text-transform: uppercase; margin-bottom: 24px;
}
.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 6vw, 4.2rem);
  line-height: 1.15; margin-bottom: 18px;
}
.hero-title .grad {
  background: linear-gradient(135deg, #6c63ff, #ff6584);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-sub { font-size: 1rem; color: var(--muted); max-width: 520px; line-height: 1.75; margin-bottom: 32px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white; padding: 13px 28px; border-radius: 50px;
  text-decoration: none; font-weight: 600; font-size: 0.9rem;
  transition: opacity 0.2s, transform 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { opacity: 0.9; transform: translateY(-2px); }
.btn-secondary {
  background: var(--card); color: var(--text);
  padding: 13px 28px; border-radius: 50px;
  text-decoration: none; font-weight: 600; font-size: 0.9rem;
  border: 1px solid var(--border); transition: border-color 0.2s, transform 0.2s;
  display: inline-flex; align-items: center; gap: 8px;
}
.btn-secondary:hover { border-color: var(--primary); transform: translateY(-2px); }

/* ── STATS ── */
.stats-bar {
  display: flex; justify-content: center; flex-wrap: wrap;
  background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stat-item { padding: 24px 32px; text-align: center; border-right: 1px solid var(--border); flex: 1; min-width: 120px; }
.stat-item:last-child { border-right: none; }
.stat-item .num { font-size: 1.8rem; font-weight: 800; background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-item .lbl { font-size: 0.72rem; color: var(--muted); margin-top: 3px; text-transform: uppercase; letter-spacing: 1px; }

/* ── AD SLOT ── */
.ad-slot { background: var(--card); border: 1px dashed var(--border); border-radius: var(--radius); padding: 24px; text-align: center; color: var(--muted); font-size: 0.78rem; margin: 16px 20px; }

/* ── SECTION HEAD ── */
.sec-head { text-align: center; padding: 40px 20px 24px; }
.sec-head .tag { display: inline-block; background: rgba(108,99,255,0.1); border: 1px solid rgba(108,99,255,0.2); color: #a89cff; padding: 4px 14px; border-radius: 20px; font-size: 0.72rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 10px; }
.sec-head h2 { font-family: 'Playfair Display', serif; font-size: clamp(1.5rem, 4vw, 2.2rem); margin-bottom: 6px; }
.sec-head p { color: var(--muted); font-size: 0.87rem; }
.sec-line { width: 44px; height: 3px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 2px; margin: 10px auto 0; }

/* ── CATEGORY TABS ── */
.cat-tabs { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; padding: 0 20px 24px; }
.cat-tab {
  padding: 8px 20px; border-radius: 50px;
  border: 1px solid var(--border); background: var(--card);
  color: var(--muted); cursor: pointer; font-size: 0.8rem;
  font-family: 'Poppins', sans-serif; font-weight: 500;
  transition: all 0.2s; display: inline-flex; align-items: center; gap: 6px;
}
.cat-tab:hover { color: var(--text); border-color: var(--primary); }
.cat-tab.active { background: var(--primary); color: white; border-color: var(--primary); }

/* ── FEATURED CARDS ── */
.featured-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; max-width: 1280px; margin: 0 auto; padding: 0 20px 20px; }
.feat-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: 18px; padding: 20px;
  text-decoration: none; color: var(--text);
  display: flex; align-items: center; gap: 16px;
  transition: transform 0.22s, box-shadow 0.22s;
  position: relative; overflow: hidden;
}
.feat-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--fc, var(--primary));
}
.feat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,0.18); border-color: transparent; }
.feat-dot { width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0; background: var(--fc, var(--primary)); opacity: 0.15; }
.feat-body h4 { font-size: 0.95rem; font-weight: 700; margin-bottom: 4px; font-family: 'Playfair Display', serif; }
.feat-body p { font-size: 0.74rem; color: var(--muted); line-height: 1.45; }
.feat-body .arr { font-size: 0.73rem; color: var(--fc, var(--primary)); margin-top: 8px; font-weight: 600; display: block; }

/* ── FESTIVAL SECTIONS ── */
.festivals-wrap { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.f-section { margin-bottom: 52px; }
.f-sec-title {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px; padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.f-sec-title h3 {
  font-size: 1.15rem; font-weight: 700;
  font-family: 'Playfair Display', serif;
}
.f-sec-title .cnt {
  margin-left: auto;
  background: rgba(108,99,255,0.1); color: #a89cff;
  padding: 3px 12px; border-radius: 20px;
  font-size: 0.72rem; font-weight: 600;
}
.f-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 16px;
}

.f-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  text-decoration: none;
  color: var(--text);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-height: 160px;
}

/* Full gradient background that shows on hover */
.f-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(145deg, var(--fi-color, var(--primary)) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 18px;
  z-index: 0;
}

.f-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.22);
  border-color: transparent;
}
.f-card:hover::after { opacity: 0.12; }

/* Left accent bar */
.f-card::before {
  content: '';
  position: absolute;
  left: 0; top: 20%; bottom: 20%;
  width: 3px;
  background: var(--fi-color, var(--primary));
  border-radius: 0 3px 3px 0;
  opacity: 0.7;
}

.f-card-top { display: none; }

.f-card-body {
  padding: 22px 20px 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  flex: 1;
  position: relative;
  z-index: 1;
}

.f-cat-tag {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--fi-color, var(--primary));
  text-transform: uppercase;
  letter-spacing: 1.2px;
  opacity: 0.85;
}

.f-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  font-family: 'Playfair Display', serif;
  color: var(--text);
  margin: 0;
}

.f-card .f-date {
  font-size: 0.68rem;
  color: var(--muted);
  margin-top: 2px;
}

.f-card .f-arrow {
  font-size: 0.72rem;
  color: var(--fi-color, var(--primary));
  font-weight: 600;
  margin-top: auto;
  padding-top: 12px;
  display: flex;
  align-items: center;
  gap: 4px;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity 0.2s, transform 0.2s;
}
.f-card:hover .f-arrow {
  opacity: 1;
  transform: translateX(0);
}

.hot-dot {
  position: absolute; top: 14px; right: 14px;
  width: 7px; height: 7px; border-radius: 50%;
  background: #43e97b;
  z-index: 2;
}

/* ── WISH PAGES ── */
.page-hero {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
  padding: 0;
  margin-bottom: 0;
}
.page-hero-bar {
  height: 4px;
  background: var(--hero-color, var(--primary));
}
.page-hero .breadcrumb {
  padding: 12px 20px 0;
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 900px;
  margin: 0 auto;
}
.page-hero .breadcrumb a {
  color: var(--primary);
  text-decoration: none;
}
.page-hero .breadcrumb a:hover { text-decoration: underline; }
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  padding: 16px 20px 10px;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.25;
}
.page-hero-sub {
  padding: 0 20px 20px;
  max-width: 900px;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.88rem;
  display: block;
}
.container { max-width: 900px; margin: 0 auto; padding: 0 20px 40px; }
.wishes-section { margin: 32px 0; }
.wishes-section h2 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
  padding: 10px 14px;
  background: var(--bg2);
  border-left: 3px solid var(--primary);
  border-radius: 0 8px 8px 0;
  color: var(--text);
}
.wish-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 10px;
  transition: border-color 0.2s;
}
.wish-card:hover { border-color: rgba(108,99,255,0.35); }
.wish-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 24px; height: 24px;
  background: var(--primary);
  color: white; border-radius: 50%;
  font-size: 0.7rem; font-weight: 700;
  margin-bottom: 10px;
}
.wish-card p { font-size: 0.93rem; line-height: 1.75; color: var(--text); }
.wish-actions { display: flex; gap: 8px; margin-top: 12px; }
.copy-btn {
  background: var(--primary); color: white;
  border: none; padding: 7px 18px;
  border-radius: 6px; cursor: pointer;
  font-size: 0.78rem; font-weight: 600;
  font-family: 'Poppins', sans-serif;
  transition: opacity 0.2s;
}
.copy-btn:hover { opacity: 0.85; }
.copy-btn.copied { background: #22c55e; }
.section-title { text-align: center; margin-bottom: 28px; }
.section-title h2 { font-family: 'Playfair Display', serif; font-size: 1.6rem; margin-bottom: 6px; }
.section-title p { color: var(--muted); font-size: 0.87rem; }
.section-title .line { width: 44px; height: 3px; background: linear-gradient(135deg, var(--primary), var(--secondary)); border-radius: 2px; margin: 10px auto 0; }
.festival-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; margin: 20px 0; }
.festival-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 12px;
  text-align: center; text-decoration: none; color: var(--text);
  transition: border-color 0.2s, transform 0.2s;
}
.festival-card:hover { border-color: rgba(108,99,255,0.4); transform: translateY(-2px); }
.festival-card h3 { font-size: 0.85rem; font-weight: 600; margin-bottom: 3px; }
.festival-card span { font-size: 0.72rem; color: var(--muted); }
.festival-card .tag { display: inline-block; background: rgba(108,99,255,0.1); color: #a89cff; font-size: 0.62rem; padding: 2px 8px; border-radius: 10px; margin-top: 4px; }

/* ── FOOTER ── */
.site-footer { background: var(--bg2); border-top: 1px solid var(--border); margin-top: 60px; }
.footer-top { max-width: 1280px; margin: 0 auto; padding: 48px 20px 32px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px; }
.footer-brand p { color: var(--muted); font-size: 0.82rem; line-height: 1.65; max-width: 260px; margin-top: 12px; }
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.soc-btn { width: 34px; height: 34px; background: var(--card); border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--muted); text-decoration: none; font-size: 0.85rem; transition: color 0.2s, border-color 0.2s; }
.soc-btn:hover { color: var(--primary); border-color: var(--primary); }
.footer-col h5 { font-size: 0.75rem; font-weight: 700; color: var(--text); margin-bottom: 14px; text-transform: uppercase; letter-spacing: 1px; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.footer-col ul li a { color: var(--muted); text-decoration: none; font-size: 0.8rem; transition: color 0.2s; display: flex; align-items: center; gap: 7px; }
.footer-col ul li a:hover { color: var(--primary); }
.footer-col ul li a i { width: 14px; text-align: center; }
.footer-bottom { border-top: 1px solid var(--border); padding: 16px 20px; max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
.footer-bottom p { color: var(--muted); font-size: 0.75rem; }
.footer-links { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-links a { color: var(--muted); text-decoration: none; font-size: 0.75rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--primary); }

/* ── SCROLL TOP ── */
.scroll-top { position: fixed; bottom: 20px; right: 20px; width: 42px; height: 42px; background: var(--primary); border: none; border-radius: 50%; color: white; font-size: 0.9rem; cursor: pointer; z-index: 200; opacity: 0; transform: translateY(16px); transition: opacity 0.3s, transform 0.3s; }
.scroll-top.show { opacity: 1; transform: translateY(0); }
.scroll-top:hover { opacity: 0.85; }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media(max-width: 1024px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media(max-width: 640px) {
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .f-grid { grid-template-columns: repeat(3, 1fr); }
  .featured-grid { grid-template-columns: 1fr; }
  .stat-item { padding: 18px 16px; }
  .stat-item .num { font-size: 1.5rem; }
  .hero { min-height: 70vh; padding: 40px 16px 30px; }
  .hero-title { font-size: 1.9rem; }
  .cat-tabs { gap: 6px; }
  .cat-tab { padding: 7px 14px; font-size: 0.75rem; }
  .festivals-wrap { padding: 0 12px; }
  .f-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .f-card { min-height: 130px; }
  .f-card-body { padding: 16px 14px 14px 18px; gap: 5px; }
  .f-card h4 { font-size: 0.9rem; }
  .f-card .f-date { font-size: 0.64rem; }
  .f-card .f-arrow { padding-top: 8px; font-size: 0.68rem; }
  .wish-card { padding: 14px 14px; }
  .page-hero h1 { font-size: 1.4rem; padding: 12px 16px 20px; }
  .container { padding: 0 14px 30px; }
  .wishes-section h2 { font-size: 1rem; }
  .festival-grid { grid-template-columns: repeat(2, 1fr); }
}
@media(max-width: 360px) {
  .f-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .f-card h4 { font-size: 0.82rem; }
  .hero-title { font-size: 1.6rem; }
  .cat-tab { padding: 6px 10px; font-size: 0.72rem; }
}
