@import url('https://fonts.googleapis.com/css2?family=Barlow:wght@400;500;600;700;800;900&family=Oswald:wght@500;600;700&display=swap');
/* ============================================================
   skin3 — "Emerald Neon" : 블랙/딥그린 + 네온 라임 + 바이올렛, 사이버/e스포츠 무드
   플로팅 알약 네비 + 넷플릭스식 가로 스크롤 열 (skin3.boss88kr.com) 2026-09-12
   ============================================================ */
body.b88-skin3 {
  --b-bg0: #050807; --b-bg0-rgb: 5, 8, 7;
  --b-bg1: #0b1a14; --b-bg1-rgb: 11, 26, 20;
  --b-deep: #08120e; --b-deep-rgb: 8, 18, 14;
  --b-sf: #10241b; --b-sf-rgb: 16, 36, 27;
  --b-sf2: #173327; --b-sf2-rgb: 23, 51, 39;
  --b-gold0: #f4ffd6; --b-gold1: #e3ff7a; --b-gold1-rgb: 227, 255, 122;
  --b-gold2: #c6ff3d; --b-gold-rgb: 198, 255, 61; --b-gold3: #7fd400;
  --b-ongold: #0a1400;
  --b-cy: #b388ff; --b-cy-rgb: 179, 136, 255;
  --b-pk: #ff4d8d; --b-pk-rgb: 255, 77, 141; --b-pk2: #ff9f43;
  --b-tx: #eefcf3; --b-mu: #93b3a3;
  --b-body-bg:
    radial-gradient(1000px 500px at 80% -10%, rgba(198, 255, 61, 0.14), transparent 60%),
    radial-gradient(800px 500px at 0% 30%, rgba(179, 136, 255, 0.16), transparent 60%),
    linear-gradient(180deg, #0b1a14 0%, #070f0b 40%, #050807 100%);
  --b-font: "Barlow", "Be Vietnam Pro", sans-serif;
}
body.b88-skin3::before {
  background:
    radial-gradient(600px 320px at 30% 30%, rgba(198, 255, 61, 0.08), transparent 60%),
    radial-gradient(520px 320px at 80% 70%, rgba(179, 136, 255, 0.12), transparent 60%);
}
/* 그리드 라인 오버레이 (사이버) */
body.b88-skin3::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.5;
  background-image: linear-gradient(rgba(198, 255, 61, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(198, 255, 61, 0.05) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 70%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.9), transparent 70%);
}
body.b88-skin3 h1, body.b88-skin3 h2, body.b88-skin3 h3, body.b88-skin3 .s3-h { font-family: "Oswald", "Barlow", sans-serif !important; }

/* ---------- 헤더: 투명 상단바 + 네비는 중앙 플로팅 알약 ---------- */
body.b88-skin3 section.fixed.top-0 { background: linear-gradient(180deg, rgba(5, 8, 7, 0.92), rgba(5, 8, 7, 0.55)) !important; box-shadow: none; }
body.b88-skin3 section.fixed.top-0 > div:first-child { border-color: transparent !important; }
@media (min-width: 640px) {
  body.b88-skin3 section.fixed.top-0 > div.hide-scrollbar {
    width: fit-content; max-width: calc(100% - 40px); margin: 4px auto 8px; padding: 4px 6px !important; gap: 0;
    border-radius: 999px; background: rgba(8, 18, 14, 0.85); border: 1px solid rgba(var(--b-gold-rgb), 0.35);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 24px rgba(var(--b-gold-rgb), 0.12);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  }
  body.b88-skin3 section.fixed.top-0 > div.hide-scrollbar > a { padding: 7px 14px !important; border: 0; }
  body.b88-skin3 section.fixed.top-0 > div.hide-scrollbar > a img { width: 20px !important; filter: drop-shadow(0 0 6px rgba(var(--b-gold-rgb), 0.6)); }
  body.b88-skin3 section.fixed.top-0 > div.hide-scrollbar > a p { font-size: 12px !important; letter-spacing: 0.06em; }
  body.b88-skin3 section.fixed.top-0 > div.hide-scrollbar > a:hover,
  body.b88-skin3 section.fixed.top-0 > div.hide-scrollbar > a.b88-nav-active { background: var(--b-gold-grad); box-shadow: 0 0 18px rgba(var(--b-gold-rgb), 0.5); }
  body.b88-skin3 section.fixed.top-0 > div.hide-scrollbar > a:hover p,
  body.b88-skin3 section.fixed.top-0 > div.hide-scrollbar > a.b88-nav-active p { color: var(--b-ongold) !important; }
  body.b88-skin3 section.fixed.top-0 > div.hide-scrollbar > a:hover img,
  body.b88-skin3 section.fixed.top-0 > div.hide-scrollbar > a.b88-nav-active img { filter: brightness(0); }
}
body.b88-skin3 #open-login-btn { border-color: var(--b-cy) !important; color: var(--b-cy) !important; border-radius: 6px !important; }
body.b88-skin3 #open-register-btn { border-radius: 6px !important; color: var(--b-ongold) !important; animation: none; box-shadow: 0 0 0 1px rgba(var(--b-gold-rgb), 0.8), 0 0 22px rgba(var(--b-gold-rgb), 0.5); }
body.b88-skin3 .b88-btn-gold, body.b88-skin3 .b88-btn-outline, body.b88-skin3 .b88-mini-btn { border-radius: 6px; text-transform: uppercase; letter-spacing: 0.06em; }
body.b88-skin3 .b88-btn-gold::after { display: none; }

/* ---------- 모바일 하단바: 네온 상단선 바 ---------- */
body.b88-skin3 div.fixed.bottom-0.grid {
  left: 0 !important; right: 0 !important; bottom: 0 !important; border-radius: 0;
  background: rgba(5, 8, 7, 0.96) !important;
  box-shadow: 0 -1px 0 var(--b-gold2), 0 -10px 30px rgba(var(--b-gold-rgb), 0.15);
}
body.b88-skin3 div.fixed.bottom-0.grid .rounded-full { box-shadow: 0 0 0 4px #050807, 0 0 22px rgba(var(--b-gold-rgb), 0.8); animation: none; }

/* ---------- skin3 홈 컴포넌트 ---------- */
body.b88-skin3 .b88-frame { background: linear-gradient(135deg, var(--b-gold2), var(--b-cy)); border-radius: 12px; padding: 1px; }
body.b88-skin3 .b88-frame > * { border-radius: 11px; }
body.b88-skin3 .s3-rank { border-radius: 12px; background: linear-gradient(180deg, rgba(23, 51, 39, 0.8), rgba(8, 18, 14, 0.95)); border: 1px solid rgba(var(--b-gold-rgb), 0.3); padding: 14px; height: 100%; }
body.b88-skin3 .s3-rank h3 { font-size: 16px; font-weight: 700; color: var(--b-gold2); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 10px; display: flex; align-items: center; gap: 8px; }
body.b88-skin3 .s3-rank h3::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--b-gold2); box-shadow: 0 0 10px var(--b-gold2); animation: b88pulse 1.6s infinite; }
body.b88-skin3 .s3-rank .row { display: flex; align-items: center; gap: 10px; padding: 7px 6px; border-radius: 8px; cursor: pointer; transition: 0.2s; }
body.b88-skin3 .s3-rank .row:hover { background: rgba(var(--b-gold-rgb), 0.1); }
body.b88-skin3 .s3-rank .row .n { width: 22px; font-family: "Oswald", sans-serif !important; font-size: 18px; font-weight: 700; color: var(--b-cy); }
body.b88-skin3 .s3-rank .row .n.top { color: var(--b-gold2); }
body.b88-skin3 .s3-rank .row img { width: 40px; height: 40px; border-radius: 8px; object-fit: cover; }
body.b88-skin3 .s3-rank .row .t { flex: 1; min-width: 0; }
body.b88-skin3 .s3-rank .row .t b { display: block; font-size: 13px; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; text-transform: uppercase; }
body.b88-skin3 .s3-rank .row .t small { font-size: 10px; color: var(--b-mu); }
body.b88-skin3 .s3-rank .row .go { font-size: 10px; font-weight: 800; padding: 4px 9px; border-radius: 4px; background: var(--b-gold-grad); color: var(--b-ongold); }

body.b88-skin3 .s3-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-bottom: 12px; padding-left: 12px; border-left: 4px solid var(--b-gold2); }
body.b88-skin3 .s3-head h2 { font-size: 22px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 0.08em; line-height: 1; }
body.b88-skin3 .s3-head h2 span { color: var(--b-gold2); text-shadow: 0 0 14px rgba(var(--b-gold-rgb), 0.6); }
body.b88-skin3 .s3-head small { display: block; font-size: 11px; color: var(--b-mu); margin-top: 6px; letter-spacing: 0.04em; }
body.b88-skin3 .s3-head a { font-size: 12px; font-weight: 700; color: var(--b-cy); white-space: nowrap; }
@media (min-width: 640px) { body.b88-skin3 .s3-head h2 { font-size: 30px; } }
/* 가로 스크롤 열 */
body.b88-skin3 .s3-row { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 6px 2px 14px; -webkit-overflow-scrolling: touch; }
body.b88-skin3 .s3-row::-webkit-scrollbar { height: 6px; }
body.b88-skin3 .s3-row::-webkit-scrollbar-thumb { background: rgba(var(--b-gold-rgb), 0.5); border-radius: 3px; }
body.b88-skin3 .s3-row > * { scroll-snap-align: start; flex: none; }
/* 16:9 네온 카드 */
body.b88-skin3 .s3-wide { width: 72vw; max-width: 340px; border-radius: 10px; overflow: hidden; cursor: pointer; position: relative; background: var(--b-deep);
  border: 1px solid rgba(var(--b-gold-rgb), 0.25); transition: 0.3s; }
@media (min-width: 640px) { body.b88-skin3 .s3-wide { width: 340px; } }
body.b88-skin3 .s3-wide:hover { border-color: var(--b-gold2); box-shadow: 0 0 24px rgba(var(--b-gold-rgb), 0.45); transform: translateY(-4px); }
body.b88-skin3 .s3-wide .pic { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
body.b88-skin3 .s3-wide .pic .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left center; }
body.b88-skin3 .s3-wide .pic .girl { position: absolute; bottom: 0; right: 4%; height: 100%; width: auto; object-fit: contain; object-position: bottom; transition: 0.4s; }
body.b88-skin3 .s3-wide:hover .pic .girl { transform: scale(1.06); }
body.b88-skin3 .s3-wide .pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5, 8, 7, 0.95)); }
body.b88-skin3 .s3-wide .meta { position: absolute; left: 12px; right: 12px; bottom: 10px; z-index: 2; display: flex; align-items: center; justify-content: space-between; }
body.b88-skin3 .s3-wide .meta b { font-family: "Oswald", sans-serif !important; font-size: 18px; font-weight: 600; color: #fff; text-transform: uppercase; letter-spacing: 0.04em; }
body.b88-skin3 .s3-wide .tag { position: absolute; top: 8px; left: 8px; z-index: 2; font-size: 10px; font-weight: 900; letter-spacing: 0.1em; padding: 3px 8px; border-radius: 4px; background: var(--b-pk); color: #fff; box-shadow: 0 0 12px rgba(var(--b-pk-rgb), 0.8); }
/* 스포츠 빅카드 */
body.b88-skin3 .s3-sport { width: 86vw; max-width: 560px; height: 220px; border-radius: 12px; overflow: hidden; cursor: pointer; position: relative; display: grid; grid-template-columns: 1fr 45%; align-items: center;
  background: radial-gradient(120% 140% at 100% 0%, rgba(var(--b-cy-rgb), 0.3), transparent 55%), linear-gradient(135deg, #173327, #08120e); border: 1px solid rgba(var(--b-cy-rgb), 0.35); transition: 0.3s; }
body.b88-skin3 .s3-sport.alt { background: radial-gradient(120% 140% at 100% 0%, rgba(var(--b-gold-rgb), 0.28), transparent 55%), linear-gradient(135deg, #1b2a3a, #08120e); border-color: rgba(var(--b-gold-rgb), 0.35); }
body.b88-skin3 .s3-sport:hover { transform: translateY(-4px); box-shadow: 0 0 26px rgba(var(--b-cy-rgb), 0.35); }
body.b88-skin3 .s3-sport .info { padding: 20px 10px 20px 22px; }
body.b88-skin3 .s3-sport .info img { height: 28px; width: auto; margin-bottom: 8px; }
body.b88-skin3 .s3-sport .info h3 { font-size: 26px; font-weight: 700; color: #fff; text-transform: uppercase; line-height: 1; }
body.b88-skin3 .s3-sport .info p { font-size: 12px; color: var(--b-mu); margin: 8px 0 12px; }
body.b88-skin3 .s3-sport .player { position: relative; height: 100%; }
body.b88-skin3 .s3-sport .player img { position: absolute; bottom: -2px; right: 0; height: 106%; width: auto; object-fit: contain; object-position: bottom; filter: drop-shadow(0 0 18px rgba(var(--b-cy-rgb), 0.35)); }
/* 게임 타일 (가로열) */
body.b88-skin3 .s3-game { width: 150px; border-radius: 10px; overflow: hidden; cursor: pointer; position: relative; background: var(--b-deep); border: 1px solid rgba(255, 255, 255, 0.08); transition: 0.3s; }
body.b88-skin3 .s3-game:hover { border-color: var(--b-cy); box-shadow: 0 0 20px rgba(var(--b-cy-rgb), 0.45); transform: translateY(-4px); }
body.b88-skin3 .s3-game img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
body.b88-skin3 .s3-game .name { padding: 8px; font-size: 11px; font-weight: 700; color: #fff; text-transform: uppercase; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 0.04em; }
body.b88-skin3 .s3-game .hot { position: absolute; top: 6px; left: 6px; font-size: 9px; font-weight: 900; padding: 2px 6px; border-radius: 3px; background: var(--b-gold2); color: var(--b-ongold); }
/* 프로바이더 마퀴 */
body.b88-skin3 .s3-logos { overflow: hidden; border-top: 1px solid rgba(var(--b-gold-rgb), 0.2); border-bottom: 1px solid rgba(var(--b-gold-rgb), 0.2); padding: 14px 0; background: rgba(8, 18, 14, 0.6); }
body.b88-skin3 .s3-logos .track { display: flex; gap: 40px; width: max-content; animation: s3scroll 40s linear infinite; }
body.b88-skin3 .s3-logos img { height: 34px; width: auto; opacity: 0.7; filter: grayscale(1) brightness(1.6); }
@keyframes s3scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
/* 특징 4종: 네온 아웃라인 */
body.b88-skin3 .s3-feat { border-radius: 10px; padding: 16px; background: rgba(8, 18, 14, 0.7); border: 1px solid rgba(var(--b-gold-rgb), 0.25); display: flex; gap: 12px; align-items: center; }
body.b88-skin3 .s3-feat .ic { flex: none; width: 42px; height: 42px; border-radius: 8px; display: flex; align-items: center; justify-content: center; background: rgba(var(--b-gold-rgb), 0.12); border: 1px solid rgba(var(--b-gold-rgb), 0.5); }
body.b88-skin3 .s3-feat .ic img { width: 22px; height: 22px; filter: brightness(0) invert(1); }
body.b88-skin3 .s3-feat h4 { font-size: 14px; font-weight: 800; color: #fff; text-transform: uppercase; letter-spacing: 0.04em; }
body.b88-skin3 .s3-feat p { font-size: 11px; color: var(--b-mu); }
body.b88-skin3 .b88-marquee { border-radius: 6px; }
body.b88-skin3 .b88-tile { border-radius: 8px; }
body.b88-skin3 .b88-card { border-radius: 12px; }
