* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #fff;
  color: #222;
}

/* Hide scrollbar but keep page scrollable */
html, body {
  overflow-y: scroll;  /* still scrolls */
  overflow-x: hidden;
  -ms-overflow-style: none;  /* hides scrollbar in IE and Edge */
  scrollbar-width: none;  /* hides scrollbar in Firefox */
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;  /* hides scrollbar in Chrome, Safari, Opera */
}

/* --- PRELOADER CONTAINER --- */
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

/* --- PRELOADER CONTENT --- */
.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

/* --- LOGO --- */
.preloader-logo {
  width: 240px;
  height: 56px;
}

/* --- LOADING BAR --- */
.loading-bar {
  width: 210px;
  height: 4px;
  background: #e5e5e5;
  border-radius: 0px;
  overflow: hidden;
  position: relative;
}

/* --- MOVING FILL --- */
.loading-fill {
  width: 35%;
  height: 90%;
  background-color: #a4e637; /* BetPawa green */
  border-radius: 0px;
  position: absolute;
  left: 0;
  animation: moveLeftRight 1.2s ease-in-out infinite;
}

/* --- ANIMATIONS --- */
@keyframes moveLeftRight {
  0% { left: 0; }
  50% { left: 60%; }
  100% { left: 0; }
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}


/* ====== TOP BAR ====== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: #252a2d;
  color: #fff;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.left-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

/* Hamburger */
.hamburger-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  cursor: pointer;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
}

.hamburger__bar {
  height: 2px;
  background: #7d8489;
  border-radius: 2px;
  transition: transform .18s ease;
}

/* Longest to shortest */
.hamburger__bar--1 { width: 22px; }
.hamburger__bar--2 { width: 21px; }
.hamburger__bar--3 { width: 20px; }
.hamburger__bar--4 { width: 19px; }

.hamburger-btn:hover .hamburger__bar {
  transform: translateX(2px);
}

/* Logo styles */
.logo {
  height: 26px;
  margin-left: 1px; /* keeps it very close to the hamburger */
}

/* Spacer (to keep layout centered) */
.center-spacer {
  flex: 1;
}

/* Right-side actions */
.right-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 20px;
  border: none;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: 4px;
}

.icon-btn svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  margin-left: 18px;
}

/* ===== DEFAULT (desktop) ===== */
.balance-pill {
  background: #3b3f41;
  height: 42px;
  padding: 0 18px;
  border-radius: 25px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: #fff;
  transition: all 0.3s ease;
  max-width: 220px;       /* prevent pill from stretching too wide */
  overflow: hidden;
  white-space: nowrap;
}

.balance-currency {
  opacity: 0.9;
  font-size: 15px;
}

.balance-amount {
  font-size: 15px;
  display: inline-block;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis; /* shows “…” if number too long */
  white-space: nowrap;
  transition: font-size 0.2s ease;
}

.plus-btn {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #a4e637;
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.plus-btn svg {
  width: 14px;
  height: 14px;
  color: #222;
}

/* ====== RESPONSIVE SECTION ====== */
@media (max-width: 600px) {
  .topbar {
    height: 50px;
    padding: 8px 10px;
    gap: 5px;
  }
  
 /* ===== SMALL SCREENS (mobile) ===== */
@media (max-width: 600px) {
  .balance-pill {
    height: 30px;
    padding: 0 12px;
    border-radius: 18px;
    gap: 6px;
    max-width: 180px; /* slightly narrower */
  }

  .balance-currency {
    font-size: 13px;
  }

  .balance-amount {
    font-size: clamp(11px, 3vw, 13px);
    /* ✅ This line automatically adjusts font size based on screen width */
    max-width: 80px;
  }

  .plus-btn {
    width: 16px;
    height: 16px;
  }

  .plus-btn svg {
    width: 12px;
    height: 12px;
  }
}

/* ===== TABLETS ===== */
@media (min-width: 601px) and (max-width: 1024px) {
  .balance-pill {
    height: 30px;
    padding: 0 15px;
    border-radius: 20px;
    max-width: 200px;
  }

  .balance-amount {
    font-size: clamp(12px, 2vw, 14px);
    max-width: 90px;
  }
}

  .logo {
    height: 26px;
    margin-left: 1px;
  }
}

/* SECOND BAR STYLES */
.second-bar {
  position: fixed;
  top: 60px; /* Adjust depending on your topbar height */
  left: 0;
  width: 100%;
  height: 40px;
  background-color: #36393c;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #222;
  overflow: hidden;
  z-index: 999;
}

/* Scrollable container */
.scroll-container {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Hide scrollbar Firefox */
  -ms-overflow-style: none; /* Hide scrollbar IE */
  flex: 1;
}
.scroll-container::-webkit-scrollbar {
  display: none; /* Hide scrollbar Chrome */
}

/* Nav item styles */
.nav-item {
  flex: 0 0 auto;
  color: #fff;
  text-decoration: none;
  display: flex;
  align-items: center;
  padding: 0 16px;
  font-size: 14px;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-item i {
  margin-right: 6px;
  font-size: 16px;
}

.nav-item:hover {
  color: #0f0; /* Highlight color */
}

/* Fixed arrow at right */
.down-arrow {
  width: 45px;
  height: 100%;
  background-color: #36393c;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid #222;
  position: sticky;
  right: 0;
  flex-shrink: 0;
  color: #9feb35;;
  cursor: pointer;
}

.down-arrow i {
  font-size: 18px;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .second-bar {
    height: 40px;
    top: 48px; /* Adjust if topbar height changes */
  }

  .nav-item {
    padding: 0 12px;
    font-size: 13px;
  }
}

/* ====== NAV TABS (full-bleed, fixed height) ====== */
.tabs {
  position: fixed;                    /* Changed from relative to fixed */
  top: -11px;                        /* Position below topbar (60px) + second-bar (40px) */
  left: 0;                           /* Ensure it spans full width from left edge */
  display: flex;
  gap: 0;
  background: #fff;
  padding: 0;
  width: 100%;                       /* Changed from 100vw to 100% */
  box-sizing: border-box;
  align-items: center;
  border-bottom: 1px solid #e6e6e6;
  min-height: 40px;
  height: 40px;
  z-index: 98;                       /* Keep below topbar (100) but above content */
}

/* Responsive adjustments */
@media (max-width: 600px) {
  .tabs {
    top: -37px;                       /* Adjusted for mobile: topbar (48px) + second-bar (40px) */
    min-height: 40px;
    height: 40px;
  }
}

/* small phones */
@media (max-width: 420px) {
  .tabs {
    min-height: 45px;
    height: 52px;
    margin-top: calc(42px + 40px);
  }
}

@media (min-width: 820px) {
  .tabs {
    min-height: 43px;
    height: 40px;
    margin-top: calc(60px + 40px);
  }
}

/* Ensure page content doesn't sit under fixed topbar */
main {
  padding-top: calc(50px + 30px); /* match the top offset used for .tabs */
}

/* ====== NAV TAB BUTTONS ====== */
.tab {
  flex: 1 1 0;                        /* equally sized tabs that fill the row */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 10px;                    /* horizontal padding only; height is fixed by .tabs */
  height: 100%;
  text-align: center;
  background: #f4f5f0;
  border: none;                       /* avoid border-width shifts when activated */
  border-right: 1px solid #eaeaea;    /* visual separators without affecting sizing */
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  color: #444;
  box-sizing: border-box;
  white-space: nowrap;

  /* Extend the tab visually downward beyond the .tabs container */
  align-self: stretch;                /* ensure it fills the tabs' cross axis */
  padding-bottom: 8px;                /* extra clickable/visual area */
  margin-bottom: -20px;               /* pull it down outside the fixed .tabs height */
  position: relative;
  z-index: 1;                         /* keep above the page content below */
}

/* Make active tab sit above others so its extension doesn't get hidden */
.tab.active {
  z-index: 2;
}

/* Remove right border on last tab so edges are flush */
.tab:last-child {
  border-right: none;
}

/* Badge inside tab */
.tab .badge {
  display: inline-block;
  margin-left: 8px;
  background: #d7d6d3;
  color: #555;
  padding: 2px 8px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 10px;
}

/* Hover state (visual only, does not change size) */
.tab:hover {
  background-color: #f3f3f3;
}

/* Active: change color/background but keep same dimensions */
.tab.active {
  background: #fff;    /* active background color */
  color: #252a2d;            /* active text color */
  font-weight: 700;
  /* keep borders/padding the same so size doesn't change */
  /* hide the .tabs bottom border under the active tab by painting a matching strip */
  box-shadow: 0 1px 0 #fff;
}

/* Settled should not change size when applied — style only */
.tab.settled {
  font-weight: 800;       /* visual emphasis only */
  /* no padding/border differences so size remains consistent with other states */
}

/* Casino arrow */
.casino-with-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* --- Bet Cards Container --- */
/* ensure cards start below the fixed topbars + tabs */
:root {
  --cards-top-offset: calc(60px + 40px + 40px); /* topbar (60) + second-bar (40) + tabs (40) */
}

/* mobile adjustments (topbar 48, tabs smaller) */
@media (max-width: 600px) {
  :root {
    --cards-top-offset: calc(40px + 37px + 20px); /* topbar (48) + second-bar (40) + tabs (~36) */
  }
}

.bet-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  margin-top: var(--cards-top-offset);
  box-sizing: border-box;
  /* keep cards above page background but below fixed topbars if needed */
  position: relative;
  z-index: 1;
  will-change: transform, opacity;
}

/* --- Each Bet Card --- */
.bet-card {
  border: 1px solid #e6e7e2;
  border-radius: 0;
  overflow: hidden;
  background-color: #fff;
  cursor: pointer;
  text-decoration: none; /* no underline */

  /* visual fade on hover / touch */
  transition: opacity .1s ease, transform .1s ease;
  will-change: opacity, transform;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  outline: none;
}

/* Hover (mouse) and keyboard focus visual */
.bet-card:hover,
.bet-card:focus,
.bet-card:focus-visible {
  opacity: 0.15; /* faded look while hovered/focused */
}

/* Active (pointer down / touch) */
.bet-card:active {
  opacity: 0.15;            /* stronger fade while pressed */
  transform: translateY(1px);
}

/* For devices that do not support hover, ensure :active triggers the fade */
@media (hover: none) {
  .bet-card:hover {
    opacity: 0.15; /* ignore hover on touch devices to avoid sticky states */
  }
  .bet-card:active {
    opacity: 0.15;
  }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .bet-card {
    transition: none;
    will-change: auto;
  }
}


/* --- Header --- */
.bet-header {
  background: #f4f5f0;
  padding: 5px 12px;
  font-size: 13px;
  color: #0d0d0d;
  display: flex;
  justify-content: space-between;
  font-family: Arial, sans-serif;
  border-bottom: 1px solid #e6e7e2;
}

.bet-header strong {
  font-weight: bold;
  font-size: 13px;
}

/* --- Body --- */
.bet-body {
  padding: 13px 12px;
}


.result {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 11px;
  width: 100%;
}

/* Left label */
.result-label {
  font-weight: 600;
  font-size: 13px;
  color: #b7b7b7;
}

/* Right side (status + color box) */
.result-right {
  display: flex;
  align-items: center;
  gap: 8px; /* small space between text and box */
}

.bet-id {
  font-size: 13px;
  font-weight: 600;
  color: #909090;
  margin-bottom: 8px;
}

/* Status styles */
.status {
  font-weight: 600;
  font-size: 13px;
}

.status.wons {
  color: #78c70b;
}

.status.losts {
  color: #cc371b;
}

.status.cashout {
  color: #78c70b;
}

/* Color boxes */
.color-box {
  width: 15px;
  height: 15px;
  border-radius: 0px;
}

.color-box.green {
  background: #78c70b;
}

.color-box.red {
  background: #cc371b;
}

/* ✅ Responsive: stays on the right even on small screens */
@media (max-width: 600px) {
  .result {
    justify-content: space-between;
  }
  .result-right {
    gap: 6px;
  }
}
  .status {
    font-size: 13px;
    font-weight: 600;
  }

  .details {
    flex-direction: row;
    font-size: 13px;
    text-decoration-style: none;
  }


.details {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 600;
  color: #9c9c9c;
  border-top: 1px solid #e6e7e2;
  padding-top: 15px;
  padding-bottom: 5px;
}

.details span {
  font-weight: 600;
  font-size: 11px;
  color: #7a7a7a;
  margin-left: 67px; /* pushes the span to the right within .details (flex container) */
  text-align: right;
}

.details strong {
  font-weight: 600;
  font-size: 14px;
  color: #0e0d0d;
}


.win-amount {
  background-color: #f2f3f0;
  display: grid;
  align-items: center;
  justify-content: center;
  margin-top: 5px;
  max-height: 20vh;
  gap: 4px;
  padding: 10px 0;
  background-image: url('images/win1.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 400px;
  margin-bottom: 20px;
}

.win-amount p {
  font-size: 14px;
  margin: 0;
  color: #444;
  margin-bottom: 1px;
  margin-left: 33px;
}

.win-amount h {
  font-size: 16px;
  color: #000;
  margin: 3px 0 0;
  font-weight: 800;
  margin-top: 0px;
  margin-left: 34px;
}



/* Outer wrapper color area */
.summary-area {
  width: 100vw;                  /* full viewport width */
  height: 82vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;            /* make it break out of container */
  margin-right: -50vw;
  background-color: #f2f3f0;     /* outer color */
  padding: 20px 0;               /* top & bottom spacing only */
  border-top: 1px solid #e6e7e2;
  border-bottom: 1px solid #e6e7e2;
  top: 10px;
  margin-top: -2px;
  margin-bottom: 5px;
}



.ticket-summary h1 {
  font-size: 18px;
  color: #222;
  margin-top: 15px;
  font-weight: 800;
  text-align: center;
}



/* Keep summary box with its own background color */
.summary-box {
  background-color: #ffffff; /* stays white */
  border: 1px solid transparent; /* required for border-image */
  border-image: linear-gradient(90deg, #b76e00, #ffd700, #b76e00, #ffd700);
  border-image-slice: 1;
  padding: 15px;
  border-radius: 1px;
  width: 90%;
  margin-left: auto;
  margin-right: auto;
  margin-top: 5px;
  height: auto;
  max-width: 6000vh;
}

@media (max-width: 600px) {
  .summary-box {
    width: 95%;
  }
}

.summary-box p {
  margin: 4px 0;
  font-size: 13px;
}


.summary-box strong {
  font-weight: 600;
  color: #444;
}

.summary-box span {
  float: right;
  color: #222;
}

.payout {
  padding-top: 10px;
  font-weight: 700;
}

.won {
  color: #4CAF50;
}

/* Share Button */
.share-btn {
  margin-top: 10px;
  text-align: center;
}

.share-btn button {
  background-color: #9feb35;
  color: #222;
  border: none;
  font-weight: bold;
  font-size: 16px;
  border-radius: 1px;
  cursor: pointer;
  transition: background 0.3s;

 }

.share-btn button i {
  margin-right: 8px;
  margin-left: 7px;
  font-size: 16px;
  color: #222;
}

.share-btn button span {
  vertical-align: middle;
  margin-right: 7px;
}

.share-btn button:hover {
  background-color: #35d142;
}



/* Responsive */
@media (max-width: 768px) {
  .ticket-summary, .matches {
    margin: 10px;
    padding: 10px;
  }

  .summary-box p {
    font-size: 14px;
  }

  #shareBtn {
    font-size: 14px;
    padding: 10px;
  }

}

.top-section {
  text-align: center;
  padding-top: 10px;
}


.match-box {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #fff;
  padding: 18px 14px;
  border-bottom: 1px solid #e6e7e2;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
  top: -10px;
}

.match-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
  font-size: 13px;
  color: #444;
}

.match-odds {
  display: flex;
  align-items: center;
  gap: 5px;
}

.odd-value {
  color: #8dc63f;
  font-weight: 700;
  font-size: 14px;
}

.odd-box {
  width: 18px;
  height: 18px;
  background: #8dc63f;
}

.match-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  margin: 3px 0;
}

.match-title-group {
  display: flex;
  align-items: center;
  gap: 4px; /* very close spacing between title and arrow */
  flex: 1;
}

.match-title {
  text-decoration: underline;
  color: #000;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.match-title2 {
  text-decoration: none;
  color: #161616;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.match-arrow {
  color: #000;
  font-weight: 000;
  font-family: "Arial Narrow", "Helvetica Neue", sans-serif; /* thinner look */
  font-size: 14px;
  transform: scale(1.02, 1.02); /* scaleX, scaleY */
  margin-left: 4px;
}

.match-score {
  color: #000;
  font-weight: 700;
  font-size: 14px;
}

.match-subtitle {
  color: #999;
  font-size: 12px;
  margin-top: 2px;
}

.match-market {
  font-size: 12px;
  margin-top: 3px;
  color: #000;
}

@media (max-width: 768px) {
  .match-box {
    padding: 9px 12px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
  }

  .match-header,
  .match-main,
  .match-subtitle,
  .match-market {
    font-size: 12px;
    margin-top: 8px;
  }

  .odd-box {
    width: 18px;
    height: 18px;
  }

  .match-time, .odd-value {
    font-size: 13px;
  }

  .match-score {
    font-size: 13px;
  }
}


.terms {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  font-size: 18px;
  font-style: italic;
  color: #141414;
  margin-top: 0px;
  line-height: 1.4;
  align-items: center;
}

.terms p {
  margin: 4px 0;
  text-align: center;
}

.terms a {
  color: #030202;
  text-decoration: underline;
  font-weight: bold;
}

@media (max-width: 780px)  {
  .terms {
    padding: 10px 20px;
  }
}


/* RESPONSIVE */
@media (max-width: 768px) {
  .summary-box p { font-size: 14px; }
  .terms { font-size: 12px; }
  .terms p { margin: 2px 0; }
}

.bet-status-box {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: #fff;
  padding: 12px 16px;
  border-bottom: 1px solid #e6e7e2;
  font-family: Arial, Helvetica, sans-serif;
  box-sizing: border-box;
}

.bet-time {
  text-align: center;
  font-size: 14px;
  color: #333;
  margin-bottom: 10px;
}

.status-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.status-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #222;
}

.status-color {
  width: 18px;
  height: 18px;
  border-radius: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Colors */
.pending {
  background: #e6e6e6;
}

.won {
  background: #8dc63f;
}

.lost {
  background: #cc371b;
}

.void {
  background: #e6e6e6;
  color: #555;
  font-weight: bold;
}

.void-x {
  font-size: 16px;        /* slightly taller */
  line-height: 1;         /* keeps it vertically centered */
  font-weight: 100;       /* makes it thin */
  font-family: "Arial Narrow", "Helvetica Neue", sans-serif; /* thinner look */
  transform: scale(1.6, 1.7); /* scaleX, scaleY */  /* makes it taller vertically */
}

/* Responsive for mobile */
@media (max-width: 768px) {
  .bet-status-box {
    padding: 10px 12px;
  }

  .bet-time {
    font-size: 13px;
  }

  .status-item {
    font-size: 13px;
    gap: 5px;
  }

  .status-color {
    width: 18px;
    height: 18px;
  }
}

.mybets {
  height: 30px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  font-size: 18px;
  font-style: italic;
  color: #141414;
  margin-top: 0px;
  line-height: 1.4;
  align-items: center;
}

.my-bets-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: auto;
  margin-top: 10px;
  width: 24%;
  max-width: 600px;
  height: 40px;
  background-color: #252a2d;
  color: #fff;
  border: none;
  font-weight: bold;
  font-size: 16px;
  border-radius: 1px;
  cursor: pointer;
  transition: background 0.3s;
  padding: 12px 20px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

@media (max-width: 780px) {
  .my-bets {
    padding: 10px 20px;
    bottom: 15px;
  }
  .my-bets-btn {
    font-size: 14px;
    padding: 10px 16px;
  }
}

/* Reset box sizing */
* { box-sizing: border-box; }

/* Footer container */
.site-footer {
  width: 100vw;
  margin-left: calc(50% - 50vw); /* edges touch viewport edges */
  background: #252a2d;
  color: #989898;
  padding: 28px 16px 40px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  text-align: center;
}

/* Top area rows */
.footer-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  align-items: center;
  margin-bottom: 1px;
}

@media (min-width: 600px) {
  .footer-top {
    grid-template-columns: 1fr 1fr; /* two columns on wider screens */
    gap: 20px;
  }
}

/* sports nav - centered text links */
.sports-nav {
  display:flex;
  justify-content:center;
  gap: 20px;
  font-size: 3px;
  color: #fff;
  flex-wrap:wrap;
  margin-top: 1px;
}
.sports-nav a { color: #dddddd; text-decoration: none; opacity: 0.95; font-size: 12px; }

/* social icons row */
.social-row {
  display:flex;
  justify-content:center;
  gap: 22px;
  align-items:center;
}

/* social icons as fixed size images (will NOT scale on small screens) */
.social-icon {
  width: 56px;        /* fixed size from screenshot */
  height: 56px;
  object-fit: contain;
  display:block;
  border-radius:50%;
  background: rgba(255,255,255,0.06);
  padding: 8px;       /* inner padding like screenshot */
}

/* links row below social icons */
.links-row {
  display:flex;
  justify-content:center;
  gap: 17px;
  flex-wrap:wrap;
  color: var(--white);
  font-size: 16px;
}
.links-row a { color: var(--white); text-decoration: none; opacity: 0.95; }

/* brand (betPawa) - image centered, fixed size */
.brand-row {
  margin-top: 8px;
  margin-bottom: 8px;
}
.brand-logo {
  width: 220px;       /* fixed width — stays same on mobile */
  height: auto;
  object-fit: contain;
  display: inline-block;
}

/* country row */
.country-row {
  margin-top: 6px;
  display:flex;
  justify-content:center;
  gap: 10px;
  align-items:center;
  color: var(--white);
  font-size: 18px;
}
.country-row .flag {
  width: 26px;
  height: 18px;
  object-fit: cover;
  display:inline-block;
}
.change-link {
  color: var(--white);
  opacity: 0.85;
  margin-left: 6px;
  text-decoration: none;
  font-size: 16px;
}

/* partner section */
.partner-section {
  margin-top: 30px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 12px;
}
.official {
  color: var(--white);
  opacity: 0.95;
  font-size: 16px;
}
.fuba-logo {
  width: 78px;       /* fixed width to match screenshot */
  height: auto;
  object-fit: contain;
  display:block;
  filter: grayscale(100%) brightness(1.2); /* monochrome look similar to screenshot */
}

/* license paragraph */
.license-text {
  margin-top: 28px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 10px;
}

/* ensure the images keep their pixel sizes on small screens */
@media (max-width: 768px) {
  .brand-logo { width: 160px; } /* keep same as desktop */
  .social-icon { width: 56px; height: 56px; }
  .fuba-logo { width: 78px; }

  .sports-nav { gap: 18px; font-size: 16px; }
  .links-row { gap: 14px; font-size: 14px; }
  .country-row { font-size: 16px; }
  .license-text { font-size: 13px; line-height:1.6; }
}

/* optional small tweak for very small screens */
@media (max-width: 360px) {
  .links-row { gap: 8px; }
}