@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800;900&display=swap');
/* ============================================================
   skin2 — "Crimson Lotus" : 딥 마룬/레드 + 골드, PC 좌측 사이드바 레이아웃
   (skin2.boss88kr.com) 2026-09-12
   ============================================================ */
body.b88-skin2 {
  --b-bg0: #12030a; --b-bg0-rgb: 18, 3, 10;
  --b-bg1: #3a0a14; --b-bg1-rgb: 58, 10, 20;
  --b-deep: #240610; --b-deep-rgb: 36, 6, 16;
  --b-sf: #4a0f1c; --b-sf-rgb: 74, 15, 28;
  --b-sf2: #741a2c; --b-sf2-rgb: 116, 26, 44;
  --b-gold0: #fff6d6; --b-gold1: #ffe9a6; --b-gold1-rgb: 255, 233, 166;
  --b-gold2: #ffc83d; --b-gold-rgb: 255, 200, 61; --b-gold3: #e0961a;
  --b-ongold: #3a1600;
  --b-cy: #ffd27a; --b-cy-rgb: 255, 210, 122;
  --b-pk: #ff3b3b; --b-pk-rgb: 255, 59, 59; --b-pk2: #ff8a3d;
  --b-tx: #fff5ee; --b-mu: #e6b9ad;
  --b-body-bg:
    radial-gradient(900px 500px at 0% 0%, rgba(255, 59, 59, 0.28), transparent 60%),
    radial-gradient(700px 500px at 100% 20%, rgba(255, 200, 61, 0.14), transparent 60%),
    linear-gradient(180deg, #3a0a14 0%, #1e0510 50%, #12030a 100%);
  --b-font: "Nunito", "Be Vietnam Pro", sans-serif;
}
body.b88-skin2::before {
  background:
    radial-gradient(600px 320px at 70% 10%, rgba(255, 200, 61, 0.10), transparent 60%),
    radial-gradient(520px 320px at 20% 80%, rgba(255, 59, 59, 0.12), transparent 60%);
}
/* 연꽃 패턴 느낌의 은은한 도트 오버레이 */
body.b88-skin2::after {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: 0.35;
  background-image: radial-gradient(rgba(255, 200, 61, 0.12) 1px, transparent 1.5px);
  background-size: 26px 26px;
}

/* ---------- 헤더: 상단바만 남기고 네비는 좌측 사이드바로 (PC) ---------- */
body.b88-skin2 section.fixed.top-0 {
  -webkit-backdrop-filter: none; backdrop-filter: none;
  background: linear-gradient(180deg, #4a0f1c, #2a060e) !important;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5), 0 1px 0 rgba(var(--b-gold-rgb), 0.7);
}
@media (min-width: 1024px) {
  body.b88-skin2 { padding-left: 236px; }
  body.b88-skin2 section.fixed.top-0 > div.hide-scrollbar {
    position: fixed; left: 0; top: 58px; bottom: 0; width: 236px; max-width: none;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 4px;
    padding: 18px 12px !important; overflow-y: auto; overflow-x: hidden;
    background: linear-gradient(180deg, #2a060e 0%, #1a0409 100%);
    border-right: 1px solid rgba(var(--b-gold-rgb), 0.35);
    box-shadow: 8px 0 30px rgba(0, 0, 0, 0.45);
  }
  body.b88-skin2 section.fixed.top-0 > div.hide-scrollbar > a {
    flex-direction: row !important; justify-content: flex-start; gap: 12px !important;
    padding: 12px 14px !important; border-radius: 12px;
  }
  body.b88-skin2 section.fixed.top-0 > div.hide-scrollbar > a img { width: 24px !important; }
  body.b88-skin2 section.fixed.top-0 > div.hide-scrollbar > a p { font-size: 14px !important; text-transform: none !important; letter-spacing: 0; }
  body.b88-skin2 section.fixed.top-0 > div.hide-scrollbar > a:hover,
  body.b88-skin2 section.fixed.top-0 > div.hide-scrollbar > a.b88-nav-active {
    background: linear-gradient(90deg, rgba(var(--b-gold-rgb), 0.22), rgba(var(--b-gold-rgb), 0.04));
    border-left: 3px solid var(--b-gold2); border-color: transparent; border-left-color: var(--b-gold2);
    box-shadow: none;
  }
  /* 서브페이지 상단 여백: 상단바(58px)만 있으므로 축소 */
  body.b88-skin2 section.mt-\[110px\] { margin-top: 70px !important; }
  body.b88-skin2 .b88-footer { padding-bottom: 30px; }
  /* 모달·플로팅 요소는 사이드바 영향 제외 */
  body.b88-skin2 #loginModal { padding-left: 236px; }
}
body.b88-skin2 section.fixed.top-0 > div:first-child > div { padding-top: 6px; padding-bottom: 6px; }
body.b88-skin2 #open-login-btn { border-color: var(--b-gold2) !important; color: var(--b-gold1) !important; border-radius: 8px !important; }
body.b88-skin2 #open-register-btn { border-radius: 8px !important; background: linear-gradient(90deg, #ff3b3b, #ff8a3d) !important; color: #fff !important; animation: none; box-shadow: 0 6px 18px rgba(255, 59, 59, 0.5); }
body.b88-skin2 .b88-btn-gold { border-radius: 10px; }
body.b88-skin2 .b88-btn-outline { border-radius: 10px; }
body.b88-skin2 .b88-mini-btn { border-radius: 8px; }

/* ---------- 모바일 하단바: 붉은 유리 바 (플로팅 아님) ---------- */
body.b88-skin2 div.fixed.bottom-0.grid {
  left: 0 !important; right: 0 !important; bottom: 0 !important; border-radius: 18px 18px 0 0;
  background: linear-gradient(180deg, #4a0f1c, #2a060e) !important;
  box-shadow: 0 -1px 0 rgba(var(--b-gold-rgb), 0.6), 0 -10px 30px rgba(0, 0, 0, 0.5);
}
body.b88-skin2 div.fixed.bottom-0.grid .rounded-full { background: linear-gradient(180deg, #ff5a5a, #c81e1e) !important; box-shadow: 0 0 0 4px #2a060e, 0 0 22px rgba(255, 59, 59, 0.7); animation: none; }

/* ---------- skin2 홈 컴포넌트 ---------- */
body.b88-skin2 .b88-frame { background: linear-gradient(135deg, #ffe9a6, #ffc83d 40%, #ff3b3b 100%); border-radius: 16px; }
body.b88-skin2 .b88-frame > * { border-radius: 14px; }
body.b88-skin2 .s2-tabs { display: flex; gap: 6px; overflow-x: auto; padding: 4px 0 6px; margin-top: 14px; border-bottom: 1px solid rgba(var(--b-gold-rgb), 0.3); }
body.b88-skin2 .s2-tab { flex: none; padding: 10px 18px; border-radius: 10px 10px 0 0; font-weight: 800; font-size: 13px; color: var(--b-mu); background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-bottom: 0; white-space: nowrap; transition: 0.2s; }
body.b88-skin2 .s2-tab:hover, body.b88-skin2 .s2-tab.on { color: var(--b-ongold); background: var(--b-gold-grad); }
body.b88-skin2 .s2-title { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; }
body.b88-skin2 .s2-title .bar { width: 6px; height: 26px; border-radius: 3px; background: linear-gradient(180deg, #ff3b3b, var(--b-gold2)); box-shadow: 0 0 12px rgba(255, 59, 59, 0.8); }
body.b88-skin2 .s2-title h2 { font-size: 20px; font-weight: 900; color: #fff; text-transform: uppercase; letter-spacing: 0.04em; }
body.b88-skin2 .s2-title h2 em { font-style: normal; color: var(--b-gold2); }
body.b88-skin2 .s2-title a { margin-left: auto; font-size: 12px; font-weight: 700; color: var(--b-gold1); }
@media (min-width: 640px) { body.b88-skin2 .s2-title h2 { font-size: 26px; } }
/* 가로형 카지노 카드 */
body.b88-skin2 .s2-hcard { display: grid; grid-template-columns: 44% 1fr; border-radius: 14px; overflow: hidden; cursor: pointer;
  background: linear-gradient(135deg, #5a1222, #2a060e); border: 1px solid rgba(var(--b-gold-rgb), 0.35); box-shadow: 0 10px 26px rgba(0, 0, 0, 0.45); transition: 0.3s; min-height: 150px; }
body.b88-skin2 .s2-hcard:hover { transform: translateY(-4px); border-color: var(--b-gold2); box-shadow: 0 0 26px rgba(var(--b-gold-rgb), 0.4), 0 16px 36px rgba(0, 0, 0, 0.5); }
body.b88-skin2 .s2-hcard .pic { position: relative; overflow: hidden; }
body.b88-skin2 .s2-hcard .pic .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: left top; transform: scale(1.2); }
body.b88-skin2 .s2-hcard .pic .girl { position: absolute; bottom: 0; right: 0; height: 100%; width: auto; object-fit: contain; object-position: bottom; transition: 0.4s; }
body.b88-skin2 .s2-hcard:hover .pic .girl { transform: scale(1.05); }
body.b88-skin2 .s2-hcard .pic::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 60%, #3a0a14 100%); }
body.b88-skin2 .s2-hcard .txt { padding: 14px 14px 14px 10px; display: flex; flex-direction: column; justify-content: center; gap: 6px; }
body.b88-skin2 .s2-hcard .txt h3 { font-size: 16px; font-weight: 900; color: #fff; }
body.b88-skin2 .s2-hcard .txt p { font-size: 11px; color: var(--b-mu); line-height: 1.5; }
body.b88-skin2 .s2-hcard .txt .cta { margin-top: 6px; align-self: flex-start; padding: 7px 14px; border-radius: 8px; background: linear-gradient(90deg, #ff3b3b, #ff8a3d); color: #fff; font-weight: 800; font-size: 12px; box-shadow: 0 4px 14px rgba(255, 59, 59, 0.5); }
body.b88-skin2 .s2-hcard .tag { position: absolute; top: 8px; left: 8px; z-index: 2; font-size: 10px; font-weight: 900; padding: 3px 8px; border-radius: 6px; background: var(--b-gold2); color: var(--b-ongold); }
/* 스포츠 스트립 */
body.b88-skin2 .s2-sport { position: relative; border-radius: 16px; overflow: hidden; display: grid; grid-template-columns: 1fr; background: linear-gradient(135deg, #6b1424 0%, #2a060e 70%); border: 1px solid rgba(var(--b-gold-rgb), 0.35); }
@media (min-width: 768px) { body.b88-skin2 .s2-sport { grid-template-columns: 1fr 1fr; } }
body.b88-skin2 .s2-sport > div { display: grid; grid-template-columns: 1fr 40%; align-items: center; min-height: 190px; cursor: pointer; transition: 0.3s; }
body.b88-skin2 .s2-sport > div:first-child { border-bottom: 1px solid rgba(var(--b-gold-rgb), 0.25); }
@media (min-width: 768px) { body.b88-skin2 .s2-sport > div:first-child { border-bottom: 0; border-right: 1px solid rgba(var(--b-gold-rgb), 0.25); } }
body.b88-skin2 .s2-sport > div:hover { background: rgba(var(--b-gold-rgb), 0.08); }
body.b88-skin2 .s2-sport .info { padding: 22px; }
body.b88-skin2 .s2-sport .info img { height: 30px; width: auto; margin-bottom: 8px; }
body.b88-skin2 .s2-sport .info h3 { font-size: 22px; font-weight: 900; color: #fff; text-transform: uppercase; }
body.b88-skin2 .s2-sport .info p { font-size: 12px; color: var(--b-mu); margin: 6px 0 12px; }
body.b88-skin2 .s2-sport .player { position: relative; height: 100%; min-height: 190px; }
body.b88-skin2 .s2-sport .player img { position: absolute; bottom: 0; right: 6px; height: 104%; width: auto; object-fit: contain; object-position: bottom; }
/* 게임 카드: 이름 오버레이 */
body.b88-skin2 .s2-game { position: relative; border-radius: 12px; overflow: hidden; cursor: pointer; aspect-ratio: 1 / 1; border: 1px solid rgba(255, 255, 255, 0.1); transition: 0.3s; }
body.b88-skin2 .s2-game img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
body.b88-skin2 .s2-game:hover { border-color: var(--b-gold2); transform: translateY(-4px); box-shadow: 0 0 22px rgba(var(--b-gold-rgb), 0.45); }
body.b88-skin2 .s2-game:hover img { transform: scale(1.1); }
body.b88-skin2 .s2-game .name { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 8px 8px; font-size: 11px; font-weight: 800; color: #fff; text-align: center; text-transform: uppercase; background: linear-gradient(180deg, transparent, rgba(18, 3, 10, 0.95)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.b88-skin2 .s2-game .hot { position: absolute; top: 6px; right: 6px; font-size: 9px; font-weight: 900; padding: 2px 7px; border-radius: 6px; background: #ff3b3b; color: #fff; }
/* 프로모 카드 + 단계 */
body.b88-skin2 .s2-promo { border-radius: 14px; padding: 18px; background: linear-gradient(135deg, #7a1a2e, #3a0a14); border: 1px solid rgba(var(--b-gold-rgb), 0.35); position: relative; overflow: hidden; }
body.b88-skin2 .s2-promo::after { content: ""; position: absolute; right: -30px; top: -30px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(circle, rgba(var(--b-gold-rgb), 0.35), transparent 70%); }
body.b88-skin2 .s2-promo h4 { font-size: 16px; font-weight: 900; color: var(--b-gold1); margin-bottom: 4px; }
body.b88-skin2 .s2-promo p { font-size: 12px; color: var(--b-mu); }
body.b88-skin2 .s2-step { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); }
body.b88-skin2 .s2-step .n { flex: none; width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 900; background: var(--b-gold-grad); color: var(--b-ongold); }
body.b88-skin2 .s2-step h5 { font-weight: 800; color: #fff; font-size: 14px; }
body.b88-skin2 .s2-step p { font-size: 12px; color: var(--b-mu); }
body.b88-skin2 .b88-marquee { border-radius: 10px; }
body.b88-skin2 .b88-tile { border-radius: 10px; }
