:root {
    --primary-teal: #04a1a5;
    --dark-teal: #038488;
    --accent-yellow: #FFB800;
    --bg-dark: #1e1e1e;
    --card-bg: #ffffff;
    --odds-blue: #72bbef;
    --odds-pink: #f9a6d0;
    --text-white: #ffffff;
    --text-dark: #333333;
    --border-gray: #ddd;
}

body {
    background-color: #f4f4f4;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: var(--text-dark);
}

/* Header Styles */
.main-header {
    background-color: var(--primary-teal);
    color: white;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.home-icon {
    color: white;
    font-size: 24px;
    text-decoration: none;
}

.logo {
    display: flex;
    align-items: center;
    font-weight: 900;
    font-size: 22px;
    letter-spacing: -0.5px;
}

.logo .silver {
    color: white;
}

.logo .exch {
    color: var(--accent-yellow);
}

.logo .nine {
    color: var(--accent-yellow);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-finance {
    text-align: right;
    font-size: 13px;
    line-height: 1.2;
}

.balance-item {
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}

.exp-item {
    font-size: 11px;
    color: #e0e0e0;
}

.user-profile-dropdown {
    position: relative;
    cursor: pointer;
}

.profile-trigger {
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
    font-size: 14px;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-top: 10px;
    z-index: 1000;
    overflow: hidden;
}

.dropdown-menu a,
.dropdown-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.dropdown-menu a:hover {
    background: #f8f8f8;
}

.logout-btn {
    color: #f44336 !important;
    font-weight: bold;
}

/* Marquee Bar */
.marquee-bar {
    background-color: #005a5a;
    display: flex;
    align-items: center;
    padding: 5px 15px;
}

.search-trigger {
    background: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-teal);
    margin-right: 15px;
    cursor: pointer;
}

.marquee-content {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 13px;
    font-weight: bold;
    overflow: hidden;
}

/* Live Ticker */
.live-ticker-container {
    background: #007070;
    padding: 10px 0;
    overflow-x: auto;
    scrollbar-width: none;
}

.live-ticker-container::-webkit-scrollbar {
    display: none;
}

.ticker-track {
    display: flex;
    padding: 0 15px;
    gap: 10px;
}

.ticker-card {
    background: rgba(255, 255, 255, 0.1);
    min-width: 250px;
    padding: 8px 12px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.ticker-card .teams {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 4px;
}

.ticker-card .time {
    font-size: 11px;
    color: #66caca;
}

/* Category Nav */
.category-nav {
    background: var(--dark-teal);
    border-bottom: 2px solid #005a5a;
}

.category-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    overflow-x: auto;
}

.category-nav li a {
    display: block;
    padding: 12px 20px;
    color: white;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.category-nav li a.active {
    background: var(--primary-teal);
}

/* Sports Icon Nav */
.sports-icon-nav {
    background: #2a2a2a;
    padding: 10px 0;
    overflow-x: auto;
}

.icon-track {
    display: flex;
    padding: 0 15px;
    gap: 10px;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    padding: 8px;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.2s;
}

.icon-item.active {
    background: var(--primary-teal);
}

.icon-item i {
    font-size: 20px;
    margin-bottom: 5px;
}

.icon-item span {
    font-size: 10px;
    font-weight: bold;
}

/* Filter Bar */
.filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: white;
    margin-bottom: 5px;
}

.pill-filters {
    display: flex;
    gap: 8px;
}

.filter-btn {
    padding: 6px 15px;
    border-radius: 20px;
    border: 1px solid var(--primary-teal);
    background: white;
    color: var(--primary-teal);
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
}

.view-by {
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.view-by select {
    background: var(--primary-teal);
    color: white;
    border: none;
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: bold;
}

/* Match Cards */
.matches-list {
    padding: 5px;
}

.match-card {
    background: white;
    margin-bottom: 8px;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.match-header {
    padding: 10px;
    display: flex;
    justify-content: space-between;
}

.tournament-name {
    margin: 0;
    font-size: 15px;
    font-weight: 800;
}

.live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #8bc34a;
    border-radius: 50%;
    margin-left: 5px;
}

.match-time {
    color: #d93025;
    font-size: 11px;
    font-weight: bold;
    margin-top: 2px;
}

.match-icons {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #757575;
}

.bm-badge {
    background: #333;
    color: white;
    padding: 1px 4px;
    border-radius: 2px;
    font-size: 9px;
}

.p-badge {
    background: #4CAF50;
    color: white;
    padding: 1px 4px;
    border-radius: 2px;
    font-size: 9px;
}

.odds-header {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
    font-weight: bold;
    font-size: 12px;
    padding: 5px 0;
    border-top: 1px solid #eee;
}

.odds-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 2px;
}

.odds-box {
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 13px;
    cursor: pointer;
}

.odds-box.back {
    background: var(--odds-blue);
}

.odds-box.lay {
    background: var(--odds-pink);
}

/* Banners */
.banner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px;
    padding: 5px;
}

.banner-item img {
    width: 100%;
    border-radius: 4px;
    display: block;
}

/* New Launch */
.new-launch-section {
    padding: 10px 5px;
}

.section-title {
    background: #004d4d;
    color: white;
    margin: 0;
    padding: 10px;
    font-size: 18px;
    font-weight: 800;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    background: #eee;
}

.game-card {
    background: white;
}

.game-card img {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    display: block;
}

.game-name {
    background: var(--primary-teal);
    color: white;
    text-align: center;
    padding: 6px 2px;
    font-size: 9px;
    font-weight: 800;
    line-height: 1.1;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Main Content Layout */
.layout-container {
    max-width: 1200px;
    margin: 0 auto;
}

.main-content {
    width: 100%;
}

/* Our Providers */
.providers-section {
    padding: 10px 5px;
}

.providers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.provider-card {
    background: white;
}

.provider-card img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

/* Footer Section */
.main-footer {
    background: white;
    padding: 30px 15px;
    text-align: center;
    border-top: 1px solid #eee;
}

.footer-top-row {
    display: -webkit-inline-box;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.secure-badge img {
    height: 50px;
}

.safe-info {
    text-align: left;
    max-width: 250px;
}

.safe-info h4 {
    margin: 0;
    color: #333;
    font-size: 14px;
    font-weight: 800;
}

.safe-info p {
    margin: 5px 0 0;
    font-size: 11px;
    color: #666;
    line-height: 1.4;
}

.footer-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.age-badge {
    border: 2px solid #d32f2f;
    color: #d32f2f;
    font-weight: 800;
    font-size: 14px;
    padding: 5px;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copyright {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
}