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

:root {
    --bg-main: #0B3F46;
    /* Primary Background: Dark Teal */
    --bg-panel: #145A63;
    /* Secondary Gradient Start */
    --bg-input: #1E6F78;
    /* Secondary Gradient End */
    --bg-hover: #237C86;
    --border-light: rgba(255, 255, 255, 0.08);
    --border-focus: rgba(44, 140, 153, 0.4);
    --text-white: #ffffff;
    --text-gray: #ffffff;
    /* Adjusted to be more teal-gray */
    --text-dark: #708282;
    --accent-green: #2C8C99;
    /* Primary Accent: Teal/Cyan */
    --accent-teal: #2C8C99;
    /* Explicit Teal alias */
    --accent-gold: #FFD25E;
    /* Slightly warmer gold to pop against teal */
    --accent-red: #FF5A5A;
    --shadow-soft: 0 12px 40px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px rgba(44, 140, 153, 0.25);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 32px;
    --radius-pill: 50px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --main-gradient: linear-gradient(135deg, var(--bg-panel) 0%, var(--bg-input) 100%);
}

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

a {
    text-decoration: none;
    color: inherit;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-main);
    color: var(--text-white);
    line-height: 1.5;
    overflow-x: hidden;
}

/* Glass Effect */
.glass-effect {
    background: rgba(20, 28, 43, 0.85);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-main);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loader-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid var(--border-light);
    border-top-color: var(--accent-green);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 16px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loader-text {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 2px;
}

.loader-text .highlight {
    color: var(--accent-green);
}

/* Header */
.top-header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 24px;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 24px;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.logo-accent {
    color: var(--accent-green);
}

.header-auth {
    display: flex;
    gap: 12px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 16px;
}

.balance {
    background: var(--bg-input);
    padding: 8px 16px;
    border-radius: 32px;
    font-weight: 700;
    font-size: 14px;
    color: var(--accent-green);
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--accent-green);
    color: var(--bg-main);
}

.btn-primary:hover {
    background: #36ACB9;
    transform: translateY(-1px);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-light);
    color: var(--text-white);
}

.btn-outline:hover {
    border-color: var(--accent-green);
    background: rgba(44, 140, 153, 0.15);
}

.full-width {
    width: 100%;
}

/* Sidebar - Premium "Elite" Redesign */
.sidebar-menu {
    position: fixed;
    top: 10px;
    bottom: 10px;
    right: -320px;
    width: 300px;
    height: auto;
    background: rgba(11, 22, 17, 0.98);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 2500;
    transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.8);
    border-radius: 40px 0 0 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow-y: auto;
}

.sidebar-menu.open {
    right: 0;
}

.sidebar-menu.open .sidebar-links li {
    opacity: 1;
    transform: translateX(0);
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none;
}

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

.sidebar-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--border-light);
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 24px;
    cursor: pointer;
}

.sidebar-links {
    list-style: none;
    padding: 24px 16px;
}

.sidebar-links li {
    margin-bottom: 8px;
    opacity: 0;
    transform: translateX(20px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Staggered Animation for Menu Items */
.sidebar-links li:nth-child(1) {
    transition-delay: 0.1s;
}

.sidebar-links li:nth-child(2) {
    transition-delay: 0.15s;
}

.sidebar-links li:nth-child(3) {
    transition-delay: 0.2s;
}

.sidebar-links li:nth-child(4) {
    transition-delay: 0.25s;
}

.sidebar-links li:nth-child(5) {
    transition-delay: 0.3s;
}

.sidebar-links li:nth-child(6) {
    transition-delay: 0.35s;
}

.sidebar-links li:nth-child(7) {
    transition-delay: 0.4s;
}

.sidebar-links li:nth-child(8) {
    transition-delay: 0.45s;
}

.sidebar-links li:nth-child(9) {
    transition-delay: 0.5s;
}

.sidebar-links li a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    color: var(--text-gray);
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 50px;
    font-weight: 600;
}

.sidebar-links li a i {
    font-size: 18px;
    width: 20px;
    text-align: center;
    color: var(--accent-green);
}

.sidebar-links li a:hover {
    background: rgba(44, 140, 153, 0.12);
    color: var(--text-white);
    padding-left: 28px;
}

.sidebar-links li a:active {
    transform: scale(0.95);
}

/* Elite Account Dashboard Header */
.account-sidebar-header {
    background: var(--bg-main);
    padding: 32px 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.account-avatar {
    width: 64px;
    height: 64px;
    background: var(--accent-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--bg-main);
    font-weight: 800;
    margin-bottom: 16px;
    box-shadow: 0 0 30px rgba(44, 140, 153, 0.3);
}

.account-balances {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.balance-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.balance-item .label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.balance-item .value {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-white);
}

.sidebar-deposit-btn {
    width: 100%;
    background: var(--accent-green);
    color: var(--bg-main);
    padding: 14px;
    border-radius: 12px;
    text-align: center;
    font-weight: 800;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: block;
    margin-top: 8px;
}

.sidebar-deposit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(44, 140, 153, 0.3);
}

/* User Profile Header Display (Unified) */
.user-profile-unified {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 12px;
    border-radius: var(--radius-pill);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.user-profile-unified:hover {
    background: rgba(255, 255, 255, 0.05);
}

.header-balance-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.header-balance-main {
    font-size: 13px;
    font-weight: 800;
    color: var(--text-white);
}

.header-balance-bonus {
    font-size: 10px;
    font-weight: 700;
    color: var(--accent-green);
}


/* Main Content */
.main-content {
    min-height: calc(100vh - 300px);
    padding-bottom: 80px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Hero Slider */
.hero-slider-container {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 24px 0 40px;
    height: 400px;
}

.hero-slides {
    position: relative;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.hero-slide.active {
    opacity: 1;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 100%);
    display: flex;
    align-items: center;
    padding: 48px;
}

.slide-content {
    max-width: 50%;
}

.slide-content h2 {
    font-size: 48px;
    font-weight: 900;
    margin-bottom: 16px;
}

.slide-content h2 span {
    color: var(--accent-green);
}

.slide-content p {
    font-size: 18px;
    margin-bottom: 24px;
    color: var(--text-gray);
}

.slider-nav {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--accent-green);
    width: 24px;
    border-radius: 12px;
}

/* Sports Grid */
.sports-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.sport-card {
    background: var(--bg-panel);
    border-radius: var(--radius-lg);
    padding: 20px;
    border: 1px solid var(--border-light);
    transition: var(--transition);
    cursor: pointer;
}

.sport-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-focus);
    box-shadow: var(--shadow-glow);
}

.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.live-badge {
    background: rgba(231, 76, 60, 0.15);
    color: var(--accent-red);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-weight: 900;
    animation: pulse 2s infinite;
    display: flex;
    align-items: center;
    gap: 6px;
}

.live-badge::before {
    content: '';
    display: block;
    width: 6px;
    height: 6px;
    background: var(--accent-red);
    border-radius: 50%;
    animation: pulse 1s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.teams {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-weight: 700;
    font-size: 16px;
    margin-bottom: 20px;
}

.team {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.team-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.team-logo img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.score {
    color: var(--accent-gold);
    font-size: 18px;
    font-weight: 900;
}

.odds {
    display: flex;
    gap: 8px;
}

.odd-btn {
    flex: 1;
    background: var(--bg-input);
    border: 1px solid var(--border-light);
    color: var(--text-white);
    padding: 10px 0;
    border-radius: var(--radius-sm);
    text-align: center;
    font-weight: 700;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.odd-btn:hover {
    background: var(--bg-hover);
    border-color: var(--accent-green);
    transform: scale(1.02);
}

.odd-label {
    font-size: 10px;
    color: var(--text-dark);
    font-weight: 700;
    text-transform: uppercase;
}

.odd-btn:hover .odd-label {
    color: var(--accent-green);
}

/* Section Title */
.section-title {
    font-size: 22px;
    font-weight: 900;
    margin: 40px 0 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-title i {
    color: var(--accent-green);
    font-size: 24px;
}

/* Panel */
.panel {
    background: var(--bg-panel);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

/* Forms */
.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group i {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dark);
}

.input-group input {
    width: 100%;
    padding: 14px 16px 14px 48px;
    background: var(--bg-input);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-white);
    font-size: 14px;
    transition: var(--transition);
}

.input-group input:focus {
    outline: none;
    border-color: var(--accent-green);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    color: var(--text-white);
    font-size: 14px;
}

.form-control:focus {
    outline: none;
    border-color: var(--accent-green);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
}

.checkbox-group input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-group label {
    color: var(--text-gray);
    font-size: 13px;
    cursor: pointer;
}

.checkbox-group a {
    color: var(--accent-green);
    text-decoration: none;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    max-width: 450px;
    width: 90%;
    padding: 32px;
    border-radius: var(--radius-lg);
    position: relative;
    animation: slideUp 0.3s ease;
    background: var(--bg-panel);
}

/* Bottom Drawer Style */
.modal.drawer-bottom {
    align-items: flex-end;
}

.modal.drawer-bottom .modal-content {
    width: 100%;
    max-width: 100%;
    max-height: 85vh;
    border-radius: 40px 40px 0 0;
    padding-bottom: 40px;
    margin-bottom: 0px;
    animation: drawerSlideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.drawer-handle {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin: 0 auto 20px;
}

@keyframes drawerSlideUp {
    from {
        transform: translateY(100%);
    }

    to {
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
    color: var(--text-gray);
    transition: var(--transition);
}

.close-modal:hover {
    color: var(--text-white);
}

.modal-content h2 {
    margin-bottom: 24px;
    font-size: 28px;
}

.form-options {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.forgot-link {
    color: var(--accent-green);
    text-decoration: none;
    font-size: 13px;
}

.modal-footer {
    margin-top: 24px;
    text-align: center;
    color: var(--text-gray);
}

.modal-footer a {
    color: var(--accent-green);
    text-decoration: none;
}

/* Footer */
.custom-footer {
    background: var(--bg-panel);
    border-top: 1px solid var(--border-light);
    padding: 48px 0 24px;
    margin-top: 48px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.footer-column h4 {
    color: var(--text-white);
    margin-bottom: 16px;
    font-size: 16px;
    font-weight: 700;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--text-gray);
    text-decoration: none;
    font-size: 14px;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-green);
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: 32px;
    text-align: center;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
    font-size: 32px;
    color: var(--text-dark);
}

.payment-methods i {
    transition: var(--transition);
    cursor: pointer;
}

.payment-methods i:hover {
    color: var(--accent-green);
}

.compliance-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.badge-18 {
    background: var(--accent-red);
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 900;
    font-size: 14px;
}

.footer-text {
    color: var(--text-gray);
    font-size: 12px;
}

/* Bottom Navigation (Mobile) */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-panel);
    backdrop-filter: blur(10px);
    display: none;
    justify-content: space-around;
    align-items: center;
    padding: 12px 16px 20px;
    border-top: 1px solid var(--border-light);
    z-index: 100;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    color: var(--text-gray);
    text-decoration: none;
    font-size: 12px;
    transition: var(--transition);
}

.nav-item i {
    font-size: 20px;
}

.nav-item.active {
    color: var(--accent-gold);
    text-shadow: 0 0 12px rgba(255, 210, 94, 0.4);
}

.nav-item.active i {
    transform: translateY(-2px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-btn {
    background: var(--accent-green);
    color: var(--bg-main);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -24px;
    box-shadow: 0 4px 12px rgba(44, 140, 153, 0.3);
}

.floating-btn i {
    font-size: 24px;
}

/* Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}

input:checked+.slider {
    background-color: var(--accent-green);
}

input:focus+.slider {
    box-shadow: 0 0 1px var(--accent-green);
}

input:checked+.slider:before {
    transform: translateX(20px);
}

.slider.round {
    border-radius: 34px;
}

.slider.round:before {
    border-radius: 50%;
}

/* Responsive */
@media (max-width: 768px) {
    .username-text {
        display: none;
    }

    .top-header {
        padding: 12px 16px;
    }

    .header-auth .btn-outline {
        background: var(--accent-green);
        color: var(--bg-main);
    }

    .btn-outline:hover {
        background: #36ACB9;
        transform: translateY(-1px);
    }

    .header-auth .btn-primary,
    .header-auth .btn-icon {
        display: none;
    }

    .bottom-nav {
        display: flex;
    }

    .main-content {
        padding-bottom: 80px;
    }

    .hero-slider-container {
        height: 300px;
    }

    .slide-content {
        max-width: 100%;
    }

    .slide-content h2 {
        font-size: 32px;
    }

    .slide-content p {
        font-size: 14px;
    }

    .sports-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-column:last-child {
        align-items: center !important;
        text-align: center;
    }

    .payment-methods {
        flex-wrap: wrap;
    }
}

@media (min-width: 769px) {

    .sidebar-menu,
    .sidebar-overlay,
    .bottom-nav {
        display: none;
    }
}

/* ==============================
   TOAST NOTIFICATION - PREMIUM
   ============================== */
.toast-notification {
    background: #ffffff;
    color: #0f172a;
    padding: 14px 16px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    animation: toastSlideDown 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.toast-notification.hide {
    opacity: 0;
    transform: translateY(-12px) scale(0.96);
    pointer-events: none;
}

/* Icon circle */
.toast-icon-circle {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    flex-shrink: 0;
}

/* Type-specific icon backgrounds */
.toast-success .toast-icon-circle { background: #D1FAE5; color: #047857; }
.toast-error .toast-icon-circle { background: #FFE4E6; color: #BE123C; }
.toast-warning .toast-icon-circle { background: #FEF3C7; color: #B45309; }
.toast-info .toast-icon-circle { background: #DBEAFE; color: #1D4ED8; }

/* Message text */
.toast-msg {
    flex: 1;
    line-height: 1.3;
    min-width: 0;
}

.toast-msg-title {
    font-size: 13px;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: 1px;
}

.toast-msg-text {
    font-size: 13px;
    font-weight: 600;
    color: #64748b;
}

/* Close button */
.toast-close {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: #f1f5f9;
    border: none;
    color: #94a3b8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    cursor: pointer;
    flex-shrink: 0;
    transition: 0.15s;
}

.toast-close:hover {
    background: #e2e8f0;
    color: #64748b;
}

/* Auto-dismiss progress bar */
.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    border-radius: 0 0 16px 16px;
    animation: toastProgress 4s linear forwards;
}

.toast-success .toast-progress { background: #10b981; }
.toast-error .toast-progress { background: #ef4444; }
.toast-warning .toast-progress { background: #f59e0b; }
.toast-info .toast-progress { background: #3b82f6; }

@keyframes toastSlideDown {
    from {
        transform: translateY(-16px) scale(0.96);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes toastProgress {
    from { width: 100%; }
    to { width: 0%; }
}

/* Betslip Enhancements */
.stake-chip:hover {
    background: #f8fafc !important;
    border-color: #2C8C99 !important;
    color: #2C8C99 !important;
    transform: scale(1.05);
}

.stake-chip:active {
    transform: scale(0.95);
    background: #2C8C99 !important;
    color: white !important;
    border-color: #2C8C99 !important;
}

.betslip-selection:hover {
    border-color: #e2e8f0 !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

#place-bet-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 12px 32px rgba(44, 140, 153, 0.4) !important;
}

#place-bet-btn:active:not(:disabled) {
    transform: translateY(0);
}

#floating-betslip:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 40px rgba(44, 140, 153, 0.6) !important;
}

/* Hide scrollbar for stake chips */
.stake-chip::-webkit-scrollbar {
    display: none;
}

@keyframes betslipPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

#betslip-badge-float {
    animation: betslipPulse 2s ease-in-out infinite;
}