@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@500;600;700;800&display=swap');

/* --- CSS Variables & Design Tokens (Light Theme) --- */
:root {
    --bg-primary: #ffffff;       /* Pure white page body background */
    --bg-secondary: #ffffff;     /* White card containers and sections */
    --bg-tertiary: #f2f4f8;      /* Light gray for inactive tabs/buttons */
    
    --text-primary: #1a202c;     /* Near black for primary headers & text */
    --text-secondary: #718096;   /* Cool gray for subtexts & providers */
    --text-active: #ffffff;      /* White text for active elements */
    
    --brand-primary: #7326eb;    /* Purple for claim, join, active states */
    --brand-primary-hover: #5d1bc4;
    --brand-accent: #ffc700;     /* Yellow highlights */
    
    --border-color: #e2e8f0;     /* Very light gray border */
    
    /* Category-specific pastel background colors from screenshots */
    --bg-cat-sports: #e4eeff;
    --bg-cat-casino: #edfdf6;
    --bg-cat-instant: #e3f8ff;
    --bg-cat-vip: #feeecd;
    --bg-cat-promos: #f4ecff;
    --bg-cat-loyalty: #fff9e6;
    
    --border-cat-sports: #c9dffa;
    --border-cat-casino: #cff5e5;
    --border-cat-instant: #c5edfa;
    --border-cat-vip: #fae0af;
    --border-cat-promos: #e6d6fc;
    --border-cat-loyalty: #faebd2;

    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
    
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-smooth: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Global --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.mobile-only {
    display: none !important;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.5;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

button {
    font-family: inherit;
    background: none;
    border: none;
    cursor: pointer;
    outline: none;
    transition: var(--transition-smooth);
}

/* --- Custom Scrollbar --- */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* --- Layout Wrapper --- */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- HEADER / NAVIGATION --- */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-color);
}

.header-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 20px;
    height: 20px;
    justify-content: center;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 2px;
}

/* 10Cric Header Logo matched to screenshot */
.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 38px;
    width: auto;
    display: block;
}

.desktop-links {
    display: flex;
    align-items: center;
    gap: 20px;
    list-style: none;
    margin-left: 10px;
}

.desktop-links a {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    padding: 6px 0;
    border-bottom: 2px solid transparent;
}

.desktop-links a:hover,
.desktop-links li.active a {
    color: var(--text-primary);
    border-bottom-color: var(--brand-primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Purple Gift Icon */
.gift-btn {
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 50%;
    background-color: #f4ecff;
}

.gift-btn:hover {
    background-color: #e6d6fc;
}

.login-btn {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-primary);
    padding: 10px 12px;
}

.login-btn:hover {
    color: var(--brand-primary);
}

.join-btn {
    font-weight: 700;
    font-size: 14px;
    color: var(--text-active);
    background-color: var(--brand-primary);
    padding: 10px 24px;
    border-radius: 30px;
}

.join-btn:hover {
    background-color: var(--brand-primary-hover);
}

/* --- MOBILE SIDEBAR MENU --- */
.mobile-sidebar {
    position: fixed;
    top: 72px;
    left: -280px;
    width: 280px;
    height: calc(100vh - 72px);
    background-color: var(--bg-secondary);
    z-index: 999;
    border-right: 1px solid var(--border-color);
    transition: var(--transition-smooth);
    padding: 24px;
    overflow-y: auto;
}

.mobile-sidebar.open {
    left: 0;
}

.mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-list a {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-secondary);
    padding: 8px 0;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav-list a:hover {
    color: var(--text-primary);
}

.sidebar-overlay {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(2px);
    z-index: 998;
    display: none;
}

.sidebar-overlay.open {
    display: block;
}

/* --- HERO PROMO BANNER --- */
.hero-section {
    padding: 20px 0;
}

.hero-banner-container {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

.hero-banner {
    width: 100%;
    aspect-ratio: 1100 / 252;
    background-image: url('Assets/b2785d1d-8f47-443c-8adc-0f23c931a5a9.png');
    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    padding-left: 60px;
    position: relative;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    z-index: 2;
}

.hero-subtitle {
    font-size: 15px;
    font-weight: 600;
    color: #1a202c;
    letter-spacing: -0.2px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: #1a202c;
    line-height: 1.1;
    margin-bottom: 2px;
    letter-spacing: -0.5px;
}

.hero-btn {
    background-color: var(--brand-primary);
    color: white;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 24px;
    border-radius: 30px;
    margin-top: 2px;
}

.hero-btn:hover {
    background-color: var(--brand-primary-hover);
}

.hero-code {
    font-size: 10px;
    color: #718096;
    margin-top: 2px;
}

/* --- CATEGORIES SECTION --- */
.categories-section {
    padding: 10px 0;
}

.categories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 16px;
}

.cat-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1.316;
    border: 1px solid transparent;
    box-shadow: var(--card-shadow);
}

.cat-card-link {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.cat-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.cat-card:hover img {
    transform: scale(1.04);
}

/* Text label absolute on top-left of the card to match screenshots */
.cat-label-container {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 2;
}

.cat-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    color: #334155;
    letter-spacing: 0.5px;
}

/* Specific pastel category colors and borders */
.cat-card.sports-card {
    background-color: var(--bg-cat-sports);
    border-color: var(--border-cat-sports);
}

.cat-card.casino-card {
    background-color: var(--bg-cat-casino);
    border-color: var(--border-cat-casino);
}

/* Right-side small categories container */
.categories-small-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.cat-card-small {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    aspect-ratio: 1.331;
    border: 1px solid transparent;
    box-shadow: var(--card-shadow);
}

.cat-card-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.cat-card-small:hover img {
    transform: scale(1.05);
}

.cat-label-small-container {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
}

.cat-title-small {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: #334155;
}

/* 22 badge inside Instant category */
.instant-badge {
    background-color: var(--text-primary);
    color: var(--bg-secondary);
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 700;
    margin-left: 2px;
}

.cat-card-small.instant-card {
    background-color: var(--bg-cat-instant);
    border-color: var(--border-cat-instant);
}

.cat-card-small.vip-card {
    background-color: var(--bg-cat-vip);
    border-color: var(--border-cat-vip);
}

.cat-card-small.promos-card {
    background-color: var(--bg-cat-promos);
    border-color: var(--border-cat-promos);
}

.cat-card-small.loyalty-card {
    background-color: var(--bg-cat-loyalty);
    border-color: var(--border-cat-loyalty);
}

/* --- GAME SECTIONS --- */
.section-wrapper {
    padding: 20px 0;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
}

.carousel-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-arrow {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.nav-arrow:hover {
    background-color: #cbd5e1;
    color: var(--text-primary);
}

.carousel-wrapper {
    position: relative;
    width: 100%;
}

.carousel-container {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc(16.666% - 10px);
    gap: 12px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
}

.carousel-container::-webkit-scrollbar {
    display: none;
}

/* Game Card matching the reference screenshot */
.game-card {
    scroll-snap-align: start;
    border-radius: 12px;
    overflow: hidden;
    background-color: #11161b; /* Solid dark color for the footer */
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.game-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}

.game-img-wrapper {
    position: relative;
    aspect-ratio: 0.732;
    overflow: hidden;
    width: 100%;
}

.game-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.game-card:hover .game-img-wrapper img {
    transform: scale(1.04);
}

.game-info {
    background-color: #11161b; /* Solid black/dark background footer */
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 8px;
    text-align: center;
}

.game-name {
    color: #ffffff; /* White text */
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.2px;
    text-transform: uppercase;
}

/* --- SPORTS ACTION SECTION --- */
.sports-section {
    padding: 20px 0;
}

.sports-header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.view-all-link {
    font-size: 13px;
    font-weight: 700;
    color: var(--text-secondary);
    transition: var(--transition-smooth);
}

.view-all-link:hover {
    color: var(--brand-primary);
}

.sports-tabs-wrapper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.sports-tabs-row {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    width: 100%;
}

.sports-tabs-row::-webkit-scrollbar {
    display: none;
}

.sport-tab {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 30px;
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    color: #4a5568;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.sport-tab.active,
.sport-tab.active-league {
    background-color: var(--text-primary);
    color: var(--text-active);
    border-color: var(--text-primary);
}

.sport-tab:hover:not(.active):not(.active-league) {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
}

.leagues-row .sport-tab {
    font-size: 12px;
    padding: 6px 14px;
}

/* Sports Betting Matches Carousel */
.sports-carousel-wrapper {
    position: relative;
    width: 100%;
}

.sports-carousel-container {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc(25% - 12px);
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding: 4px 0;
}

.sports-carousel-container::-webkit-scrollbar {
    display: none;
}

/* Overlay Navigation Arrows on Card sides */
.sports-overlay-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.98);
    border: 1px solid #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    font-size: 24px;
    font-weight: bold;
    color: #4a5568;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.sports-overlay-arrow:hover {
    background-color: #ffffff;
    color: var(--brand-primary);
    box-shadow: 0 4px 16px rgba(115, 38, 235, 0.2);
    border-color: var(--brand-primary);
}

.sports-overlay-arrow.prev {
    left: -20px;
}

.sports-overlay-arrow.next {
    right: -20px;
}

.match-card {
    background-color: var(--bg-secondary);
    border-radius: 12px;
    border: 1px solid var(--border-color);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: var(--card-shadow);
}

.match-header {
    background: linear-gradient(135deg, #f5f3ff 0%, #eae8ff 100%);
    border-bottom: 1px solid var(--border-color);
    padding: 10px 16px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.match-header-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.league-info {
    display: flex;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 75%;
}

.league-flag {
    font-size: 14px;
    display: inline-flex;
    align-items: center;
}

.match-league {
    font-weight: 700;
    color: #2d3748;
    font-size: 12px;
}

/* Cricket label badge */
.cricket-badge {
    background-color: #f4ecff;
    color: var(--brand-primary);
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 10px;
}

.match-status-center {
    text-align: center;
    font-size: 11px;
    color: #718096;
    font-weight: 600;
    margin-top: 4px;
    width: 100%;
}

.match-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    background-color: #ffffff;
}

/* Teams row styled side-by-side */
.match-teams-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 6px 0 12px 0;
    width: 100%;
}

.match-team-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 42%;
    text-align: center;
}

.team-jersey-wrapper {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.jersey-svg {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.06));
    transition: transform 0.2s ease;
}

.jersey-svg:hover {
    transform: scale(1.05);
}

.match-team-name {
    font-size: 12px;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100%;
}

.vs-separator {
    font-size: 11px;
    font-weight: 800;
    color: #cbd5e1;
    text-transform: uppercase;
}

/* Odds grid & buttons matching screenshots */
.odds-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.odds-btn {
    background-color: #f1f5f9;
    border: none;
    border-radius: 8px;
    padding: 10px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 12px;
}

.odds-btn span.label {
    color: #718096;
    font-weight: 600;
}

.odds-btn span.value {
    font-weight: 700;
    color: #1a202c;
}

/* Active Odds State */
.odds-btn.active {
    background-color: var(--brand-primary);
}

.odds-btn.active span.label {
    color: rgba(255, 255, 255, 0.8);
}

.odds-btn.active span.value {
    color: #ffffff;
}

.odds-btn:hover {
    background-color: #e2e8f0;
}

.odds-btn.active {
    background-color: var(--brand-primary);
    color: var(--text-active);
    border-color: var(--brand-primary);
}

.odds-btn.active span.label {
    color: rgba(255, 255, 255, 0.7);
}

/* --- SEO WELCOME TEXT SECTION --- */
.seo-section {
    padding: 20px 0;
}

.seo-card {
    background-color: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--card-shadow);
    position: relative;
}

.panel-wrapper {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.toggle {
    display: none;
}

.panel {
    max-height: 180px; /* Collapsed state showing title and starting lines */
    overflow: hidden;
    transition: max-height 0.4s ease;
    text-align: left;
}

.toggle:checked ~ .panel {
    max-height: 6000px; /* Expand to show everything */
}

/* Fade out layer at the bottom of the collapsed panel */
.fade {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%);
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.toggle:checked ~ .fade {
    opacity: 0;
}

/* Centered Purple Show More Label Button */
.show-more {
    display: inline-block;
    margin: 16px auto 0 auto;
    background-color: var(--brand-primary);
    color: white;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 24px;
    border-radius: 20px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition-smooth);
    z-index: 3;
}

.show-more:hover {
    background-color: var(--brand-primary-hover);
}

.show-more::before {
    content: 'Show more';
}

.toggle:checked ~ .show-more::before {
    content: 'Show less';
}

/* SEO Contents formatting */
.panel h1 {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #2d3748;
}

.panel h2 {
    font-family: var(--font-heading);
    font-size: 16px;
    font-weight: 800;
    margin: 20px 0 10px 0;
    color: #1a202c;
}

.panel h3 {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    margin: 16px 0 8px 0;
    color: #2d3748;
}

.panel p {
    font-size: 12px;
    line-height: 1.6;
    color: #4a5568;
    margin-bottom: 12px;
    text-align: justify;
}

.panel a {
    color: var(--brand-primary);
    font-weight: 600;
}

.panel a:hover {
    text-decoration: underline;
}

.panel ul, .panel ol {
    margin: 10px 0 14px 20px;
    font-size: 12px;
    color: #4a5568;
    line-height: 1.6;
}

.panel li {
    margin-bottom: 6px;
}

/* General Data Table styling */
.general-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 12px;
}

.general-table tr {
    border-bottom: 1px solid var(--border-color);
}

.general-table td {
    padding: 10px 14px;
    color: #4a5568;
}

.general-table td:first-child {
    font-weight: 700;
    color: #2d3748;
    width: 25%;
}

.general-table tr:hover {
    background-color: #f8fafc;
}

.list-table {
    list-style: none !important;
    display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-left: 0 !important;
    padding: 0;
}

.list-table li {
    margin-bottom: 0;
    background-color: #f8fafc;
    border: 1px solid var(--border-color);
    padding: 6px 10px;
    border-radius: 6px;
    text-align: center;
    font-size: 11px;
}

.list-table a {
    color: #4a5568;
    font-weight: 600;
}

.list-table a:hover {
    color: var(--brand-primary);
    text-decoration: none;
}

/* --- FOOTER --- */
.footer {
    background-color: #ffffff; /* Solid white background matching screenshot */
    border-top: 1px solid var(--border-color);
    padding: 40px 0 30px 0;
    margin-top: 30px;
    color: #4a5568;
}

.footer-main-grid {
    display: grid;
    grid-template-columns: 2.2fr 4fr 1.2fr;
    gap: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--border-color);
    align-items: start;
}

/* Left Column: Payments (4 columns, aligns with titles) */
.footer-payment-col {
    display: flex;
    flex-direction: column;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 0;
}

.payment-logo {
    background-color: #f8fafc;
    border-radius: 6px;
    padding: 6px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.payment-logo img {
    max-width: 100%;
    max-height: 20px;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.65;
    transition: var(--transition-smooth);
}

.payment-logo:hover {
    background-color: #ffffff;
    border-color: var(--brand-primary);
    box-shadow: 0 4px 12px rgba(115, 38, 235, 0.08);
}

.payment-logo:hover img {
    filter: none;
    opacity: 0.95;
}

/* Middle Column: Links columns */
.footer-links-col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.footer-col-title {
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 700;
    color: #2d3748; /* Dark title matching screenshot */
    margin-bottom: 14px;
    /* Title case matching reference, no text-transform uppercase! */
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0;
}

.footer-links a {
    font-size: 11.5px;
    color: #4a5568; /* Medium gray links */
    font-weight: 500;
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--brand-primary);
}

/* Right Column: Socials and Lang */
.footer-right-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.footer-right-col .social-links {
    display: flex;
    gap: 8px;
}

.social-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-color: #f1f5f9;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #718096;
    transition: var(--transition-smooth);
}

.social-icon:hover {
    background-color: var(--brand-primary);
    color: #ffffff;
}

/* English Dropdown */
.lang-selector {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid #cbd5e1;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
    color: #4a5568;
    background-color: #ffffff;
    cursor: pointer;
    width: 90px;
    transition: var(--transition-smooth);
}

.lang-selector:hover {
    color: var(--brand-primary);
    border-color: var(--brand-primary);
}

/* Bottom details section (White background) */
.footer-bottom {
    padding-top: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
}

.age-badge-bottom {
    border: 1.5px solid #2d3748;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #2d3748;
    font-size: 10px;
}

.responsible-text-bottom {
    font-size: 11px;
    color: #718096;
    font-weight: 600;
    line-height: 1.6;
}

.trustpilot-brand {
    font-weight: 800;
    color: #2d3748;
}

.trustpilot-brand .star-icon {
    color: #00b67a; /* Green Trustpilot star */
    font-size: 14px;
}

.copyright-bottom {
    font-size: 10px;
    color: #a0aec0;
    max-width: 900px;
    line-height: 1.8;
}

/* --- FLOATING CHAT BUTTON --- */
.chat-widget {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 999;
}

.chat-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #8c46ff;
    color: white;
    box-shadow: 0 4px 16px rgba(140, 70, 255, 0.45);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.chat-btn:hover {
    background-color: #7b32f2;
    transform: scale(1.03);
}

/* --- RESPONSIVE MEDIA QUERIES --- */

@media (max-width: 1023px) {
    .header-nav {
        height: 60px;
    }
    
    .mobile-sidebar {
        top: 60px;
        height: calc(100vh - 60px);
    }
    
    .sidebar-overlay {
        top: 60px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .desktop-links {
        display: none;
    }
    
    .categories-grid {
        grid-template-columns: 1fr 1fr;
    }
    
    .categories-small-col {
        grid-column: span 2;
        grid-template-columns: repeat(4, 1fr);
    }
    
    .carousel-container {
        grid-auto-columns: calc(25% - 9px);
    }
    
    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    .footer-links-col {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .header-right .login-btn {
        display: none;
    }
    
    .mobile-only {
        display: inline !important;
    }
    img.mobile-only {
        display: block !important;
    }
    .desktop-only {
        display: none !important;
    }
    
    .hero-banner {
        aspect-ratio: 500 / 156;
        background-image: url('Assets/b2785d1d-8f47-443c-8adc-0f23c931a5a9.png');
        padding-left: 20px;
        background-size: cover;
        background-position: center right;
    }
    
    .hero-subtitle {
        font-size: 10px;
    }
    
    .hero-title {
        font-size: 18px;
        margin-bottom: 0;
    }
    
    .hero-btn {
        font-size: 10px;
        padding: 5px 14px;
        margin-top: 1px;
    }
    
    .hero-code {
        font-size: 8px;
        margin-top: 1px;
    }
    
    .categories-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        overflow: visible;
        padding: 8px 0;
    }
    
    .cat-card {
        flex: none;
        aspect-ratio: 1.25;
        border-radius: 12px;
        position: relative;
        overflow: hidden;
        box-shadow: 0 4px 10px rgba(0,0,0,0.06);
    }
    
    .cat-label-container {
        display: block !important;
        position: absolute;
        left: 12px;
        top: 14px;
        z-index: 2;
    }
    
    .cat-title.mobile-only {
        color: #2d3748;
        font-size: 15px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: -0.2px;
    }
    
    .cat-card img {
        border-radius: 12px;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .categories-small-col {
        grid-column: span 2;
        display: grid !important;
        grid-template-columns: repeat(4, 1fr);
        gap: 6px;
        margin-top: 4px;
    }
    
    .cat-card-small {
        flex: none;
        aspect-ratio: 1;
        border-radius: 50%;
        position: relative;
        overflow: hidden;
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    }
    
    .cat-label-small-container {
        display: block !important;
        position: absolute;
        left: 0;
        right: 0;
        top: 10px;
        z-index: 2;
        text-align: center;
    }
    
    .cat-title-small.mobile-only {
        color: #2d3748;
        font-size: 10px;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: -0.2px;
        text-align: center;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 90%;
        margin: 0 auto;
        display: block;
    }
    
    .cat-card-small img {
        border-radius: 50%;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    
    .sports-tabs-wrapper {
        gap: 6px;
    }
    
    .sport-tab {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .sports-carousel-container {
        grid-auto-columns: calc(85% - 8px);
        gap: 12px;
    }
    
    .sports-overlay-arrow {
        display: none;
    }
    
    .carousel-container {
        grid-auto-flow: column;
        grid-auto-columns: calc(45% - 6px);
        gap: 8px;
    }
    
    .game-card {
        border-radius: 8px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .nav-arrow {
        display: none;
    }
    
    .footer-main-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-payment-col {
        align-items: center;
    }

    .payment-grid {
        justify-content: center;
        grid-template-columns: repeat(4, 1fr);
    }

    .footer-links-col {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .footer-links-subcol {
        border-bottom: 1px solid var(--border-color);
        padding: 12px 0;
    }
    
    .footer-links-subcol .footer-col-title {
        margin-bottom: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        cursor: pointer;
    }
    
    .footer-links-subcol .footer-col-title::after {
        content: '+';
        font-size: 18px;
        color: #718096;
    }
    
    .footer-links-subcol.open .footer-col-title::after {
        content: '-';
    }
    
    .footer-links {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
        margin-top: 0;
    }
    
    .footer-links-subcol.open .footer-links {
        max-height: 500px;
        transition: max-height 0.3s cubic-bezier(1, 0, 1, 0);
        margin-top: 12px;
        padding-bottom: 8px;
    }
    
    .payment-logo {
        height: 34px;
        width: 68px;
        font-size: 9px;
    }

    .footer-right-col {
        align-items: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .carousel-container {
        grid-auto-columns: calc(48% - 5px);
    }
    
    .logo {
        font-size: 18px;
    }
    
    .logo-badge {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
    
    .join-btn {
        padding: 8px 18px;
        font-size: 13px;
    }
}
