@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;600;800&display=swap');

:root {
  --h-font-sans: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif;
  --h-font-eng: 'Outfit', var(--h-font-sans);
  
  --h-pri: #6c5ce7;
  --h-pri-l: #a29bfe;
  --h-acc: #00cec9;
  --h-dark: #070712;
  
  --h-card: rgba(255, 255, 255, 0.04);
  --h-card-h: rgba(255, 255, 255, 0.08);
  --h-card-border: rgba(255, 255, 255, 0.08);
  
  --h-txt: #f0f0f5;
  --h-muted: #8b8b9e;
  --h-red: #ff4757;
  --h-grn: #2ed573;
  --h-gold: #ffa502;
  
  --h-r: 16px;
  --h-r-lg: 24px;
}

* { box-sizing: border-box; }
body { font-family: var(--h-font-sans); }

h1, h2, h3, h4, h5, h6, .ho12-logo-text, .ho12-bal-num, .ho12-pd-price, .ho12-gamtae-price, .ho12-planet-num {
  font-family: var(--h-font-eng);
}

.ho12-hover-effect { transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); cursor: pointer; }
.ho12-hover-effect:hover { transform: translateY(-4px); }

.ho12-btn {
  display: inline-block; padding: 12px 28px; border-radius: 12px;
  border: 1px solid var(--h-card-border); background: var(--h-card);
  color: #fff; font-size: 15px; font-weight: 600; text-decoration: none;
  cursor: pointer; transition: all 0.4s ease; backdrop-filter: blur(10px);
}
.ho12-btn:hover { background: var(--h-card-h); border-color: rgba(255,255,255,0.2); box-shadow: 0 8px 25px rgba(0,0,0,0.3); }

.ho12-btn-primary { background: var(--h-pri); border-color: var(--h-pri); }
.ho12-btn-primary:hover { background: var(--h-pri-l); border-color: var(--h-pri-l); }
.ho12-btn-full { width: 100%; text-align: center; }

.ho12-btn-glow {
  background: linear-gradient(135deg, var(--h-pri), var(--h-acc));
  border: none; font-weight: 700; letter-spacing: 0.5px;
  box-shadow: 0 0 20px rgba(108, 92, 231, 0.5), inset 0 0 10px rgba(255,255,255,0.2);
}
.ho12-btn-glow:hover { box-shadow: 0 0 35px rgba(108, 92, 231, 0.8), inset 0 0 15px rgba(255,255,255,0.4); transform: translateY(-3px) scale(1.02); }
.ho12-btn.disabled { opacity: 0.4; pointer-events: none; }

.ho12-notice { padding: 20px; border-radius: var(--h-r); margin: 20px 0; background: var(--h-card); color: var(--h-txt); text-align: center; backdrop-filter: blur(12px); border: 1px solid var(--h-card-border); }
.ho12-empty { text-align: center; padding: 60px 20px; color: var(--h-muted); font-size: 16px; }

.ho12-tag { display: inline-block; padding: 4px 12px; border-radius: 20px; background: rgba(162, 155, 254, 0.15); color: var(--h-pri-l); font-size: 12px; font-weight: 600; margin: 3px; border: 1px solid rgba(162, 155, 254, 0.3); }

.pos { color: var(--h-grn); font-weight: 600; }
.neg { color: var(--h-red); font-weight: 600; }

.ho12-fg { margin-bottom: 18px; }
.ho12-fg label { display: block; margin-bottom: 8px; color: var(--h-txt); font-size: 14px; font-weight: 500; }
.ho12-fg input, .ho12-fg textarea, .ho12-fg select { width: 100%; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--h-card-border); background: rgba(0,0,0,0.3); color: #fff; font-size: 15px; transition: 0.3s; }
.ho12-fg input:focus, .ho12-fg textarea:focus { outline: none; border-color: var(--h-pri); box-shadow: 0 0 0 4px rgba(108, 92, 231, 0.2); background: rgba(0,0,0,0.5); }

@keyframes ho12Vib { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(4deg) scale(1.05); } 75% { transform: rotate(-4deg) scale(1.05); } }
.ho12-vibrate-icon { animation: ho12Vib 0.4s ease-in-out infinite; display: inline-block; }

.ho12-adult-badge { background: linear-gradient(135deg, #ff4757, #ff6b81); color: #fff; padding: 3px 8px; border-radius: 6px; font-size: 11px; font-weight: 800; margin-left: 8px; cursor: pointer; box-shadow: 0 2px 10px rgba(255, 71, 87, 0.4); }

/* User Icon & Float */
.ho12-user-float { position: fixed; top: 24px; right: 24px; z-index: 9999; }
.ho12-user-icon { color: rgba(255,255,255,0.7); display: block; transition: 0.3s; }
.ho12-user-icon:hover { color: var(--h-pri-l); filter: drop-shadow(0 0 10px var(--h-pri-l)); }
.ho12-user-menu { display: none; position: absolute; top: calc(100% + 15px); right: 0; background: rgba(15, 15, 25, 0.85); backdrop-filter: blur(16px); border: 1px solid var(--h-card-border); border-radius: 14px; padding: 10px 0; min-width: 180px; box-shadow: 0 15px 40px rgba(0,0,0,0.6); opacity: 0; transform: translateY(-10px); transition: all 0.3s ease; }
.ho12-user-float:hover .ho12-user-menu { display: block; opacity: 1; transform: translateY(0); }
.ho12-user-menu a { display: block; padding: 12px 20px; color: var(--h-txt); text-decoration: none; font-size: 14px; transition: 0.2s; font-weight: 500; }
.ho12-user-menu a:hover { background: rgba(255,255,255,0.06); padding-left: 24px; color: #fff; }
.ho12-menu-badge { float: right; font-size: 12px; color: var(--h-gold); font-weight: 600; font-family: var(--h-font-eng); }

/* Search */
.ho12-search-float { position: fixed; top: 24px; right: 75px; z-index: 9998; display: flex; align-items: center; }
.ho12-search-icon { font-size: 20px; padding: 8px; color: rgba(255,255,255,0.7); transition: 0.3s; }
.ho12-search-icon:hover { color: #fff; filter: drop-shadow(0 0 10px rgba(255,255,255,0.5)); }
.ho12-search-expand { max-width: 0; overflow: hidden; transition: max-width 0.5s cubic-bezier(0.25, 1, 0.5, 1), padding 0.5s; }
.ho12-search-float:hover .ho12-search-expand, .ho12-search-expand:focus-within { max-width: 320px; padding-left: 10px; }
.ho12-search-expand input { width: 280px; padding: 12px 18px; border-radius: 25px; border: 1px solid rgba(255,255,255,0.15); background: rgba(20,20,35,0.7); backdrop-filter: blur(10px); color: #fff; font-size: 14px; }
.ho12-search-expand input:focus { border-color: var(--h-pri-l); box-shadow: 0 0 0 4px rgba(162, 155, 254, 0.2); }
.ho12-search-results { position: absolute; top: calc(100% + 15px); right: 0; width: 360px; max-height: 420px; overflow-y: auto; background: rgba(15, 15, 25, 0.9); backdrop-filter: blur(20px); border-radius: 16px; border: 1px solid var(--h-card-border); box-shadow: 0 20px 50px rgba(0,0,0,0.7); display: none; }
.ho12-search-results.active { display: block; animation: ho12FadeIn 0.3s ease; }
@keyframes ho12FadeIn { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }
.ho12-sr-group h4 { padding: 14px 18px 6px; font-size: 12px; color: var(--h-pri-l); letter-spacing: 1px; text-transform: uppercase; margin: 0; }
.ho12-sr-item { display: flex; align-items: center; gap: 14px; padding: 12px 18px; color: var(--h-txt); text-decoration: none; transition: 0.2s; border-bottom: 1px solid rgba(255,255,255,0.03); }
.ho12-sr-item:hover { background: rgba(255,255,255,0.08); padding-left: 22px; }
.ho12-sr-item img { width: 44px; height: 44px; border-radius: 10px; object-fit: cover; box-shadow: 0 4px 10px rgba(0,0,0,0.3); }

/* Common Pages */
.ho12-mypage, .ho12-library, .ho12-charge, .ho12-contact, .ho12-search-page { max-width: 900px; margin: 0 auto; padding: 60px 24px; animation: ho12FadeIn 0.6s ease; }

/* My Page */
.ho12-mp-header { display: flex; align-items: center; gap: 24px; padding: 36px; background: linear-gradient(145deg, rgba(30,30,50,0.6), rgba(15,15,25,0.6)); backdrop-filter: blur(16px); border-radius: var(--h-r-lg); margin-bottom: 36px; border: 1px solid rgba(255,255,255,0.08); box-shadow: 0 10px 40px rgba(0,0,0,0.2); }
.ho12-mp-avatar img { width: 90px; height: 90px; border-radius: 50%; border: 4px solid var(--h-pri); box-shadow: 0 0 20px rgba(108,92,231,0.5); object-fit: cover; }
.ho12-mp-info h2 { margin: 0 0 6px; color: #fff; font-size: 26px; }
.ho12-mp-info p { color: var(--h-muted); font-size: 14px; margin: 0 0 12px; }
.ho12-mp-bal { display: inline-block; padding: 8px 18px; background: linear-gradient(135deg, var(--h-pri), var(--h-acc)); border-radius: 20px; font-size: 15px; font-weight: 700; color: #fff; box-shadow: 0 4px 15px rgba(108,92,231,0.4); font-family: var(--h-font-eng); letter-spacing: 0.5px; }
.ho12-mp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ho12-mp-card { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 32px 20px; background: rgba(255,255,255,0.03); backdrop-filter: blur(10px); border-radius: var(--h-r-lg); border: 1px solid var(--h-card-border); text-decoration: none; color: var(--h-txt); transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); }
.ho12-mp-card:hover { background: rgba(255,255,255,0.08); transform: translateY(-8px); box-shadow: 0 15px 35px rgba(0,0,0,0.4); border-color: rgba(255,255,255,0.15); }
.ho12-mp-icon { font-size: 38px; margin-bottom: 12px; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3)); }
.ho12-mp-card span { font-weight: 500; font-size: 15px; }

/* Works Grid */
.ho12-works-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; max-width: 1100px; margin: 0 auto; padding: 50px 24px; animation: ho12FadeIn 0.6s ease; }
.ho12-work-card { border-radius: var(--h-r-lg); overflow: hidden; background: rgba(20,20,35,0.5); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.06); text-decoration: none; color: var(--h-txt); transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); display: block; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.ho12-work-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.5); border-color: rgba(255,255,255,0.15); }
.ho12-work-card.completed .ho12-wc-img { height: 320px; background-size: cover; background-position: center; display: flex; align-items: flex-end; padding: 20px; position: relative; transition: 0.5s; }
.ho12-work-card:hover.completed .ho12-wc-img { transform: scale(1.05); }
.ho12-wc-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 60%); pointer-events: none; }
.ho12-wc-img .ho12-wc-title { position: relative; z-index: 2; background: rgba(10,10,20,0.6); padding: 8px 16px; border-radius: 10px; color: #fff; font-size: 16px; font-weight: 700; backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.1); }
.ho12-work-card.ongoing .ho12-wc-text { padding: 30px 24px; }
.ho12-wc-text h3 { margin: 0 0 10px; color: #fff; font-size: 20px; }
.ho12-wc-text p { color: var(--h-muted); font-size: 14px; margin: 0; line-height: 1.6; }

/* Single Work (Details) */
.ho12-single-work { max-width: 1000px; margin: 0 auto; padding: 0 24px 60px; animation: ho12FadeIn 0.6s ease; }
.ho12-sw-hero { position: relative; border-radius: var(--h-r-lg); overflow: hidden; margin-bottom: 40px; margin-top: 40px; box-shadow: 0 20px 50px rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.05); }
.ho12-sw-bg { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(30px) brightness(0.4); }
.ho12-sw-inner { position: relative; display: flex; gap: 40px; padding: 50px; background: linear-gradient(to right, rgba(10,10,20,0.8), rgba(20,20,35,0.4)); }
.ho12-sw-cover { width: 220px; border-radius: 16px; box-shadow: 0 15px 35px rgba(0,0,0,0.6); transition: 0.4s; }
.ho12-sw-cover:hover { transform: scale(1.03) rotate(1deg); }
.ho12-sw-info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.ho12-sw-info h1 { color: #fff; margin: 0 0 12px; font-size: 38px; text-shadow: 0 2px 10px rgba(0,0,0,0.5); }
.ho12-sw-author { color: var(--h-pri-l); margin: 0 0 16px; font-size: 16px; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.ho12-sw-desc { color: rgba(255,255,255,0.8); font-size: 16px; line-height: 1.8; margin-top: 20px; background: rgba(0,0,0,0.3); padding: 20px; border-radius: 12px; border-left: 3px solid var(--h-pri); }

/* Planets (Episodes) */
.ho12-planets { display: flex; flex-wrap: wrap; gap: 20px; padding: 20px 0; }
.ho12-planet { position: relative; width: 85px; height: 85px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-direction: column; border: 2px solid transparent; transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); cursor: pointer; }
.ho12-planet::before { content: ''; position: absolute; inset: 2px; border-radius: 50%; background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent); pointer-events: none; }
.ho12-planet:hover { transform: scale(1.1) translateY(-5px); z-index: 5; }

.ho12-planet.free { border-color: rgba(46, 213, 115, 0.5); background: radial-gradient(circle at 30% 30%, #2ed573, #05c46b); box-shadow: 0 0 20px rgba(46, 213, 115, 0.3), inset -5px -5px 15px rgba(0,0,0,0.3); }
.ho12-planet.free:hover { box-shadow: 0 0 30px rgba(46, 213, 115, 0.6), inset -5px -5px 15px rgba(0,0,0,0.3); }

.ho12-planet.locked { border-color: rgba(255, 165, 2, 0.5); background: radial-gradient(circle at 30% 30%, #ffa502, #eccc68); box-shadow: 0 0 20px rgba(255, 165, 2, 0.3), inset -5px -5px 15px rgba(0,0,0,0.3); }
.ho12-planet.locked:hover { box-shadow: 0 0 30px rgba(255, 165, 2, 0.6), inset -5px -5px 15px rgba(0,0,0,0.3); }

.ho12-planet.owned { border-color: rgba(108, 92, 231, 0.5); background: radial-gradient(circle at 30% 30%, #a29bfe, #6c5ce7); box-shadow: 0 0 20px rgba(108, 92, 231, 0.3), inset -5px -5px 15px rgba(0,0,0,0.3); }
.ho12-planet.owned:hover { box-shadow: 0 0 30px rgba(108, 92, 231, 0.6), inset -5px -5px 15px rgba(0,0,0,0.3); }

.ho12-planet.adult-ep { animation: ho12Vib 0.4s infinite; }
.ho12-planet-inner { text-decoration: none; color: #fff; text-align: center; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 2; text-shadow: 0 2px 4px rgba(0,0,0,0.6); }
.ho12-planet-num { font-size: 22px; font-weight: 800; }
.ho12-planet-days { font-size: 11px; color: rgba(255,255,255,0.8); font-weight: 500; margin-top: 2px; }

.ho12-tooltip { display: none; position: absolute; z-index: 10; background: rgba(10,10,20,0.95); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 10px 16px; font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; box-shadow: 0 10px 25px rgba(0,0,0,0.5); text-align: center; animation: ho12FadeIn 0.2s ease; }
.ho12-tt-left { right: calc(100% + 15px); top: 50%; transform: translateY(-50%); }
.ho12-tt-left::after { content: ''; position: absolute; top: 50%; right: -5px; transform: translateY(-50%); border-width: 5px 0 5px 5px; border-style: solid; border-color: transparent transparent transparent rgba(10,10,20,0.95); }
.ho12-tt-right { left: calc(100% + 15px); top: 50%; transform: translateY(-50%); }
.ho12-tt-right::after { content: ''; position: absolute; top: 50%; left: -5px; transform: translateY(-50%); border-width: 5px 5px 5px 0; border-style: solid; border-color: transparent rgba(10,10,20,0.95) transparent transparent; }
.ho12-tt-adult { bottom: calc(100% + 15px); left: 50%; transform: translateX(-50%); }
.ho12-planet.locked:hover .ho12-tt-left, .ho12-planet.locked:hover .ho12-tt-right, .ho12-planet.adult-ep:hover .ho12-tt-adult { display: block; }

/* Contact */
.ho12-contact h2 { color: #fff; margin: 0 0 10px; font-size: 32px; }
.ho12-contact-desc { color: var(--h-muted); font-size: 15px; margin-bottom: 30px; }
.ho12-ct-result { padding: 20px; border-radius: var(--h-r); margin-bottom: 24px; text-align: center; font-size: 15px; font-weight: 600; backdrop-filter: blur(8px); }
.ho12-ct-result.success { background: rgba(46, 213, 115, 0.15); border: 1px solid rgba(46, 213, 115, 0.4); color: var(--h-grn); }
.ho12-ct-result.fail { background: rgba(255, 71, 87, 0.15); border: 1px solid rgba(255, 71, 87, 0.4); color: var(--h-red); }

/* About Galaxy - Full Width */
.ho12-about { position: relative; width: 100vw !important; min-height: 100vh; overflow: hidden; margin-left: calc(-50vw + 50%) !important; margin-right: calc(-50vw + 50%) !important; }
.ho12-galaxy-bg { position: relative; width: 100%; min-height: 100vh; background: radial-gradient(ellipse at center, #1a0533 0%, #070712 60%, #000 100%); display: flex; align-items: center; justify-content: center; }
.ho12-stars { position: absolute; inset: 0; background: radial-gradient(1px 1px at 20px 30px, #fff, transparent), radial-gradient(1.5px 1.5px at 40px 70px, rgba(255,255,255,0.8), transparent), radial-gradient(1px 1px at 90px 40px, #fff, transparent), radial-gradient(2px 2px at 160px 30px, rgba(255,255,255,0.9), transparent); background-size: 250px 150px; animation: ho12Star 100s linear infinite; }
.ho12-stars.s2 { background: radial-gradient(1.5px 1.5px at 50px 60px, rgba(162, 155, 254, 0.8), transparent), radial-gradient(2px 2px at 100px 20px, rgba(108, 92, 231, 0.6), transparent); background-size: 300px 200px; animation: ho12Star 150s linear infinite reverse; }
.ho12-stars.s3 { background: radial-gradient(2.5px 2.5px at 70px 50px, rgba(253, 203, 110, 0.8), transparent); background-size: 400px 250px; animation: ho12Star 200s linear infinite; }
.ho12-nebula { position: absolute; width: 600px; height: 600px; top: 50%; left: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(108, 92, 231, 0.2), rgba(0, 206, 201, 0.1) 40%, transparent 70%); border-radius: 50%; filter: blur(60px); animation: ho12Neb 10s ease-in-out infinite alternate; }

@keyframes ho12Star { from { transform: translateY(0); } to { transform: translateY(-200px); } }
@keyframes ho12Neb { 0% { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 0.6; } 100% { transform: translate(-50%, -50%) scale(1.3) rotate(15deg); opacity: 1; } }

.ho12-about-center { position: relative; z-index: 2; text-align: center; padding: 60px; max-width: 800px; background: rgba(10,10,20,0.3); backdrop-filter: blur(15px); border-radius: 30px; border: 1px solid rgba(255,255,255,0.05); box-shadow: 0 30px 60px rgba(0,0,0,0.5); }
.ho12-about-center h1 { font-size: 56px; font-weight: 800; color: #fff; margin: 0 0 16px; text-shadow: 0 0 40px rgba(108, 92, 231, 0.8); letter-spacing: -1px; }
.ho12-about-sub { font-size: 22px; color: var(--h-pri-l); margin: 0 0 30px; font-weight: 500; }
.ho12-about-desc { color: rgba(255,255,255,0.85); line-height: 1.9; margin-bottom: 40px; font-size: 16px; }

/* Charge Page */
.ho12-charge-bal { text-align: center; margin-bottom: 40px; display: flex; align-items: center; justify-content: center; gap: 16px; padding: 30px 50px; background: linear-gradient(135deg, rgba(108, 92, 231, 0.25), rgba(0, 206, 201, 0.25)); border-radius: 24px; border: 1px solid rgba(108, 92, 231, 0.4); box-shadow: 0 15px 35px rgba(0,0,0,0.3); backdrop-filter: blur(12px); }
.ho12-bal-label { color: rgba(255,255,255,0.8); font-size: 16px; font-weight: 600; }
.ho12-bal-num { font-size: 48px; font-weight: 800; color: #fff; text-shadow: 0 4px 15px rgba(0,0,0,0.5); }
.ho12-bal-icon { font-size: 36px; filter: drop-shadow(0 4px 6px rgba(0,0,0,0.4)); }
.ho12-charge h3 { color: #fff; margin: 40px 0 20px; font-size: 24px; border-bottom: 2px solid rgba(255,255,255,0.05); padding-bottom: 10px; }
.ho12-charge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ho12-charge-btn { padding: 30px 20px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.03); color: #fff; text-align: center; cursor: pointer; transition: all 0.4s ease; backdrop-filter: blur(8px); }
.ho12-charge-btn:hover { background: linear-gradient(135deg, rgba(108, 92, 231, 0.8), rgba(162, 155, 254, 0.8)); border-color: rgba(255,255,255,0.3); transform: translateY(-6px); box-shadow: 0 15px 30px rgba(108, 92, 231, 0.4); }
.ho12-charge-btn strong { display: block; font-size: 32px; font-weight: 800; font-family: var(--h-font-eng); margin-bottom: 4px; }
.ho12-charge-btn small { font-size: 14px; color: rgba(255,255,255,0.7); font-weight: 500; }

.ho12-gift-row { display: flex; gap: 12px; margin-bottom: 16px; }
.ho12-gift-row select, .ho12-gift-row input { flex: 1; padding: 14px 20px; border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.4); color: #fff; font-size: 15px; }

.ho12-hist-table { width: 100%; border-collapse: separate; border-spacing: 0; background: rgba(255,255,255,0.02); border-radius: 16px; overflow: hidden; border: 1px solid rgba(255,255,255,0.05); }
.ho12-hist-table th, .ho12-hist-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid rgba(255,255,255,0.03); font-size: 14px; }
.ho12-hist-table th { background: rgba(0,0,0,0.4); color: var(--h-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; font-size: 12px; }
.ho12-hist-table tr:last-child td { border-bottom: none; }
.ho12-hist-table tr:hover td { background: rgba(255,255,255,0.03); }

/* Goods */
.ho12-goods-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; max-width: 1100px; margin: 0 auto; padding: 50px 24px; }
.ho12-goods-card { border-radius: var(--h-r-lg); overflow: hidden; background: rgba(20,20,35,0.5); backdrop-filter: blur(12px); border: 1px solid rgba(255,255,255,0.06); text-decoration: none; color: var(--h-txt); transition: all 0.4s ease; box-shadow: 0 8px 25px rgba(0,0,0,0.2); }
.ho12-goods-card:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(0,0,0,0.4); border-color: rgba(255,255,255,0.15); }
.ho12-goods-card img { width: 100%; height: 260px; object-fit: cover; transition: 0.5s; }
.ho12-goods-card:hover img { transform: scale(1.05); }
.ho12-goods-card h4 { padding: 16px 20px 6px; margin: 0; color: #fff; font-size: 18px; font-weight: 600; }
.ho12-goods-card .ho12-gamtae-price { padding: 0 20px 20px; display: block; font-size: 16px; color: var(--h-gold); font-weight: 700; font-family: var(--h-font-eng); }

/* Product Detail */
.ho12-product-detail { display: flex; gap: 40px; max-width: 1100px; margin: 0 auto; padding: 60px 24px; animation: ho12FadeIn 0.6s ease; }
.ho12-pd-gallery { flex: 1; position: sticky; top: 100px; }
.ho12-pd-main img { width: 100%; border-radius: var(--h-r-lg); box-shadow: 0 20px 50px rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.05); }
.ho12-pd-thumbs { display: flex; gap: 12px; margin-top: 16px; }
.ho12-pd-thumb { width: 80px; height: 80px; object-fit: cover; border-radius: 12px; border: 2px solid transparent; cursor: pointer; transition: 0.3s; opacity: 0.6; }
.ho12-pd-thumb.active, .ho12-pd-thumb:hover { border-color: var(--h-pri); opacity: 1; transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0,0,0,0.3); }
.ho12-pd-info { flex: 1; padding: 20px 0; }
.ho12-pd-info h1 { color: #fff; margin: 0 0 16px; font-size: 42px; line-height: 1.2; }
.ho12-pd-price { font-size: 32px; color: var(--h-gold); font-weight: 800; margin-bottom: 24px; display: flex; align-items: center; gap: 10px; }
.ho12-pd-desc { color: rgba(255,255,255,0.8); font-size: 16px; line-height: 1.8; margin-bottom: 30px; background: rgba(0,0,0,0.2); padding: 24px; border-radius: 16px; border: 1px solid rgba(255,255,255,0.05); }
.ho12-pd-qty { display: flex; align-items: center; gap: 16px; margin-bottom: 24px; }
.ho12-pd-qty label { color: var(--h-txt); font-size: 15px; font-weight: 600; }
.ho12-qty-btn { width: 40px; height: 40px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.05); color: #fff; font-size: 20px; cursor: pointer; transition: 0.2s; }
.ho12-qty-btn:hover { background: var(--h-pri); border-color: var(--h-pri); }
.ho12-pd-qty .qty { width: 70px; text-align: center; padding: 10px; border-radius: 10px; border: 1px solid rgba(255,255,255,0.1); background: rgba(0,0,0,0.4); color: #fff; font-size: 16px; font-weight: 600; }
.ho12-pd-calc { padding: 24px; background: linear-gradient(145deg, rgba(30,30,50,0.6), rgba(15,15,25,0.6)); backdrop-filter: blur(10px); border-radius: 16px; border: 1px solid rgba(255,255,255,0.08); margin-bottom: 24px; }
.ho12-calc-total { font-size: 22px; font-weight: 800; color: var(--h-gold); border-top: 1px solid rgba(255,255,255,0.08); padding-top: 16px; margin-top: 12px; display: flex; justify-content: space-between; }

/* Viewer */
.ho12-viewer { max-width: 800px; margin: 0 auto; min-height: 100vh; position: relative; background: #000; box-shadow: 0 0 50px rgba(0,0,0,0.8); }
.ho12-v-header { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; gap: 16px; padding: 16px 24px; background: rgba(10,10,20,0.85); backdrop-filter: blur(12px); border-bottom: 1px solid rgba(255,255,255,0.08); transform: translateY(-100%); transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.ho12-v-controls { position: fixed; bottom: 0; left: 0; right: 0; z-index: 50; display: flex; justify-content: center; gap: 16px; padding: 20px; background: rgba(10,10,20,0.85); backdrop-filter: blur(12px); border-top: 1px solid rgba(255,255,255,0.08); transform: translateY(100%); transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); box-shadow: 0 -10px 30px rgba(0,0,0,0.5); }
.ho12-v-body { padding: 40px 24px 80px; line-height: 2.2; color: #e0e0e0; font-size: 17px; letter-spacing: 0.3px; }
.ho12-v-progress { position: fixed; bottom: 40px; right: 30px; z-index: 100; opacity: 0; transition: opacity 0.4s; pointer-events: none; }
#ho12-v-pct { background: linear-gradient(135deg, rgba(108, 92, 231, 0.9), rgba(0, 206, 201, 0.9)); color: #fff; padding: 8px 18px; border-radius: 20px; font-size: 14px; font-weight: 700; box-shadow: 0 8px 20px rgba(0,0,0,0.4); backdrop-filter: blur(4px); }
.ho12-locked { text-align: center; padding: 120px 24px; background: linear-gradient(to bottom, transparent, rgba(10,10,20,0.9)); border-radius: 20px; }
.ho12-locked h2 { color: #fff; font-size: 32px; margin-bottom: 12px; }

/* ═══ Login Page ═══ */
.ho12-login { display: flex; align-items: center; justify-content: center; min-height: 70vh; padding: 40px 20px; }
.ho12-login-box { width: 100%; max-width: 420px; background: rgba(20,20,40,0.6); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border: 1px solid rgba(255,255,255,0.08); border-radius: var(--h-r-lg); padding: 48px 36px; box-shadow: 0 25px 60px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.05); animation: ho12FadeIn 0.6s ease; }
.ho12-login-box h2 { text-align: center; color: #fff; font-size: 28px; margin: 0 0 28px; font-weight: 700; letter-spacing: -0.5px; }
.ho12-sns-wrap { margin-top: 28px; text-align: center; border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px; }
.ho12-sns-wrap p { color: var(--h-muted); font-size: 13px; margin: 0 0 16px; font-weight: 500; }
.ho12-sns-row { display: flex; gap: 12px; justify-content: center; }
.ho12-sns { display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 12px; font-size: 14px; font-weight: 700; text-decoration: none; transition: all 0.4s cubic-bezier(0.25,0.8,0.25,1); border: none; min-width: 90px; }
.ho12-sns-kakao { background: #fee500; color: #3c1e1e; }
.ho12-sns-kakao:hover { background: #fdd835; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(254,229,0,0.4); }
.ho12-sns-naver { background: #03c75a; color: #fff; }
.ho12-sns-naver:hover { background: #02b351; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(3,199,90,0.4); }
.ho12-sns-google { background: #fff; color: #333; }
.ho12-sns-google:hover { background: #f1f1f1; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.ho12-reg-link { text-align: center; margin-top: 20px; }
.ho12-reg-link a { color: var(--h-pri-l); text-decoration: none; font-size: 14px; font-weight: 500; transition: 0.2s; }
.ho12-reg-link a:hover { color: #fff; text-decoration: underline; }

/* ═══ Library ═══ */
.ho12-lib-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.ho12-lib-header h2 { color: #fff; margin: 0; font-size: 28px; }
.ho12-lib-bal { display: inline-flex; align-items: center; gap: 6px; padding: 8px 18px; background: linear-gradient(135deg, var(--h-pri), var(--h-acc)); border-radius: 20px; font-size: 14px; font-weight: 700; color: #fff; box-shadow: 0 4px 15px rgba(108,92,231,0.35); }
.ho12-lib-filter { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.ho12-filt { padding: 10px 20px; border-radius: 25px; border: 1px solid rgba(255,255,255,0.1); background: rgba(255,255,255,0.04); color: var(--h-muted); font-size: 14px; font-weight: 600; cursor: pointer; transition: all 0.3s ease; backdrop-filter: blur(6px); }
.ho12-filt:hover { background: rgba(255,255,255,0.08); color: #fff; border-color: rgba(255,255,255,0.2); }
.ho12-filt.active { background: linear-gradient(135deg, var(--h-pri), var(--h-acc)); color: #fff; border-color: transparent; box-shadow: 0 4px 15px rgba(108,92,231,0.4); }
.ho12-lib-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 20px; }
.ho12-lib-item { border-radius: var(--h-r); overflow: hidden; background: rgba(20,20,35,0.5); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.06); transition: all 0.4s cubic-bezier(0.25,0.8,0.25,1); }
.ho12-lib-item:hover { transform: translateY(-6px); box-shadow: 0 15px 35px rgba(0,0,0,0.4); border-color: rgba(255,255,255,0.15); }
.ho12-lib-item a { text-decoration: none; color: var(--h-txt); display: block; }
.ho12-lib-thumb { height: 220px; background-size: cover; background-position: center; position: relative; }
.ho12-lib-thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%); }
.ho12-lib-info { padding: 14px 16px; position: relative; }
.ho12-lib-info h4 { margin: 0 0 4px; color: #fff; font-size: 16px; font-weight: 600; }
.ho12-lib-info span { color: var(--h-pri-l); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.5px; }

/* ═══ Modal (Adult Verify) ═══ */
.ho12-modal-overlay { position: fixed; inset: 0; z-index: 99999; background: rgba(0,0,0,0.7); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; animation: ho12FadeIn 0.3s ease; }
.ho12-modal { position: relative; width: 90%; max-width: 400px; background: rgba(20,20,40,0.85); backdrop-filter: blur(24px); border: 1px solid rgba(255,255,255,0.1); border-radius: var(--h-r-lg); padding: 48px 36px; text-align: center; box-shadow: 0 30px 80px rgba(0,0,0,0.6), inset 0 1px 0 rgba(255,255,255,0.06); }
.ho12-modal-x { position: absolute; top: 16px; right: 20px; background: none; border: none; color: rgba(255,255,255,0.5); font-size: 28px; cursor: pointer; transition: 0.3s; line-height: 1; }
.ho12-modal-x:hover { color: #fff; transform: rotate(90deg); }
.ho12-modal-body h3 { color: #fff; font-size: 22px; margin: 16px 0 10px; }
.ho12-modal-body p { color: var(--h-muted); font-size: 14px; margin: 0 0 24px; line-height: 1.6; }
.ho12-adult-icon { font-size: 56px; filter: drop-shadow(0 4px 12px rgba(255,71,87,0.5)); }

/* ═══ Viewer Extras ═══ */
.ho12-v-header a { color: var(--h-pri-l); text-decoration: none; font-weight: 600; font-size: 15px; transition: 0.2s; }
.ho12-v-header a:hover { color: #fff; }
.ho12-v-header span { color: rgba(255,255,255,0.7); font-size: 14px; }
.ho12-next-wrap { position: relative; display: inline-block; }
.ho12-next-wrap .ho12-tt-next { display: none; position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%); white-space: nowrap; background: rgba(10,10,20,0.95); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,0.1); border-radius: 10px; padding: 10px 16px; font-size: 13px; font-weight: 600; color: #fff; box-shadow: 0 10px 25px rgba(0,0,0,0.5); }
.ho12-next-wrap:hover .ho12-tt-next { display: block; animation: ho12FadeIn 0.2s ease; }
.ho12-v-body img { max-width: 100%; height: auto; display: block; margin: 0 auto; }

/* ═══ Planet Nav Label ═══ */
.ho12-pnav-label { font-size: 11px; color: rgba(255,255,255,0.5); font-weight: 500; transition: 0.3s; letter-spacing: 0.3px; margin-top: 2px; }

/* ═══ Responsive ═══ */
@media(max-width: 768px) {
  .ho12-mp-grid { grid-template-columns: repeat(2, 1fr); }
  .ho12-charge-grid { grid-template-columns: repeat(2, 1fr); }
  .ho12-sw-inner { flex-direction: column; align-items: center; text-align: center; padding: 30px 20px; }
  .ho12-about-center h1 { font-size: 40px; }
  .ho12-product-detail { flex-direction: column; }
  .ho12-pd-gallery { position: static; }
  .ho12-search-expand input { width: 200px; }
  .ho12-charge-bal { flex-direction: column; padding: 20px; }
  .ho12-login-box { padding: 36px 24px; }
  .ho12-sns-row { flex-direction: column; }
  .ho12-sns { width: 100%; }
  .ho12-lib-grid { grid-template-columns: repeat(2, 1fr); }
  .ho12-lib-thumb { height: 180px; }
  .ho12-v-body { padding: 20px 16px 60px; font-size: 16px; line-height: 2; }
}
@media(max-width: 480px) {
  .ho12-mp-grid { grid-template-columns: 1fr; }
  .ho12-charge-grid { grid-template-columns: 1fr; }
  .ho12-search-expand input { width: 160px; }
  .ho12-lib-grid { grid-template-columns: 1fr; }
  .ho12-lib-thumb { height: 200px; }
  .ho12-sw-info h1 { font-size: 26px; }
  .ho12-pd-info h1 { font-size: 28px; }
  .ho12-about-center { padding: 30px 20px; }
  .ho12-about-center h1 { font-size: 32px; }
}
