@charset "UTF-8";
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+KR:wght@400;500;700;900&family=Jua&family=Black+Han+Sans&display=swap');

/* ===== Enhanced CSS Variables ===== */
:root {
  /* Primary Colors */
  --bg-primary: #0c0e14;
  --bg-secondary: #11131b;
  --bg-tertiary: #1a1d2d;
  --bg-card: #1e2139;
  --bg-hover: #242847;
  
  /* Border Colors */
  --border-color: #2a2e3c;
  --border-hover: #3a3e4c;
  --border-active: #4a5e6c;
  
  /* Text Colors */
  --text-primary: #e0e0e0;
  --text-secondary: #b8b9b9;
  --text-muted: #6b7280;
  --text-accent: #ffffff;
  
  /* Brand Colors */
  --accent-purple: #6366f1;
  --accent-green: #00c582;
  --accent-red: #f7525f;
  --accent-orange: #f7a600;
  --accent-yellow: #fcd535;
  --accent-blue: #3b82f6;
  
  /* Bybit/Bitget Colors */
  --bybit-primary: #f7a600;
  --bybit-secondary: #ffb84d;
  --bitget-primary: #03aac7;
  --bitget-secondary: #00d4aa;
  --mexc-primary: #1463ff;
  --mexc-secondary: #235cce;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--accent-purple) 0%, var(--accent-red) 100%);
  --gradient-card: linear-gradient(135deg, var(--bg-tertiary) 0%, var(--bg-card) 100%);
  --gradient-bybit: linear-gradient(135deg, var(--bybit-primary) 0%, var(--bybit-secondary) 100%);
  --gradient-bitget: linear-gradient(135deg, var(--bitget-primary) 0%, var(--bitget-secondary) 100%);
  --gradient-mexc: linear-gradient(135deg, var(--mexc-primary) 0%, var(--mexc-secondary) 100%);
  --gradient-background: radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
                        radial-gradient(circle at 80% 20%, rgba(247, 82, 95, 0.05) 0%, transparent 50%);
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.3);
  --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.4);
  --shadow-purple: 0 4px 20px rgba(99, 102, 241, 0.3);
  --shadow-green: 0 4px 20px rgba(0, 197, 130, 0.3);
  --shadow-yellow: 0 4px 20px rgba(252, 213, 53, 0.3);
  --shadow-bybit: 0 4px 20px rgba(247, 166, 0, 0.3);
  --shadow-bitget: 0 4px 20px rgba(3, 170, 199, 0.3);
  --shadow-mexc: 0 4px 20px rgba(34, 21, 216, 0.788);
  
  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  
  /* Sizes */
  --header-height: 120px;
  --sidebar-width: 280px;
  --content-max-width: 1200px;
  
  /* Z-index layers */
  --z-background: 1;
  --z-content: 10;
  --z-header: 100;
  --z-sidebar-overlay: 999;
  --z-sidebar: 1000;
}

/* ===== Reset & Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html, body {
  height: 100%;
  font-family: 'Inter', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* 링크 및 버튼 기본 스타일 초기화 */
a, button {
  text-decoration: none !important;
  color: inherit;
}

a:hover, button:hover {
  text-decoration: none !important;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

/* ===== Layout ===== */
#wrap {
  min-height: 100vh;
  position: relative;
  background: var(--bg-primary);
}

.main-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  z-index: var(--z-content);
}

/* ===== Background Chart ===== */
.chart-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: var(--z-background);
  opacity: 1;
  pointer-events: none;
}

#backgroundChart {
  width: 100%;
  height: 100%;
}

/* ===== Logo Styles - 통합 및 일관성 개선 ===== */

/* Sidebar Logo */
.logo-container-sidebar {
  width: 60px;
  height: 60px;
  position: relative;
  background: var(--gradient-primary);
  border-radius: 15px;
  box-shadow: var(--shadow-purple);
  transition: var(--transition-normal);
}

.sidebar-logo .logo-blocks {
  position: relative;
  width: 100%;
  height: 100%;
}

.sidebar-logo .logo-block {
  position: absolute;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
  font-family: 'Black Han Sans', sans-serif;
  transition: var(--transition-fast);
}

.sidebar-logo .block-a {
  width: 24px;
  height: 24px;
  background-color: #fbbf24;
  color: #7c2d12;
  top: 8px;
  left: 12px;
  transform: rotate(-15deg);
  font-size: 14px;
}

.sidebar-logo .block-b {
  width: 28px;
  height: 28px;
  background-color: #10b981;
  color: #064e3b;
  bottom: 12px;
  left: 8px;
  transform: rotate(10deg);
  font-size: 16px;
}

.sidebar-logo .block-c {
  width: 32px;
  height: 32px;
  background-color: #f87171;
  color: #7f1d1d;
  top: 10px;
  right: 8px;
  transform: rotate(20deg);
  font-size: 18px;
}

.sidebar-logo .logo-btc {
  position: absolute;
  font-size: 20px;
  color: #f7931a;
  right: 14px;
  bottom: 14px;
  text-shadow: 1px 1px 0 #fff, 2px 2px 0 rgba(0, 0, 0, 0.2);
  transform: rotate(-8deg);
  font-weight: 800;
}

.sidebar-logo .logo-text {
  font-family: 'Jua', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-left: 12px;
}

.sidebar-logo .logo-tagline {
  font-size: 12px;
  color: var(--text-secondary);
  margin-left: 12px;
  font-weight: 400;
}

/* Header Logo */
.logo-icon-main {
  width: 80px;
  height: 80px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-purple);
  margin-right: 16px;
  transition: var(--transition-normal);
}

.logo-icon-main:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-xl);
}

.logo-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0.9;
}

.logo-blocks-main {
  position: relative;
  width: 100%;
  height: 100%;
}

.logo-block-main {
  position: absolute;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  box-shadow: var(--shadow-md);
  font-family: 'Black Han Sans', sans-serif;
  transition: var(--transition-fast);
}

.block-a-main {
  width: 32px;
  height: 32px;
  background-color: #fbbf24;
  color: #7c2d12;
  top: 12px;
  left: 16px;
  transform: rotate(-15deg);
  font-size: 18px;
}

.block-b-main {
  width: 36px;
  height: 36px;
  background-color: #10b981;
  color: #064e3b;
  bottom: 16px;
  left: 12px;
  transform: rotate(10deg);
  font-size: 20px;
}

.block-c-main {
  width: 40px;
  height: 40px;
  background-color: #f87171;
  color: #7f1d1d;
  top: 16px;
  right: 12px;
  transform: rotate(20deg);
  font-size: 22px;
}

.logo-btc-main {
  position: absolute;
  font-size: 24px;
  color: #f7931a;
  right: 18px;
  bottom: 18px;
  text-shadow: 2px 2px 0 #fff, 4px 4px 0 rgba(0, 0, 0, 0.2);
  transform: rotate(-8deg);
  font-weight: 800;
}

/* Star Effects - 성능 개선 */
.star-effect {
  position: absolute;
  color: #fcd34d;
  text-shadow: 0 0 10px rgba(252, 211, 77, 0.8);
  z-index: 5;
  animation: twinkle 2s infinite;
  will-change: transform, opacity;
}

.star-1 { top: 8px; left: 35px; font-size: 12px; }
.star-2 { top: 25px; left: 65px; font-size: 8px; }
.star-3 { top: 55px; left: 15px; font-size: 10px; }
.star-4 { top: 45px; left: 55px; font-size: 14px; }
.star-5 { top: 15px; left: 50px; font-size: 6px; }

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

/* 로고 내부 텍스트 */
.logo-text-inner {
  position: absolute;
  bottom: 1px;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: 'Jua', sans-serif;
  font-size: 12px;
  color: white;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
  z-index: 6;
}

/* Footer Logo */
.logo-container-footer {
  width: 50px;
  height: 50px;
  position: relative;
  background: var(--gradient-primary);
  border-radius: 12px;
  box-shadow: var(--shadow-purple);
  margin-bottom: 12px;
  transition: var(--transition-normal);
}

.logo-blocks-footer {
  position: relative;
  width: 100%;
  height: 100%;
}

.logo-block-footer {
  position: absolute;
  border-radius: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  box-shadow: var(--shadow-sm);
  font-family: 'Black Han Sans', sans-serif;
  transition: var(--transition-fast);
}

.block-a-footer {
  width: 20px;
  height: 20px;
  background-color: #fbbf24;
  color: #7c2d12;
  top: 6px;
  left: 10px;
  transform: rotate(-15deg);
  font-size: 12px;
}

.block-b-footer {
  width: 22px;
  height: 22px;
  background-color: #10b981;
  color: #064e3b;
  bottom: 8px;
  left: 6px;
  transform: rotate(10deg);
  font-size: 13px;
}

.block-c-footer {
  width: 24px;
  height: 24px;
  background-color: #f87171;
  color: #7f1d1d;
  top: 8px;
  right: 6px;
  transform: rotate(20deg);
  font-size: 14px;
}

.logo-btc-footer {
  position: absolute;
  font-size: 16px;
  color: #f7931a;
  right: 10px;
  bottom: 10px;
  text-shadow: 1px 1px 0 #fff, 2px 2px 0 rgba(0, 0, 0, 0.2);
  transform: rotate(-8deg);
  font-weight: 800;
}

/* ===== Enhanced Sidebar Menu ===== */
.sidebar-menu {
  position: fixed;
  top: 0;
  left: calc(-1 * var(--sidebar-width) - 50px);
  width: var(--sidebar-width);
  height: 100vh;
  background: var(--gradient-card);
  border-right: 1px solid var(--border-color);
  transition: left var(--transition-slow);
  z-index: var(--z-sidebar);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-lg);
}

.sidebar-menu.active {
  left: 0;
}

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

.sidebar-logo {
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.sidebar-close {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: var(--transition-fast);
}

.sidebar-close:hover {
  background: var(--bg-tertiary);
  color: var(--text-primary);
}

.sidebar-nav {
  flex: 1;
  padding: 10px;
  overflow-y: auto;
}

.sidebar-nav ul {
  list-style: none;
}

.sidebar-nav li {
  margin-bottom: 0px;
}

.sidebar-nav a {
  display: block;
  padding: 12px 16px;
  color: var(--text-secondary);
  text-decoration: none !important;
  border-radius: 8px;
  transition: var(--transition-fast);
  font-weight: 400;
}

.sidebar-nav a:hover {
  background: var(--bg-tertiary);
  color: var(--accent-purple);
  transform: translateX(4px);
}

/* ===== Enhanced Sidebar Footer with Exchange Links ===== */
.sidebar-footer {
  padding: 20px;
  border-top: 1px solid var(--border-color);
}

/* Exchange Links - Sidebar Version */
.exchange-links {
  margin-top: 15px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.exchange-title {
  margin-top: 15px;
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 14px;
  color: var(--text-secondary);
  margin-bottom: 15px;
  text-align: center;
  font-weight: 600;
}

.exchange-buttons {
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: center;
}

.exchange-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none !important;
  font-weight: 600;
  font-size: 12px;
  transition: var(--transition-normal);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.exchange-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 30%, rgba(255,255,255,0.1) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform 0.6s;
}

.exchange-btn:hover::before {
  transform: translateX(100%);
}

.bybit-btn {
  background: var(--gradient-bybit);
  color: white;
  box-shadow: var(--shadow-bybit);
}

.bybit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(247, 147, 26, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}

.bitget-btn {
  background: var(--gradient-bitget);
  color: white;
  box-shadow: var(--shadow-bitget);
}

.bitget-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(3, 170, 199, 0.4);
  border-color: rgba(255, 255, 255, 0.3);
}


.mexc-btn {
  background: var(--gradient-mexc);
  color: white;
  box-shadow: var(--shadow-mexc);
}

.mexc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(31, 50, 219, 0.801);
  border-color: rgba(255, 255, 255, 0.3);
}


.exchange-btn i {
  font-size: 14px;
}

.exchange-btn span {
  font-family: 'Noto Sans KR', sans-serif;
  font-size: 12px;
}

/* Social Links */
.social-links {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 20px;
}

.social-link {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #c4302b;
  color: var(--text-primary);
  border-radius: 10px;
  text-decoration: none !important;
  transition: var(--transition-normal);
  border: 1px solid var(--border-color);
}

.social-link:hover {
  background: var(--accent-purple);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-purple);
}

/* Visit Stats */
.visit-stats {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.stat-item {
  text-align: center;
  flex: 1;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.stat-value {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-green);
}

/* ===== Enhanced Header ===== */
.main-header {
  background: var(--gradient-card);
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(20px);
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  box-shadow: var(--shadow-md);
  height: var(--header-height);
  position: relative;
  overflow: hidden;
}

.header-chart-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.6;
}

.header-content {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  z-index: 2;
}

.menu-toggle {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  width: 50px;
  height: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 12px;
  transition: var(--transition-normal);
  gap: 4px;
}

.menu-toggle:hover {
  background: var(--accent-purple);
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-purple);
}

.hamburger-line {
  width: 24px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-normal);
}

.menu-toggle:hover .hamburger-line {
  background: white;
}

.site-logo {
  flex: 1;
  display: flex;
  justify-content: center;
}

.logo-link {
  text-decoration: none !important;
  color: inherit;
}

.logo-container-header {
  display: flex;
  align-items: center;
}

.logo-text-container {
  display: flex;
  flex-direction: column;
}

.site-title {
  font-family: 'Jua', sans-serif;
  font-size: 32px;
  font-weight: 800;
  color: var(--text-primary);
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.site-subtitle {
  font-size: 10px;
  color: var(--text-secondary);
  font-weight: 500;
  margin-top: 2px;
}

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

.search-toggle {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  width: 50px;
  height: 50px;
  border-radius: 12px;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.search-toggle:hover {
  background: var(--accent-purple);
  border-color: var(--accent-purple);
  color: white;
  box-shadow: var(--shadow-purple);
}

/* ===== Enhanced Search Bar ===== */
.search-bar {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-slow);
  z-index: 3;
}

.search-bar.active {
  opacity: 1;
  visibility: visible;
}

.search-container {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 25px 20px;
}

.search-form {
  position: relative;
  display: flex;
  align-items: center;
}

.search-input {
  width: 100%;
  height: 60px;
  background: var(--bg-tertiary);
  border: 2px solid var(--border-color);
  border-radius: 15px;
  padding: 0 70px 0 25px;
  font-size: 18px;
  color: var(--text-primary);
  transition: var(--transition-normal);
}

.search-input:focus {
  outline: none;
  border-color: var(--accent-purple);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-close {
  position: absolute;
  right: 20px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 20px;
  cursor: pointer;
  padding: 10px;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.search-close:hover {
  background: var(--bg-primary);
  color: var(--text-primary);
}

/* ===== Main Content ===== */
.main-content {
  flex: 1;
  position: relative;
  z-index: var(--z-content);
}

.content-wrapper {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 50px 20px;
}

/* ===== Content Sections ===== */
.content-section {
  margin-bottom: 80px;
}

.section-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 40px;
  position: relative;
  padding-left: 25px;
  font-family: 'Jua', sans-serif;
}

.section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 5px;
  height: 35px;
  background: var(--gradient-primary);
  border-radius: 3px;
}

/* ===== Gallery Section ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 35px;
  margin-bottom: 50px;
}

.gallery-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-slow);
  position: relative;
}

.gallery-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity var(--transition-normal);
  z-index: 1;
}

.gallery-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--accent-purple);
}

.gallery-card:hover::before {
  opacity: 0.05;
}

.card-image {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.image-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none !important;
}

.thumbnail {
  width: 100%;
  height: 100%;
  background: var(--bg-tertiary);
  background-size: cover;
  background-position: center;
  transition: transform var(--transition-slow);
}

.gallery-card:hover .thumbnail {
  transform: scale(1.08);
}

.card-content {
  padding: 30px;
  position: relative;
  z-index: 2;
}

.card-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.4;
}

.card-title a {
  color: var(--text-primary);
  text-decoration: none !important;
  transition: color var(--transition-fast);
}

.card-title a:hover {
  color: var(--accent-purple);
}

.card-excerpt {
  color: var(--text-secondary);
  line-height: 1.7;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== Post Section ===== */
.post-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 40px;
  transition: var(--transition-normal);
}

.post-card:hover {
  border-color: var(--accent-purple);
  box-shadow: var(--shadow-md);
}

.post-header {
  margin-bottom: 25px;
}

.post-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 15px;
  line-height: 1.3;
}

.post-title a {
  color: var(--text-primary);
  text-decoration: none !important;
  transition: color var(--transition-fast);
}

.post-title a:hover {
  color: var(--accent-purple);
}

.post-meta {
  display: flex;
  gap: 20px;
  align-items: center;
}

.post-category {
  background: var(--accent-purple);
  color: white;
  padding: 6px 16px;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.post-date {
  color: var(--text-muted);
  font-size: 15px;
}

.post-content {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.post-thumbnail {
  flex-shrink: 0;
  width: 250px;
  height: 150px;
  border-radius: 15px;
  overflow: hidden;
}

.post-text {
  flex: 1;
}

.post-excerpt {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 25px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== Enhanced Buttons ===== */
.read-more-btn, 
.load-more-btn {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  position: relative;
  overflow: hidden;
}

.read-more-btn::before,
.load-more-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.6s;
}

.read-more-btn:hover::before,
.load-more-btn:hover::before {
  left: 100%;
}

.read-more-btn:hover, 
.load-more-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-purple);
}

.load-more-btn {
  display: block;
  margin: 0 auto;
  width: fit-content;
}

/* ===== Horizontal Section ===== */
.horizontal-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.horizontal-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  gap: 30px;
  transition: var(--transition-normal);
}

.horizontal-card:hover {
  border-color: var(--accent-purple);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.card-thumbnail {
  flex-shrink: 0;
  width: 150px;
  height: 150px;
  border-radius: 15px;
  overflow: hidden;
}

.card-info {
  flex: 1;
}

.card-meta {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 15px;
}

.card-category {
  background: var(--accent-green);
  color: white;
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 12px;
  font-weight: 500;
}

.card-date {
  color: var(--text-muted);
  font-size: 13px;
}

/* ===== Article List & Full Article ===== */
.article-list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 80px;
}

/* Tistory Comments Styling */
.tt-comment-cont .tt-box-total .tt_txt_g,
.tt-comment-cont .tt-box-total .tt_num_g,
.tt-comment-cont .tt-wrap-cmt .tt-link-user,
.tt-comment-cont .tt-wrap-cmt .tt_desc,
.tt-box-textarea .tt_txt_user,
.tt-box-textarea .tt-cmt {
  font-size: 14px;
  color: #ffffff;
}

.article-card {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  transition: var(--transition-normal);
}

.article-card:hover {
  border-color: var(--accent-purple);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.article-thumbnail {
  flex-shrink: 0;
  width: 300px;
  height: 200px;
}

.article-content {
  flex: 1;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.article-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  line-height: 1.4;
}

.article-title a {
  color: var(--text-primary);
  text-decoration: none !important;
  transition: color var(--transition-fast);
}

.article-title a:hover {
  color: var(--accent-purple);
}

.article-meta {
  display: flex;
  gap: 15px;
  align-items: center;
  margin-bottom: 20px;
}

.article-category {
  background: var(--accent-orange);
  color: white;
  padding: 4px 12px;
  border-radius: 18px;
  font-size: 12px;
  font-weight: 500;
}

.article-date {
  color: var(--text-muted);
  font-size: 14px;
}

.article-excerpt {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.read-more {
  color: var(--accent-purple);
  text-decoration: none !important;
  font-weight: 500;
  font-size: 15px;
  align-self: flex-start;
  transition: color var(--transition-fast);
}

.read-more:hover {
  color: var(--accent-green);
}

/* ===== Full Article ===== */
.article-full {
  background: var(--gradient-card);
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 50px;
  margin-bottom: 50px;
}

.article-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 30px;
  margin-bottom: 40px;
}

.article-full .article-title {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
  line-height: 1.3;
}

#article-view {
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 50px;
  font-size: 17px;
}

#article-view h1, 
#article-view h2, 
#article-view h3, 
#article-view h4 {
  color: var(--text-primary);
  font-weight: 600;
  margin: 40px 0 20px 0;
  line-height: 1.3;
}

#article-view h2 {
  font-size: 28px;
  padding-left: 20px;
  border-left: 5px solid var(--accent-purple);
}

#article-view h3 {
  font-size: 24px;
}

#article-view p {
  margin-bottom: 24px;
  color: var(--text-secondary);
}

#article-view ul li {
  color: var(--text-primary);
  margin-left: 20px;
}

#article-view a {
  color: var(--accent-purple);
  text-decoration: underline !important;
  transition: color var(--transition-fast);
}

#article-view a:hover {
  color: var(--accent-green);
}

#article-view blockquote {
  background: var(--bg-tertiary);
  border-left: 5px solid var(--accent-purple);
  padding: 25px 30px;
  margin: 30px 0;
  border-radius: 0 12px 12px 0;
  font-style: italic;
}

#article-view code {
  background: var(--bg-tertiary);
  color: var(--accent-green);
  padding: 3px 10px;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  font-size: 15px;
}

#article-view pre {
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  overflow-x: auto;
  margin: 25px 0;
}

#article-view img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 25px 0;
}

/* ===== Tags ===== */
.article-tags {
  border-top: 1px solid var(--border-color);
  padding-top: 30px;
  margin-bottom: 40px;
}

.tags-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.tags-list a {
  display: inline-block;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  padding: 8px 16px;
  border-radius: 25px;
  text-decoration: none !important;
  font-size: 14px;
  margin: 0 10px 10px 0;
  border: 1px solid var(--border-color);
  transition: var(--transition-fast);
}

.tags-list a:hover {
  background: var(--accent-purple);
  color: white;
  border-color: var(--accent-purple);
}

/* ===== Related Posts ===== */
.related-posts {
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
  margin-bottom: 40px;
}

.related-title {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 25px;
  color: var(--text-primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.more-link {
  font-size: 15px;
  color: var(--accent-purple);
  text-decoration: none !important;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.more-link:hover {
  color: var(--accent-green);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
}

.related-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  height: 140px;
  transition: transform var(--transition-normal);
}

.related-item:hover {
  transform: scale(1.02);
}

.related-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none !important;
}

.related-thumbnail {
  width: 100%;
  height: 100%;
  background: var(--bg-tertiary);
  background-size: cover;
  background-position: center;
  transition: transform var(--transition-normal);
}

.related-item:hover .related-thumbnail {
  transform: scale(1.05);
}

.related-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.9));
  color: white;
  padding: 25px 20px 20px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
}

/* ===== Comments ===== */
.comments-section {
  border-top: 1px solid var(--border-color);
  padding-top: 40px;
}

/* ===== Protected Form ===== */
.protected-form {
  background: var(--bg-tertiary);
  padding: 40px;
  border-radius: 15px;
  text-align: center;
}

.protected-form p {
  margin-bottom: 25px;
  font-size: 18px;
  color: var(--text-secondary);
}

.protected-form input {
  width: 300px;
  height: 50px;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  padding: 0 20px;
  color: var(--text-primary);
  font-size: 16px;
  margin-right: 15px;
  transition: var(--transition-fast);
}

.protected-form input:focus {
  outline: none;
  border-color: var(--accent-purple);
}

.protected-form button {
  background: var(--gradient-primary);
  color: white;
  border: none;
  padding: 15px 25px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-normal);
}

.protected-form button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-purple);
}

/* ===== Enhanced Pagination ===== */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin: 80px 0;
}

.page-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 15px 25px;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-secondary);
  text-decoration: none !important;
  font-weight: 500;
  transition: var(--transition-normal);
}

.page-btn:hover:not(.no-more-prev):not(.no-more-next) {
  background: var(--accent-purple);
  border-color: var(--accent-purple);
  color: white;
  transform: translateY(-3px);
}

.page-btn.no-more-prev,
.page-btn.no-more-next {
  opacity: 0.5;
  cursor: not-allowed;
}

.page-numbers {
  display: flex;
  gap: 10px;
}

.page-number {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-tertiary);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  color: var(--text-secondary);
  text-decoration: none !important;
  font-weight: 500;
  transition: var(--transition-normal);
}

.page-number:hover {
  background: var(--accent-purple);
  border-color: var(--accent-purple);
  color: white;
}

.page-number.selected {
  background: var(--accent-purple);
  border-color: var(--accent-purple);
  color: white;
}

/* ===== Footer - 정상 표시되도록 수정 ===== */
.main-footer {
  background: var(--gradient-card);
  border-top: 1px solid var(--border-color);
  padding: 10px 0;
  margin-top: auto;
  position: relative;
  z-index: var(--z-content);
}

.footer-content {
  max-width: var(--content-max-width);
  margin: 0 auto;
  padding: 0 20px;
  text-align: center;
}

.footer-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-title {
  font-family: 'Jua', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 5px;
}

.footer-subtitle {
  font-size: 14px;
  color: var(--text-secondary);
}

.footer-text {
  color: var(--text-muted);
  font-size: 15px;
}

/* ===== Body States ===== */
body.sidebar-open {
  overflow: hidden;
}

body.sidebar-open::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: var(--z-sidebar-overlay);
  backdrop-filter: blur(5px);
}

/* ===== 🚀 본문 삽입용 통합 Exchange & YouTube 섹션 - 완전히 새로운 디자인 ===== */

/* 메인 컨테이너 - 네온 카드 스타일 */
.crypto-promo-unified {
  margin: 50px auto;
  max-width: 900px;
  padding: 0;
  font-family: 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
  position: relative;
  overflow: hidden;
}

/* 외부 네온 테두리 */
.crypto-neon-wrapper {
  background: linear-gradient(135deg, 
    rgba(99, 102, 241, 0.8) 0%, 
    rgba(147, 51, 234, 0.8) 25%,
    rgba(236, 72, 153, 0.8) 50%,
    rgba(239, 68, 68, 0.8) 75%,
    rgba(245, 158, 11, 0.8) 100%);
  border-radius: 32px;
  padding: 4px;
  box-shadow: 
    0 20px 60px rgba(99, 102, 241, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: neon-pulse 4s ease-in-out infinite;
}

@keyframes neon-pulse {
  0%, 100% { 
    box-shadow: 
      0 20px 60px rgba(99, 102, 241, 0.3),
      0 0 0 1px rgba(255, 255, 255, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  50% { 
    box-shadow: 
      0 25px 80px rgba(99, 102, 241, 0.5),
      0 0 0 2px rgba(255, 255, 255, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.3),
      0 0 100px rgba(147, 51, 234, 0.4);
  }
}

/* 내부 컨테이너 */
.crypto-inner-unified {
  background: linear-gradient(135deg, 
    rgba(15, 23, 42, 0.98) 0%, 
    rgba(30, 41, 59, 0.98) 100%);
  border-radius: 28px;
  padding: 45px 40px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(20px);
}

/* 배경 애니메이션 효과 */
.crypto-inner-unified::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(147, 51, 234, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 40% 60%, rgba(236, 72, 153, 0.05) 0%, transparent 50%);
  animation: bg-float 20s ease-in-out infinite;
  z-index: 0;
}

@keyframes bg-float {
  0%, 100% { transform: translate(0, 0) rotate(0deg) scale(1); }
  33% { transform: translate(10px, -10px) rotate(1deg) scale(1.02); }
  66% { transform: translate(-10px, 10px) rotate(-1deg) scale(0.98); }
}

/* 헤더 섹션 */
.crypto-header-unified {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.crypto-title-unified {
  font-family: 'Black Han Sans', sans-serif;
  font-size: 36px;
  font-weight: 900;
  background: linear-gradient(135deg, 
    #FCD535 0%, 
    #F7931A 25%,
    #FF6B6B 50%,
    #4ECDC4 75%,
    #45B7D1 100%);
  background-size: 300% 300%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 0 0 15px 0;
  line-height: 1.2;
  animation: gradient-shift 6s ease-in-out infinite;
  text-shadow: 0 0 30px rgba(252, 213, 53, 0.3);
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.crypto-subtitle-unified {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  line-height: 1.6;
  font-weight: 500;
}

/* 메인 콘텐츠 그리드 */
.crypto-content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  margin-bottom: 35px;
  position: relative;
  z-index: 2;
}

/* 거래소 섹션 */
.crypto-exchanges-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.exchange-section-title {
  font-family: 'Jua', sans-serif;
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.exchange-section-title::before {
  content: '💎';
  font-size: 24px;
  animation: rotate-gem 4s linear infinite;
}

@keyframes rotate-gem {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 거래소 버튼들 */
.exchange-btn-unified {
  display: flex;
  align-items: center;
  padding: 17px 24px;
  text-decoration: none !important;
  border-bottom: none !important;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(15px);
  color: inherit !important;
}

/* 거래소 버튼 호버 시 광선 효과 */
.exchange-btn-unified::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.2), 
    transparent);
  transition: left 0.8s;
  z-index: 0;
}

.exchange-btn-unified:hover::before {
  left: 100%;
}

/* Bybit 버튼 */
.exchange-btn-unified.bybit-unified {
  border-left: 4px solid #F7A600;
  box-shadow: 0 8px 32px rgba(247, 166, 0, 0.2);
}

.exchange-btn-unified.bybit-unified:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 
    0 20px 50px rgba(247, 166, 0, 0.4),
    0 0 0 2px rgba(247, 166, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: #F7A600;
  background: rgba(247, 166, 0, 0.15);
  text-decoration: none !important;
  color: inherit !important;
}

/* Bitget 버튼 */
.exchange-btn-unified.bitget-unified {
  border-left: 4px solid #00D4AA;
  box-shadow: 0 8px 32px rgba(0, 212, 170, 0.2);
}

.exchange-btn-unified.bitget-unified:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 
    0 20px 50px rgba(0, 212, 170, 0.4),
    0 0 0 2px rgba(0, 212, 170, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: #00D4AA;
  background: rgba(0, 212, 170, 0.15);
  text-decoration: none !important;
  color: inherit !important;
}

/* MEXC 버튼 */
.exchange-btn-unified.mexc-unified {
  border-left: 4px solid #1463ff;
  box-shadow: 0 8px 32px rgba(34, 66, 247, 0.774);
}

.exchange-btn-unified.mexc-unified:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 
    0 20px 50px rgba(0, 38, 255, 0.6),
    0 0 0 2px rgba(0, 38, 255, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: #1463ff;
  background: rgba(0, 38, 255, 0.3);
  text-decoration: none !important;
  color: inherit !important;
}



/* 거래소 아이콘 */
.exchange-icon-unified {
  font-size: 30px;
  margin-right: 20px;
  flex-shrink: 0;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
  position: relative;
  z-index: 1;
}

/* 거래소 버튼 콘텐츠 */
.exchange-content-unified {
  flex: 1;
  position: relative;
  z-index: 1;
}

.exchange-btn-title {
  font-family: 'Jua', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.3;
}

.exchange-btn-subtitle {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
  font-weight: 400;
}

/* 화살표 아이콘 */
.exchange-arrow-unified {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: 16px;
  font-weight: bold;
  position: relative;
  z-index: 1;
}

.exchange-btn-unified:hover .exchange-arrow-unified {
  transform: translateX(8px) scale(1.2);
  color: rgba(255, 255, 255, 0.9);
}

/* 유튜브 섹션 */
.crypto-youtube-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  background: linear-gradient(135deg, 
    rgba(220, 38, 38, 0.1) 0%, 
    rgba(239, 68, 68, 0.1) 100%);
  border: 2px solid rgba(239, 68, 68, 0.3);
  border-radius: 20px;
  padding: 30px 20px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

/* 유튜브 배경 효과 */
.crypto-youtube-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, 
    rgba(239, 68, 68, 0.1) 0%, 
    transparent 70%);
  animation: youtube-rotate 15s linear infinite;
  z-index: 0;
}

@keyframes youtube-rotate {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.youtube-section-title {
  font-family: 'Jua', sans-serif;
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 15px;
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* 유튜브 아이콘 - 상단 중앙 배치로 수정 */
.youtube-icon-unified {
  position: relative;
  font-size: 48px;
  color: #EF4444;
  margin-bottom: 15px;
  animation: youtube-pulse 2.5s ease-in-out infinite;
  filter: drop-shadow(0 4px 10px rgba(239, 68, 68, 0.5));
  z-index: 2;
  display: block;
  text-align: center;
}

@keyframes youtube-pulse {
  0%, 100% { 
    transform: scale(1);
    filter: drop-shadow(0 4px 10px rgba(239, 68, 68, 0.5));
  }
  50% { 
    transform: scale(1.2);
    filter: drop-shadow(0 6px 15px rgba(239, 68, 68, 0.8));
  }
}

/* 코인유치원 로고 - 유튜브 섹션용 */
.youtube-logo-unified {
  width: 100px;
  height: 100px;
  position: relative;
  background: linear-gradient(135deg, #6366f1 0%, #f7525f 100%);
  border-radius: 25px;
  margin-bottom: 20px;
  box-shadow: 
    0 15px 35px rgba(0, 0, 0, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  z-index: 1;
  position: relative;
}

.youtube-logo-unified:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 
    0 20px 50px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

/* 로고 블록들 - 유튜브 버전 */
.youtube-logo-blocks {
  position: relative;
  width: 100%;
  height: 100%;
}

.youtube-logo-block {
  position: absolute;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-weight: 800;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
  font-family: 'Black Han Sans', sans-serif;
  transition: all 0.3s;
}

.youtube-block-a {
  width: 28px;
  height: 28px;
  background-color: #fbbf24;
  color: #7c2d12;
  top: 12px;
  left: 18px;
  transform: rotate(-15deg);
  font-size: 16px;
}

.youtube-block-b {
  width: 32px;
  height: 32px;
  background-color: #10b981;
  color: #064e3b;
  bottom: 15px;
  left: 12px;
  transform: rotate(10deg);
  font-size: 18px;
}

.youtube-block-c {
  width: 34px;
  height: 34px;
  background-color: #f87171;
  color: #7f1d1d;
  top: 15px;
  right: 12px;
  transform: rotate(20deg);
  font-size: 20px;
}

.youtube-logo-btc {
  position: absolute;
  font-size: 22px;
  color: #f7931a;
  right: 20px;
  bottom: 15px;
  text-shadow: 
    2px 2px 0 #fff, 
    4px 4px 0 rgba(0, 0, 0, 0.3),
    0 0 15px rgba(247, 147, 26, 0.6);
  transform: rotate(-8deg);
  font-weight: 800;
}

/* 유튜브 텍스트 */
.youtube-text-unified {
  font-family: 'Jua', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.youtube-subtext-unified {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.4;
  position: relative;
  z-index: 1;
}

/* 면책조항 섹션 */
.crypto-disclaimer-unified {
  text-align: center;
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 2;
}

.crypto-disclaimer-unified small {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  line-height: 1.6;
  font-weight: 400;
}

/* ===== 🔧 강력한 링크 밑줄 제거 규칙 ===== */

/* 통합 박스 내 모든 링크 밑줄 완전 제거 */
.crypto-promo-unified,
.crypto-promo-unified *,
.crypto-neon-wrapper,
.crypto-neon-wrapper *,
.crypto-inner-unified,
.crypto-inner-unified *,
.exchange-btn-unified,
.exchange-btn-unified *,
.youtube-logo-unified,
.youtube-logo-unified * {
  text-decoration: none !important;
  border-bottom: none !important;
  outline: none !important;
}

/* 모든 링크 상태에서 밑줄 제거 */
.crypto-promo-unified a,
.crypto-promo-unified a:link,
.crypto-promo-unified a:visited,
.crypto-promo-unified a:hover,
.crypto-promo-unified a:active,
.crypto-promo-unified a:focus,
.exchange-btn-unified,
.exchange-btn-unified:link,
.exchange-btn-unified:visited,
.exchange-btn-unified:hover,
.exchange-btn-unified:active,
.exchange-btn-unified:focus {
  text-decoration: none !important;
  border-bottom: none !important;
  outline: none !important;
  color: inherit !important;
}

/* article-view 내부 링크 스타일을 통합 박스에서 무효화 */
#article-view .crypto-promo-unified a,
#article-view .crypto-promo-unified a:hover,
#article-view .crypto-promo-unified a:visited,
#article-view .crypto-promo-unified a:active,
#article-view .crypto-promo-unified a:focus,
#article-view .exchange-btn-unified,
#article-view .exchange-btn-unified:hover,
#article-view .exchange-btn-unified:visited,
#article-view .exchange-btn-unified:active,
#article-view .exchange-btn-unified:focus {
  color: inherit !important;
  text-decoration: none !important;
  border-bottom: none !important;
  outline: none !important;
}

/* 더 강력한 규칙으로 모든 경우 커버 */
.crypto-promo-unified a[href],
.crypto-promo-unified a[href]:link,
.crypto-promo-unified a[href]:visited,
.crypto-promo-unified a[href]:hover,
.crypto-promo-unified a[href]:active,
.crypto-promo-unified a[href]:focus {
  text-decoration: none !important;
  border-bottom: none !important;
  outline: none !important;
  color: inherit !important;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
  .crypto-promo-unified {
    margin: 30px 10px;
  }
  
  .crypto-inner-unified {
    padding: 30px 25px;
  }
  
  .crypto-title-unified {
    font-size: 28px;
  }
  
  .crypto-subtitle-unified {
    font-size: 16px;
  }
  
  .crypto-content-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .exchange-btn-unified {
    padding: 18px 20px;
  }
  
  .exchange-icon-unified {
    font-size: 32px;
    margin-right: 16px;
  }
  
  .exchange-btn-title {
    font-size: 18px;
  }
  
  .exchange-btn-subtitle {
    font-size: 13px;
  }
  
  .crypto-youtube-section {
    padding: 25px 18px;
  }
  
  .youtube-logo-unified {
    width: 80px;
    height: 80px;
  }
  
  .youtube-block-a,
  .youtube-block-b, 
  .youtube-block-c {
    width: 24px;
    height: 24px;
    font-size: 14px;
  }
  
  .youtube-logo-btc {
    font-size: 18px;
  }
}

@media (max-width: 480px) {
  .crypto-inner-unified {
    padding: 25px 20px;
  }
  
  .crypto-title-unified {
    font-size: 24px;
  }
  
  .crypto-subtitle-unified {
    font-size: 14px;
  }
  
  .exchange-btn-unified {
    padding: 16px 18px;
  }
  
  .exchange-icon-unified {
    font-size: 28px;
    margin-right: 14px;
  }
  
  .exchange-btn-title {
    font-size: 16px;
  }
  
  .crypto-youtube-section {
    padding: 20px 15px;
  }
  
  .youtube-logo-unified {
    width: 70px;
    height: 70px;
  }
}

/* ===== Enhanced Responsive Design ===== */

/* 타블릿 사이즈 최적화 (768px - 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  .content-wrapper {
    max-width: 95%;
    padding: 40px 20px;
  }
  
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

/* 모바일 최적화 */
@media (max-width: 768px) {
  :root {
    --header-height: 100px;
    --sidebar-width: 280px;
  }
  
  .main-header {
    height: var(--header-height);
  }
  
  .content-wrapper {
    padding: 30px 16px;
  }
  
  .header-content {
    padding: 0 16px;
  }
  
  .logo-icon-main {
    width: 60px;
    height: 60px;
    margin-right: 12px;
  }
  
  .block-a-main, 
  .block-b-main, 
  .block-c-main {
    width: 24px;
    height: 24px;
    font-size: 14px;
  }
  
  .logo-btc-main {
    font-size: 18px;
  }
  
  .site-title {
    font-size: 24px;
  }
  
  .site-subtitle {
    font-size: 8px;
  }
  
  .section-title {
    font-size: 26px;
    margin-bottom: 30px;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .post-content {
    flex-direction: column;
    gap: 25px;
  }
  
  .post-thumbnail {
    width: 100%;
    height: 220px;
  }
  
  .horizontal-card {
    flex-direction: column;
    gap: 20px;
  }
  
  .card-thumbnail {
    width: 100%;
    height: 220px;
  }
  
  .article-card {
    flex-direction: column;
  }
  
  .article-thumbnail {
    width: 100%;
    height: 220px;
  }
  
  .article-full {
    padding: 30px 25px;
  }
  
  .article-full .article-title {
    font-size: 28px;
  }
  
  .related-grid {
    grid-template-columns: 1fr;
  }
  
  .pagination {
    flex-wrap: wrap;
    gap: 10px;
  }
  
  .page-btn {
    padding: 12px 20px;
    font-size: 15px;
  }
  
  .sidebar-menu {
    width: var(--sidebar-width);
    left: calc(-1 * var(--sidebar-width) - 50px);
  }
  
  .protected-form input {
    width: 100%;
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  /* Sidebar Exchange Buttons Mobile */
  .exchange-buttons {
    gap: 8px;
  }
  
  .exchange-btn {
    padding: 8px 12px;
    font-size: 10px;
  }
  
  .exchange-btn span {
    font-size: 10px;
  }
  
  .exchange-title {
    font-size: 12px;
  }
}

/* 소형 모바일 최적화 */
@media (max-width: 480px) {
  :root {
    --header-height: 90px;
  }
  
  .main-header {
    height: var(--header-height);
  }
  
  .content-wrapper {
    padding: 20px 12px;
  }
  
  .header-content {
    padding: 0 12px;
  }
  
  .logo-icon-main {
    width: 50px;
    height: 50px;
  }
  
  .site-title {
    font-size: 20px;
  }
  
  .site-subtitle {
    font-size: 6px;
  }
  
  .section-title {
    font-size: 22px;
  }
  
  .gallery-card,
  .post-card,
  .horizontal-card,
  .article-card,
  .article-full {
    border-radius: 15px;
  }
  
  .card-content,
  .article-content {
    padding: 20px;
  }
  
  .article-full .article-title {
    font-size: 24px;
  }
  
  #article-view h2 {
    font-size: 22px;
  }
  
  #article-view h3 {
    font-size: 20px;
  }
  
  .sidebar-menu {
    width: var(--sidebar-width);
    left: -350px;
  }
}

/* ===== Accessibility & Performance ===== */

/* 모션 감소 설정 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  
  .twinkle,
  .neon-pulse,
  .gradient-shift,
  .bg-float,
  .rotate-gem,
  .youtube-rotate,
  .youtube-pulse {
    animation: none !important;
  }
}

/* ===== Focus States for Accessibility ===== */
button:focus,
input:focus,
textarea:focus,
select:focus,
a:focus {
  outline: 2px solid var(--accent-purple);
  outline-offset: 2px;
}

/* ===== 네임카드 숨김 처리 ===== */
[data-tistory-react-app='Namecard'] {
  display: none !important;
}

/* ===== Performance Optimizations ===== */
* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  height: auto;
}

.logo-icon-main,
.exchange-btn-unified,
.youtube-logo-unified,
.star-effect {
  will-change: transform;
}

/* GPU 가속 최적화 */
.exchange-btn-unified,
.youtube-logo-unified,
.gallery-card,
.article-card,
.crypto-neon-wrapper {
  transform: translateZ(0);
  backface-visibility: hidden;
}
