/* demo100 TEN 카지노 스타일 — 다크 네이비 + 스카이블루 */

@font-face {
  font-family: 'S-CoreDream-3Light';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_six@1.2/S-CoreDream-3Light.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

.page-ten {
  --ten-bg: #0f171e;
  --ten-gold: #00a3ff;
  --ten-gold-deep: #0084ff;
  --ten-panel: #1a2632;
  --ten-line: rgba(0, 163, 255, 0.14);
  --ten-grad: linear-gradient(180deg, #00a3ff 0%, #0084ff 100%);
  --ten-muted: #5e768d;
  --auth-bg: #0f171e;
  --auth-panel: #0f171e;
  --auth-panel-2: #1a2632;
  --auth-gold: #00a3ff;
  --auth-gold-light: #5ec8ff;
  --auth-gold-dark: #0084ff;
  --auth-accent: #00a3ff;
  --auth-gold-rgb: 0, 163, 255;
  background: var(--ten-bg) !important;
  color: #fff;
  font-family: 'S-CoreDream-3Light', sans-serif;
}

.page-ten .mb-bottomnav {
  display: none;
}

@media (max-width: 991px) {
  .page-ten .mb-bottomnav {
    display: block;
    background: #0c1218;
    border-top: 1px solid rgba(0, 163, 255, 0.18);
  }

  .page-ten .ten-page {
    padding-bottom: 64px;
  }
}

.page-ten .www-ico {
  color: var(--ten-gold);
}

.ten-page {
  min-height: 100vh;
  background: var(--ten-bg);
}

.ten-wrap {
  margin-left: 0;
  min-width: 0;
  background: #0c1218;
}

.ten-topbar {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 80px;
  padding: 0 24px;
  background: #0c1218;
  gap: 16px;
}

.ten-logo {
  display: block;
  flex-shrink: 0;
  padding: 8px 0;
  justify-self: start;
}

.ten-logo img {
  display: block;
  width: 150px;
  max-width: 100%;
  height: auto;
}

.ten-logo-text {
  display: block;
  font-size: 22px;
  font-weight: 800;
  color: var(--ten-gold);
  letter-spacing: 0.08em;
}

.ten-headnav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.ten-headnav a {
  display: block;
  padding: 0 14px;
  height: 40px;
  line-height: 40px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 8px;
}

.ten-headnav a:hover {
  color: #fff;
  background: var(--ten-grad);
  box-shadow: 0 6px 18px rgba(0, 163, 255, 0.35);
}

.ten-hamburger {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  background: transparent;
  color: var(--ten-gold);
  font-size: 24px;
  cursor: pointer;
}

.ten-userbar {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-shrink: 0;
}

.ten-notice {
  position: relative;
  height: 42px;
  overflow: hidden;
  padding: 0 24px;
  background: #0c1218;
  border-top: 1px solid var(--ten-line);
  border-bottom: 1px solid var(--ten-line);
}

.ten-notice > i {
  position: absolute;
  left: 24px;
  top: 10px;
  font-size: 20px;
  color: var(--ten-gold);
  z-index: 1;
}

.ten-marquee {
  margin-left: 36px;
  height: 42px;
  overflow: hidden;
}

.ten-marquee-track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: ten-marquee 22s linear infinite;
  line-height: 42px;
  font-size: 13px;
  color: var(--ten-gold);
}

@keyframes ten-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ten-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-width: 120px;
  height: 50px;
  padding: 0 16px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid rgba(0, 163, 255, 0.35);
  background: #0a1118;
  color: #fff;
}

.ten-btn-gold {
  background: var(--ten-grad);
  border: 1px solid #0084ff;
  color: #fff;
  box-shadow: 0 8px 22px rgba(0, 163, 255, 0.38);
}

.ten-btn:hover {
  filter: brightness(1.2);
}

.ten-wallet {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  padding: 0 8px;
}

.ten-wallet strong,
.ten-wallet button {
  color: var(--ten-gold);
  background: none;
  border: 0;
  cursor: pointer;
  font-weight: 800;
}

.ten-main {
  min-width: 0;
  background: var(--ten-bg);
}

.ten-hero img {
  display: block;
  width: 100%;
  height: auto;
}

.ten-hero-fallback {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #123044, #0f171e);
  color: var(--ten-gold);
  font-size: 32px;
  font-weight: 800;
}

.ten-hero .swiper-pagination-bullet {
  background: var(--ten-gold);
}

.ten-container {
  padding: 24px 50px 10px;
}

.ten-tabs {
  display: flex;
  height: 50px;
  margin: 0 0 12px;
  gap: 6px;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.9));
}

.ten-tab {
  flex: 1;
  border: 0;
  border-radius: 10px;
  background: var(--ten-panel);
  color: var(--ten-muted);
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.ten-tab.is-active,
.ten-tab:hover {
  color: #fff;
  background: var(--ten-grad);
  box-shadow: 0 6px 18px rgba(0, 163, 255, 0.35);
}

.ten-tab-panel {
  display: none;
}

.ten-tab-panel.is-active {
  display: block;
}

.ten-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.ten-tab-panel[data-ten-panel="slot"] .ten-grid {
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.ten-game {
  display: block;
  text-decoration: none;
  color: #fff;
}

.ten-game-border {
  display: block;
  position: relative;
  padding: 2px;
  border-radius: 13px;
  overflow: hidden;
  background: linear-gradient(135deg, #00a3ff 12.5%, transparent 25%, transparent 50%, #00a3ff 62.5%, transparent 75%, transparent), #1a2632;
}

.ten-game img,
.ten-game video,
.ten-game-media,
.ten-game-fallback {
  display: block;
  width: 100%;
  border-radius: 11px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background: #0c1218;
}

/* 카지노 mp4: 세로 크롭 없이 원본 비율로 좌우를 채운다 */
.ten-tab-panel[data-ten-panel="casino"] video.ten-game-media {
  aspect-ratio: auto;
  height: auto;
  object-fit: contain;
  object-position: center center;
}

.ten-game-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  font-weight: 700;
}

.ten-game-title {
  position: absolute;
  left: 0;
  right: 0;
  top: 42%;
  text-align: center;
  opacity: 0;
  font-size: 18px;
  font-weight: 700;
  text-shadow: 0 0 8px #4f6dff;
  transition: 0.3s;
  pointer-events: none;
}

.ten-game:hover img,
.ten-game:hover video,
.ten-game:hover .ten-game-media {
  filter: grayscale(1) brightness(0.35);
}

.ten-game:hover .ten-game-title {
  opacity: 1;
}

.ten-empty {
  grid-column: 1 / -1;
  color: #888;
  padding: 24px 0;
  text-align: center;
}

.ten-boards {
  display: flex;
  flex-wrap: wrap;
  padding: 10px 50px 50px;
  gap: 0;
}

.ten-board {
  width: 31.33%;
  margin: 1%;
  min-height: 320px;
  padding: 28px 20px;
  background: linear-gradient(#1a2632 0%, #121a22 100%);
  border-radius: 10px;
  box-shadow: 5px 0 5px rgba(0, 0, 0, 0.7);
  border: 1px solid rgba(0, 163, 255, 0.12);
}

.ten-board h6 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
}

.ten-board ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.ten-board li {
  border-bottom: 1px solid var(--ten-line);
  font-size: 13px;
  line-height: 42px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ten-board ul:not(.ten-top10) li a::before {
  content: "★";
  color: var(--ten-gold);
  margin-right: 8px;
  font-size: 11px;
}

.ten-board a {
  color: #fff;
  text-decoration: none;
}

.ten-board a:hover {
  color: var(--ten-gold);
}

.ten-top10 li {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.ten-top10 strong {
  color: var(--ten-gold);
  font-weight: 800;
}

.ten-footer {
  background: #0c1218;
  padding: 40px 24px 28px;
  text-align: center;
}

.ten-footer-banners {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.ten-footer-banners a {
  display: inline-block;
}

.ten-footer-banners img {
  display: block;
  height: 72px;
  width: auto;
  max-width: 220px;
  border: 1px solid rgba(0, 163, 255, 0.45);
  border-radius: 4px;
}

.ten-foot-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(0, 163, 255, 0.45);
  border-radius: 6px;
  color: var(--ten-gold);
  text-decoration: none;
  font-weight: 700;
}

.page-ten .wd-lobby {
  padding: 12px 24px 40px;
}

.ten-footer-copy {
  color: #ccc;
  font-size: 12px;
  margin: 6px 0;
}

.page-ten .mb-shell-sidebar,
.page-ten .wd-chrome {
  display: none !important;
}

@media (max-width: 991px) {
  .ten-topbar {
    display: flex;
    flex-wrap: wrap;
    min-height: 64px;
    padding: 8px 12px;
  }

  .ten-logo,
  .ten-userbar {
    justify-self: auto;
  }

  .ten-hamburger {
    display: inline-flex;
    order: 3;
  }

  .ten-userbar {
    order: 2;
    margin-left: auto;
  }

  .ten-headnav {
    display: none;
    order: 4;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 0;
    padding: 8px 0 4px;
  }

  .ten-page.is-nav-open .ten-headnav {
    display: flex;
  }

  .ten-headnav a {
    height: 44px;
    line-height: 44px;
    padding: 0 12px;
    border-bottom: 1px solid var(--ten-line);
    border-radius: 0;
  }

  .ten-wrap {
    margin-left: 0;
  }

  .ten-container,
  .ten-boards {
    padding-left: 16px;
    padding-right: 16px;
  }

  .ten-board {
    width: 100%;
    margin: 8px 0;
  }

  .ten-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ten-tab-panel[data-ten-panel="slot"] .ten-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ten-btn {
    min-width: 0;
    height: 40px;
    font-size: 12px;
    padding: 0 10px;
  }

  .ten-tab {
    font-size: 14px;
  }
}

@media (max-width: 575px) {
  .ten-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ten-tab-panel[data-ten-panel="slot"] .ten-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ten-slot-layer {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(0, 0, 0, 0.8);
}

.ten-slot-close {
  position: absolute;
  top: 28px;
  left: calc(50% - 600px - 8px);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 0;
  background: none;
  color: #fff;
  font-size: 36px;
  line-height: 1;
  cursor: pointer;
}

.ten-slot-box {
  position: absolute;
  left: 50%;
  top: 80px;
  bottom: 80px;
  width: min(1200px, calc(100% - 48px));
  margin-left: calc(min(1200px, calc(100% - 48px)) / -2);
  background: #0c1218;
  border: 10px solid #1a2632;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.ten-slot-search {
  display: block;
  width: 70%;
  margin: 12px auto 8px;
  height: 40px;
  text-align: center;
  background: #1a2632;
  border: 1px solid #2a3b4c;
  color: #fff;
  font-size: 14px;
}

.ten-slot-search:focus {
  outline: none;
  border-color: #00a3ff;
}

.ten-slot-list {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  padding: 10px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  align-content: start;
}

.ten-slot-list::-webkit-scrollbar {
  width: 10px;
}

.ten-slot-list::-webkit-scrollbar-thumb {
  background: #00a3ff;
  border-radius: 10px;
}

.ten-slot-list::-webkit-scrollbar-track {
  background: #1a2632;
  border-radius: 10px;
}

.ten-slot-item {
  display: block;
  text-decoration: none;
  color: #fff;
  text-align: center;
}

.ten-slot-item img,
.ten-slot-item-fallback {
  display: block;
  width: 100%;
  height: 135px;
  object-fit: cover;
  background: #0c1218;
}

.ten-slot-item span {
  display: block;
  height: 28px;
  line-height: 28px;
  background: #1a2632;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 991px) {
  .ten-slot-close {
    left: 12px;
    top: 12px;
  }

  .ten-slot-box {
    top: 56px;
    bottom: 24px;
    width: calc(100% - 24px);
    margin-left: calc((100% - 24px) / -2);
  }

  .ten-slot-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 575px) {
  .ten-slot-list {
    grid-template-columns: repeat(2, 1fr);
  }
}
