/* ======================================================
   BECRIC — dark gaming/casino theme
   ====================================================== */

:root{
  --bg-app:        #0c0c0e;
  --bg-header:     #111113;
  --bg-sidebar:    #141416;
  --bg-card:       #1b1b1f;
  --bg-card-2:     #202024;
  --border-soft:   #26262b;

  --text-primary:  #f2f2f4;
  --text-muted:    #9a9aa2;
  --text-faint:    #6b6b72;

  --accent-red:    #e6332a;
  --accent-blue:   #2f7bff;
  --accent-green:  #17c964;
  --accent-green-dark:#0fa653;
  --accent-gold:   #f2b90c;
  --accent-teal:   #19c2c2;
  --accent-purple: #8a3ffc;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --sidebar-w: 264px;
  --sidebar-w-collapsed: 78px;
  --header-h: 64px;

  --font-latin: 'Poppins', sans-serif;
  --font-deva: 'Noto Sans Devanagari', 'Poppins', sans-serif;
}

*{ box-sizing: border-box; }

html, body{
  overflow-x: hidden;
  max-width: 100%;
}

body{
  background: var(--bg-app);
  color: var(--text-primary);
  font-family: var(--font-deva);
  font-size: 14px;
  margin: 0;
  padding-top: var(--header-h);
}

a{ text-decoration: none; color: inherit; }
button{ font-family: inherit; }

::-webkit-scrollbar{ height: 6px; width: 6px; }
::-webkit-scrollbar-thumb{ background: #33333a; border-radius: 10px; }
::-webkit-scrollbar-track{ background: transparent; }

.icon-btn{
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 1.4rem;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  display: inline-flex; align-items: center; justify-content: center;
}
.icon-btn:hover{ background: var(--bg-card-2); }

/* ============ HEADER ============ */
.site-header{
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: var(--bg-header);
  border-bottom: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  padding: 0 16px 0 0;
  z-index: 1030;
}

.header-left{
  width: var(--sidebar-w);
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 14px;
  border-right: 1px solid var(--border-soft);
  background: var(--bg-sidebar);
  flex-shrink: 0;
  transition: width .22s ease;
}
body.sidebar-collapsed .header-left{
  width: var(--sidebar-w-collapsed);
  justify-content: center;
}

.brand{
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 16px;
  margin-right: 16px;
  height: 40px;
}
.brand-img{
  height: 42px;
  width: auto;
  max-height: 100%;
  display: block;
  object-fit: contain;
  cursor: pointer;
  transition: opacity .2s;
}

.main-nav{
  display: inline-flex;
  align-items: center;
  background: #2d2d2d;
  border-radius: 10px;
  padding: 0;
  overflow: hidden;
}
.nav-pill{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 24px;
  border-radius: 8px;
  color: #f0f2f5;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: background .15s ease, color .15s ease;
  position: relative;
  min-height: 38px;
}
.nav-pill:hover{ color: #fff; background: rgba(255, 255, 255, 0.08); }
.nav-pill.active{
  background: #0d7ee6;
  color: #fff;
  font-weight: 600;
}

.header-actions{
  display: flex; align-items: center; gap: 8px;
  margin-left: auto;
  margin-right: 16px;
  flex-shrink: 0;
}
.btn-login, .btn-register{
  border: none;
  border-radius: 6px;
  padding: 8px 20px;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  transition: background .2s ease;
}
.btn-login{
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.btn-login:hover{ background: rgba(255, 255, 255, 0.12); }
.btn-register{
  background: #00c853;
  color: #fff;
  font-weight: 600;
}
.btn-register:hover{ background: #00e676; }

/* ============ APP SHELL ============ */
.app-shell{
  display: flex;
  align-items: flex-start;
  min-height: calc(100vh - var(--header-h));
}

/* ============ SIDEBAR ============ */
.sidebar{
  position: fixed;
  top: var(--header-h);
  left: 0;
  bottom: 0;
  width: var(--sidebar-w);
  background: var(--bg-sidebar);
  border-right: 1px solid var(--border-soft);
  z-index: 1020;
  transition: width .22s ease, transform .22s ease;
  overflow: visible;
}
.sidebar-inner{
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 16px 14px 24px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sidebar-collapse-btn{
  position: absolute;
  top: 22px;
  right: -14px;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--accent-teal);
  color: #06211f;
  border: 3px solid var(--bg-app);
  align-items: center; justify-content: center;
  font-size: .72rem;
  z-index: 1021;
  transition: transform .22s ease;
}
.sidebar-collapse-btn:hover{ filter: brightness(1.1); }

.sidebar-account{
  display: flex; align-items: center; gap: 10px;
  background: transparent;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 8px 12px;
  color: var(--text-primary);
  width: 100%;
  cursor: pointer;
}
.acc-icon{ font-size: 1.2rem; color: var(--text-muted); flex-shrink: 0; }
.acc-label{ font-weight: 500; flex: 1; text-align: left; white-space: nowrap; }
.acc-chevron{ color: var(--text-faint); font-size: .8rem; flex-shrink: 0; }

.daily-bonus{
  position: relative;
  display: block;
  width: 100%;
  height: 64px;
  border-radius: var(--radius-md);
}
.daily-bonus:hover{
  transform: translateY(-2px);
  filter: brightness(1.08);
}
.daily-bonus-img{
  width: 100%;
  height: 100%;
  display: block;
  border-radius: var(--radius-md);
  object-fit: cover;
}

.sidebar-menu{ display: flex; flex-direction: column; gap: 2px; }
.menu-group{ display: flex; flex-direction: column; }
.menu-item{
  display: flex; align-items: center; gap: 12px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  padding: 11px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 500;
  width: 100%;
  text-align: left;
}
.menu-item:hover{ background: var(--bg-card-2); }
.menu-item.active-link{ color: var(--accent-blue); }
.menu-icon{ font-size: 1.05rem; color: var(--text-muted); width: 20px; text-align: center; flex-shrink: 0; }
.menu-label{ flex: 1; }
.sub-chevron{ font-size: .75rem; color: var(--text-faint); transition: transform .2s ease; }
.menu-item.open .sub-chevron{ transform: rotate(180deg); }

.submenu{
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  display: flex; flex-direction: column;
  padding-left: 32px;
}
.submenu.open{ max-height: 240px; }
.submenu-item{
  padding: 8px 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
}
.submenu-item:hover{ color: var(--text-primary); background: var(--bg-card-2); }

.sidebar-divider{ border-color: var(--border-soft); opacity: 1; margin: 2px 0; }

.sidebar-download-card{
  display: flex; align-items: center; gap: 10px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 10px;
}
.sidebar-download-card:hover{ background: var(--bg-card-2); }
.dl-icon{
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--accent-blue);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem;
}
.dl-text{ display: flex; flex-direction: column; flex: 1; min-width: 0; }
.dl-title{ font-family: var(--font-latin); font-weight: 600; font-size: .85rem; }
.dl-sub{ font-size: .72rem; color: var(--text-muted); line-height: 1.25; }
.dl-chevron{ color: var(--text-faint); flex-shrink: 0; }

.sidebar-bottom-row{
  display: flex; align-items: center; gap: 8px;
}
.social-icon{
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-primary);
  flex-shrink: 0;
}
.social-icon:hover{ background: var(--bg-card-2); }

.lang-dropdown{ position: relative; margin-left: auto; }
.lang-btn{
  display: flex; align-items: center; gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: 999px;
  color: var(--text-primary);
  padding: 6px 10px;
  font-size: .82rem;
}
.lang-btn:hover{ background: var(--bg-card-2); }
.lang-menu{
  position: absolute;
  bottom: calc(100% + 8px);
  right: 0;
  background: var(--bg-card-2);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  min-width: 160px;
  padding: 6px;
  display: none;
  flex-direction: column;
  gap: 2px;
  z-index: 1025;
  box-shadow: 0 10px 30px rgba(0,0,0,.5);
}
.lang-menu.open{ display: flex; }
.lang-option{
  display: flex; align-items: center; gap: 8px;
  background: transparent; border: none; color: var(--text-primary);
  padding: 8px; border-radius: var(--radius-sm); font-size: .85rem; text-align: left;
}
.lang-option:hover{ background: var(--bg-card); }
.lang-option.active{ color: var(--accent-green); }

.flag{ display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; flex-shrink: 0; }
.flag-img{ width: 20px; height: 14px; object-fit: contain; border-radius: 2px; display: block; }

.sidebar-support{
  display: flex; align-items: center; gap: 10px;
  padding: 10px 8px;
}
.support-icon{ font-size: 1.1rem; color: var(--text-muted); }
.support-label{ flex: 1; font-weight: 500; }
.support-badge{
  /* background: var(--accent-green); */
  color: #06210f;
  font-size: .7rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}

/* ---- Collapsed sidebar (desktop) ---- */
body.sidebar-collapsed .sidebar{ width: var(--sidebar-w-collapsed); }
body.sidebar-collapsed .sidebar-collapse-btn i{ transform: rotate(180deg); }
body.sidebar-collapsed .acc-label,
body.sidebar-collapsed .brand-tag,
body.sidebar-collapsed .acc-chevron,
body.sidebar-collapsed .menu-label,
body.sidebar-collapsed .sub-chevron,
body.sidebar-collapsed .dl-text,
body.sidebar-collapsed .dl-chevron,
body.sidebar-collapsed .lang-code,
body.sidebar-collapsed .lang-btn i.bi-chevron-down,
body.sidebar-collapsed .support-label,
body.sidebar-collapsed .support-badge{
  display: none;
}
body.sidebar-collapsed .sidebar-account,
body.sidebar-collapsed .menu-item,
body.sidebar-collapsed .sidebar-download-card,
body.sidebar-collapsed .sidebar-support{
  justify-content: center;
}
body.sidebar-collapsed .submenu{ display: none; }
body.sidebar-collapsed .sidebar-bottom-row{ flex-wrap: wrap; justify-content: center; }
body.sidebar-collapsed .lang-dropdown{ margin-left: 0; }
body.sidebar-collapsed .main-content{ margin-left: var(--sidebar-w-collapsed); }

/* ============ MAIN CONTENT ============ */
.main-content{
  margin-left: var(--sidebar-w);
  flex: 1;
  min-width: 0;
  padding: 16px 16px 0;
  transition: margin-left .22s ease;
  margin-right: 20px;
  margin-left: 290px;
  margin-top: 10px;

}

/* ============ BANNER SLIDER ============ */
.banner-slider{
  position: relative;
  width: 100%;
  aspect-ratio: 1584 / 672;
  border-radius: 16px;
  overflow: hidden;
  background: #0c1017;
}
.banner-track{
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform .45s cubic-bezier(0.25, 1, 0.5, 1);
}
.banner-slide{
  position: relative;
  flex: 0 0 100%;
  width: 100%;
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
  box-sizing: border-box;
}
.banner-image{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.banner-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
  backdrop-filter: blur(4px);
  cursor: pointer;
  transition: background .2s ease;
}
.banner-arrow:hover{ background: rgba(0,0,0,.75); }
.banner-prev{ left: 16px; }
.banner-next{ right: 16px; }

.banner-dots{
  position: absolute;
  left: 24px;
  bottom: 16px;
  transform: none;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 3;
}
.banner-dot{
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.4);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all .25s ease;
}
.banner-dot.active{ background: #fff; width: 22px; border-radius: 999px; }

/* ============ EVENTS STRIP (sports) ============ */
.events-strip{
  margin-top: 16px;
  overflow-x: auto;
  scrollbar-width: none;
}
.events-strip::-webkit-scrollbar{ display: none; }
.events-track{
  display: flex;
  gap: 12px;
}
.event-card{
  width: 200px;
  min-width: 200px;
  min-height: 96px;
  overflow: hidden;
  border: 0;
  border-radius: 8px;
  background: #171718;
  box-shadow: none;
  cursor: pointer;
  padding: 12px;
  transition: background-color .2s ease, transform .2s ease;
}
.event-card:hover{
  background-color: #1d1d1f;
  transform: translateY(-2px);
}
.event-league{
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .4px;
  color: var(--text-primary);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.event-time{ font-size: .7rem; color: var(--accent-teal); margin-bottom: 10px; }
.event-teams{ display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.event-team{ display: flex; flex-direction: column; align-items: center; gap: 6px; flex: 1; min-width: 0; }
.event-team i{ font-size: 1.3rem; color: var(--text-muted); }
.event-team span{
  font-size: .66rem; color: var(--text-muted); text-align: center;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.event-vs{ font-size: .7rem; color: var(--text-faint); font-weight: 700; }

/* ============ GAME SECTIONS ============ */
.game-section{ margin-top: 26px; }
.game-section-head{
  display: flex; align-items: center; gap: 10px;
  margin-bottom: 12px;
}
.game-section-head i.section-icon{ font-size: 1.15rem; color: var(--text-muted); }
.game-section-title{
  font-family: var(--font-latin);
  font-weight: 600;
  font-size: 20px;
  color: #f0f2f5;
  flex: 1;
}
.all-games-btn,
.section-all-link{
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .5px;
  background: rgba(255, 255, 255, 0.1) !important;
  color: #f0f2f5 !important;
  border-radius: 16px;
  padding: 0 12px !important;
  height: 32px;
  min-height: 32px;
  line-height: 32px;
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  transition: background .2s ease;
}
.all-games-btn:hover,
.section-all-link:hover{ background: rgba(255, 255, 255, 0.15) !important; color: #fff !important; }

.arrow-btn,
.section-nav-btn{
  width: 32px; height: 32px;
  min-width: 32px; min-height: 32px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1) !important;
  border: none;
  color: #f0f2f5 !important;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px !important;
  flex-shrink: 0;
  cursor: pointer;
  padding: 0;
  transition: background .2s ease;
}
.arrow-btn:hover,
.section-nav-btn:hover{ background: rgba(255, 255, 255, 0.15) !important; }

.game-track,
.games-horizontal{
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding-bottom: 10px;
}
.game-track::-webkit-scrollbar,
.games-horizontal::-webkit-scrollbar{ display: none; }

.game-card{
  flex: 0 0 calc((100% - 32px) / 9);
  width: calc((100% - 32px) / 9);
  min-width: calc((100% - 32px) / 9);
  border-radius: 12px;
  overflow: hidden;
  border: none;
  background: var(--bg-card);
  cursor: pointer;
  position: relative;
  transition: transform .3s ease, box-shadow .2s ease;
}
.game-card:hover{ transform: translateY(-4px); box-shadow: 0 6px 16px rgba(0,0,0,.4); }
.game-card:hover .game-card-img,
.game-card:hover .game-image{
  transform: scale(1.1);
}
.game-card-media,
.game-image{
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}
.game-card-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  transition: transform .3s ease;
}
.game-card-media i{
  font-size: 2.6rem;
  color: rgba(255,255,255,.92);
  filter: drop-shadow(0 4px 10px rgba(0,0,0,.35));
}
.game-card-tag{
  position: absolute;
  top: 6px; left: 6px;
  font-size: .55rem;
  font-weight: 700;
  letter-spacing: .3px;
  background: rgba(0,0,0,.45);
  color: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}
.game-card-name{
  font-family: var(--font-latin);
  font-weight: 800;
  font-size: .78rem;
  color: #fff;
  text-align: center;
  padding: 0 6px;
  text-shadow: 0 2px 6px rgba(0,0,0,.4);
}
.game-card-provider{
  font-size: .68rem;
  color: var(--text-muted);
  padding: 7px 8px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Live dealer cards */
.dealer-card .game-card-media{
  align-items: flex-end;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.6));
}
.dealer-card .game-card-media i{ font-size: 3.4rem; opacity: .9; margin-bottom: -6px;}
.dealer-live-badge{
  position: absolute; top: 6px; right: 6px;
  background: var(--accent-red);
  color: #fff;
  font-size: .55rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  z-index: 2;
}
.dealer-name{
  position: absolute;
  bottom: 6px; left: 6px; right: 6px;
  font-family: var(--font-latin);
  font-weight: 700;
  font-size: .68rem;
  color: #fff;
  line-height: 1.15;
  text-shadow: 0 2px 6px rgba(0,0,0,.6);
}

/* ============ SEO BLOCK ============ */
.seo-block{
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border-soft);
}
.seo-block h2{
  font-family: var(--font-deva);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.seo-text{
  color: var(--text-muted);
  font-size: .88rem;
  line-height: 1.7;
  max-width: 900px;
}
.seo-text.collapsed{
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.btn-read-more{
  display: inline-flex; align-items: center; gap: 6px;
  background: transparent;
  border: 1px solid var(--border-soft);
  color: var(--text-primary);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  font-size: .82rem;
  margin-top: 10px;
}
.btn-read-more:hover{ background: var(--bg-card-2); }
.btn-read-more.open i{ transform: rotate(180deg); }
.btn-read-more i{ transition: transform .2s ease; }

.seo-footer-brand{
  display: flex; align-items: center; gap: 10px;
  margin-top: 22px;
  color: var(--text-faint);
}
.seo-footer-brand .brand-name{ font-size: 1rem; }
.seo-footer-brand .brand-tag{ font-size: .58rem; }
.seo-hr{ flex: 1; border-color: var(--border-soft); opacity: 1; margin: 0 6px; }
.scroll-top-btn{
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  color: var(--text-primary);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ============ SUPPORT BANNER ============ */
.support-banner{
  margin-top: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.support-banner-left{ min-width: 180px; }
.support-banner-title{
  font-family: var(--font-latin);
  font-weight: 700;
  font-size: 1.05rem;
  display: flex; align-items: center; gap: 8px;
}
.badge-live{
  background: var(--accent-green);
  color: #06210f;
  font-size: .65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
}
.support-banner-sub{ color: var(--text-muted); font-size: .85rem; margin: 4px 0 0; }
.support-avatar{
  width: 56px; height: 56px;
  border-radius: 50%;
  /* background: linear-gradient(135deg,var(--accent-blue),#1a4fbf); */
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.6rem;
  flex-shrink: 0;
  margin-left: auto;
}
.support-banner-actions{
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
}
.btn-contact-support{
  background: var(--accent-blue);
  color: #fff;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-weight: 600;
  font-size: .85rem;
  white-space: nowrap;
}
.btn-contact-support:hover{ background: #2569e6; }
.whatsapp-block{ display: flex; flex-direction: column; gap: 4px; font-size: .75rem; color: var(--text-muted); }
.btn-whatsapp{
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent-green);
  color: #06210f;
  font-weight: 700;
  font-size: .8rem;
  padding: 6px 12px;
  border-radius: 999px;
  width: fit-content;
}
.btn-whatsapp:hover{ background: var(--accent-green-dark); }

/* ============ FOOTER ============ */
.site-footer{
  margin-top: 26px;
  padding: 22px 0 90px;
}
.footer-columns{
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}
.footer-col{ min-width: 130px; display: flex; flex-direction: column; gap: 8px; }
.footer-col h4{
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .5px;
  color: var(--text-primary);
  margin-bottom: 4px;
}
.footer-col a{ font-size: .82rem; color: var(--text-muted); }
.footer-col a:hover{ color: var(--text-primary); }

.footer-apps{
  display: flex;
  gap: 16px;
  flex: 1;
  min-width: 280px;
  margin-left: auto;
  flex-wrap: wrap;
}
.app-card{
  position: relative;
  flex: 1 1 220px;
  min-height: 140px;
  border-radius: var(--radius-lg);
  padding: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.app-card-purple{ background: linear-gradient(135deg,#7b2ff7,#5433ff); }
.app-card-teal{ background: linear-gradient(135deg,#17c2c2,#0e8f9c); }
.app-card-text{ display: flex; flex-direction: column; position: relative; z-index: 2; max-width: 65%; }
.app-card-brand{ font-family: var(--font-latin); font-weight: 800; font-size: .85rem; color: #fff; }
.app-card-title{ font-family: var(--font-deva); font-weight: 700; font-size: 1rem; color: #fff; margin-top: 2px; line-height: 1.2; }
.app-card-sub{ font-size: .72rem; color: rgba(255,255,255,.85); margin-top: 4px; }
.app-card-note{ font-size: .65rem; color: rgba(255,255,255,.65); margin-top: 6px; }
.app-card-phone{
  position: absolute;
  right: -10px; bottom: -10px;
  font-size: 5rem;
  color: rgba(255,255,255,.18);
}
.btn-install{
  position: relative; z-index: 2;
  display: inline-flex; align-items: center; gap: 6px;
  background: #fff;
  color: #1a0f2e;
  font-weight: 700;
  font-size: .78rem;
  padding: 8px 14px;
  border-radius: 999px;
  width: fit-content;
}
.btn-install-outline{
  background: transparent;
  border: 1px solid rgba(255,255,255,.6);
  color: #fff;
}

.footer-hr{ border-color: var(--border-soft); opacity: 1; margin: 22px 0 16px; }

.footer-bottom{
  display: flex; align-items: center; gap: 16px; flex-wrap: wrap;
}
.footer-socials{ display: flex; gap: 10px; }
.footer-copy{ color: var(--text-faint); font-size: .8rem; }
.footer-age{
  margin-left: auto;
  color: var(--text-faint);
  font-weight: 700;
  font-size: .85rem;
  border: 1px solid var(--border-soft);
  padding: 2px 10px;
  border-radius: var(--radius-sm);
}

/* ============ SIDEBAR BACKDROP (mobile) ============ */
.sidebar-backdrop{
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  z-index: 1015;
}
.sidebar-backdrop.show{ display: block; }

/* ======================================================
   RESPONSIVE BREAKPOINTS
   ====================================================== */

/* Laptop / small desktop */
@media (max-width: 1440px){
  .main-content{ padding: 14px 14px 0; }
}

/* Tablet */
@media (max-width: 991.98px){
  :root{ --header-h: 58px; }

  .main-nav{ display: none; }

  .sidebar{
    transform: translateX(-100%);
    width: min(80vw, 300px);
    box-shadow: 10px 0 40px rgba(0,0,0,.5);
  }
  body.sidebar-mobile-open .sidebar{ transform: translateX(0); }
  .sidebar-collapse-btn{ display: none !important; }

  .main-content{ margin-left: 0; padding: 12px 12px 0; }
  body.sidebar-collapsed .main-content{ margin-left: 0; }

  .banner-slider{ aspect-ratio: 1584 / 672; border-radius: var(--radius-md); }
  .banner-slide .banner-figure{ width: 65%; }

  .footer-apps{ min-width: 100%; margin-left: 0; }
}

@media (max-width: 1023px){
  .event-card {
    width: 164px;
    min-width: 164px;
    min-height: 88px;
    border-radius: 7px;
    padding: 8px;
  }

  .game-section-title {
    font-size: 16px;
  }

  .arrow-btn-desktop,
  .section-nav-btn {
    display: none !important;
  }

  .game-track,
  .games-horizontal {
    gap: 2px;
  }

  .game-card {
    flex: 0 0 calc((100% - 4px) / 3.08) !important;
    width: calc((100% - 4px) / 3.08) !important;
    min-width: calc((100% - 4px) / 3.08) !important;
  }

  .game-card-img,
  .game-image {
    width: 100%;
    height: auto;
  }
}

/* Android mobile */
@media (max-width: 575.98px){
  body{ font-size: 13px; }

  .site-header{ padding: 0 10px; gap: 10px; }
  .brand-tag{ display: none; }
  .btn-login{ display: none; }
  .btn-register{ padding: 8px 14px; font-size: .8rem; }

  .main-content{ padding: 10px 10px 0; }

  .banner-slider{ aspect-ratio: 1584 / 672; }
  .banner-title{ font-size: 1.5rem; }
  .banner-slide .banner-figure{ width: 78%; opacity: .9; }
  .banner-slide{ padding: 0 6%; }
  .banner-cta{ padding: 8px 16px; font-size: .8rem; }

  .event-card{ flex-basis: 168px; padding: 10px; }

  .game-card{ flex-basis: 112px; }
  .game-card-media i{ font-size: 2rem; }
  .game-card-name{ font-size: .68rem; }

  .support-banner{ padding: 14px; }
  .support-avatar{ margin-left: 0; order: -1; }
  .support-banner-actions{ width: 100%; justify-content: space-between; }

  .footer-columns{ gap: 18px; }
  .footer-col{ min-width: 42%; }

  .app-card{ min-height: 120px; padding: 14px; }
  .app-card-phone{ font-size: 3.6rem; }
}

/* Small mobile */
@media (max-width: 360px){
  .game-card{ flex-basis: 100px; }
  .event-card{ flex-basis: 150px; }
  .brand-name{ font-size: 1.05rem; }
  .banner-title{ font-size: 1.25rem; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce){
  *{ transition: none !important; animation: none !important; }
}

/* Visible focus states for accessibility */
a:focus-visible, button:focus-visible{
  outline: 2px solid var(--accent-blue);
  outline-offset: 2px;
}

/* ============ APP FOOTER STYLES ============ */
.app-footer {
  /* background: #111215;
  border-top: 1px solid var(--border-soft); */
  padding: 36px 20px 24px;
  margin-top: 32px;
  color: var(--text-primary);
}
.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.casino-seo-content h1 {
  font-size: 1.7rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-primary);
}
.casino-seo-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.6;
}
.seo-toggle {
  background: transparent;
  border: none;
  color: var(--accent-teal);
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  padding: 4px 0;
  margin-top: 8px;

  min-height: 44px;
    margin-top: 16px;
    padding: 0 16px;
    border-radius: 10px;
    background: #2d2d2d;
    color: #f0f2f5;
    font-size: 14px;
    font-weight: 600;
}
.footer-header {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  gap: 20px;
}
.footer-brand .brand-logo {
  height: 36px;
  width: auto;
  display: block;
}
.header-line {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}
.footer-lang {
  display: flex;
  align-items: center;
  gap: 12px;
}
.lang-btn {
  background: #17181c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 8px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}
.lang-flag {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
}
.scroll-top-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #17181c;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}
.scroll-top-btn:hover {
  background: #22242a;
}

.footer-support-section {
  display: flex;
  gap: 16px;
  align-items: stretch;
}
.support-card {
  flex: 3;
  background: #17181c;
  border-radius: 16px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.05);
}
.support-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
}
.support-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.support-label {
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
}
.support-time {
  background: #00d26b;
  color: #fff;
  font-weight: 700;
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 999px;
}
.support-text {
  font-size: 0.85rem;
  color: #999;
  margin: 0;
}
.support-avatar {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 0;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 1;
  pointer-events: none;
}
.support-card .support-avatar:before {
  content: "";
  height: 100px;
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
  width: 340px;
  background: url('images/footer/bg-desktop.avif') center / contain no-repeat;
  z-index: -1;
  pointer-events: none;
  padding-bottom: 50%;
}
.support-agent-img {
  height: 94px;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.5));
}
.contact-btn {
  background: #0075ff;
  color: #fff;
  border: none;
  font-weight: 600;
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 0.9rem;
  cursor: pointer;
  z-index: 2;
  transition: background 0.2s ease;
}
.contact-btn:hover {
  background: #0060d4;
}
.contact-card {
  flex: 1;
  background: #17181c;
  border-radius: 16px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,0.05);
}
.contact-label {
  font-size: 0.82rem;
  color: #999;
}
.whatsapp-btn {
  background: #00d26b;
  color: #fff;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 0.95rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  transition: opacity 0.2s ease;
}
.whatsapp-btn:hover {
  opacity: 0.9;
  color: #fff;
}

.footer-main-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  margin-top: 8px;
}
.footer-links-section {
  display: flex;
  gap: 48px;
}
.footer-column h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: #fff;
}
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-column a {
  color: #9ca3af;
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-column a:hover {
  color: #fff;
}
.categories-row {
  display: flex;
  gap: 32px;
}
.category-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.category-col a {
  color: #9ca3af;
  font-size: 0.88rem;
  text-decoration: none;
  transition: color 0.2s ease;
}
.category-col a:hover {
  color: #fff;
}

.footer-apps-section {
  display: flex;
  gap: 16px;
}
.app-card {
  width: 320px;
  height: 200px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  padding: 20px;
  box-sizing: border-box;
}
.app-card-windows{
  /* width: 320px; */
  height: 200px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  display: flex;
  padding: 20px;
  box-sizing: border-box;
}
.app-card-mobile {
  background: linear-gradient(135deg, #7c3aed 0%, #4c1d95 100%);
}
.app-card-windows {
  background: linear-gradient(135deg, #00b4d8 0%, #0077b6 100%);
}
.app-card-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
  max-width: 170px;
  height: 100%;
}
.app-brand-name {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
  font-weight: 500;
}
.bonus-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin: 4px 0 2px;
}
.bonus-subtitle {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.8);
}
.app-platforms {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  margin: 4px 0 0;
}
.windows-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #fff;
  margin: 8px 0;
}
.install-pill-btn {
  background: #fff;
  color: #4c1d95;
  border: none;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: transform 0.2s ease, background 0.2s ease;
}
.install-pill-btn:hover {
  transform: translateY(-2px);
  background: #f0f0f0;
}
.windows-install-btn {
  color: #0077b6;
}
.windows-svg-icon {
  width: 14px;
  height: 14px;
  object-fit: contain;
}
.app-card-img-wrap {
  position: absolute;
  right: -10px;
  top: 0;
  bottom: 0;
  width: 150px;
  pointer-events: none;
  z-index: 1;
}
.app-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right center;
}

.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #1c1d22;
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.social-icon-img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.age-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid var(--border-soft);
  font-weight: 700;
  color: var(--text-muted);
}

/* ============ FOOTER RESPONSIVE STYLES (MOBILE / TABLET / ANDROID) ============ */
@media (max-width: 991px) {
  .footer-support-section {
    flex-direction: column;
    gap: 12px;
  }
  .support-card {
    flex: none;
    width: 100%;
    box-sizing: border-radius;
    padding: 16px;
    min-height: 110px;
  }
  .contact-card {
    flex: none;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 14px 18px;
    box-sizing: border-box;
  }
  .footer-main-content {
    flex-direction: column;
    gap: 24px;
  }
  .footer-links-section {
    gap: 32px;
    flex-wrap: wrap;
  }
  .footer-apps-section {
    flex-direction: column;
    width: 100%;
  }
  .app-card {
    width: 100%;
    max-width: 100%;
  }
}

@media (max-width: 576px) {
  .footer-header {
    gap: 12px;
    margin-bottom: 20px;
  }
  .footer-brand .brand-logo {
    height: 28px;
  }
  .support-card {
    padding: 14px 16px;
    position: relative;
  }
  .support-label {
    font-size: 0.95rem;
  }
  .support-text {
    font-size: 0.78rem;
  }
  .contact-btn {
    padding: 8px 12px;
    font-size: 0.78rem;
  }
  .support-card .support-avatar:before {
    width: 220px;
    top: 60%;
  }
  .support-agent-img {
    height: 110px;
  }
  .contact-card {
    padding: 12px 16px;
  }
  .contact-label {
    font-size: 0.85rem;
  }
  .whatsapp-btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  .footer-links-section {
    gap: 24px;
    justify-content: space-between;
  }
  .footer-column h4 {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
  .footer-column a, .category-col a {
    font-size: 0.8rem;
  }
  .app-card {
    height: 160px;
    padding: 16px;
  }
  .app-card-content {
    max-width: 150px;
  }
  .bonus-title, .windows-title {
    font-size: 0.85rem;
  }
  .install-pill-btn {
    padding: 6px 14px;
    font-size: 0.78rem;
  }
  .footer-bottom {
    padding-top: 16px;
    font-size: 0.75rem;
  }
}

