@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');
body.page-template-page-stake-home {
  background: #0b1622;
  font-family: 'Inter', sans-serif;
  color: #fff;
  overflow-x: hidden;
}

/* Layout */
.stake-wrapper {
  display: flex;
  flex-wrap: nowrap;
  gap: 30px;
  padding: 40px 5%;
}

/* === SIDEBAR === */
.stake-sidebar {
  width: 260px;
  background: #122030;
  border-radius: 10px;
  padding: 20px;
  flex-shrink: 0;
}
.stake-sidebar h4 {
  font-size: 15px;
  color: #9ba6b2;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.stake-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.stake-sidebar li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  color: #fff;
  cursor: pointer;
}
.stake-sidebar li:hover { color: #00e6a7; }

/* === MAIN CONTENT === */
.stake-main { flex: 1; }

/* ============================
   🔷 HERO SECTION FIX - CÓ ẢNH NỀN + MÀU PHỦ
   ============================ */
.stake-hero {
    background: linear-gradient(180deg, rgb(76 175 80 / 0%) 0%, rgb(0 254 12 / 49%) 100%), /* lá»›p phá»§ */ url(/wp-content/themes/flatsome-child/images/vip_bg.webp) no-repeat center center / cover;
    border-radius: 16px;
    padding: 60px 50px;
    margin-bottom: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
    position: relative;
    color: #fff;
}
.stake-hero h1 {
  color: #ffffff;
}
.stake-hero p {
  color: #b8c7cc;
}
.stake-hero .btn-register {
  background: linear-gradient(90deg, #00c292 0%, #00a874 100%);
  color: #fff;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: 10px;
  letter-spacing: 0.5px;
  transition: all 0.25s ease;
}
.stake-hero .btn-register:hover {
  background: linear-gradient(90deg, #00e6a7, #00b381);
  transform: translateY(-1px);
}

.stake-socials {
  margin-top: 25px;
}
.stake-socials a {
    display: inline-flex
;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #3f7241b3;
    margin-right: 10px;
    transition: 0.3s;
}
.stake-socials a:hover { background: #00c292; }

/* === GAME SECTION === */
.stake-games {
  margin-top: 30px;
}
.stake-games h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: #00e6a7;
}
.stake-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}
.game-card {
  background: linear-gradient(180deg, #1b2635 0%, #0e1722 100%);
  border-radius: 12px;
  text-align: center;
  padding: 20px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
}
.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 10px rgba(0,255,180,0.3);
}
.game-card img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  margin-bottom: 15px;
}

/* === Responsive === */
@media (max-width: 992px) {
  .stake-wrapper { flex-direction: column; padding: 20px; }
  .stake-sidebar { display: none; }
  .stake-hero { padding: 30px 20px; }
}

/* === Stake Games - Green Casino Style === */
.stake-games {
  margin-top: 30px;
}

.stake-games h2 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 25px;
  text-transform: uppercase;
  color: #00e6a7;
  letter-spacing: 0.5px;
}

/* Grid setup */
.stake-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
}

/* Each Game Card */
.game-card {
  background: linear-gradient(180deg, #176d5c 0%, #115c4c 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  text-align: center;
  padding: 12px 8px;
  color: #fff;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}

.game-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 10px rgba(0, 255, 180, 0.35);
  border-color: #00e6a7;
}

/* Icon + Text */
.game-card img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  margin-bottom: 8px;
}

.game-card h3 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  text-transform: capitalize;
  letter-spacing: 0.3px;
}

/* Mobile optimization */
@media (max-width: 768px) {
  .stake-games-grid {
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 10px;
  }
  .game-card img { width: 40px; height: 40px; }
  .game-card h3 { font-size: 13px; }
}
/* ============================
   🟢 GAMES SECTION
   ============================ */
.stake-games {
  background: linear-gradient(180deg, #144C3C 0%, #0C3A2D 100%);
  border-radius: 16px;
  padding: 40px 30px;
  margin-bottom: 50px;
  box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.25);
}
.stake-games h2 {
  font-size: 22px;
  color: #00e6a7;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 25px;
}

/* Card game */
.stake-games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 18px;
}
.game-card {
  background: linear-gradient(180deg, #176d5c 0%, #115c4c 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  text-align: center;
  padding: 15px 10px;
  transition: all 0.25s ease;
}
.game-card:hover {
  transform: translateY(-3px);
  border-color: #00e6a7;
  box-shadow: 0 0 10px rgba(0, 255, 180, 0.35);
}
.game-card img {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
}
.game-card h3 {
  color: #fff;
  font-size: 15px;
  font-weight: 600;
}

/* ============================
   📱 Responsive
   ============================ */
@media (max-width: 768px) {
  .stake-hero, .stake-games, .stake-promotions {
    padding: 25px 15px;
  }
  .stake-games-grid { gap: 12px; }
  .promo-grid { grid-template-columns: 1fr; }
}
/* ============================
   🧭 SIDEBAR - MÀU ĐỒNG BỘ
   ============================ */
.stake-sidebar {
  width: 260px;
  background: linear-gradient(180deg, #144C3C 0%, #0C3A2D 100%);
  border-radius: 16px;
  padding: 25px 20px;
  flex-shrink: 0;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

.stake-sidebar h4 {
  font-size: 15px;
  color: #00e6a7;
  margin-bottom: 15px;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 8px;
}

.stake-sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.stake-sidebar li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #e6f5f0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.stake-sidebar li:hover {
  color: #00e6a7;
  transform: translateX(4px);
}

/* Icon mặc định (emoji hoặc svg nhỏ) */
.stake-sidebar li::before {
  content: "›";
  font-weight: 700;
  color: #00e6a7;
  margin-right: 6px;
}

/* Responsive */
@media (max-width: 992px) {
  .stake-sidebar {
    display: none;
  }
}
/* === Sidebar menu thật === */
.stake-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.stake-menu li {
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #e6f5f0;
  font-size: 15px;
  transition: all 0.25s ease;
}

.stake-menu li a {
  color: #e6f5f0;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s ease;
}

.stake-menu li a:hover {
  color: #00e6a7;
  transform: translateX(4px);
}

.stake-menu .current-menu-item > a {
  color: #00e6a7;
  font-weight: 600;
}
/* ============================
   🎰 STAKE ORIGINALS - Hover Play Button
   ============================ */
.stake-originals {
    background: linear-gradient(180deg, #4CAF50 0%, #0F1E2A 100%);
    border-radius: 16px;
    padding: 40px 30px;
    margin-top: 60px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}
.stake-originals h2 {
  font-size: 22px;
  color: #00e6a7;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 25px;
}

/* Grid */
.originals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
}

/* Card Base */
.original-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.original-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 15px rgba(0,255,180,0.3);
}

/* Image */
.original-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.original-card:hover img {
  transform: scale(1.1);
  filter: brightness(0.7);
}

/* Button Play */
.btn-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(90deg, #00c292 0%, #00a874 100%);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  font-size: 15px;
  padding: 10px 25px;
  border-radius: 30px;
  opacity: 0;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}
.original-card:hover .btn-play {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.05);
}

/* Responsive */
@media (max-width: 768px) {
  .stake-originals {
    padding: 25px 15px;
  }
  .originals-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
  }
  .btn-play {
    font-size: 14px;
    padding: 8px 20px;
  }
}
/* ================================
   🎯 SIDEBAR CASINO APP STYLE
   ================================ */
.stake-sidebar {
  width: 260px;
  background: linear-gradient(180deg, #144C3C 0%, #0C3A2D 100%);
  border-radius: 16px;
  padding: 20px 15px;
  flex-shrink: 0;
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.25);
  color: #fff;
}

/* Balance */
.sidebar-balance {
  background: linear-gradient(180deg, #154d3d 0%, #0e392e 100%);
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  margin-bottom: 15px;
  box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.3);
}
.balance-amount span {
  font-size: 20px;
  font-weight: 700;
  color: #ffeb00;
}
.balance-buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  gap: 6px;
}
.balance-buttons a {
  flex: 1;
  text-align: center;
  padding: 6px 0;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  transition: 0.25s;
}
.btn-deposit {
  background: linear-gradient(180deg, #ffb74d, #e97e00);
}
.btn-withdraw {
  background: linear-gradient(180deg, #00c292, #009e74);
}
.balance-buttons a:hover { opacity: 0.85; }

/* Grid icons */
.sidebar-icons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.icon-item {
  background: linear-gradient(180deg, #00a97f, #007a5e);
  border-radius: 12px;
  padding: 10px 5px;
  text-align: center;
  position: relative;
  transition: all 0.25s ease;
}
.icon-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 10px rgba(0,255,180,0.3);
}
.icon-item img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  margin-bottom: 5px;
}
.icon-item span {
  display: block;
  font-size: 12px;
  color: #fff;
  font-weight: 600;
}
.icon-item .dot {
  position: absolute;
  top: 4px;
  right: 6px;
  width: 10px;
  height: 10px;
  background: #ff4040;
  border-radius: 50%;
  box-shadow: 0 0 5px #ff4040;
}

/* Title & Main Menu */
.sidebar-title {
  margin-top: 20px;
  font-size: 15px;
  color: #00e6a7;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 10px;
}
.stake-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}
.stake-menu li a {
  color: #e6f5f0;
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  text-decoration: none;
  transition: 0.25s;
}
.stake-menu li a:hover {
  color: #00e6a7;
  transform: translateX(4px);
}

/* Responsive */
@media (max-width: 992px) {
  .stake-sidebar { display: none; }
}
/* === FIX: Sidebar chỉ cao vừa nội dung === */
.stake-wrapper {
  align-items: flex-start; /* để 2 cột không giãn đều */
}

.stake-sidebar {
  height: auto; /* chiều cao tự động */
  align-self: flex-start; /* không kéo dãn theo flex container */
  padding-bottom: 20px; /* thêm khoảng cách nhỏ dưới cùng */
}
/* ===============================
   🎯 Stake Promotions (background version)
================================ */
.stake-promotions {
  margin-top: 50px;
  background: #102820;
  border-radius: 14px;
  padding: 40px 30px 50px;
  box-shadow: inset 0 0 4px #1d3c32;
}

.stake-promotions h2 {
  font-size: 22px;
  color: #36e49f;
  text-transform: uppercase;
  margin-bottom: 25px;
  letter-spacing: 1px;
}

.promo-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

/* ==== Promo Items (background image) ==== */
.promo-item {
  position: relative;
  flex: 1 1 calc(33.333% - 20px);
  height: 150px;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 25px;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* Add a subtle overlay for readability */
.promo-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.25));
  z-index: 1;
}

/* Hover effect */
.promo-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}

/* Backgrounds */
.promo1 {
  background-image: url("/wp-content/themes/flatsome-child/images/active_bg.webp");
}
.promo2 {
  background-image: url("/wp-content/themes/flatsome-child/images/active_bg1.webp");
}
.promo3 {
  background-image: url("/wp-content/themes/flatsome-child/images/active_bg2.webp");
}

/* Content overlay */
.promo-content {
  position: relative;
  z-index: 2;
}

.promo-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: #f4d16e;
  margin: 0 0 5px;
}

.promo-content p {
  margin: 0 0 10px;
  font-size: 15px;
  color: #f5f5f5;
}

.promo-content p em {
  color: #a4f41c;
  font-style: normal;
  font-weight: 700;
}

/* Buttons */
.promo-btn {
  display: inline-block;
  padding: 6px 18px;
  background: linear-gradient(90deg, #0790f2, #1dbaf2);
  border-radius: 8px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.promo-btn.orange {
  background: linear-gradient(90deg, #ef5600, #ffc700);
  color: #222;
}

.promo-btn.green {
  background: linear-gradient(90deg, #95c000, #24a44b);
  color: #fff;
}

.promo-btn:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Tags */
.promo-tag {
  position: absolute;
  top: 10px;
  right: 15px;
  z-index: 3;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 8px;
}
.promo-tag.hot {
  background: linear-gradient(90deg, #f74, #ff2);
  color: #000;
}
.promo-tag.new {
  background: linear-gradient(90deg, #00c38d, #00ff7b);
  color: #000;
}

/* Responsive */
@media (max-width: 991px) {
  .promo-item {
    flex: 1 1 100%;
  }
}
/* ==== Đồng bộ chiều cao các ảnh promo ==== */
.promo-item {
  position: relative;
  flex: 1 1 calc(33.333% - 20px);
  height: 150px; /* chiều cao cố định cho tất cả */
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 25px;
  color: #fff;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.4);
}

/* Hover nổi nhẹ */
.promo-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}

/* Overlay nhẹ để chữ rõ */
.promo-item::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0.25));
  z-index: 1;
}

/* Đảm bảo text luôn cùng vị trí */
.promo-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 100%;
}

/* Nút và chữ cách đều nhau */
.promo-content h3 {
  font-size: 18px;
  font-weight: 700;
  color: #f4d16e;
  margin: 0 0 4px;
}
.promo-content p {
  font-size: 14px;
  color: #f5f5f5;
  margin: 0 0 10px;
}
.promo-content a {
  align-self: flex-start;
}

/* Responsive: giảm chiều cao khi màn nhỏ */
@media (max-width: 991px) {
  .promo-item {
    flex: 1 1 100%;
    height: 180px;
  }
}
@media (max-width: 600px) {
  .promo-item {
    height: 160px;
  }
}
.ok100-ticker{
  display:flex;align-items:center;gap:10px;
  background:radial-gradient(120% 140% at 0% 0%,#1e6f57,#0f2e26 70%);
  border:1px solid rgba(0,230,167,.35);
  border-radius:14px;padding:10px 12px;position:relative;
  box-shadow:0 6px 16px rgba(0,0,0,.25) inset,0 2px 8px rgba(0,0,0,.25);
  overflow:hidden;min-height:48px;
}

.ok100-ticker .ticker-icon{
  display:inline-flex;align-items:center;justify-content:center;
  width:42px;height:42px;border-radius:12px;
  background:rgba(0,0,0,.18);
  border:1px solid rgba(0,230,167,.25);
  flex:0 0 auto;
}
.ok100-ticker .ticker-icon img{width:26px;height:26px;}

.ticker-viewport{
  position:relative;overflow:hidden;flex:1 1 auto;height:32px;
  mask-image:linear-gradient(to right,transparent 0,#000 30px,#000 calc(100% - 30px),transparent 100%);
  -webkit-mask-image:linear-gradient(to right,transparent 0,#000 30px,#000 calc(100% - 30px),transparent 100%);
}

.ticker-track{
  position:absolute;left:0;top:0;white-space:nowrap;
  display:inline-flex;align-items:center;gap:14px;
  animation:ok100-scroll 45s linear infinite;
}
.ticker-track--clone{left:100%;}
.ticker-track span{color:#d7ece5;font-size:14px;line-height:32px;}
.ticker-track .gap{color:#8ff3c7;padding:0 8px;}
.ok100-ticker:hover .ticker-track{animation-play-state:paused;}

@keyframes ok100-scroll{
  from{transform:translateX(0);}
  to{transform:translateX(-100%);}
}
