/* ================================================
   HBC - Helicopter Books Coin
   Green Theme Stylesheet
   ================================================ */

:root {
  /* 그린 포인트 컬러 */
  --hbc-gold:        #10b981;   /* 메인 그린 (기존 gold 역할) */
  --hbc-gold-light:  #34d399;   /* 밝은 그린 */
  --hbc-gold-dark:   #059669;   /* 짙은 그린 */

  /* 배경 */
  --hbc-dark:   #0a1a14;
  --hbc-dark-2: #0d2019;
  --hbc-dark-3: #112b20;
  --hbc-dark-4: #163526;

  /* 기타 */
  --hbc-border: rgba(255,255,255,0.07);
  --hbc-text:   #e2f4ec;
  --hbc-muted:  #98c4ac;
  --hbc-radius:    16px;
  --hbc-radius-sm: 10px;
  --hbc-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

/* ===== BASE ===== */
* { box-sizing: border-box; }

body.hbc-body {
  background: var(--hbc-dark);
  color: var(--hbc-text);
  font-family: 'Noto Sans KR', sans-serif;
  -webkit-font-smoothing: antialiased;
}

.pt-6 { padding-top: 80px; }
.py-6 { padding-top: 80px; padding-bottom: 80px; }

/* ===== NAVBAR ===== */
.hbc-navbar {
  background: rgba(10, 26, 20, 0.96) !important;
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--hbc-border);
  padding: 0.75rem 0;
  transition: all 0.3s;
}

.hbc-logo-icon {
  width: 38px; height: 38px;
  background: linear-gradient(135deg, var(--hbc-gold), var(--hbc-gold-dark));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: #fff;
}

.hbc-logo-text .logo-main {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.3rem; font-weight: 700;
  color: var(--hbc-gold); line-height: 1;
}
.hbc-logo-text .logo-sub {
  display: block; font-size: 0.6rem;
  color: var(--hbc-muted); white-space: nowrap;
}

.hbc-nav-link {
  color: rgba(255,255,255,0.75) !important;
  font-size: 0.88rem; font-weight: 500;
  padding: 0.5rem 0.9rem !important;
  border-radius: 8px; transition: all 0.2s; white-space: nowrap;
}
.hbc-nav-link:hover {
  color: #fff !important;
  background: rgba(16,185,129,0.1);
}

.hbc-balance-badge {
  display: flex; align-items: center; gap: 6px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  padding: 6px 14px; border-radius: 20px;
  font-size: 0.85rem; font-weight: 600; color: white;
}

.hbc-btn-gold {
  background: linear-gradient(135deg, var(--hbc-gold), var(--hbc-gold-dark)) !important;
  color: #fff !important;
  border: none !important; font-weight: 700 !important;
  border-radius: 10px !important; transition: all 0.2s !important;
}
.hbc-btn-gold:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(16,185,129,0.4) !important;
}

.hbc-avatar {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(16,185,129,0.4);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}

.hbc-dropdown {
  background: var(--hbc-dark-3);
  border: 1px solid var(--hbc-border);
  border-radius: 12px; min-width: 180px;
}
.hbc-dropdown .dropdown-item {
  color: rgba(255,255,255,0.75); font-size: 0.875rem;
  padding: 0.6rem 1rem; border-radius: 8px; margin: 2px 4px;
}
.hbc-dropdown .dropdown-item:hover {
  background: rgba(16,185,129,0.1); color: white;
}

.hbc-offcanvas { background: var(--hbc-dark-2) !important; }
.hbc-mobile-link {
  display: block; color: rgba(255,255,255,0.75);
  text-decoration: none; padding: 0.75rem 1rem;
  border-radius: 10px; font-size: 0.9rem; transition: all 0.2s;
}
.hbc-mobile-link:hover { background: rgba(16,185,129,0.1); color: white; }

/* ===== SECTIONS ===== */
.hbc-section-dark   { background: var(--hbc-dark-2); }
.hbc-section-darker { background: var(--hbc-dark-3); }

.hbc-section-badge {
  display: inline-block;
  background: rgba(16,185,129,0.12);
  color: var(--hbc-gold);
  border: 1px solid rgba(16,185,129,0.3);
  padding: 4px 14px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 1px; text-transform: uppercase;
}
.hbc-section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800; margin: 0;
}

/* ===== HERO ===== */
.hbc-hero {
  position: relative; background: var(--hbc-dark);
  overflow: hidden; min-height: 100vh;
}
.hbc-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(16,185,129,0.07) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(52,211,153,0.05) 0%, transparent 50%);
}

.hbc-hero-particles { position: absolute; inset: 0; pointer-events: none; }
.particle {
  position: absolute;
  left: var(--x); top: var(--y);
  width: 4px; height: 4px; border-radius: 50%;
  background: var(--hbc-gold); opacity: 0.4;
  animation: float var(--d) ease-in-out infinite alternate;
}
@keyframes float {
  from { transform: translateY(0) scale(1); opacity: 0.4; }
  to   { transform: translateY(-20px) scale(1.5); opacity: 0.1; }
}

.hbc-hero-badge {
  display: inline-flex; align-items: center;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  color: var(--hbc-gold); padding: 6px 16px;
  border-radius: 20px; font-size: 0.8rem;
}
.hbc-hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900; line-height: 1.1; margin-bottom: 1.2rem;
}
.hbc-gradient-text {
  background: linear-gradient(135deg, var(--hbc-gold), #34d399);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hbc-hero-desc {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85); line-height: 1.7;
}

.hbc-stat-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--hbc-border);
  border-radius: 12px; padding: 14px; text-align: center;
}
.hbc-stat-num  { font-size: 1.2rem; font-weight: 800; color: var(--hbc-gold); }
.hbc-stat-label { font-size: 0.7rem; color: var(--hbc-muted); margin-top: 2px; }

/* Coin */
.hbc-coin-container {
  position: relative; display: inline-block;
  width: 320px; height: 320px;
}
.hbc-coin-glow {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 250px; height: 250px; border-radius: 50%;
  background: radial-gradient(circle, rgba(16,185,129,0.3) 0%, transparent 70%);
  animation: pulse-glow 3s ease-in-out infinite;
}
@keyframes pulse-glow {
  0%,100% { transform: translate(-50%,-50%) scale(1); opacity: 0.7; }
  50%      { transform: translate(-50%,-50%) scale(1.2); opacity: 0.4; }
}
.hbc-coin-3d {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 200px; height: 200px; border-radius: 50%;
  background: linear-gradient(135deg, #059669, #10b981 40%, #34d399 60%, #059669);
  border: 8px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  animation: coin-spin 8s linear infinite;
  box-shadow: 0 0 40px rgba(16,185,129,0.5), inset 0 0 30px rgba(0,0,0,0.3);
}
@keyframes coin-spin {
  0%   { transform: translate(-50%,-50%) rotateY(0deg); }
  100% { transform: translate(-50%,-50%) rotateY(360deg); }
}
.coin-face { text-align: center; }
.coin-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem; font-weight: 900;
  color: rgba(255,255,255,0.7); letter-spacing: 4px;
}

/* Float Tags */
.hbc-float-tag {
  position: absolute;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.4);
  color: var(--hbc-gold);
  padding: 6px 14px; border-radius: 20px;
  font-size: 0.8rem; font-weight: 600; white-space: nowrap;
}
.tag-1 { top: 10%; left: -10%; animation: float-tag 4s ease-in-out infinite; }
.tag-2 { top: 20%; right: -5%; animation: float-tag 3.5s ease-in-out infinite 0.5s; }
.tag-3 { bottom: 20%; left: -5%; animation: float-tag 4.5s ease-in-out infinite 1s; }
.tag-4 { bottom: 10%; right: -8%; animation: float-tag 3s ease-in-out infinite 1.5s; }
@keyframes float-tag {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-12px); }
}

.hbc-scroll-hint {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%); color: var(--hbc-gold);
  font-size: 1.2rem; animation: bounce-down 2s infinite;
}
@keyframes bounce-down {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}

/* ===== USE CARDS ===== */
.hbc-use-card {
  background: var(--hbc-dark-3);
  border: 1px solid var(--hbc-border);
  border-radius: var(--hbc-radius);
  padding: 2rem; height: 100%;
  transition: all 0.3s; position: relative; overflow: hidden;
}
/* 카드 내부 설명 텍스트 — 배경 대비 확보 */
.hbc-use-card p,
.hbc-use-card p.text-muted {
  color: rgba(200, 240, 220, 0.75) !important;
  line-height: 1.65;
}
.hbc-use-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--hbc-gold), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.hbc-use-card:hover { transform: translateY(-4px); border-color: rgba(16,185,129,0.3); }
.hbc-use-card:hover::before { opacity: 1; }
.hbc-use-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem; font-weight: 900;
  color: rgba(16,185,129,0.15); line-height: 1;
}
.hbc-use-icon { font-size: 2rem; color: var(--hbc-gold); margin-top: -1rem; }
.hbc-use-link {
  color: var(--hbc-gold); font-size: 0.85rem;
  text-decoration: none; display: inline-flex; align-items: center; gap: 6px;
  margin-top: 1rem; transition: gap 0.2s;
}
.hbc-use-link:hover { gap: 10px; }

/* ===== BENEFIT CARDS ===== */
.hbc-benefit-card {
  background: var(--hbc-dark-4);
  border: 1px solid var(--hbc-border);
  border-radius: var(--hbc-radius);
  padding: 2rem 1.5rem; transition: all 0.3s;
}
.hbc-benefit-card:hover { border-color: rgba(16,185,129,0.3); transform: translateY(-3px); }
.hbc-benefit-icon {
  width: 60px; height: 60px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--hbc-gold); margin: 0 auto;
}

/* ===== DROP CARDS ===== */
.hbc-drop-card {
  background: var(--hbc-dark-3);
  border: 1px solid var(--hbc-border);
  border-radius: var(--hbc-radius);
  padding: 1.5rem; position: relative; transition: all 0.3s;
}
.hbc-drop-card:hover { border-color: rgba(16,185,129,0.3); }

.hbc-drop-status-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  color: var(--hbc-gold);
  padding: 3px 10px; border-radius: 20px;
  font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
  margin-bottom: 1rem;
}
.hbc-live-dot {
  width: 6px; height: 6px; background: var(--hbc-gold); border-radius: 50%;
  display: inline-block; animation: live-pulse 1.5s ease-in-out infinite;
}
@keyframes live-pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.5; transform: scale(1.5); }
}
.hbc-live-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  color: var(--hbc-gold);
  padding: 4px 12px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 700;
}
.hbc-progress {
  height: 6px; background: rgba(16,185,129,0.12);
  border-radius: 3px; overflow: hidden;
}
.hbc-progress .progress-bar { background: var(--hbc-gold) !important; }

/* ===== BOOK CARDS ===== */
.hbc-book-card-link { text-decoration: none; }
.hbc-book-card {
  background: var(--hbc-dark-3);
  border: 1px solid var(--hbc-border);
  border-radius: var(--hbc-radius-sm);
  overflow: hidden; transition: all 0.3s; position: relative;
}
.hbc-book-card:hover { transform: translateY(-4px); border-color: rgba(16,185,129,0.3); }
.hbc-book-rank {
  position: absolute; top: 8px; left: 8px;
  background: var(--hbc-gold); color: #fff; font-weight: 800;
  width: 24px; height: 24px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; z-index: 1;
}
.hbc-book-cover {
  aspect-ratio: 3/4; background: var(--hbc-dark-4);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hbc-book-cover-placeholder {
  display: flex; align-items: center; justify-content: center;
  height: 100%; color: var(--hbc-gold); opacity: 0.4;
}
.hbc-book-info { padding: 0.75rem; }
.hbc-book-title {
  font-size: 0.8rem; font-weight: 600; color: white;
  overflow: hidden; display: -webkit-box;
  -webkit-line-clamp: 2; -webkit-box-orient: vertical; line-height: 1.3;
}
.hbc-book-author { font-size: 0.7rem; margin-top: 2px; }
.hbc-book-price  { font-size: 0.75rem; font-weight: 700; }

/* ===== BOOK GRID ===== */
.hbc-book-grid-card {
  background: var(--hbc-dark-3);
  border: 1px solid var(--hbc-border);
  border-radius: var(--hbc-radius-sm);
  overflow: hidden; transition: all 0.3s;
}
.hbc-book-grid-card:hover { transform: translateY(-4px); border-color: rgba(16,185,129,0.3); }
.hbc-book-grid-cover {
  aspect-ratio: 3/4; background: var(--hbc-dark-4);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.hbc-book-grid-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center; height: 100%;
}
.hbc-book-type-badge {
  position: absolute; bottom: 6px; left: 6px;
  background: rgba(0,0,0,0.7); color: var(--hbc-gold);
  padding: 2px 8px; border-radius: 4px;
  font-size: 0.65rem; font-weight: 700;
}
.hbc-book-grid-info   { padding: 0.75rem; }
.hbc-book-grid-title  { font-size: 0.8rem; font-weight: 600; color: white; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.hbc-book-grid-author { font-size: 0.7rem; color: var(--hbc-muted); margin-top: 2px; }
.hbc-book-grid-price  { font-size: 0.8rem; font-weight: 700; }

/* ===== CATEGORY TABS ===== */
.hbc-category-tabs { display: flex; flex-wrap: wrap; gap: 8px; }
.hbc-cat-tab {
  display: inline-block; padding: 6px 16px;
  background: var(--hbc-dark-3); border: 1px solid var(--hbc-border);
  border-radius: 20px; color: rgba(255,255,255,0.6);
  text-decoration: none; font-size: 0.85rem; transition: all 0.2s;
}
.hbc-cat-tab:hover, .hbc-cat-tab.active {
  background: rgba(16,185,129,0.12);
  border-color: rgba(16,185,129,0.4);
  color: var(--hbc-gold);
}

/* ===== PAGE HEADER ===== */
.hbc-page-header {
  background: var(--hbc-dark-2);
  border-bottom: 1px solid var(--hbc-border);
  padding-bottom: 2rem;
}
.hbc-page-icon {
  width: 50px; height: 50px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: var(--hbc-gold);
}

/* ===== SEARCH ===== */
.hbc-search-form { max-width: 600px; }
.hbc-search-wrapper {
  display: flex; align-items: center;
  background: var(--hbc-dark-3);
  border: 1px solid var(--hbc-border);
  border-radius: 12px; padding: 4px 4px 4px 16px; gap: 10px;
  transition: border-color 0.2s;
}
.hbc-search-wrapper:focus-within { border-color: rgba(16,185,129,0.4); }
.hbc-search-icon { color: var(--hbc-muted); font-size: 1rem; }
.hbc-search-input {
  flex: 1; background: transparent; border: none; outline: none;
  color: white; font-size: 0.9rem; padding: 8px 0;
}
.hbc-search-input::placeholder { color: var(--hbc-muted); }

/* ===== PAGINATION ===== */
.hbc-pagination .page-link {
  background: var(--hbc-dark-3); border: 1px solid var(--hbc-border);
  color: rgba(255,255,255,0.7);
  border-radius: 8px !important; margin: 0 2px; min-width: 38px;
  text-align: center; transition: all 0.2s;
}
.hbc-pagination .page-link:hover { background: var(--hbc-dark-4); color: white; }
.hbc-pagination .active .page-link {
  background: var(--hbc-gold) !important;
  border-color: var(--hbc-gold) !important;
  color: #fff !important; font-weight: 700;
  box-shadow: 0 0 12px rgba(16,185,129,0.35);
}

/* ===== AUTH ===== */
.hbc-auth-bg {
  position: fixed; inset: 0; z-index: -1;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(16,185,129,0.07) 0%, transparent 60%),
    var(--hbc-dark);
}
.hbc-auth-card {
  background: var(--hbc-dark-2);
  border: 1px solid var(--hbc-border);
  border-radius: 20px; padding: 2.5rem;
  width: 100%; max-width: 440px; box-shadow: var(--hbc-shadow);
}
.hbc-auth-logo {
  width: 70px; height: 70px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.3);
  border-radius: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  margin: 0 auto;
}

.hbc-form-label {
  font-size: 0.85rem; font-weight: 500;
  color: rgba(255,255,255,0.8); margin-bottom: 6px; display: block;
}
.hbc-input-wrapper {
  position: relative; display: flex; align-items: center;
  background: var(--hbc-dark-3); border: 1px solid var(--hbc-border);
  border-radius: 10px; overflow: hidden; transition: border-color 0.2s;
}
.hbc-input-wrapper:focus-within { border-color: rgba(16,185,129,0.5); }
.hbc-input-icon  { padding: 0 12px; color: var(--hbc-muted); font-size: 0.9rem; pointer-events: none; }
.hbc-form-input  { flex: 1; background: transparent; border: none; outline: none; color: white; padding: 12px 12px 12px 0; font-size: 0.9rem; }
.hbc-form-input::placeholder { color: var(--hbc-muted); }
.hbc-input-toggle { background: none; border: none; color: var(--hbc-muted); padding: 0 12px; cursor: pointer; transition: color 0.2s; }
.hbc-input-toggle:hover { color: white; }

.hbc-field-error { color: #f87171; font-size: 0.78rem; margin-top: 4px; }
.hbc-checkbox {
  background-color: var(--hbc-dark-3) !important;
  border-color: var(--hbc-border) !important;
}
.hbc-checkbox:checked {
  background-color: var(--hbc-gold) !important;
  border-color: var(--hbc-gold) !important;
}
.hbc-divider { position: relative; text-align: center; }
.hbc-divider::before {
  content: ''; position: absolute; top: 50%; left: 0; right: 0;
  height: 1px; background: var(--hbc-border);
}
.hbc-divider span {
  position: relative; background: var(--hbc-dark-2);
  padding: 0 12px; color: var(--hbc-muted); font-size: 0.8rem;
}
.hbc-welcome-bonus {
  background: rgba(16,185,129,0.07);
  border: 1px dashed rgba(16,185,129,0.3);
  border-radius: 10px; padding: 12px 16px; text-align: center;
}

/* ===== ALERTS ===== */
.hbc-alert-success {
  background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.3);
  color: #6ee7b7; border-radius: 10px;
}
.hbc-alert-danger {
  background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.3);
  color: #fca5a5; border-radius: 10px;
}

/* ===== DASHBOARD ===== */
.hbc-dashboard-header {
  background: var(--hbc-dark-2); border: 1px solid var(--hbc-border);
  border-radius: var(--hbc-radius); padding: 2rem;
}
.hbc-dashboard-avatar {
  width: 80px; height: 80px;
  background: rgba(16,185,129,0.1);
  border: 2px solid rgba(16,185,129,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.hbc-balance-display {
  background: rgba(16,185,129,0.08);
  border: 1px solid rgba(16,185,129,0.25);
  border-radius: 14px; padding: 16px 24px; text-align: center;
}
.hbc-balance-label  { font-size: 0.75rem; color: var(--hbc-muted); }
.hbc-balance-amount {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.8rem; font-weight: 800; color: white;
  display: flex; align-items: center;
}
.hbc-balance-sub { font-size: 0.75rem; color: var(--hbc-muted); margin-top: 2px; }

.hbc-stat-box {
  background: var(--hbc-dark-2); border: 1px solid var(--hbc-border);
  border-radius: var(--hbc-radius); padding: 1.25rem 1.5rem;
  display: flex; align-items: center; gap: 1rem; transition: all 0.3s;
}
.hbc-stat-box:hover { transform: translateY(-2px); border-color: rgba(16,185,129,0.25); }
.hbc-stat-box-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; flex-shrink: 0;
}
.hbc-stat-box-num   { font-size: 1.5rem; font-weight: 800; color: white; }
.hbc-stat-box-label { font-size: 0.8rem; color: var(--hbc-muted); }

/* ===== CARDS ===== */
.hbc-card {
  background: var(--hbc-dark-2); border: 1px solid var(--hbc-border);
  border-radius: var(--hbc-radius); overflow: hidden;
}
.hbc-card-header { padding: 1.25rem 1.5rem; border-bottom: 1px solid var(--hbc-border); }
.hbc-card-body   { padding: 1.5rem; }

.hbc-quick-btn {
  background: var(--hbc-dark-3) !important;
  border: 1px solid var(--hbc-border) !important;
  color: rgba(255,255,255,0.8) !important;
  border-radius: 10px !important; text-align: left !important;
  display: flex; align-items: center; transition: all 0.2s !important;
  font-size: 0.9rem; padding: 0.75rem 1rem !important;
}
.hbc-quick-btn:hover {
  background: rgba(16,185,129,0.1) !important;
  border-color: rgba(16,185,129,0.3) !important; color: white !important;
}

.hbc-earn-list { display: flex; flex-direction: column; gap: 10px; }
.hbc-earn-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 12px; background: var(--hbc-dark-3);
  border: 1px solid var(--hbc-border); border-radius: 10px;
}
.hbc-earn-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  background: rgba(16,185,129,0.1); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; color: var(--hbc-gold);
}
.hbc-earn-info   { flex: 1; min-width: 0; }
.hbc-earn-reward { font-size: 0.8rem; font-weight: 700; white-space: nowrap; }

.hbc-mini-book-list { display: flex; flex-direction: column; gap: 12px; }
.hbc-mini-book {
  padding-bottom: 12px; border-bottom: 1px solid var(--hbc-border);
}
.hbc-mini-book:last-child { border-bottom: none; padding-bottom: 0; }
.hbc-mini-book-cover {
  width: 40px; height: 52px; flex-shrink: 0;
  background: var(--hbc-dark-3); border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}

/* ===== TOKEN INFO ===== */
.hbc-token-table { display: flex; flex-direction: column; gap: 0; }
.hbc-token-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-bottom: 1px solid var(--hbc-border);
}
.hbc-token-row:last-child { border-bottom: none; }
.hbc-token-key { color: var(--hbc-muted); font-size: 0.875rem; }
.hbc-token-val { color: white; font-size: 0.875rem; text-align: right; }

.hbc-distribution-card {
  background: var(--hbc-dark-3); border: 1px solid var(--hbc-border);
  border-radius: var(--hbc-radius); padding: 2rem;
}
.hbc-donut-container { display: flex; justify-content: center; }
.hbc-donut-chart { width: 180px; height: 180px; }
.hbc-legend-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

/* ===== FOOTER ===== */
.hbc-footer {
  background: var(--hbc-dark-2); border-top: 1px solid var(--hbc-border);
}
.hbc-footer-links { margin: 0; }
.hbc-footer-links li { margin-bottom: 8px; }
.hbc-footer-links a {
  color: var(--hbc-muted); font-size: 0.875rem;
  text-decoration: none; transition: color 0.2s;
}
.hbc-footer-links a:hover { color: var(--hbc-gold); }
.hbc-footer a { color: var(--hbc-muted); transition: color 0.2s; }
.hbc-footer a:hover { color: var(--hbc-gold); }

/* ===== HELI DROP PAGE ===== */
.hbc-drop-hero {
  background: linear-gradient(180deg, var(--hbc-dark) 0%, var(--hbc-dark-2) 100%);
  padding-top: 110px; padding-bottom: 60px;
  text-align: center; position: relative; overflow: hidden;
}
.hbc-drop-helicopter-anim {
  font-size: 4rem; color: var(--hbc-gold);
  animation: heli-fly 3s ease-in-out infinite;
  display: inline-block; margin-bottom: 1.5rem;
}
@keyframes heli-fly {
  0%,100% { transform: translateX(0) rotate(-5deg); }
  50%      { transform: translateX(20px) rotate(5deg); }
}

.hbc-drop-card-big {
  background: var(--hbc-dark-2); border: 1px solid var(--hbc-border);
  border-radius: var(--hbc-radius); overflow: hidden; transition: all 0.3s;
}
.hbc-drop-card-big:hover { border-color: rgba(16,185,129,0.3); transform: translateY(-3px); }
.hbc-drop-upcoming { opacity: 0.7; }

.hbc-drop-card-header {
  padding: 1.5rem;
  background: linear-gradient(135deg, rgba(16,185,129,0.05), transparent);
  display: flex; justify-content: space-between; align-items: flex-start;
}
.hbc-drop-heli { font-size: 2.5rem; color: var(--hbc-gold); }
.hbc-drop-card-status {
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  color: var(--hbc-gold);
  padding: 3px 12px; border-radius: 20px;
  font-size: 0.75rem; font-weight: 700;
}
.hbc-drop-card-status.upcoming {
  background: rgba(99,102,241,0.12);
  border-color: rgba(99,102,241,0.3); color: #818cf8;
}
.hbc-drop-card-body   { padding: 0 1.5rem 1.5rem; }
.hbc-drop-card-footer { padding: 1.5rem; border-top: 1px solid var(--hbc-border); }
.hbc-drop-reward-badge {
  display: flex; align-items: center;
  background: rgba(16,185,129,0.07);
  border: 1px solid rgba(16,185,129,0.2);
  border-radius: 10px; padding: 10px 16px;
}
.hbc-drop-book-info {
  background: var(--hbc-dark-3); border: 1px solid var(--hbc-border);
  border-radius: 8px; padding: 8px 12px;
}
.hbc-howit-icon {
  width: 60px; height: 60px;
  background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2);
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: var(--hbc-gold); margin: 0 auto;
}

/* ===== STEPS ===== */
.hbc-step { position: relative; padding: 1.5rem; }
.hbc-step-num {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3.5rem; font-weight: 900;
  color: rgba(16,185,129,0.12); line-height: 1;
}
.hbc-step-icon { font-size: 2rem; color: var(--hbc-gold); margin-top: -1.5rem; }

/* ===== EMPTY STATE ===== */
.hbc-empty-state { text-align: center; padding: 80px 20px; }

/* ===== NFT MARKET ===== */
.hbc-nft-card {
  background: var(--hbc-dark-2); border: 1px solid var(--hbc-border);
  border-radius: var(--hbc-radius); overflow: hidden; transition: all 0.3s;
}
.hbc-nft-card:hover {
  transform: translateY(-4px);
  border-color: rgba(16,185,129,0.3);
  box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}
.hbc-nft-image {
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--hbc-dark-3), var(--hbc-dark-4));
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.hbc-nft-info { padding: 1rem 1.25rem; }
.hbc-nft-type-badge {
  display: inline-block; padding: 3px 10px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.3);
  color: var(--hbc-gold);
  border-radius: 6px; font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
}

/* ===== 로고 이미지 스타일 ===== */
.hbc-logo-icon {
  width: 38px; height: 38px; border-radius: 10px;
  overflow: hidden; padding: 0 !important;
  background: transparent !important; flex-shrink: 0;
}
.hbc-nav-logo-img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; display: block; }

.hbc-auth-logo {
  width: 90px; height: 90px; border-radius: 50%;
  overflow: hidden; border: 3px solid rgba(16,185,129,0.5);
  box-shadow: 0 0 30px rgba(16,185,129,0.3);
  margin: 0 auto; display: flex; align-items: center; justify-content: center;
}
.hbc-auth-logo-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hbc-coin-real {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 220px; height: 220px; border-radius: 50%; overflow: hidden;
  animation: coin-spin 12s linear infinite;
  box-shadow: 0 0 60px rgba(16,185,129,0.6), 0 0 120px rgba(16,185,129,0.2), inset 0 0 20px rgba(0,0,0,0.2);
  border: 4px solid rgba(16,185,129,0.5);
}
.hbc-coin-real-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hbc-drop-logo-anim {
  width: 120px; height: 120px; object-fit: cover; border-radius: 50%;
  box-shadow: 0 0 40px rgba(16,185,129,0.5), 0 0 0 4px rgba(16,185,129,0.3);
  animation: heli-fly 3s ease-in-out infinite; display: block; margin: 0 auto;
}

.hbc-footer-logo-img {
  width: 48px; height: 48px; object-fit: cover; border-radius: 12px;
  box-shadow: 0 0 15px rgba(16,185,129,0.3);
}

/* ===== 트랜잭션 배지 ===== */
.hbc-tx-badge {
  display: inline-block; padding: 3px 10px;
  border-radius: 20px; font-size: 0.75rem; font-weight: 600;
  background: rgba(16,185,129,0.1); color: var(--hbc-gold);
  border: 1px solid rgba(16,185,129,0.25);
}
.hbc-tx-badge.earn {
  background: rgba(16,185,129,0.12);
  color: #6ee7b7; border-color: rgba(16,185,129,0.3);
}
.hbc-tx-badge.spend {
  background: rgba(239,68,68,0.1);
  color: #fca5a5; border-color: rgba(239,68,68,0.25);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hbc-hero-title { font-size: 2.2rem; }
  .hbc-coin-container { width: 240px; height: 240px; }
  .hbc-coin-real { width: 160px; height: 160px; }
  .tag-1, .tag-2, .tag-3, .tag-4 { display: none; }
  .hbc-auth-card { padding: 1.75rem; }
  .hbc-dashboard-header { padding: 1.25rem; }
  .hbc-balance-display { padding: 12px 16px; }
  .hbc-balance-amount { font-size: 1.4rem; }
  .hbc-drop-logo-anim { width: 90px; height: 90px; }
}
@media (max-width: 576px) {
  .py-6 { padding-top: 50px; padding-bottom: 50px; }
  .hbc-hero-title { font-size: 1.8rem; }
  .hbc-coin-real { width: 130px; height: 130px; }
}

/* ===== 그린 테마 — 다크 카드 내부 텍스트 가시성 보정 =====
   --hbc-dark-3(#112b20) 배경 위에서 text-muted(#7aaa91)가
   너무 어두워 가독성이 떨어지는 것을 방지 */
.hbc-use-card     p.text-muted,
.hbc-benefit-card p.text-muted,
.hbc-drop-card    p.text-muted,
.hbc-drop-card-big p.text-muted,
.hbc-nft-info     p.text-muted,
.hbc-book-grid-info p.text-muted {
  color: rgba(200, 240, 220, 0.75) !important;
}

/* 작은 muted 텍스트들 전반적으로 밝게 */
.hbc-use-card .small.text-muted,
.hbc-benefit-card .small.text-muted,
.hbc-drop-card .small.text-muted {
  color: rgba(180, 230, 210, 0.7) !important;
}

/* Bootstrap text-muted를 그린 테마 배경에 맞게 전체 재정의 */
.hbc-body .text-muted {
  color: #98c4ac !important;   /* 기존 #7aaa91보다 훨씬 밝음 */
}

/* 텍스트 줄 수 제한 유틸리티 */
.line-clamp-2 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.line-clamp-3 {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}
