/* =============================================
   SEOULIS v3 — Global Styles
   ============================================= */

@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,900;1,700&display=swap');

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

:root {
  --bg: #0D1B2A;
  --gold: #C9A84C;
  --red: #FF2D55;
  --white: #FFFFFF;
  --gray: #8A9BB0;
  --card-bg: #122236;
  --border: rgba(201,168,76,0.2);
  --font-body: 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }

/* ── Typography ── */
.display { font-family: var(--font-display); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; }

/* ── Live Dot ── */
.live-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  background: var(--red);
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse 1.5s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(255,45,85,0.7); }
  50% { opacity: 0.8; transform: scale(1.15); box-shadow: 0 0 0 8px rgba(255,45,85,0); }
}

/* ── Card Grid ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
@media (max-width: 900px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .card-grid { grid-template-columns: 1fr; } }

/* ── Scroll Strip ── */
.scroll-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--gold) transparent;
}
.scroll-strip::-webkit-scrollbar { height: 4px; }
.scroll-strip::-webkit-scrollbar-track { background: transparent; }
.scroll-strip::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 2px; }

/* ── D-day Badge ── */
.badge-dday {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

/* ── Category Pills ── */
.pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  border-radius: 999px;
  text-transform: uppercase;
}
.pill-kpop   { background: #FF2D55; color: #fff; }
.pill-kdrama { background: #7C3AED; color: #fff; }
.pill-food   { background: #F59E0B; color: #000; }
.pill-places { background: #10B981; color: #fff; }
.pill-travel { background: #3B82F6; color: #fff; }
.pill-live   { background: #FF2D55; color: #fff; }

/* ── Section ── */
.section { padding: 3.5rem 1.5rem; max-width: 1200px; margin: 0 auto; }
.section-title {
  font-size: 1.6rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  color: var(--white);
}
.section-title span { color: var(--gold); }

/* ── Button ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.65rem 1.4rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  transition: all 0.2s;
  border: none;
}
.btn-gold { background: var(--gold); color: #000; }
.btn-gold:hover { background: #e0b85a; transform: translateY(-1px); }
.btn-outline { background: transparent; border: 2px solid var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: #000; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: #ff4d6d; }

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── Toast ── */
#lang-toast {
  position: fixed;
  bottom: 100px;
  right: 1.5rem;
  background: var(--card-bg);
  border: 1px solid var(--gold);
  color: var(--white);
  padding: 0.75rem 1.25rem;
  border-radius: 12px;
  font-size: 0.9rem;
  z-index: 9999;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s;
  pointer-events: none;
}
#lang-toast.show { opacity: 1; transform: translateY(0); }

/* ── Ticker ── */
@keyframes ticker {
  0%   { transform: translateX(100%); }
  100% { transform: translateX(-100%); }
}
.ticker-wrap { overflow: hidden; flex: 1; }
.ticker-text {
  display: inline-block;
  white-space: nowrap;
  animation: ticker 25s linear infinite;
}
