@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

/* Defensive: Hide theme chrome */
#header-outer, #header-space, #footer-outer, .nectar-skip-to-content,
#slide-out-widget-area-bg, #slide-out-widget-area, #off-canvas-menu-container,
.wp-block-navigation, .wp-block-social-links, .wp-block-site-title,
footer.wp-block-template-part, .wp-block-template-part:not(:first-child) header,
#ajax-loading-screen, #nectar_fullscreen_rows,
body > .container-wrap > .main-content > .row > .wpb_row:not(.celive-row) {
  display: none !important;
}
body { padding-top: 0 !important; margin: 0 !important; }
.container-wrap { padding: 0 !important; margin: 0 !important; }
.main-content { padding: 0 !important; margin: 0 !important; }
div.container-wrap { padding-top: 0 !important; }
.container.main-content, .container.main-content > .row { max-width: 100% !important; width: 100% !important; padding: 0 !important; margin: 0 !important; }
#ajax-content-wrap { background: var(--celive-navy); }

:root {
  --celive-navy: #191F37;
  --celive-white: #FFFFFF;
  --celive-light-gray: #F5F6F8;
  --celive-purple: #7870AC;
  --celive-mauve: #CAA8C9;
  --celive-rose: #C8657A;
  --celive-magenta: #BC2D68;
  --celive-gradient-brand: linear-gradient(135deg, #7870AC 0%, #CAA8C9 45%, #C8657A 100%);
  --celive-gradient-cta: linear-gradient(135deg, #7870AC 0%, #C8657A 55%, #BC2D68 100%);
  --celive-text-primary: #121212;
  --celive-text-muted: rgba(18,18,18,0.55);
  --celive-border-light: rgba(25,31,55,0.08);
  --celive-radius-sm: 10px;
  --celive-radius-md: 16px;
  --celive-radius-lg: 24px;
  --celive-shadow-soft: 0 10px 30px rgba(25,31,55,0.08);
  --celive-container: 1200px;
  --celive-font-main: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  --celive-font-en: 'Inter', 'Pretendard Variable', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
.kc-page { font-family: var(--celive-font-main); color: var(--celive-text-primary); -webkit-font-smoothing: antialiased; }
.kc-page a { text-decoration: none; color: inherit; }
.kc-container { max-width: var(--celive-container); margin: 0 auto; padding: 0 24px; }

/* Header (shared with main landing — celive- prefix) */
.kc-page .celive-header { position: fixed; top: 0; left: 0; right: 0; z-index: 9999; background: transparent; transition: background 0.35s ease, box-shadow 0.35s ease; }
.admin-bar .kc-page .celive-header { top: 32px; }
.admin-bar .kc-page .celive-mobile-menu { top: 104px; }
@media (max-width: 782px) { .admin-bar .kc-page .celive-header { top: 46px; } .admin-bar .kc-page .celive-mobile-menu { top: 118px; } }
.kc-page .celive-header.scrolled { background: rgba(25,31,55,0.95); backdrop-filter: blur(16px); box-shadow: 0 2px 24px rgba(0,0,0,0.18); }
.kc-page .celive-header-inner { max-width: var(--celive-container); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; height: 72px; }
.kc-page .celive-header .celive-logo-image { height: 40px; width: auto; }
.kc-page .celive-nav { display: flex; align-items: center; gap: 32px; }
.kc-page .celive-nav a { font-family: var(--celive-font-en); font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.75); transition: color 0.2s; }
.kc-page .celive-nav a:hover { color: #FFFFFF; }

/* Language Switch */
.kc-page .celive-lang-switch { display: flex; align-items: center; gap: 6px; margin-left: 16px; }
.kc-page .celive-lang-link { display: inline-flex; align-items: center; text-decoration: none; opacity: 0.5; transition: opacity 0.2s, transform 0.2s; line-height: 0; }
.kc-page .celive-lang-link:hover { opacity: 0.85; transform: scale(1.1); }
.kc-page .celive-lang-link.active { opacity: 1; }
.kc-page .celive-lang-link .celive-flag { width: 24px; height: 16px; border-radius: 2px; display: block; box-shadow: 0 0 0 0.5px rgba(0,0,0,0.15); }

/* Mobile Toggle & Menu */
.kc-page .celive-mobile-toggle { display: none; width: 28px; height: 28px; flex-direction: column; justify-content: center; gap: 5px; cursor: pointer; background: none; border: none; }
.kc-page .celive-mobile-toggle span { display: block; width: 100%; height: 2px; background: var(--celive-white); border-radius: 2px; transition: all 0.3s ease; }
.kc-page .celive-mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.kc-page .celive-mobile-toggle.active span:nth-child(2) { opacity: 0; }
.kc-page .celive-mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.kc-page .celive-mobile-menu { display: none; position: fixed; top: 76px; left: 0; right: 0; bottom: 0; background: rgba(25,31,55,0.98); backdrop-filter: blur(20px); padding: 32px 24px; z-index: 9998; overflow-y: auto; }
.kc-page .celive-mobile-menu.active { display: block; }
.kc-page .celive-mobile-menu a { display: block; padding: 14px 0; font-size: 16px; color: rgba(255,255,255,0.80); border-bottom: 1px solid rgba(255,255,255,0.08); }
.kc-page .celive-mobile-menu a:last-child { border-bottom: none; }
.kc-page .celive-mobile-menu .celive-btn { margin-top: 20px; width: 100%; text-align: center; display: block; padding: 14px 24px; font-size: 14px; font-weight: 600; border-radius: 12px; background: var(--celive-gradient-cta); color: #fff; border-bottom: none; }
.kc-page .celive-mobile-menu .celive-lang-switch { gap: 12px; padding-top: 24px; }
.kc-page .celive-mobile-menu .celive-lang-link .celive-flag { width: 36px; height: 24px; border-radius: 3px; }

/* Hero Slider */
.kc-hero { position: relative; height: 520px; overflow: hidden; }
.kc-hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.kc-hero-slide.active { opacity: 1; }
.kc-hero-slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.kc-hero-slide-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(25,31,55,0.45) 0%, rgba(25,31,55,0.15) 40%, transparent 100%); }
.kc-hero-dots { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 3; }
.kc-hero-dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.35); cursor: pointer; transition: all 0.3s; }
.kc-hero-dot.active { background: #FFFFFF; transform: scale(1.2); }

/* Filter Section */
.kc-filter { padding: 80px 0 0; text-align: center; }
.kc-filter-title { font-family: var(--celive-font-en); font-size: 36px; font-weight: 800; margin-bottom: 12px; color: var(--celive-navy); }
.kc-filter-desc { font-size: 15px; color: var(--celive-text-muted); margin-bottom: 40px; }

/* Country Tabs */
.kc-tabs { position: relative; display: inline-flex; align-items: center; gap: 0; margin-bottom: 28px; }
.kc-tab { position: relative; padding: 10px 28px; font-family: var(--celive-font-main); font-size: 15px; font-weight: 600; color: var(--celive-text-muted); background: none; border: none; cursor: pointer; transition: color 0.3s ease; white-space: nowrap; }
.kc-tab:hover { color: var(--celive-navy); }
.kc-tab.active { color: var(--celive-navy); }
.kc-tab-indicator { position: absolute; bottom: 0; left: 0; height: 3px; border-radius: 3px; background: var(--celive-gradient-brand); transition: left 0.35s cubic-bezier(0.4, 0, 0.2, 1), width 0.35s cubic-bezier(0.4, 0, 0.2, 1); pointer-events: none; }
.kc-tabs-line { width: 100%; height: 1px; background: var(--celive-border-light); position: absolute; bottom: 0; left: 0; }

/* Category Chips */
.kc-chips { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 0; }
.kc-chip { display: inline-flex; align-items: center; gap: 7px; padding: 9px 20px; font-family: var(--celive-font-main); font-size: 13.5px; font-weight: 600; border-radius: 20px; border: 1.5px solid var(--celive-border-light); background: var(--celive-white); color: var(--celive-text-primary); cursor: pointer; transition: all 0.25s ease; }
.kc-chip:hover { border-color: var(--celive-purple); color: var(--celive-purple); }
.kc-chip.active { background: var(--celive-navy); color: #FFFFFF; border-color: var(--celive-navy); }
.kc-chip-dot { width: 6px; height: 6px; border-radius: 50%; flex-shrink: 0; }
.kc-chip[data-category="all"] .kc-chip-dot { background: var(--celive-navy); }
.kc-chip.active .kc-chip-dot { background: rgba(255,255,255,0.5); }
.kc-chip-count { font-size: 11px; font-weight: 700; background: rgba(25,31,55,0.06); color: var(--celive-text-muted); padding: 2px 7px; border-radius: 10px; min-width: 22px; text-align: center; transition: all 0.25s ease; }
.kc-chip.active .kc-chip-count { background: rgba(255,255,255,0.18); color: rgba(255,255,255,0.75); }
.kc-filter-divider { width: 100%; max-width: 900px; margin: 28px auto 0; height: 1px; background: var(--celive-border-light); }

/* Creator Grid */
.kc-creators { padding: 60px 0 100px; }
.kc-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 48px 28px; }

/* Card */
.kc-card { text-align: center; transition: transform 0.35s ease; }
.kc-card:hover { transform: translateY(-4px); }

/* Card Photo — 1:1 circle */
.kc-card-visual { position: relative; width: 75%; aspect-ratio: 1 / 1; border-radius: 50%; overflow: hidden; background: var(--celive-light-gray); margin: 0 auto 16px; }
.kc-card-visual img { width: 100%; height: 100%; object-fit: cover; object-position: center center; transition: transform 0.5s ease; }
.kc-card:hover .kc-card-visual img { transform: scale(1.05); }

/* Card Info */
.kc-card-name { font-size: 17px; font-weight: 700; color: var(--celive-navy); margin-bottom: 3px; line-height: 1.3; }
.kc-card-sub { font-size: 13px; color: var(--celive-text-muted); margin-bottom: 10px; }

/* Tags Row */
.kc-card-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; justify-content: center; }
.kc-tag { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 6px; line-height: 1.4; white-space: nowrap; }
.kc-tag--country { background: rgba(25,31,55,0.05); color: rgba(25,31,55,0.7); }

/* SNS Row */
.kc-card-sns { display: flex; gap: 8px; justify-content: center; }
.kc-card-sns a { display: flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%; background: transparent; border: 1.5px solid var(--celive-border-light); color: var(--celive-text-muted); transition: all 0.25s ease; }
.kc-card-sns a:hover { border-color: transparent; color: #FFFFFF; transform: translateY(-2px); }
.kc-card-sns a.sns-ig:hover { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.kc-card-sns a.sns-yt:hover { background: #FF0000; }
.kc-card-sns a.sns-tt:hover { background: #010101; }
.kc-card-sns a.sns-wb:hover { background: #E6162D; }
.kc-card-sns svg { width: 14px; height: 14px; fill: currentColor; }

/* Empty State */
.kc-empty { grid-column: 1 / -1; text-align: center; padding: 80px 20px; color: var(--celive-text-muted); font-size: 15px; }

/* Footer */
.kc-footer { padding: 48px 0 28px; background: var(--celive-navy); }
.kc-footer-inner { display: flex; justify-content: space-between; align-items: center; }
.kc-footer p { font-size: 13px; color: rgba(255,255,255,0.35); }
.kc-footer .celive-logo-image { height: 30px; opacity: 0.5; }

/* Mobile Toggle */
.kc-mobile-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.kc-mobile-toggle span { width: 22px; height: 2px; background: #fff; border-radius: 2px; }

/* Responsive */
@media (max-width: 1023px) {
  .kc-hero { height: 420px; }
  .kc-grid { grid-template-columns: repeat(3, 1fr); gap: 40px 20px; }
  .kc-page .celive-nav { display: none; }
  .kc-page .celive-mobile-toggle { display: flex; }
  .kc-tab { padding: 10px 20px; font-size: 14px; }
}
@media (max-width: 767px) {
  .kc-hero { height: 360px; }
  .kc-filter { padding: 56px 0 0; }
  .kc-filter-title { font-size: 26px; }
  .kc-tab { padding: 8px 16px; font-size: 13px; }
  .kc-chip { padding: 7px 14px; font-size: 12.5px; }
  .kc-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 14px; }
  .kc-card-name { font-size: 15px; }
  .kc-card-sns a { width: 28px; height: 28px; }
  .kc-card-sns svg { width: 12px; height: 12px; }
  .kc-creators { padding: 48px 0 72px; }
  .kc-footer-inner { flex-direction: column; gap: 12px; text-align: center; }
}
@media (max-width: 420px) {
  .kc-tabs { gap: 0; }
  .kc-tab { padding: 8px 12px; font-size: 12.5px; }
  .kc-chips { gap: 6px; }
  .kc-chip { padding: 6px 12px; font-size: 11.5px; gap: 5px; }
  .kc-chip-count { font-size: 10px; padding: 1px 5px; }
}
