/* 럭키TV 카피 디자인 시스템 & 스타일시트 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-color: #08090d;
  --panel-bg: #11141d;
  --panel-bg-hover: #191e2b;
  --sidebar-bg: #0d0f15;
  --border-color: #1e2333;
  --text-main: #f5f6f9;
  --text-sub: #848a9e;
  --neon-cyan: #00f5ff;
  --neon-pink: #ff007f;
  --neon-purple: #9d4edd;
  --neon-green: #39ff14;
  --neon-yellow: #fff01f;
  
  --cyan-glow: 0 0 12px rgba(0, 245, 255, 0.4);
  --pink-glow: 0 0 12px rgba(255, 0, 127, 0.4);
  --purple-glow: 0 0 12px rgba(157, 78, 221, 0.4);
  --green-glow: 0 0 12px rgba(57, 255, 20, 0.4);
  
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --sidebar-width: 260px;
  --header-height: 70px;
  --transition-speed: 0.2s;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  overflow: hidden;
  height: 100vh;
  width: 100vw;
}

/* 스크롤바 스타일 */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-sub);
}

/* 기본 레이아웃 구조 */
.app-container {
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
  grid-template-rows: var(--header-height) 1fr;
  grid-template-areas:
    "sidebar header"
    "sidebar main";
  height: 100vh;
  width: 100vw;
}

/* 좌측 사이드바 */
.sidebar {
  grid-area: sidebar;
  background-color: var(--sidebar-bg);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  z-index: 10;
}

.logo-section {
  height: var(--header-height);
  display: flex;
  align-items: center;
  padding: 0;
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
  background-color: #000000 !important;
}

.logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  width: 100%;
  height: 100%;
}

.logo video {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  border-radius: 0 !important;
  object-fit: cover !important;
}

.logo span {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: var(--cyan-glow);
}

.logo-badge {
  background-color: var(--neon-pink);
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--pink-glow);
}

.nav-menu {
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--text-sub);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition-speed) ease;
  cursor: pointer;
}

.nav-item:hover, .nav-item.active {
  color: var(--text-main);
  background-color: var(--panel-bg-hover);
}

.nav-item.active {
  border-left: 3px solid var(--neon-cyan);
  padding-left: 13px;
  box-shadow: inset 4px 0 10px rgba(0, 245, 255, 0.05);
}

.nav-item svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  transition: transform var(--transition-speed) ease;
}

.nav-item:hover svg {
  transform: scale(1.05);
}

.nav-item.active svg {
  color: var(--neon-cyan);
  filter: drop-shadow(0 0 4px rgba(0, 245, 255, 0.5));
}

/* 좌측 메뉴 아코디언 (제휴 파트너쉽) */
.nav-group { display: flex; flex-direction: column; }
.nav-acc-toggle {
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: inherit;
}
.nav-acc-arrow {
  width: 16px !important;
  height: 16px !important;
  margin-left: auto;
  opacity: 0.7;
  transition: transform var(--transition-speed) ease;
}
.nav-group.open > .nav-acc-toggle .nav-acc-arrow { transform: rotate(180deg); }
.nav-submenu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  margin-top: 4px;
}
.nav-group.open > .nav-submenu { max-height: 420px; }
.nav-subitem {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px 8px 32px;
  color: var(--text-sub);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  border-radius: 8px;
  border: 1.5px solid transparent;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: transparent;
  gap: 12px;
}
.nav-subitem-logo,
.nav-subitem .text-logo {
  height: 20px;
  width: 50px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.7);
  opacity: 0.3;
  transform: scale(1);
  transform-origin: center right;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
}
.nav-subitem .text-logo {
  filter: brightness(0.7);
}

.nav-subitem:hover {
  color: var(--text-main);
  background-color: var(--panel-bg-hover);
}
.nav-subitem:hover .nav-subitem-logo,
.nav-subitem:hover .text-logo {
  opacity: 0.5;
  filter: grayscale(50%) brightness(0.9);
}
.nav-subitem:hover .text-logo {
  filter: brightness(0.9);
}

.nav-subitem.active {
  color: #39ff14 !important;
  font-weight: 700;
  background-color: rgba(57, 255, 20, 0.04) !important;
  border: 1.5px solid #39ff14 !important;
  box-shadow: 0 0 12px rgba(57, 255, 20, 0.25);
  padding-left: 32px !important;
}
.nav-subitem.active .nav-subitem-logo,
.nav-subitem.active .text-logo {
  filter: grayscale(0%) brightness(1.5) drop-shadow(0 0 6px rgba(57, 255, 20, 0.5));
  opacity: 1;
  transform: scale(1.5);
}
.nav-subitem.active .text-logo {
  filter: brightness(1.5);
}

/* 모바일 서브메뉴 버튼 스타일 */
.cat-submenu {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.cat-btn.cat-sub {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 13px;
  border: 1.5px solid rgba(0, 229, 255, 0.1);
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
  color: var(--text-sub);
  transition: all 0.3s ease;
}
.cat-btn.cat-sub .cat-sub-logo,
.cat-btn.cat-sub .text-logo {
  height: 18px;
  width: 45px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.7);
  opacity: 0.3;
  transform: scale(1);
  transform-origin: center right;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
}
.cat-btn.cat-sub .text-logo {
  filter: brightness(0.7);
}

.cat-btn.cat-sub:hover {
  color: #39ff14;
  background: rgba(57, 255, 20, 0.04);
}
.cat-btn.cat-sub:hover .cat-sub-logo,
.cat-btn.cat-sub:hover .text-logo {
  opacity: 0.5;
  filter: grayscale(50%) brightness(0.9);
}
.cat-btn.cat-sub:hover .text-logo {
  filter: brightness(0.9);
}

.cat-btn.cat-sub.active {
  color: #39ff14;
  background: rgba(57, 255, 20, 0.04);
  border-color: #39ff14;
  box-shadow: 0 0 10px rgba(57, 255, 20, 0.2);
}
.cat-btn.cat-sub.active .cat-sub-logo,
.cat-btn.cat-sub.active .text-logo {
  filter: grayscale(0%) brightness(1.5) drop-shadow(0 0 4px rgba(57, 255, 20, 0.5));
  opacity: 1;
  transform: scale(1.5);
}
.cat-btn.cat-sub.active .text-logo {
  filter: brightness(1.5);
}


/* 모바일 카테고리 시트 — 제휴 파트너쉽 아코디언 (기본 접힘, 탭하면 펼침) */
.cat-acc { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; }
.cat-acc-toggle { display: flex; align-items: center; justify-content: center; gap: 6px; }
.cat-acc-arrow { width: 16px; height: 16px; opacity: 0.75; transition: transform 0.25s ease; }
.cat-acc.open .cat-acc-arrow { transform: rotate(180deg); }
.cat-submenu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.cat-acc.open .cat-submenu { max-height: 360px; }
.cat-btn.cat-sub { font-size: 13px; opacity: 0.92; }

/* 하단바 아이콘 (이모지 -> SVG) */
.bbar-ico svg { width: 22px; height: 22px; display: block; }

/* 서비스 준비 중 (fallback) — 프리미엄 리디자인 */
.fallback-page {
  align-items: center;
  justify-content: center;
  min-height: 520px;
  padding: 40px;
  text-align: center;
}
.fallback-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  animation: fbFade 0.6s ease both;
}
.fallback-icon {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, rgba(0, 245, 255, 0.12), rgba(157, 78, 221, 0.14));
  border: 1px solid rgba(0, 245, 255, 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 12px 50px rgba(0, 245, 255, 0.14);
}
.fallback-icon::after {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 32px;
  border: 1px solid rgba(0, 245, 255, 0.35);
  animation: fbPulse 2.6s ease-out infinite;
}
.fallback-icon svg {
  width: 46px;
  height: 46px;
  fill: var(--neon-cyan);
  filter: drop-shadow(0 0 8px rgba(0, 245, 255, 0.55));
}
.fallback-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.3px;
  background: linear-gradient(90deg, #ffffff, #9bdcff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0;
}
.fallback-desc {
  color: var(--text-sub);
  font-size: 14px;
  line-height: 1.7;
  max-width: 380px;
  margin: 0;
}
.fallback-badge {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--neon-cyan);
  padding: 6px 15px;
  border-radius: 999px;
  border: 1px solid rgba(0, 245, 255, 0.3);
  background: rgba(0, 245, 255, 0.06);
}
@keyframes fbPulse {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.18); opacity: 0; }
}
@keyframes fbFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

.sidebar-divider {
  height: 1px;
  background-color: var(--border-color);
  margin: 12px 16px;
}

.recommend-section {
  flex: 1;
  overflow-y: auto;
  padding: 12px 16px;
}

.section-title {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-sub);
  letter-spacing: 1px;
  margin-bottom: 16px;
  padding-left: 8px;
  font-weight: 600;
}

.streamer-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.streamer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 8px;
  border-radius: 8px;
  transition: background-color var(--transition-speed) ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.streamer-item:hover {
  background-color: var(--panel-bg-hover);
}

.avatar-wrapper {
  position: relative;
  width: 32px;
  height: 32px;
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(135deg, #3a3d40, #181a1b);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: white;
}

.avatar.active-border {
  border: 2px solid var(--neon-cyan);
  box-shadow: var(--cyan-glow);
}

.status-badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--sidebar-bg);
  background-color: var(--text-sub);
}

.status-badge.live {
  background-color: var(--neon-pink);
  box-shadow: var(--pink-glow);
}

.streamer-info {
  flex: 1;
  min-width: 0;
}

.streamer-name {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.streamer-category {
  font-size: 11px;
  color: var(--text-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.viewer-count {
  font-size: 11px;
  color: var(--text-sub);
  display: flex;
  align-items: center;
  gap: 4px;
}

.viewer-count::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--neon-pink);
}

/* 상단 헤더 */
.header {
  grid-area: header;
  background-color: var(--sidebar-bg);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 9;
}

.search-bar {
  display: flex;
  align-items: center;
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 6px 12px;
  width: 320px;
  max-width: 100%;
  transition: border-color var(--transition-speed) ease;
}

.search-bar:focus-within {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 8px rgba(0, 245, 255, 0.15);
}

.search-bar input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 13px;
  width: 100%;
  padding-left: 8px;
}

.search-bar svg {
  width: 16px;
  height: 16px;
  fill: var(--text-sub);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.action-btn {
  background: none;
  border: none;
  color: var(--text-sub);
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-speed) ease;
  position: relative;
}

.action-btn:hover {
  color: var(--text-main);
  background-color: var(--panel-bg-hover);
}

.action-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.badge-dot {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--neon-pink);
  box-shadow: var(--pink-glow);
}

.user-profile-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  padding: 6px 12px;
  border-radius: 20px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
}

.user-profile-btn:hover {
  border-color: var(--text-sub);
}

.user-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.user-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-main);
}

/* 메인 콘텐츠 컨테이너 */
.main-content {
  grid-area: main;
  overflow-y: auto;
  position: relative;
  background-color: var(--bg-color);
  display: flex;
  flex-direction: column;
}

.page-container {
  display: none; /* 기본적으로 비활성화 */
  opacity: 0;
  transition: opacity 0.3s ease;
  padding: 32px;
  flex-direction: column;
  flex: 1;
}

.page-container.active {
  display: flex;
  opacity: 1;
}

.page-header {
  margin-bottom: 24px;
}

.page-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-title span {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-sub);
}

/* 1. LIVES PAGE (라이브 목록) */
.lives-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.live-card {
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition-speed) ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.live-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-cyan);
  box-shadow: 0 8px 20px rgba(0, 245, 255, 0.08);
}

.thumbnail-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Ratio */
  background-color: #0d0f15;
  overflow: hidden;
}

.thumbnail-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(45deg, #151a26, #090b10);
  color: var(--text-sub);
  gap: 8px;
}

.thumbnail-placeholder svg {
  width: 36px;
  height: 36px;
  opacity: 0.5;
}

.live-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--neon-pink);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  box-shadow: var(--pink-glow);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.viewer-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(0, 0, 0, 0.6);
  color: white;
  font-size: 11px;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.viewer-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--neon-cyan);
  box-shadow: var(--cyan-glow);
}

.card-info {
  padding: 16px;
  display: flex;
  gap: 12px;
  flex: 1;
}

.card-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-cyan));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}

.card-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.card-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-main);
}

.card-streamer {
  font-size: 12px;
  color: var(--text-sub);
}

.card-tags {
  display: flex;
  gap: 6px;
  margin-top: auto;
  padding-top: 8px;
}

.tag {
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--text-sub);
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tag.neon {
  border-color: rgba(0, 245, 255, 0.2);
  color: var(--neon-cyan);
}

/* 2. PLAYER PAGE (영상 플레이어 - 극장모드) */
.player-page-container {
  padding: 0 !important; /* 극장모드는 꽉 차게 */
  height: 100%;
}

.theater-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  height: 100%;
}

.video-section {
  display: flex;
  flex-direction: column;
  background-color: #050608;
  height: 100%;
  overflow-y: auto;
}

.video-container {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background-color: black;
  flex-shrink: 0;
}

/* 실제 라이브 플레이어 */
#lk-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  object-fit: contain;
}

/* LIVE 뱃지 (재생 중일 때) */
.lk-live-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  display: none;
  align-items: center;
  gap: 7px;
  background: rgba(0, 0, 0, 0.6);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  z-index: 3;
}

.lk-live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon-pink);
  animation: pulse 1s infinite alternate;
  box-shadow: var(--pink-glow);
}

/* 신호 없음 오버레이 */
.lk-nosignal {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 14px;
  background: radial-gradient(circle, #121824 0%, #030406 100%);
  z-index: 2;
}

.lk-nosignal-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(255, 255, 255, 0.12);
  border-top-color: var(--neon-cyan);
  border-radius: 50%;
  animation: lk-spin 0.9s linear infinite;
  box-shadow: var(--cyan-glow);
}

.lk-nosignal-text {
  font-size: 15px;
  font-weight: 700;
  color: var(--neon-cyan);
  text-shadow: var(--cyan-glow);
}

.lk-nosignal-sub {
  font-size: 12px;
  color: var(--text-sub);
}

@keyframes lk-spin {
  to { transform: rotate(360deg); }
}

.pulse-red {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--neon-pink);
  animation: pulse 1s infinite alternate;
  box-shadow: var(--pink-glow);
}

@keyframes pulse {
  0% { transform: scale(0.8); opacity: 0.5; }
  100% { transform: scale(1.2); opacity: 1; }
}

.player-details {
  padding: 24px;
  background-color: var(--bg-color);
  border-bottom: 1px solid var(--border-color);
}

.player-streamer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.streamer-profile-card {
  display: flex;
  align-items: center;
  gap: 16px;
}

.streamer-large-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  border: 2px solid var(--neon-cyan);
  box-shadow: var(--cyan-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: white;
}

.streamer-large-info h2 {
  font-size: 18px;
  font-weight: 700;
}

.streamer-large-info p {
  font-size: 13px;
  color: var(--neon-cyan);
  margin-top: 2px;
  font-weight: 600;
}

.streamer-stats {
  display: flex;
  gap: 24px;
}

.stat-box {
  text-align: right;
}

.stat-box .stat-label {
  font-size: 11px;
  color: var(--text-sub);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-box .stat-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-top: 4px;
}

.player-description {
  margin-top: 16px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.6;
  background-color: var(--panel-bg);
  padding: 16px;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

/* 실시간 채팅창 */
.chat-section {
  background-color: var(--sidebar-bg);
  border-left: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.chat-header {
  height: var(--header-height);
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

.chat-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chat-msg {
  font-size: 13px;
  line-height: 1.4;
  word-break: break-all;
}

.chat-msg-user {
  font-weight: 600;
  margin-right: 6px;
  color: var(--neon-cyan);
  cursor: pointer;
}

.chat-msg-user.streamer {
  color: var(--neon-pink);
  background-color: rgba(255, 0, 127, 0.1);
  padding: 2px 4px;
  border-radius: 4px;
  border: 1px solid rgba(255, 0, 127, 0.2);
}

.chat-msg-content {
  color: var(--text-main);
}

.chat-input-area {
  padding: 16px;
  border-top: 1px solid var(--border-color);
  background-color: var(--sidebar-bg);
}

.chat-input-wrapper {
  display: flex;
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 6px;
  align-items: center;
}

.chat-input-wrapper input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 13px;
  padding: 6px;
}

.chat-send-btn {
  background-color: var(--panel-bg-hover);
  border: 1px solid var(--border-color);
  color: var(--neon-cyan);
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
  transition: all var(--transition-speed) ease;
}

.chat-send-btn:hover {
  background-color: var(--neon-cyan);
  color: #000;
  box-shadow: var(--cyan-glow);
}

/* 3. HIGHLIGHTS PAGE (하이라이트) */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
}

.highlight-card {
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all var(--transition-speed) ease;
  cursor: pointer;
}

.highlight-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-purple);
  box-shadow: 0 8px 20px rgba(157, 78, 221, 0.08);
}

.duration-badge {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background-color: rgba(0, 0, 0, 0.8);
  color: white;
  font-size: 10px;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.highlight-info {
  padding: 12px;
}

.highlight-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--text-main);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 36px;
}

.highlight-meta {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-sub);
  margin-top: 8px;
}

/* 4. RANKING PAGE (스트리머 랭킹) */
.ranking-tabs {
  display: flex;
  gap: 12px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 12px;
}

.ranking-tab {
  background: none;
  border: none;
  color: var(--text-sub);
  cursor: pointer;
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition-speed) ease;
  border-radius: 6px;
}

.ranking-tab.active {
  color: var(--neon-purple);
  background-color: rgba(157, 78, 221, 0.1);
  border: 1px solid rgba(157, 78, 221, 0.2);
}

.ranking-podium {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 40px;
  padding-top: 20px;
}

.podium-place {
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  width: 180px;
}

.podium-place.first {
  height: 240px;
  border-color: var(--neon-yellow);
  box-shadow: 0 0 20px rgba(255, 240, 31, 0.1);
}

.podium-place.second {
  height: 200px;
  border-color: var(--text-sub);
}

.podium-place.third {
  height: 180px;
  border-color: #cd7f32;
}

.podium-badge {
  position: absolute;
  top: -16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: black;
  font-size: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.podium-place.first .podium-badge { background-color: var(--neon-yellow); }
.podium-place.second .podium-badge { background-color: #e5e5e5; }
.podium-place.third .podium-badge { background-color: #cd7f32; }

.podium-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 20px;
  color: white;
  margin-bottom: 12px;
}

.podium-place.first .podium-avatar {
  border: 3px solid var(--neon-yellow);
  box-shadow: 0 0 12px rgba(255, 240, 31, 0.3);
}

.podium-name {
  font-size: 14px;
  font-weight: 700;
}

.podium-score {
  font-size: 12px;
  color: var(--neon-cyan);
  margin-top: 8px;
  font-weight: 600;
}

.ranking-table-container {
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.ranking-table th {
  padding: 16px 24px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-sub);
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-color);
}

.ranking-table td {
  padding: 16px 24px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-color);
}

.ranking-table tr:last-child td {
  border-bottom: none;
}

.ranking-table tr:hover td {
  background-color: var(--panel-bg-hover);
}

.rank-number {
  font-weight: 700;
  font-size: 15px;
}

.rank-streamer-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.rank-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 12px;
  font-weight: 700;
}

.rank-score {
  color: var(--neon-cyan);
  font-weight: 600;
}

/* 5. COMMUNITY PAGE (커뮤니티) */
.community-actions {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.write-btn {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition-speed) ease;
  box-shadow: var(--cyan-glow);
}

.write-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 245, 255, 0.4);
}

.board-table-container {
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
}

.board-table {
  width: 100%;
  border-collapse: collapse;
}

.board-table th {
  padding: 16px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-sub);
  border-bottom: 1px solid var(--border-color);
  text-align: left;
}

.board-table td {
  padding: 16px;
  font-size: 13px;
  border-bottom: 1px solid var(--border-color);
  color: var(--text-main);
}

.board-table tr:hover td {
  background-color: var(--panel-bg-hover);
  cursor: pointer;
}

.post-title-link {
  font-weight: 500;
  color: var(--text-main);
}

.post-title-link:hover {
  color: var(--neon-cyan);
}

/* 6. NOTICE PAGE (공지사항) */
.notice-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.notice-item {
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  transition: border-color var(--transition-speed) ease;
}

.notice-item:hover {
  border-color: var(--neon-pink);
}

.notice-header-btn {
  width: 100%;
  background: none;
  border: none;
  color: var(--text-main);
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  text-align: left;
}

.notice-badge {
  background-color: rgba(255, 0, 127, 0.1);
  border: 1px solid rgba(255, 0, 127, 0.2);
  color: var(--neon-pink);
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  margin-right: 12px;
}

.notice-item-title {
  font-size: 14px;
  font-weight: 600;
  flex: 1;
}

.notice-date {
  font-size: 12px;
  color: var(--text-sub);
  margin-right: 16px;
}

.notice-arrow {
  width: 16px;
  height: 16px;
  fill: var(--text-sub);
  transition: transform var(--transition-speed) ease;
}

.notice-item.expanded .notice-arrow {
  transform: rotate(180deg);
  fill: var(--neon-pink);
}

.notice-content {
  display: none;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.15);
  border-top: 1px solid var(--border-color);
  color: var(--text-sub);
  font-size: 13px;
  line-height: 1.6;
}

.notice-item.expanded .notice-content {
  display: block;
}

/* 7. MODALS (상세보기, 글쓰기) */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  width: 560px;
  max-width: 90%;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
}

.modal-header {
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-title {
  font-size: 16px;
  font-weight: 700;
}

.modal-close-btn {
  background: none;
  border: none;
  color: var(--text-sub);
  cursor: pointer;
  padding: 4px;
}

.modal-close-btn:hover {
  color: var(--text-main);
}

.modal-close-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.modal-body {
  padding: 20px;
  max-height: 70vh;
  overflow-y: auto;
}

/* 게시판 상세보기 모달 내부 */
.post-detail-meta {
  display: flex;
  gap: 16px;
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-color);
}

.post-detail-content {
  font-size: 14px;
  color: var(--text-main);
  line-height: 1.6;
  white-space: pre-wrap;
}

/* 글쓰기 모달 폼 */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-sub);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group input, .form-group textarea {
  width: 100%;
  background-color: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  padding: 10px;
  color: var(--text-main);
  font-size: 13px;
  outline: none;
  transition: border-color var(--transition-speed) ease;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--neon-cyan);
}

.form-group textarea {
  height: 150px;
  resize: none;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding: 20px;
  border-top: 1px solid var(--border-color);
}

.btn-secondary {
  background-color: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-sub);
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}

.btn-secondary:hover {
  color: var(--text-main);
  background-color: var(--panel-bg-hover);
}

/* 모바일/반응형 스타일 */
@media (max-width: 992px) {
  .theater-layout {
    grid-template-columns: 1fr;
    grid-template-rows: auto 350px;
  }
  
  .chat-section {
    border-left: none;
    border-top: 1px solid var(--border-color);
  }
}

@media (max-width: 768px) {
  .app-container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "header"
      "main";
  }
  
  .sidebar {
    position: fixed;
    left: -260px;
    top: 0;
    bottom: 0;
    width: 260px;
    transition: left var(--transition-speed) ease;
  }
  
  .sidebar.mobile-active {
    left: 0;
  }
  
  .menu-toggle-btn {
    display: flex !important;
  }
}

.menu-toggle-btn {
  display: none;
}

/* === 하단 버튼바(모바일전용) + 카테고리/로그인 오버레이 (Claude 추가) === */
.bottom-bar { display: none; }
@media (max-width: 992px) {
  .bottom-bar {
    position: fixed; left: 0; right: 0; bottom: 0; height: 58px; z-index: 10005;
    display: flex; justify-content: space-around; align-items: stretch;
    background: rgba(10, 12, 20, 0.98);
    border-top: 1px solid rgba(0, 229, 255, 0.2);
    box-shadow: 0 -6px 24px rgba(0, 0, 0, 0.55);
    padding-bottom: env(safe-area-inset-bottom, 0px);
  }
  .main-content { padding-bottom: 74px !important; }
  /* 페이지 타이틀 영문 부제가 잘리던 것 정리 */
  .page-title { font-size: 20px !important; line-height: 1.3; }
  .page-title span { display: block !important; font-size: 11px !important; margin-top: 2px; margin-left: 0 !important; }
}
.bbar-btn {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  background: none; border: none; color: #cfd3dc; font-size: 11px; font-weight: 700;
  font-family: inherit; cursor: pointer; transition: color 0.2s, background 0.2s;
}
.bbar-btn .bbar-ico { font-size: 18px; line-height: 1; }
.bbar-btn:active, .bbar-btn.active { background: rgba(0, 229, 255, 0.12); color: #00e5ff; }

.category-overlay {
  position: fixed; inset: 0; z-index: 600; background: rgba(0, 0, 0, 0.6);
  opacity: 0; pointer-events: none; transition: opacity 0.25s; display: flex; align-items: flex-end;
}
.category-overlay.open { opacity: 1; pointer-events: auto; }
.category-sheet {
  width: 100%; background: #0d0f1b;
  border-top-left-radius: 18px; border-top-right-radius: 18px;
  border-top: 1px solid rgba(0, 229, 255, 0.22);
  padding: 18px 16px 86px;
  transform: translateY(100%); transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.category-overlay.open .category-sheet { transform: translateY(0); }
.category-sheet-title { font-size: 13px; color: #8a8f9c; font-weight: 700; margin-bottom: 12px; }
.category-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.cat-btn {
  padding: 15px; border-radius: 12px; border: 1px solid rgba(0, 229, 255, 0.18);
  background: rgba(255, 255, 255, 0.03); color: #fff; font-size: 14px; font-weight: 700;
  font-family: inherit; cursor: pointer; transition: all 0.2s;
}
.cat-btn:active { border-color: #00e5ff; background: rgba(0, 229, 255, 0.1); }

.login-overlay {
  position: fixed; inset: 0; z-index: 650; background: rgba(0, 0, 0, 0.72);
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity 0.25s;
}
.login-overlay.open { opacity: 1; pointer-events: auto; }
.login-card {
  width: 100%; max-width: 340px; background: #0d0f1b;
  border: 1px solid rgba(0, 229, 255, 0.22); border-radius: 16px; padding: 24px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}
.login-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; }
.login-header h3 { font-size: 18px; font-weight: 800; color: #fff; margin: 0; }
.login-close { background: none; border: none; color: #8a8f9c; font-size: 18px; cursor: pointer; }
.login-card input {
  width: 100%; box-sizing: border-box; margin-bottom: 12px; padding: 13px 14px;
  background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px; color: #fff; font-size: 14px; font-family: inherit;
}
.login-card input:focus { outline: none; border-color: #00e5ff; }
.login-submit {
  width: 100%; padding: 14px; margin-top: 4px; border: none; border-radius: 10px;
  background: linear-gradient(135deg, #00e5ff, #0080ff); color: #001018;
  font-size: 15px; font-weight: 800; font-family: inherit; cursor: pointer;
}
.login-sub { text-align: center; margin-top: 14px; font-size: 12px; color: #8a8f9c; }
.login-sub a { color: #00e5ff; text-decoration: none; }

/* 보증 사이트 그리드 및 카드 */
.guarantee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  width: 100%;
}

.guarantee-card {
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-speed) ease;
}

.guarantee-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-cyan);
  box-shadow: 0 8px 20px rgba(0, 245, 255, 0.08);
}

.guarantee-banner {
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: white;
}

.guarantee-logo {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.guarantee-limit-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
}

.guarantee-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.guarantee-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.guarantee-desc {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.5;
  flex: 1;
}

.guarantee-btn {
  display: block;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  padding: 10px;
  border-radius: 6px;
  transition: all var(--transition-speed) ease;
}

.guarantee-btn:hover {
  background-color: var(--panel-bg-hover);
  border-color: var(--neon-cyan);
  box-shadow: var(--cyan-glow);
}

/* 후기 상세 보기 오버레이 메타스타일 */
.post-detail-meta span {
  display: inline-block;
}
.post-detail-content {
  color: var(--text-main);
}

/* 포인트교환 페이지 스타일 */
.exchange-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: start;
}

@media (max-width: 1024px) {
  .exchange-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.exchange-balance-card {
  background: linear-gradient(135deg, var(--panel-bg), #19162b);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
  box-shadow: inset 0 0 20px rgba(157, 78, 221, 0.05);
}

.balance-label {
  font-size: 13px;
  color: var(--text-sub);
  margin-bottom: 8px;
  font-weight: 500;
}

.balance-value {
  font-size: 28px;
  font-weight: 800;
  color: var(--neon-cyan);
  text-shadow: var(--cyan-glow);
}

.exchange-card {
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 24px;
}

.exchange-card-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 20px;
}

.exchange-input {
  width: 100%;
  padding: 12px 14px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-main);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition-speed) ease;
}

.exchange-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 8px rgba(0, 245, 255, 0.1);
}

.exchange-amount-input {
  width: 100%;
  padding: 12px 14px;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-main);
  font-size: 14px;
  outline: none;
  transition: border-color var(--transition-speed) ease;
}

.exchange-amount-input:focus {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 8px rgba(0, 245, 255, 0.1);
}

.exchange-submit-btn {
  width: 100%;
  padding: 14px;
  margin-top: 20px;
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity var(--transition-speed) ease;
}

.exchange-submit-btn:hover {
  opacity: 0.9;
  box-shadow: var(--cyan-glow);
}

/* 먹튀검증 페이지 스타일 */
.mtcheck-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.mtcheck-card {
  background-color: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-speed) ease;
  cursor: pointer;
}

.mtcheck-card:hover {
  transform: translateY(-4px);
  border-color: var(--neon-cyan);
  box-shadow: 0 8px 20px rgba(0, 245, 255, 0.08);
}

.mtcheck-card-header {
  padding: 20px 20px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.mtcheck-site-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
}

.mtcheck-badge {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.mtcheck-badge.badge-verified {
  background-color: rgba(57, 255, 20, 0.1);
  border: 1px solid rgba(57, 255, 20, 0.3);
  color: var(--neon-green);
  text-shadow: var(--green-glow);
}

.mtcheck-badge.badge-scam {
  background-color: rgba(255, 0, 127, 0.1);
  border: 1px solid rgba(255, 0, 127, 0.3);
  color: var(--neon-pink);
  text-shadow: var(--pink-glow);
}

.mtcheck-card-body {
  padding: 16px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mtcheck-info-row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
}

.info-label {
  color: var(--text-sub);
}

.info-val {
  color: var(--text-main);
  font-weight: 500;
}

.mtcheck-desc {
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.5;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mtcheck-card-footer {
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  font-size: 12px;
  color: var(--text-sub);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
}

.mtcheck-card:hover .mtcheck-card-footer {
  color: var(--neon-cyan);
}

/* 먹튀검증 실데이터 출처 표시 */
.mtcheck-source-note {
  grid-column: 1 / -1;
  font-size: 12px;
  color: var(--text-sub);
  padding: 8px 12px;
  margin-bottom: 4px;
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

/* 먹튀검증 타이핑 검색바 */
.mtcheck-search-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 20px;
  max-width: 520px;
  transition: border-color var(--transition-speed) ease;
}
.mtcheck-search-bar:focus-within {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 10px rgba(0, 245, 255, 0.15);
}
.mtcheck-search-bar svg { width: 18px; height: 18px; color: var(--text-sub); flex-shrink: 0; }
.mtcheck-search-bar input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  color: var(--text-main);
  font-size: 14px;
}
.mtcheck-search-bar input::placeholder { color: var(--text-sub); }
#mtcheck-search-clear {
  background: none;
  border: none;
  color: var(--text-sub);
  cursor: pointer;
  font-size: 14px;
  padding: 2px 6px;
}
#mtcheck-search-clear:hover { color: var(--neon-pink); }
.mtcheck-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  color: var(--text-main);
  font-size: 15px;
  line-height: 1.7;
  background: var(--panel-bg);
  border: 1px dashed var(--border-color);
  border-radius: 12px;
}
.mtcheck-empty span { font-size: 12px; color: var(--text-sub); }

/* 먹튀검증 썸네일 스타일 */
.mtcheck-thumbnail-container {
  width: 100%;
  padding-top: 56.25%; /* 16:9 Ratio */
  position: relative;
  overflow: hidden;
  background-color: var(--panel-bg-hover);
}

.mtcheck-thumbnail-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-bottom: 1px solid var(--border-color);
}

.mtcheck-thumbnail-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--panel-bg-hover);
  color: var(--text-sub);
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid var(--border-color);
}

/* 대표 라이브 featured 스타일 개편 -> 2단 분리 레이아웃 */
.lives-hero-layout {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 20px;
  margin-bottom: 24px;
  width: 100%;
}

.hero-left-column {
  flex: 0 0 70%;
  width: 70%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.hero-right-column {
  flex: 0 0 28%;
  width: 28%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

/* 독립 카드 형태 (테두리 + 라운드) */
.featured-screen-card {
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background-color: var(--panel-bg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all var(--transition-speed) ease;
}

.featured-screen-card:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 8px 32px rgba(0, 245, 255, 0.12);
}

.main-highlights-card {
  border: 1px solid var(--border-color);
  border-radius: 16px;
  background-color: var(--panel-bg);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 200px;
  transition: all var(--transition-speed) ease;
}

.main-highlights-card:hover {
  border-color: var(--neon-purple);
  box-shadow: 0 8px 32px rgba(157, 78, 221, 0.12);
}

.main-highlights-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
  justify-content: space-between;
}

.main-highlights-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.main-hl-sec-title {
  font-size: 15px;
  font-weight: 700;
  margin: 0;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

.main-hl-sec-title span {
  font-size: 11px;
  color: var(--text-sub);
  font-weight: 500;
}

.main-hl-more-btn {
  font-size: 13px;
  color: var(--neon-cyan);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.main-hl-more-btn:hover {
  color: #fff;
}

.main-highlights-list {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.main-highlight-item {
  flex: 1;
  min-width: 280px;
  display: flex;
  gap: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.main-highlight-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--neon-purple);
  transform: translateY(-2px);
}

.main-hl-thumbnail {
  width: 140px;
  height: 84px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.main-hl-thumbnail .play-icon {
  width: 28px;
  height: 28px;
  color: #fff;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.main-hl-duration {
  position: absolute;
  bottom: 4px;
  right: 6px;
  background: rgba(0,0,0,0.85);
  color: #fff;
  font-size: 10px;
  padding: 2px 4px;
  border-radius: 4px;
}

.main-hl-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  flex: 1;
  padding: 2px 0;
}

.main-hl-title {
  font-size: 13px;
  font-weight: 600;
  margin: 0;
  color: #fff;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 36px;
}

.main-hl-meta {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin-top: 4px;
}

.main-hl-streamer {
  font-size: 11px;
  color: var(--neon-cyan);
  font-weight: 600;
}

.main-hl-views {
  font-size: 11px;
  color: var(--text-sub);
}

/* 메인 채팅창 오버라이딩 스타일 */
.main-chat-section {
  background-color: var(--panel-bg) !important;
  border: 1px solid var(--border-color) !important;
  border-radius: 16px !important;
  overflow: hidden !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2) !important;
  height: 100% !important;
  min-height: 0 !important;
  display: flex !important;
  flex-direction: column !important;
}

.main-chat-section:hover {
  border-color: var(--neon-cyan) !important;
  box-shadow: 0 8px 32px rgba(0, 245, 255, 0.08) !important;
}

.main-chat-section .chat-header {
  height: 50px !important;
  background-color: rgba(255, 255, 255, 0.01) !important;
  flex-shrink: 0 !important;
}

.main-chat-section .chat-messages {
  flex: 1 !important;
  overflow-y: auto !important;
  min-height: 0 !important;
  max-height: 480px !important;
}

.main-chat-section .chat-input-area {
  flex-shrink: 0 !important;
}

.featured-hero-screen {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  min-height: 280px;
}

.featured-thumbnail-placeholder {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: linear-gradient(45deg, #191f2e, #0b0d14);
  color: var(--text-sub);
  gap: 12px;
  z-index: 1;
}

.featured-thumbnail-placeholder svg {
  width: 64px;
  height: 64px;
  color: var(--neon-cyan);
  filter: drop-shadow(var(--cyan-glow));
}

.featured-overlay-dim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 9, 13, 0.95) 0%, rgba(8, 9, 13, 0.4) 60%, rgba(8, 9, 13, 0.1) 100%);
  z-index: 2;
}

.featured-screen-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  pointer-events: none;
}

.featured-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.featured-live-badge {
  background-color: var(--neon-pink);
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 4px;
  box-shadow: var(--pink-glow);
  letter-spacing: 1px;
}

.featured-viewer-badge {
  background-color: rgba(0, 245, 255, 0.1);
  border: 1px solid rgba(0, 245, 255, 0.2);
  color: var(--neon-cyan);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.featured-viewer-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--neon-cyan);
  box-shadow: var(--cyan-glow);
}

.featured-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--text-main);
  text-shadow: 0 2px 10px rgba(0,0,0,0.8);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}

.featured-streamer-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.featured-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: white;
  border: 2px solid var(--neon-cyan);
  box-shadow: var(--cyan-glow);
}

.featured-streamer-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

.featured-category {
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 2px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

/* 둘째 와이드 스크린 스타일 */
.second-hero-screen {
  position: relative;
  width: 100%;
  height: 140px;
  background: #000;
  overflow: hidden;
}

.second-thumbnail-placeholder {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(45deg, #120e24, #0b0d14);
  z-index: 1;
}

.second-overlay-dim {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 9, 13, 0.95) 0%, rgba(8, 9, 13, 0.3) 100%);
  z-index: 2;
}

.second-screen-info {
  position: absolute;
  inset: 16px 20px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}

.second-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.second-live-badge {
  background-color: var(--neon-pink);
  color: white;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  box-shadow: var(--pink-glow);
  letter-spacing: 0.5px;
}

.second-offline-badge {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--text-sub);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
}

.second-viewer-badge {
  background-color: rgba(157, 78, 221, 0.1);
  border: 1px solid rgba(157, 78, 221, 0.2);
  color: var(--neon-purple);
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.second-viewer-badge::before {
  content: '';
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background-color: var(--neon-purple);
  box-shadow: var(--purple-glow);
}

.second-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-main);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-top: 4px;
}

.second-streamer-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.second-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: white;
  border: 1.5px solid var(--neon-purple);
  box-shadow: var(--purple-glow);
}

.second-streamer-details {
  display: flex;
  align-items: center;
  gap: 8px;
}

.second-streamer-name {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
}

.second-category {
  font-size: 11px;
  color: var(--text-sub);
}



.mini-streamer-item:hover {
  background-color: var(--panel-bg-hover) !important;
}

/* 대표 라이브 모바일 반응형 */
@media (max-width: 992px) {
  .lives-hero-layout {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  
  .hero-left-column {
    width: 100%;
    flex: 0 0 auto;
    gap: 16px;
  }
  
  .hero-right-column {
    width: 100%;
    flex: 0 0 auto;
  }

  .featured-hero-screen {
    min-height: auto;
  }

  .main-chat-section {
    height: 360px !important;
    min-height: 0 !important;
  }

  .main-chat-section .chat-messages {
    max-height: none !important;
  }
}

/* ==========================================
   제휴 파트너쉽 페이지 스타일 (카테고리 로고 효과)
   ========================================== */
.partner-category-bar {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding: 16px 8px;
  margin-bottom: 32px;
  border-bottom: 1px solid var(--border-color);
  scrollbar-width: none; /* Firefox */
}
.partner-category-bar::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.partner-cat-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 16px 24px;
  min-width: 140px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: visible; /* 1.5배 확대 시 잘리지 않도록 overflow: visible 처리 */
  gap: 8px;
}

/* 비활성 로고 이미지 / 텍스트 로고 기본값: grayscale(100%), 30% 밝기/투명도, scale(1) */
.partner-cat-btn img,
.partner-cat-btn .text-logo {
  opacity: 0.3;
  filter: grayscale(100%) brightness(0.7);
  transform: scale(1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.partner-cat-btn .text-logo {
  filter: brightness(0.7);
}

.partner-cat-btn span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-sub);
  transition: all 0.3s ease;
}

/* Hover 시 효과: 마우스 닿으면 50% */
.partner-cat-btn:hover {
  border-color: rgba(0, 245, 255, 0.3);
  background: rgba(255, 255, 255, 0.02);
}
.partner-cat-btn:hover img,
.partner-cat-btn:hover .text-logo {
  opacity: 0.5;
  filter: grayscale(50%) brightness(0.9);
}
.partner-cat-btn:hover .text-logo {
  filter: brightness(0.9);
}
.partner-cat-btn:hover span {
  color: var(--text-main);
}

/* Active (클릭했을때) 효과: 1.5배 확대 + 밝기 최대치(opacity 1, brightness 1.5, grayscale 0%) */
.partner-cat-btn.active {
  border-color: var(--neon-cyan);
  background: rgba(0, 245, 255, 0.05);
  box-shadow: 0 0 15px rgba(0, 245, 255, 0.15);
}

.partner-cat-btn.active img,
.partner-cat-btn.active .text-logo {
  opacity: 1;
  filter: grayscale(0%) brightness(1.5) drop-shadow(0 0 8px rgba(0, 245, 255, 0.6));
  transform: scale(1.5);
}
.partner-cat-btn.active .text-logo {
  filter: brightness(1.5);
}

.partner-cat-btn.active span {
  color: var(--neon-cyan);
  font-weight: 700;
  text-shadow: 0 0 8px rgba(0, 245, 255, 0.5);
}

/* 텍스트 로고 공통 스타일 */
.text-logo {
  font-family: 'Outfit', 'Inter', -apple-system, sans-serif;
  font-weight: 800;
  letter-spacing: -0.5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  line-height: 1;
}

/* 파트너 카테고리 바 전용 텍스트 로고 크기 */
.partner-cat-btn .text-logo {
  font-size: 26px;
  height: 64px;
  width: 100px;
}

/* 사이드바 및 모바일 서브메뉴용 텍스트 로고 크기 */
.nav-subitem .text-logo {
  font-size: 15px;
  height: 20px;
  width: 50px;
  text-align: right;
  justify-content: flex-end;
}
.cat-btn.cat-sub .text-logo {
  font-size: 14px;
  height: 18px;
  width: 45px;
  text-align: right;
  justify-content: flex-end;
}

/* 골드슬롯 & 히든슬롯 네온 컬러 테마 */
.gold-text {
  color: #ffd700 !important;
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
  background: transparent !important;
  -webkit-text-fill-color: initial !important;
}
.hidden-text {
  color: #9d4edd !important;
  text-shadow: 0 0 8px rgba(157, 78, 221, 0.6);
  background: transparent !important;
  -webkit-text-fill-color: initial !important;
}

/* 상세 카드 스타일 */
.partner-detail-card {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: fadeIn 0.4s ease;
}

.partner-detail-header {
  display: flex;
  align-items: center;
  gap: 24px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 24px;
}

.partner-detail-logo {
  width: 135px;
  height: 135px;
  object-fit: contain;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}


/* 제휴사 연결 도메인 링크 (이모지 없이 네온 pill) */
.partner-domain-link {
  display: inline-block;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 600;
  color: var(--neon-cyan);
  text-decoration: none;
  border: 1px solid rgba(0, 245, 255, 0.3);
  background: rgba(0, 245, 255, 0.06);
  padding: 5px 14px;
  border-radius: 999px;
  transition: all 0.2s ease;
}
.partner-domain-link:hover {
  background: rgba(0, 245, 255, 0.16);
  box-shadow: 0 0 12px rgba(0, 245, 255, 0.25);
}
.partner-go-btn.disabled {
  opacity: 0.45;
  cursor: default;
  pointer-events: none;
}

.partner-detail-title-info h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 8px 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.partner-detail-badge {
  font-size: 11px;
  font-weight: 700;
  background: var(--neon-cyan);
  color: #000;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.partner-detail-limit {
  font-size: 14px;
  color: var(--neon-cyan);
  font-weight: 600;
}

.partner-detail-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-sub);
  margin: 0;
}

.partner-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
}

.partner-info-box {
  background: rgba(0, 0, 0, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.03);
  padding: 16px;
  border-radius: 10px;
}

.partner-info-label {
  font-size: 12px;
  color: var(--text-sub);
  margin-bottom: 6px;
}

.partner-info-val {
  font-size: 15px;
  font-weight: 600;
  color: var(--text-main);
}

.partner-action-row {
  display: flex;
  justify-content: flex-start;
  margin-top: 12px;
}

.partner-go-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--neon-cyan), #0055ff);
  color: #000;
  font-weight: 800;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 245, 255, 0.2);
}

.partner-go-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 245, 255, 0.4);
  color: #000;
  opacity: 0.95;
}

/* 럭키슬롯 활성화 시 시계방향 무한 회전 애니메이션 */
@keyframes rotate-clockwise {
  from {
    transform: scale(2) rotate(0deg);
  }
  to {
    transform: scale(2) rotate(360deg);
  }
}

.partner-cat-btn[data-partner="luckyslot"].active img {
  animation: rotate-clockwise 10s linear infinite;
  transform-origin: center center;
}

/* 사이드바 서브메뉴 럭키슬롯 활성화 시 시계방향 무한 회전 애니메이션 */
@keyframes rotate-clockwise-submenu {
  from {
    transform: scale(2) rotate(0deg);
  }
  to {
    transform: scale(2) rotate(360deg);
  }
}

.nav-subitem[data-hash="#/partner-luckyslot"].active .nav-subitem-logo {
  animation: rotate-clockwise-submenu 6.67s linear infinite;
  transform-origin: center center;
}

/* 모바일 럭키슬롯 활성화 시 시계방향 무한 회전 애니메이션 */
.cat-btn.cat-sub[data-hash="#/partner-luckyslot"].active .cat-sub-logo {
  animation: rotate-clockwise-submenu 6.67s linear infinite;
  transform-origin: center center;
}


