/*
Theme Name: HallyuWave
Theme URI: https://hallyuwave.com
Author: HallyuWave
Description: A dark K-Pop magazine theme for HallyuWave
Version: 1.3
*/

/* ─── VARIABLES ─────────────────────────────────────────── */
:root {
  --bg:        #0a0a0f;
  --bg2:       #111118;
  --card:      #16161f;
  --border:    rgba(255,255,255,0.07);
  --pink:      #ff2d6e;
  --pink-dim:  #c41e53;
  --cyan:      #00e5ff;
  --gold:      #ffd166;
  --white:     #f0eef6;
  --muted:     #7a7a99;
  --font-hero: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-kr:   'Nanum Gothic', sans-serif;
}

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { display: block; width: 100%; }

/* ─── ELEMENTOR WIDTH FIX (홈페이지만) ──────────────────── */
body.home .elementor-section-wrap,
body.home .elementor-section-wrap > .elementor-section,
body.home .elementor-section-wrap > .elementor-section > .elementor-container,
body.home .e-con,
body.home .e-con-inner {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
}
body.home .elementor-widget-wrap {
  padding: 0 !important;
}
/* ─── ASTRA THEME OVERRIDE ───────────────────────────────── */
#page,
#content,
.site,
.ast-container,
.ast-flex,
.site-content,
.ast-article-post,
.content-area,
.primary,
#primary,
#main,
.site-main,
.ast-separate-container,
.ast-page-builder-template {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  background: var(--bg) !important;
}

body {
  background: var(--bg) !important;
}

/* Elementor 홈페이지 컨테이너 */
body.home .elementor-section-wrap,
body.home .e-con,
body.home .e-con-inner {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
}

/* ─── GRAIN OVERLAY ─────────────────────────────────────── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  opacity: 0.03;
  pointer-events: none;
}

/* ─── SEARCH ─────────────────────────────────────────────── */
a.search-btn,
.search-btn {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  color: var(--muted) !important;
  cursor: pointer !important;
  padding: 6px !important;
  display: flex !important;
  align-items: center !important;
  transition: color 0.2s !important;
  outline: none !important;
  border-radius: 0 !important;
  text-decoration: none !important;
}
a.search-btn:hover,
.search-btn:hover { color: var(--white) !important; }
.search-btn svg { display: block; }

/* 검색 오버레이 */
.search-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(10,10,15,0.97);
  backdrop-filter: blur(20px);
  align-items: center;
  justify-content: center;
}
.search-overlay.open {
  display: flex;
}
/* 검색 오버레이 */
.search-overlay {
  display: none !important;
  position: fixed !important;
  top: 0 !important; left: 0 !important;
  right: 0 !important; bottom: 0 !important;
  z-index: 99999 !important;
  background: rgba(10,10,15,0.97) !important;
  align-items: center !important;
  justify-content: center !important;
}
.search-overlay.open {
  display: flex !important;
}
.search-box {
  width: 90% !important;
  max-width: 640px !important;
  padding: 0 24px !important;
}
.search-box form {
  display: flex !important;
  align-items: center !important;
  border-bottom: 2px solid #ff2d6e !important;
  padding-bottom: 12px !important;
  background: transparent !important;
  margin: 0 !important;
}
.search-input {
  flex: 1 !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 1.5rem !important;
  font-weight: 300 !important;
  padding: 8px 0 !important;
  width: 100% !important;
  display: block !important;
  -webkit-appearance: none !important;
  -webkit-text-fill-color: #ffffff !important;
}
.search-input::placeholder { color: #7a7a99 !important; }
.search-submit {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #ff2d6e !important;
  cursor: pointer !important;
  padding: 8px !important;
  display: flex !important;
}
.search-hint {
  font-size: 0.75rem !important;
  color: #7a7a99 !important;
  margin-top: 12px !important;
  letter-spacing: 0.06em !important;
  display: block !important;
}

/* ─── NAV ────────────────────────────────────────────────── */
nav.site-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 48px;
  height: 64px;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-logo {
  font-family: var(--font-hero);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: var(--white);
}
.nav-logo span { color: var(--pink); }
.nav-links {
  display: flex; gap: 40px;
  list-style: none;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nav-links a {
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; left: 0; bottom: -4px;
  height: 1px; width: 0;
  background: var(--pink);
  transition: width 0.25s;
}
.nav-links a:hover,
.nav-links .current-menu-item a { color: var(--white); }
.nav-links .current-menu-item a::after,
.nav-links a:hover::after { width: 100%; }
.nav-cta {
  background: var(--pink);
  color: #fff;
  padding: 8px 20px;
  border-radius: 2px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s;
}
.nav-cta:hover { background: var(--pink-dim); }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 48px 80px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 70% 40%, rgba(255,45,110,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 20% 70%, rgba(0,229,255,0.10) 0%, transparent 60%),
    linear-gradient(160deg, #0a0a0f 0%, #12101c 100%);
}
.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    conic-gradient(from 270deg at 65% -10%, rgba(255,45,110,0.25) 0deg, transparent 30deg),
    conic-gradient(from 260deg at 80% -5%,  rgba(0,229,255,0.15) 0deg, transparent 25deg);
}
.hero-tag {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,45,110,0.15);
  border: 1px solid rgba(255,45,110,0.4);
  color: var(--pink);
  padding: 6px 14px;
  border-radius: 2px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 24px;
  width: fit-content;
  animation: fadeUp 0.8s ease both;
}
.hero-tag::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--pink);
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero h1 {
  position: relative; z-index: 1;
  font-family: var(--font-hero);
  font-size: clamp(4rem, 12vw, 10rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: var(--white);
  animation: fadeUp 0.9s 0.1s ease both;
}
.hero h1 em {
  font-style: normal;
  color: transparent;
  -webkit-text-stroke: 2px var(--pink);
}
.hero-sub {
  position: relative; z-index: 1;
  margin-top: 28px;
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 480px;
  font-weight: 300;
  animation: fadeUp 1s 0.2s ease both;
}
.hero-actions {
  position: relative; z-index: 1;
  display: flex; gap: 16px; margin-top: 40px;
  animation: fadeUp 1s 0.3s ease both;
}
.btn-primary {
  background: var(--pink);
  color: #fff;
  padding: 14px 32px;
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: none; cursor: pointer; display: inline-block;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
  transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: var(--pink-dim); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  font-weight: 500;
  font-size: 0.88rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid var(--border);
  cursor: pointer; display: inline-block;
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--white); }
.hero-scroll {
  position: absolute; bottom: 32px; right: 48px; z-index: 1;
  display: flex; align-items: center; gap: 10px;
  font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--muted);
}
.hero-scroll::before {
  content: '';
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, transparent, var(--muted));
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── SECTION WRAPPER ────────────────────────────────────── */
section { position: relative; z-index: 1; }
.container { max-width: 1280px; margin: 0 auto; padding: 0 48px; }
.section-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: 40px;
}
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pink);
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-hero);
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0.04em;
  line-height: 1;
}
.see-all {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  display: flex; align-items: center; gap: 6px;
  transition: color 0.2s;
}
.see-all:hover { color: var(--pink); }
.see-all::after { content: '→'; }

/* ─── TICKER ─────────────────────────────────────────────── */
.ticker-bar {
  background: var(--pink);
  padding: 10px 0;
  overflow: hidden;
  white-space: nowrap;
}
.ticker-inner {
  display: inline-flex;
  animation: ticker 30s linear infinite;
}
.ticker-item {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0 40px;
  color: #fff;
}
.ticker-item::before { content: '★  '; }
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ─── TRENDING CARDS ─────────────────────────────────────── */
.trending { padding: 80px 0; }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s, border-color 0.25s;
}
.card:hover { transform: translateY(-6px); border-color: rgba(255,45,110,0.4); }
.card-img {
  aspect-ratio: 3/4;
  background: #1e1e2e;
  position: relative;
  overflow: hidden;
}
.card-img.g1 { background: linear-gradient(135deg, #1a1a2e 0%, #4a1942 50%, #ff2d6e33 100%); }
.card-img.g2 { background: linear-gradient(135deg, #0d1b2a 0%, #1b3a4b 50%, #00e5ff22 100%); }
.card-img.g3 { background: linear-gradient(135deg, #1a1a0a 0%, #2d2b00 50%, #ffd16622 100%); }
.card-img.g4 { background: linear-gradient(135deg, #1a0a1a 0%, #3b0764 50%, #a855f722 100%); }
.card-img-label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-hero);
  font-size: 3rem;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.15);
}
.card-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--pink);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 8px;
}
.card-body { padding: 18px; }
.card-genre {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 6px;
}
.card-title {
  font-family: var(--font-hero);
  font-size: 1.3rem;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.card-meta { font-size: 0.8rem; color: var(--muted); }

/* ─── SPOTLIGHT ──────────────────────────────────────────── */
.spotlight {
  padding: 80px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.spotlight-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.spotlight-visual { position: relative; }
.spotlight-img-frame {
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, #1a0a2e 0%, #3b1064 40%, #ff2d6e22 100%);
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.spotlight-img-frame::after {
  content: 'ARTIST';
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-hero);
  font-size: 5rem;
  color: rgba(255,255,255,0.06);
  letter-spacing: 0.2em;
}
.spotlight-accent {
  position: absolute;
  bottom: -20px; right: -20px;
  width: 60%; height: 60%;
  border: 1px solid var(--pink);
  opacity: 0.3;
  pointer-events: none;
}
.monthly-badge {
  position: absolute; top: 20px; left: -16px;
  background: var(--gold);
  color: #0a0a0f;
  padding: 8px 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 50%, 100% 100%, 0 100%);
}
.spotlight-name {
  font-family: var(--font-hero);
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0.03em;
  margin-bottom: 8px;
}
.spotlight-kr {
  font-family: var(--font-kr);
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 24px;
}
.spotlight-desc {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 420px;
}
.stats-row { display: flex; gap: 40px; margin-bottom: 36px; }
.stat-num {
  font-family: var(--font-hero);
  font-size: 2.2rem;
  color: var(--white);
  line-height: 1;
}
.stat-num span { color: var(--pink); font-size: 1.4rem; }
.stat-label {
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 4px;
}

/* ─── NEWS ───────────────────────────────────────────────── */
.news { padding: 80px 0; }
.news-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
}
.news-featured {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: border-color 0.25s;
}
.news-featured:hover { border-color: rgba(255,45,110,0.4); }
.news-featured-img {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #0d1b2a 0%, #1b3a4b 60%, #00e5ff11 100%);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-hero);
  font-size: 4rem;
  color: rgba(255,255,255,0.06);
  letter-spacing: 0.2em;
  overflow: hidden;
}
.news-featured-img img { width: 100%; height: 100%; object-fit: cover; }
.news-featured-body { padding: 28px; }
.news-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  border: 1px solid var(--cyan);
  padding: 3px 8px;
  margin-bottom: 12px;
}
.news-featured-title {
  font-family: var(--font-hero);
  font-size: 1.8rem;
  letter-spacing: 0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.news-featured-excerpt { font-size: 0.88rem; color: var(--muted); line-height: 1.7; }
.news-date { font-size: 0.72rem; color: var(--muted); margin-top: 16px; }
.news-sidebar { display: flex; flex-direction: column; gap: 16px; }
.news-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 20px;
  cursor: pointer;
  transition: border-color 0.25s;
  display: flex; gap: 16px;
}
.news-item:hover { border-color: rgba(255,45,110,0.4); }
.news-item-num {
  font-family: var(--font-hero);
  font-size: 2.5rem;
  color: var(--border);
  line-height: 1;
  flex-shrink: 0;
  width: 40px;
}
.news-item-title { font-weight: 700; font-size: 0.9rem; line-height: 1.4; margin-bottom: 6px; }
.news-item-meta { font-size: 0.72rem; color: var(--muted); }

/* ─── GUIDE ──────────────────────────────────────────────── */
.guide-band {
  padding: 80px 0;
  background: var(--bg2);
  border-top: 1px solid var(--border);
}
.guide-inner { display: flex; align-items: center; gap: 80px; }
.guide-text { flex: 1; }
.guide-text h2 {
  font-family: var(--font-hero);
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1;
  letter-spacing: 0.03em;
  margin-bottom: 16px;
}
.guide-text h2 em { font-style: normal; color: var(--cyan); }
.guide-text p { font-size: 0.95rem; color: var(--muted); line-height: 1.8; margin-bottom: 28px; max-width: 400px; }
.guide-steps { flex: 1; display: flex; flex-direction: column; gap: 20px; }
.guide-step {
  display: flex; gap: 20px; align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  padding: 20px; border-radius: 4px;
  transition: border-color 0.25s; cursor: pointer;
}
.guide-step:hover { border-color: var(--cyan); }
.step-num { font-family: var(--font-hero); font-size: 2rem; color: var(--cyan); line-height: 1; flex-shrink: 0; width: 36px; }
.step-title { font-weight: 700; font-size: 0.95rem; margin-bottom: 4px; }
.step-desc { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }

/* ─── POLLS ──────────────────────────────────────────────── */
.quiz-cta { padding: 80px 0; text-align: left; }
.polls-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.poll-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 28px;
  transition: border-color 0.25s;
}
.poll-card:hover { border-color: rgba(255,45,110,0.35); }
.poll-question { font-weight: 700; font-size: 1rem; line-height: 1.4; margin-bottom: 22px; }
.poll-options { display: flex; flex-direction: column; gap: 12px; }
.poll-option {
  display: flex; align-items: center; gap: 10px;
  cursor: pointer; padding: 8px 10px; border-radius: 3px;
  border: 1px solid transparent;
  transition: border-color 0.2s, background 0.2s;
}
.poll-option:hover { border-color: var(--pink); background: rgba(255,45,110,0.05); }
.poll-option.voted { border-color: var(--pink); background: rgba(255,45,110,0.08); }
.poll-label { font-size: 0.85rem; font-weight: 500; flex-shrink: 0; min-width: 110px; }
.poll-bar-wrap { flex: 1; height: 4px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; }
.poll-bar { height: 100%; background: var(--pink); border-radius: 2px; transition: width 0.5s ease; }
.poll-pct { font-size: 0.78rem; font-weight: 700; color: var(--muted); flex-shrink: 0; width: 34px; text-align: right; }
.poll-option.voted .poll-pct { color: var(--pink); }
.poll-total { font-size: 0.72rem; color: var(--muted); margin-top: 16px; letter-spacing: 0.04em; }

/* ─── VIDEOS ─────────────────────────────────────────────── */
.videos { padding: 80px 0; }
.videos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.video-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s, border-color 0.25s;
}
.video-card:hover { transform: translateY(-4px); border-color: rgba(255,45,110,0.4); }
.video-thumb {
  aspect-ratio: 16/9;
  position: relative;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.video-thumb.v1 { background: linear-gradient(135deg, #1a0020 0%, #3d0060 100%); }
.video-thumb.v2 { background: linear-gradient(135deg, #001a20 0%, #003d50 100%); }
.video-thumb.v3 { background: linear-gradient(135deg, #1a1000 0%, #3d2800 100%); }
.play-btn {
  width: 52px; height: 52px;
  background: rgba(255,45,110,0.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
  transition: transform 0.2s, background 0.2s;
  position: relative; z-index: 1;
}
.video-card:hover .play-btn { transform: scale(1.1); background: var(--pink); }
.video-duration {
  position: absolute; bottom: 8px; right: 10px;
  background: rgba(0,0,0,0.8);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  z-index: 1;
}
.video-info { padding: 14px 18px; }
.video-title { font-weight: 700; font-size: 0.9rem; margin-bottom: 4px; line-height: 1.3; }
.video-meta { font-size: 0.75rem; color: var(--muted); }

/* ─── NEWSLETTER ─────────────────────────────────────────── */
.newsletter { padding: 80px 0; background: var(--bg2); border-top: 1px solid var(--border); }
.newsletter-inner { display: flex; align-items: center; gap: 80px; }
.newsletter-text { flex: 1; }
.newsletter-text h2 { font-family: var(--font-hero); font-size: clamp(2rem, 4vw, 3.2rem); letter-spacing: 0.03em; margin-bottom: 12px; }
.newsletter-text p { font-size: 0.9rem; color: var(--muted); line-height: 1.7; }
.newsletter-form { flex: 1; display: flex; }
.newsletter-input {
  flex: 1;
  background: var(--card);
  border: 1px solid var(--border);
  border-right: none;
  color: var(--white);
  padding: 14px 20px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-input::placeholder { color: var(--muted); }
.newsletter-input:focus { border-color: var(--pink); }
.newsletter-btn {
  background: var(--pink);
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s;
}
.newsletter-btn:hover { background: var(--pink-dim); }

/* ─── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 60px 48px 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 0.85rem; color: var(--muted); line-height: 1.7; max-width: 280px; margin-top: 16px; }
.footer-col h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--white); margin-bottom: 20px; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 0.85rem; color: var(--muted); transition: color 0.2s; }
.footer-links a:hover { color: var(--pink); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 28px; display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 0.78rem; color: var(--muted); }
.footer-kr { font-family: var(--font-kr); color: var(--muted); font-size: 0.85rem; }

/* ─── SINGLE POST ────────────────────────────────────────── */
.single-post-wrap { max-width: 800px; margin: 100px auto 80px; padding: 0 48px; }
.single-post-wrap h1 { font-family: var(--font-hero); font-size: clamp(2.5rem, 5vw, 4rem); line-height: 1; letter-spacing: 0.03em; margin-bottom: 20px; }
.post-meta { font-size: 0.8rem; color: var(--muted); margin-bottom: 32px; display: flex; gap: 16px; }
.post-content { font-size: 1rem; line-height: 1.9; color: var(--white); }
.post-content p { margin-bottom: 20px; }
.post-content h2 { font-family: var(--font-hero); font-size: 2rem; margin: 40px 0 16px; }
.post-content img { border-radius: 4px; margin: 32px 0; }
.post-thumbnail { 
  margin-bottom: 40px;
  background: transparent;
}
.post-thumbnail img { 
  width: 100%; 
  height: auto !important; 
  max-height: none !important;
  object-fit: unset !important;
  display: block;
  border-radius: 4px;
}

/* ─── ARCHIVE / CATEGORY PAGE ────────────────────────────── */
.archive-wrap { max-width: 1280px; margin: 100px auto 80px; padding: 0 48px; }
.archive-title { font-family: var(--font-hero); font-size: clamp(2rem, 4vw, 3.5rem); margin-bottom: 8px; }
.archive-subtitle { color: var(--muted); font-size: 0.9rem; margin-bottom: 48px; }
.archive-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.archive-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s;
}
.archive-card:hover { transform: translateY(-4px); border-color: rgba(255,45,110,0.4); }
.archive-card-img { aspect-ratio: 16/9; overflow: hidden; background: linear-gradient(135deg, #1a0a2e 0%, #3b1064 100%); }
.archive-card-img img { width: 100%; height: 100%; object-fit: cover; }
.archive-card-body { padding: 20px; }
.archive-card-cat { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--cyan); margin-bottom: 8px; }
.archive-card-title { font-family: var(--font-hero); font-size: 1.3rem; letter-spacing: 0.03em; line-height: 1.1; margin-bottom: 8px; }
.archive-card-excerpt { font-size: 0.82rem; color: var(--muted); line-height: 1.6; }
.archive-card-date { font-size: 0.72rem; color: var(--muted); margin-top: 12px; }

a.hero-tag { cursor: pointer; }
a.hero-tag:hover { background: rgba(255,45,110,0.25); }

.nav-right {
  display: flex; align-items: center; gap: 16px;
}
.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-menu {
  display: none;
  position: fixed; top: 56px; left: 0; right: 0; z-index: 99;
  background: rgba(10,10,15,0.98);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.mobile-menu.open { max-height: 300px; }
.mobile-menu ul { list-style: none; padding: 16px 20px; }
.mobile-menu ul li { border-bottom: 1px solid var(--border); }
.mobile-menu ul li:last-child { border-bottom: none; }
.mobile-menu ul li a {
  display: block;
  padding: 16px 0;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  transition: color 0.2s;
}
.mobile-menu ul li a:hover { color: var(--pink); }

@media (max-width: 768px) {
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .nav-cta { display: none; }
}

/* ─── MOBILE RESPONSIVE ──────────────────────────────────── */
@media (max-width: 768px) {

  /* NAV */
  nav.site-nav {
    padding: 0 20px;
    height: 56px;
  }
  .nav-logo { font-size: 1.2rem; }
  .nav-links { display: none; }
  .nav-cta {
    font-size: 0.7rem;
    padding: 6px 12px;
  }

  /* HERO */
  .hero {
    padding: 70px 20px 60px;
    min-height: auto;
    justify-content: flex-start;
  }
  .hero h1 {
    font-size: clamp(3rem, 16vw, 5rem);
    line-height: 0.95;
  }
  .hero-sub {
    font-size: 0.9rem;
    margin-top: 16px;
  }
  .hero-actions {
    flex-direction: column;
    gap: 12px;
    margin-top: 28px;
  }
  .btn-primary, .btn-ghost {
    padding: 12px 24px;
    font-size: 0.82rem;
    text-align: center;
  }
  .hero-scroll { display: none; }

  /* CONTAINER */
  .container { padding: 0 20px; }

  /* SECTION */
  .trending, .news, .videos, .quiz-cta, .guide-band, .newsletter, .features-section {
    padding: 48px 0;
  }
  .section-header { margin-bottom: 24px; }
  .section-title { font-size: 1.8rem; }

  /* CARDS GRID — 2열 */
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .card-title { font-size: 1rem; }
  .card-meta { font-size: 0.72rem; }
  .card-badge { font-size: 0.58rem; padding: 2px 6px; }

  /* SPOTLIGHT */
  .spotlight-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .spotlight-accent { display: none; }
  .spotlight-name { font-size: 3rem; }
  .stats-row { gap: 24px; }

  /* NEWS */
  .news-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .news-featured-title { font-size: 1.3rem; }
  .news-sidebar { gap: 12px; }

  /* GUIDE */
  .guide-inner {
    flex-direction: column;
    gap: 32px;
  }
  .guide-text h2 { font-size: 2.2rem; }

  /* POLLS */
  .polls-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  /* VIDEOS */
  .videos-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  /* NEWSLETTER */
  .newsletter-inner {
    flex-direction: column;
    gap: 24px;
  }
  .newsletter-form {
    flex-direction: column;
    gap: 0;
  }
  .newsletter-input { border-right: 1px solid var(--border); border-bottom: none; }
  .newsletter-btn { padding: 14px; }

  /* FOOTER */
  .site-footer { padding: 48px 20px 24px; }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  /* SINGLE POST */
  .single-post-wrap {
    margin: 80px auto 48px;
    padding: 0 20px;
  }
  .single-post-wrap h1 { font-size: 2rem; }

  /* ARCHIVE */
  .archive-wrap {
    margin: 80px auto 48px;
    padding: 0 20px;
  }
  .archive-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* 태블릿 */
@media (min-width: 769px) and (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .videos-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .spotlight-inner { gap: 40px; }
  .container { padding: 0 32px; }
  nav.site-nav { padding: 0 32px; }
  .nav-links { gap: 20px; font-size: 0.75rem; }
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-legal-sep {
  color: var(--border);
  font-size: 0.75rem;
}
.footer-legal a {
  font-size: 0.75rem;
  color: var(--muted);
  transition: color 0.2s;
}
.footer-legal a:hover { color: var(--pink); }

.footer-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 2px;
  transition: color 0.2s, border-color 0.2s;
}
.footer-email svg { flex-shrink: 0; }
.footer-email:hover { color: var(--pink); border-color: var(--pink); }

/* ─── PAGINATION ─────────────────────────────────────────── */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.page-btn {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 10px 24px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: border-color 0.2s, color 0.2s;
}
.page-btn:hover { border-color: var(--pink); color: var(--pink); }
.page-info { font-size: 0.8rem; color: var(--muted); }

/* ─── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--pink); }

/* ─── CONTACT PAGE ───────────────────────────────────────── */

/* Hero */
.contact-hero {
  padding: 140px 48px 80px;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 60% 50% at 80% 50%, rgba(255,45,110,0.10) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 10% 60%, rgba(0,229,255,0.07) 0%, transparent 60%);
}
.contact-hero-inner { max-width: 800px; }
.contact-hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,45,110,0.12);
  border: 1px solid rgba(255,45,110,0.35);
  color: var(--pink);
  padding: 6px 14px;
  border-radius: 2px;
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 28px;
}
.contact-hero h1 {
  font-family: var(--font-hero);
  font-size: clamp(3rem, 7vw, 6rem);
  line-height: 0.95; letter-spacing: 0.02em;
  color: var(--white);
  margin-bottom: 20px;
}
.contact-hero h1 em {
  font-style: normal; color: transparent;
  -webkit-text-stroke: 2px var(--pink);
}
.contact-hero-sub {
  font-size: 1.1rem; color: var(--muted);
  font-weight: 300; max-width: 480px; line-height: 1.6;
}

/* Main Grid */
.contact-main { padding: 80px 48px 100px; }
.contact-grid {
  max-width: 1200px; margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 64px;
  align-items: start;
}

/* Form Section */
.contact-section-title {
  font-family: var(--font-hero);
  font-size: 1.8rem; letter-spacing: 0.03em;
  color: var(--white); margin-bottom: 32px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--muted);
}
.form-group label .required { color: var(--pink); margin-left: 2px; }

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 14px 16px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  border-radius: 3px;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
  width: 100%;
  box-sizing: border-box;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(255,45,110,0.6);
  background: rgba(255,255,255,0.06);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(122,122,153,0.6); }
.contact-form select { appearance: none; cursor: pointer; }
.contact-form select option { background: #1a1a26 !important; color: #f0eef6 !important; }
.contact-form textarea { resize: vertical; min-height: 140px; line-height: 1.6; }

.contact-submit {
  display: inline-flex; align-items: center; gap: 10px;
  align-self: flex-start;
  padding: 15px 36px;
  font-size: 0.88rem;
  cursor: pointer;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 10px 100%, 0 calc(100% - 10px));
}
.contact-submit:disabled { opacity: 0.6; cursor: not-allowed; }

/* Form Notice */
.form-notice {
  padding: 14px 18px;
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 4px;
}
.form-notice--success {
  background: rgba(0,229,150,0.12);
  border: 1px solid rgba(0,229,150,0.3);
  color: #00e596;
}
.form-notice--error {
  background: rgba(255,45,110,0.10);
  border: 1px solid rgba(255,45,110,0.3);
  color: var(--pink);
}

/* Info Cards */
.contact-info-wrap { display: flex; flex-direction: column; gap: 16px; }
.contact-info-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 24px;
  display: flex; gap: 18px; align-items: flex-start;
  transition: border-color 0.2s;
}
.contact-info-card:hover { border-color: rgba(255,45,110,0.3); }
.contact-info-card--faq { flex-direction: column; gap: 16px; }

.contact-info-icon {
  width: 40px; height: 40px; flex-shrink: 0;
  background: rgba(255,45,110,0.12);
  border: 1px solid rgba(255,45,110,0.25);
  border-radius: 4px;
  display: flex; align-items: center; justify-content: center;
  color: var(--pink);
}
.contact-info-card h3 {
  font-size: 1rem; font-weight: 700;
  color: var(--white); margin-bottom: 6px;
}
.contact-info-card p {
  font-size: 0.88rem; color: var(--muted); line-height: 1.6;
  margin-bottom: 8px;
}
.contact-info-link {
  font-size: 0.88rem; font-weight: 600;
  color: var(--pink); letter-spacing: 0.02em;
  transition: opacity 0.2s;
}
.contact-info-link:hover { opacity: 0.75; }
.contact-info-note {
  font-size: 0.82rem; color: var(--muted);
  font-style: italic;
}

/* FAQ mini list */
.contact-faq-list { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.contact-faq-list li {
  display: flex; flex-direction: column; gap: 4px;
  padding-left: 14px;
  border-left: 2px solid rgba(255,45,110,0.4);
}
.contact-faq-list strong { font-size: 0.88rem; color: var(--white); }
.contact-faq-list span { font-size: 0.84rem; color: var(--muted); line-height: 1.5; }

/* Responsive */
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-info-wrap { order: -1; }
}
@media (max-width: 640px) {
  .contact-hero { padding: 120px 24px 60px; }
  .contact-main { padding: 48px 24px 80px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-submit { align-self: stretch; justify-content: center; }
}

/* ─── FEATURES SECTION (Homepage) ───────────────────────────── */
.features-section { padding: 80px 0; background: rgba(255,255,255,0.02); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.features-hero-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.feat-main {
  display: flex; flex-direction: column;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  min-width: 0;
}
.feat-main:hover { border-color: rgba(255,45,110,0.5); transform: translateY(-3px); }

.feat-main-img {
  position: relative !important;
  height: 240px !important;
  min-height: 240px !important;
  max-height: 240px !important;
  width: 100% !important;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  overflow: hidden !important;
  flex-shrink: 0 !important;
  flex-grow: 0 !important;
  display: block !important;
}
.feat-main-img img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: 0.75;
  display: block !important;
}
.feat-main-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,15,0.85) 0%, transparent 60%);
}
.feat-main-badge {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,45,110,0.15);
  border: 1px solid rgba(255,45,110,0.4);
  color: var(--pink);
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 2px;
}
.feat-main-body { padding: 24px; flex: 1; display: flex; flex-direction: column; gap: 12px; }
.feat-main-title {
  font-family: var(--font-hero);
  font-size: clamp(1.3rem, 2vw, 1.8rem);
  line-height: 1.1; letter-spacing: 0.02em;
  color: var(--white);
}
.feat-main-excerpt { font-size: 0.88rem; color: var(--muted); line-height: 1.7; flex: 1; }
.feat-main-meta { font-size: 0.75rem; color: rgba(122,122,153,0.7); margin-top: auto; }

/* 오른쪽 사이드바 */
.feat-sidebar {
  display: flex; flex-direction: column;
  gap: 16px;
}
.feat-side-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
  flex: 1;
}
.feat-side-item:hover { border-color: rgba(255,45,110,0.5); transform: translateY(-2px); }

.feat-side-img {
  position: relative;
  width: 140px;
  min-width: 140px;
  flex-shrink: 0;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  overflow: hidden;
  min-height: 110px;
}
.feat-side-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.8; }
.feat-side-badge {
  position: absolute; top: 8px; left: 8px;
  background: rgba(255,45,110,0.15);
  border: 1px solid rgba(255,45,110,0.4);
  color: var(--pink);
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 7px; border-radius: 2px;
}
.feat-side-body {
  padding: 16px 16px 16px 0;
  display: flex; flex-direction: column;
  justify-content: center; gap: 8px;
}
.feat-side-title {
  font-family: var(--font-hero);
  font-size: 1rem; line-height: 1.15;
  letter-spacing: 0.02em; color: var(--white);
}
.feat-side-meta { font-size: 0.72rem; color: rgba(122,122,153,0.7); }

/* Responsive */
@media (max-width: 768px) {
  .features-hero-grid { grid-template-columns: 1fr !important; }
  .feat-main-img { height: 180px !important; max-height: 180px !important; }
  .feat-main-img img { max-height: 180px !important; }
  .feat-side-item { grid-template-columns: 100px 1fr !important; }
  .feat-side-img { width: 100px !important; min-width: 100px !important; min-height: 90px !important; }
}