/*
Theme Name: Lionwing TH
Theme URI: https://lionwingth.net/
Author: Lionwing Team
Author URI: https://lionwingth.net/
Description: Lionwingth.net ทางเข้าหลัก ไลอ้อนวิง TH (lionwing) นวัตกรรม AI Smart Automation สล็อตเว็บตรง PG SLOT คาสิโนสด บาคาร่าออนไลน์ เทรดกราฟบิตคอยน์ ถอนเงินไม่อั้น
Version: 1.5.0
Text Domain: lionwing
*/

@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@100;200;300;400;500;600;700;800;900&display=swap');

:root {
  --primary-gold: #ffbd54;
  --secondary-gold: #f8ae00;
  --dark-bg: #101010;
  --card-bg: #1c1c1c;
}

body {
  font-family: 'Kanit', sans-serif;
  position: relative;
  color: white;
  background-color: #2F2F2F;
  background-position: left center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  overflow-x: hidden;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

html {
  margin: 0 !important;
}

img {
  max-width: 100%;
  height: auto;
}

a, a:hover, a:focus {
  color: white;
  text-decoration: none;
  transition: all 0.3s;
}

/* Typography Headings with Gold Gradient */
.txt-h1 {
  font-size: clamp(24px, 4vw, 36px);
  text-align: center;
  line-height: 1.3 !important;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(2px 2px 4px #000);
  background-image: -webkit-linear-gradient(bottom, #b48132 0, #fae0af 30%, #d7b676 50%, #fae0af 72%, #b4812e 100%);
  margin-bottom: 12px;
  font-weight: 700;
}

.txt-h2 {
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.3 !important;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(2px 2px 4px #000);
  background-image: -webkit-linear-gradient(bottom, #b48132 0, #fae0af 30%, #d7b676 50%, #fae0af 72%, #b4812e 100%);
  margin-bottom: 10px;
  font-weight: 600;
}

.txt-h3 {
  font-size: clamp(18px, 2.5vw, 22px);
  line-height: 1.2 !important;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(2px 2px 4px #000);
  background-image: -webkit-linear-gradient(bottom, #b48132 0, #fae0af 30%, #d7b676 50%, #fae0af 72%, #b4812e 100%);
  margin-bottom: 8px;
  font-weight: 600;
}

.txt-p {
  font-size: 18px;
  color: #fff;
  text-align: center;
  line-height: 1.8;
}

.txt-p1 {
  font-size: 16px;
  color: #ccc;
  line-height: 1.7;
}

.txt-p2 {
  font-size: 18px;
  color: #eee;
  line-height: 1.8;
}

.txt-p3 {
  font-size: 22px;
  color: #fff;
  text-align: center;
}

@media (max-width: 991px) {
  .txt-p { font-size: 15px; }
  .txt-p2 { font-size: 16px; }
  .txt-p3 { font-size: 18px; }
}

/* Call to Action Button */
.btn-link-a {
  color: #fff;
  font-size: 24px;
  text-align: center;
  background-image: radial-gradient(100% 100% at 50% 0,#aaa 0,#373737 44%,#1a1a1a 100%), linear-gradient(180deg, #fbed1f, #ffc107);
  border-radius: 8px;
  border: 2px solid #ffbd54;
  padding: 10px 20px;
  display: block;
  margin: 15px auto;
  width: 90%;
  max-width: 320px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.5);
  font-weight: bold;
}
.btn-link-a:hover {
  filter: saturate(1.8);
  box-shadow: 0 0 20px #ffc107;
}

/* Top Announcement Notice Mobile */
.fixedtopmobile {
  position: relative;
  width: 100%;
  background: #111;
  color: #fff;
  z-index: 10;
  display: flex;
  align-items: center;
  padding: 6px 15px;
  border-bottom: 1px solid #333;
}
.newsboxhead {
  display: flex;
  align-items: center;
  font-size: 13px;
  white-space: nowrap;
  margin-right: 15px;
  color: #ffbd54;
}
.newsboxhead .-icon-container {
  margin-right: 8px;
  color: #ffc107;
}
.lionwing-promo-link {
  color: #ffeb3b !important;
  font-weight: bold;
  font-size: 13px;
  text-decoration: underline;
}

/* Main Top Navbar */
.navbarmain {
  position: sticky;
  top: 0;
  left: 0;
  z-index: 990;
  width: 100%;
  height: 75px;
  background: linear-gradient(182deg, #000, #2d2d2d);
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  box-shadow: 0 0 15px #ffc02b;
}

.navbarmain .logo {
  max-width: 180px;
  display: flex;
  align-items: center;
}

.navbarmain .logo img {
  width: 100%;
  max-height: 60px;
  object-fit: contain;
  filter: drop-shadow(0px 0px 5px rgba(0,0,0,0.8));
}

.menuicon {
  margin-left: auto;
  margin-right: 30px;
}

.menuicon ul {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.menuicon ul li {
  margin: 0 5px;
  list-style: none;
}

.menuicon ul li a {
  padding: 6px 12px;
  min-width: 80px;
  height: 65px;
  background-image: linear-gradient(180deg, #3a3a3a, #101010), linear-gradient(180deg, #f8ae00, #151515);
  border-bottom-right-radius: 12px;
  border-bottom-left-radius: 12px;
  border: 1px solid #444;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  transition: all .3s;
}

.menuicon ul li a:hover,
.menuicon ul li.current-menu-item a {
  background-image: radial-gradient(100% 100% at 50% 0,#ffa545 0,#b33b00 44%,#3e1a00 100%), linear-gradient(180deg, #ffb318, #ffc107);
  border-color: #ffc107;
  color: #fff;
}

.menuicon ul li img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  margin-bottom: 3px;
}

/* Header Login / Register Buttons */
.loginregishead {
  display: flex;
  align-items: center;
}

.btn-primary {
  font-size: 0.9rem;
  border-radius: 6px;
  border: 1px solid #ffbd54;
  background-image: linear-gradient(180deg, #d05f45, #101010), linear-gradient(125deg, #ffeed0, #ec9c08 31.53%, #fff0d4 64.87%, #ec9c08);
  padding: 0 !important;
  margin: 0 5px;
  transition: all .3s;
  box-shadow: 0 4px 6px rgba(0, 0, 0, .5);
}

.btn-primary:hover {
  filter: saturate(1.8);
  border-color: #ffc007;
  box-shadow: 0 0 10px #ffc007;
}

.loginregishead .btn-primary:nth-child(2) {
  background-image: radial-gradient(100% 100% at 50% 0,#aaa 0,#373737 44%,#1a1a1a 100%), linear-gradient(180deg, #fbed1f, #ffc107);
}

.btn-primary a {
  display: block;
  padding: 6px 14px;
  color: #fffcdb;
  font-weight: 600;
}

/* Mobile Hamburger Menu */
.wrapper-menu {
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: none;
  padding: 0;
  outline: none;
  z-index: 1000;
}

@media (max-width: 991px) {
  .wrapper-menu {
    display: block;
  }
  .menuicon {
    display: none;
  }
  .menuicon.active {
    position: fixed;
    top: 75px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.92);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 995;
    margin: 0;
  }
  .menuicon.active ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
  }
  .menuicon.active ul li a {
    width: 130px;
    height: 100px;
    border-radius: 15px;
    font-size: 15px;
  }
  .menuicon.active ul li a img {
    width: 45px;
    height: 45px;
  }
}

/* Sidebar & Layout Container */
.containmain {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  min-height: calc(100vh - 150px);
}

.fixedcontain {
  display: flex;
  position: relative;
}

.fixedleft {
  width: 200px;
  flex-shrink: 0;
  position: relative;
}

.sidegamebar {
  position: sticky;
  top: 85px;
  width: 200px;
  background: linear-gradient(93deg, #000, #1f0f01c7);
  padding: 15px 10px;
  border-right: 2px solid #5d4a1f;
  border-radius: 0 15px 15px 0;
  box-shadow: 0 0 15px rgba(0,0,0,0.8);
}

.tabgamemenu ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tabgamemenu ul li {
  margin-bottom: 8px;
}

.tabgamemenu ul li a {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  background: radial-gradient(100% 100% at 50% 0,#5a5a5a 0,#353535 44%,#2a2a2a 100%);
  border-radius: 8px;
  border: 1px solid #444;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  transition: all .3s;
}

.tabgamemenu ul li a:hover,
.tabgamemenu ul li.current-menu-item a,
.tabgamemenu ul li.active a {
  background: radial-gradient(100% 100% at 50% 0,#ffa545 0,#b33b00 44%,#3e1a00 100%);
  border-color: #ffbd54;
  box-shadow: 0 0 10px #b33b00;
}

.tabgamemenu ul li img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  margin-right: 10px;
}

.fixedright {
  flex-grow: 1;
  padding: 20px 25px;
}

@media (max-width: 767px) {
  .fixedcontain {
    flex-direction: column;
  }
  .fixedleft {
    width: 100%;
  }
  .sidegamebar {
    width: 100%;
    position: relative;
    top: 0;
    border-radius: 0;
    border-right: none;
    border-bottom: 2px solid #5d4a1f;
    padding: 10px;
    overflow-x: auto;
  }
  .tabgamemenu ul {
    display: flex;
    white-space: nowrap;
    gap: 8px;
  }
  .tabgamemenu ul li {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .tabgamemenu ul li a {
    flex-direction: column;
    padding: 6px 10px;
    font-size: 12px;
    min-width: 75px;
  }
  .tabgamemenu ul li img {
    margin-right: 0;
    margin-bottom: 4px;
    width: 26px;
    height: 26px;
  }
  .fixedright {
    width: 100%;
    padding: 15px 10px;
    padding-bottom: 85px; /* space for mobile bottom bar */
  }
}

/* Banner / Promotions Swiper */
.swiper-container-2 {
  width: 100%;
  padding: 15px 0;
  overflow: hidden;
  position: relative;
}

.swiper-container-2 .swiper-slide {
  width: 100%;
  max-width: 650px;
}

.swiper-container-2 .swiper-slide img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* Game Grids */
.gridgame {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  width: 100%;
  margin: 20px 0;
}

@media (max-width: 1199px) {
  .gridgame { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  .gridgame { grid-template-columns: repeat(2, 1fr); gap: 10px; }
}

.ingridgame {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  transition: transform .3s;
  box-shadow: 0 4px 10px rgba(0,0,0,0.6);
  border: 1px solid #333;
}

.ingridgame:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: #ffbd54;
  box-shadow: 0 0 15px rgba(255, 189, 84, 0.4);
}

.iningridgame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.game-title-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(0,0,0,0.9) 0%, transparent 100%);
  padding: 15px 10px 8px;
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
}

/* Mobile Bottom Actions Bar (Floating) */
#account-actions-mobile {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 999;
  width: 100%;
  display: none;
}

@media (max-width: 767px) {
  #account-actions-mobile {
    display: block;
  }
}

#account-actions-mobile .-outer-wrapper {
  display: flex;
  align-items: flex-end;
  position: relative;
}

#account-actions-mobile .-left-wrapper,
#account-actions-mobile .-right-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex: 1;
  height: 65px;
  background: linear-gradient(#262626, #030303);
  border-top: 2px solid #ff2a29;
}

#account-actions-mobile .-left-wrapper {
  border-top-left-radius: 10px;
}

#account-actions-mobile .-right-wrapper {
  border-top-right-radius: 10px;
}

#account-actions-mobile .-center-wrapper {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 3;
  width: 68px;
  height: 68px;
  margin: 0 4px 10px;
  border-radius: 50%;
  background: radial-gradient(circle, #ff2a29 0%, #8b0000 100%);
  border: 3px solid #ffbd54;
  box-shadow: 0 0 15px #ff2a29;
}

#account-actions-mobile .-center-wrapper img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

#account-actions-mobile .-item-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  width: 50%;
}

#account-actions-mobile .-item-wrapper img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  margin-bottom: 2px;
}

#account-actions-mobile .-item-wrapper .-textfooter {
  font-size: 11px;
  color: #fff;
}

/* Footer Section */
footer {
  background: #111;
  color: #aaa;
  border-top: 1px solid #333;
  padding: 40px 20px 30px;
  margin-top: 40px;
}

.footercontain {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 30px;
}

@media (max-width: 767px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.footer-col h2, .footer-col h3 {
  color: #ffbd54;
  font-size: 18px;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li {
  margin-bottom: 8px;
}

.footer-col ul li a {
  color: #bbb;
  font-size: 14px;
}

.footer-col ul li a:hover {
  color: #ffbd54;
  padding-left: 5px;
}

.copyright-bar {
  text-align: center;
  border-top: 1px solid #222;
  margin-top: 30px;
  padding-top: 20px;
  font-size: 13px;
  color: #777;
}

/* Animated Stars Background */
.stars {
  width: 1px;
  height: 1px;
  position: fixed;
  top: 0;
  z-index: -1;
  background: transparent;
  box-shadow: 1795px 1116px #fff, 230px 703px #fff, 1668px 1773px #fff, 814px 218px #fff, 179px 1862px #fff, 576px 1407px #fff, 354px 277px #fff, 748px 134px #fff, 922px 1801px #fff, 611px 442px #fff, 539px 35px #fff, 108px 1538px #fff, 1080px 1156px #fff, 697px 1125px #fff, 322px 648px #fff, 666px 562px #fff;
  animation: animStar 50s linear infinite;
}

@keyframes animStar {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-2000px); }
}

/* ==========================================================================
   Promotions Page Styling & Cards
   ========================================================================== */
.promo-card {
  background: #18181c !important;
  border: 1px solid rgba(255, 189, 84, 0.25) !important;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  border-radius: 12px !important;
  overflow: hidden;
}

.promo-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 189, 84, 0.75) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 189, 84, 0.2) !important;
}

.promo-banner {
  position: relative;
  overflow: hidden;
  background: #0d0d0f;
  border-bottom: 2px solid rgba(255, 189, 84, 0.2);
}

.promo-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.promo-card:hover .promo-banner img {
  transform: scale(1.03);
}

.promo-terms {
  background: rgba(0, 0, 0, 0.45) !important;
  border-left: 3px solid #ffbd54;
}

/* ==========================================================================
   SEO Keywords Highlight Styling (ไฮไลท์คีย์เวิร์ด สีเหลืองทอง / เหลืองเข้ม)
   ========================================================================== */
strong, .seo-keyword, .keyword-highlight, mark.keyword {
  color: #ffc107 !important; /* สีเหลืองทองคมชัด */
  background: rgba(255, 193, 7, 0.16) !important; /* ไฮไลท์พื้นหลังสีเหลืองโปร่งแสง */
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
  border-bottom: 2px solid #e5a000; /* ขอบล่างสีเหลืองเข้มเน้นคีย์ */
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
  display: inline;
}

/* ยกเว้นสำหรับปุ่มหรือหัวข้อที่มีการจัดสไตล์เฉพาะ */
.btn strong,
h1 strong,
h2 strong,
h3 strong,
h4 strong,
.badge strong,
.navbarmain strong,
.x-button-actions strong {
  background: transparent !important;
  border-bottom: none !important;
  box-shadow: none !important;
  color: #ffbd54 !important;
  padding: 0 !important;
}

/* ==========================================================================
   Live Casino Grid & Pulse Badge
   ========================================================================== */
.casino-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 15px;
}

.live-pulse-badge {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(220, 53, 69, 0.9);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  z-index: 2;
  letter-spacing: 0.5px;
  box-shadow: 0 0 10px rgba(220, 53, 69, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  background: #fff;
  border-radius: 50%;
  display: inline-block;
  animation: pulseLiveDot 1.2s infinite ease-in-out;
}

@keyframes pulseLiveDot {
  0% { transform: scale(0.85); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.3; }
  100% { transform: scale(0.85); opacity: 1; }
}

@media (max-width: 991px) {
  .casino-grid {
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 10px;
  }
}

@media (max-width: 767px) {
  .casino-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px;
  }
  .live-pulse-badge {
    font-size: 9px;
    padding: 1px 6px;
    top: 5px;
    right: 5px;
  }
}

/* ==========================================================================
   Sports & Football Section Styles
   ========================================================================== */
.sports-card {
  background: linear-gradient(145deg, #18181f, #0d0d12);
  border: 1px solid rgba(255, 189, 84, 0.25);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.sports-card:hover {
  transform: translateY(-5px);
  border-color: #ffbd54;
  box-shadow: 0 10px 25px rgba(255, 189, 84, 0.2), 0 0 15px rgba(0, 195, 255, 0.15);
}

.sports-leagues-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.league-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ddd;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.league-badge:hover {
  background: rgba(255, 189, 84, 0.15);
  border-color: #ffbd54;
  color: #ffbd54;
}

.sports-feature-box {
  background: rgba(18, 18, 24, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 18px;
  height: 100%;
  transition: border-color 0.2s ease;
}

.sports-feature-box:hover {
  border-color: rgba(255, 189, 84, 0.4);
}

/* ==========================================================================
   Lottery (หวยออนไลน์) UI Styles
   ========================================================================== */
.lotto-section-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.lotto-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

@media (max-width: 1200px) {
  .lotto-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .lotto-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 575px) {
  .lotto-grid {
    grid-template-columns: 1fr;
  }
}

.lotto-card {
  background: #181920;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.lotto-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 189, 84, 0.4);
}

.lotto-card-header {
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-weight: 700;
  font-size: 14px;
}

.lotto-card-header .lotto-title {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lotto-card-header .lotto-flag {
  font-size: 16px;
  display: inline-flex;
  align-items: center;
}

.lotto-card-header .lotto-star {
  color: #ffbd54;
  font-size: 14px;
  cursor: pointer;
  opacity: 0.85;
}

.lotto-card-header .lotto-star:hover {
  opacity: 1;
}

/* Header Color Variants */
.lotto-bg-cyan     { background: linear-gradient(135deg, #0288d1, #00b4d8); }
.lotto-bg-purple   { background: linear-gradient(135deg, #7b1fa2, #9c27b0); }
.lotto-bg-teal     { background: linear-gradient(135deg, #00897b, #26a69a); }
.lotto-bg-orange   { background: linear-gradient(135deg, #e65100, #fb8c00); }
.lotto-bg-red      { background: linear-gradient(135deg, #b71540, #d32f2f); }
.lotto-bg-blue     { background: linear-gradient(135deg, #1565c0, #1976d2); }
.lotto-bg-pink     { background: linear-gradient(135deg, #c2185b, #e91e63); }
.lotto-bg-green    { background: linear-gradient(135deg, #1b5e20, #2e7d32); }
.lotto-bg-grey     { background: linear-gradient(135deg, #57606f, #747d8c); }

.lotto-card-body {
  background: #1c1d25;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-grow: 1;
}

.lotto-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow: hidden;
}

.lotto-countdown {
  font-size: 13px;
  font-weight: 700;
  color: #ff4757;
}

.lotto-schedule {
  font-size: 11px;
  color: #888899;
  display: flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-lotto-bet {
  background: #ffeb3b;
  color: #000 !important;
  font-size: 13px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 6px;
  white-space: nowrap;
  text-decoration: none !important;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(255, 235, 59, 0.3);
}

.btn-lotto-bet:hover {
  background: #fbc02d;
  transform: scale(1.03);
}

.btn-lotto-closed {
  background: #57606f;
  color: #ced6e0 !important;
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  white-space: nowrap;
  cursor: not-allowed;
}

/* Nav Filter Pills */
.lotto-filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 25px;
}

.lotto-tab-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #ccc;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.lotto-tab-btn:hover, .lotto-tab-btn.active {
  background: #ffbd54;
  color: #000;
  border-color: #ffbd54;
}

/* Luxury Featured Lotto Cards */
.lotto-top-card {
  background: linear-gradient(145deg, #1f1f28, #111116);
  border: 1px solid rgba(255, 189, 84, 0.3);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
}

.lotto-top-card:hover {
  transform: translateY(-6px);
  border-color: #ffbd54;
  box-shadow: 0 15px 35px rgba(255, 189, 84, 0.25);
}

.lotto-top-img-box {
  width: 100%;
  height: 200px;
  overflow: hidden;
  position: relative;
  background: #000;
}

.lotto-top-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.lotto-top-card:hover .lotto-top-img-box img {
  transform: scale(1.06);
}

.lotto-flag-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
  border: 2px solid #ffbd54;
  font-size: 18px;
  background: #111;
  flex-shrink: 0;
}

.lotto-schedule-badge {
  background: rgba(255, 189, 84, 0.12);
  border: 1px solid rgba(255, 189, 84, 0.35);
  color: #ffbd54;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.lotto-rate-tag {
  color: #2ed573;
  font-weight: 700;
  font-size: 12px;
}



