:root {
    --primary: #162b46;
    --primary-light: #1f3a5f;
    --primary-dark: #0e1d2f;
    --accent: #00b3ff;
    --accent-light: #1ea8e3;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --gray: #e9ecef;
    --dark-gray: #6c757d;
    --black: #212529;
    --success: #28a745;
    --warning: #ffc107;
    --danger: #dc3545;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Nunito', sans-serif;
    line-height: 1.6;
    color: var(--black);
    background-color: var(--white);
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header & Navigation */
.header {
    background-color: var(--primary-dark);
    color: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

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

.logo {
    display: block;
    max-width: 100%;
    height: auto;
    width: auto;
    object-fit: contain;
}

/* Optional additional responsive controls */
@media (max-width: 768px) {
    .logo {
        max-width: 150px; /* Adjust as needed for mobile */
    }
}

@media (max-width: 480px) {
    .logo {
        max-width: 120px; /* Smaller logo on very small screens */
    }
}

/* If you want to ensure the logo scales with container */
.logo-container {
    display: inline-block;
    max-width: 100%;
}

/* Alternative approach using flexbox for alignment */
.logo-flex {
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-flex .logo {
    max-height: 60px; /* Control max height if needed */
}
/* Fixed height with responsive width */
.logo-fixed-height {
    height: 60px;
    width: auto;
    max-width: 100%;
}

/* Maximum constraints only */
.logo-max-only {
    max-width: 200px;
    max-height: 80px;
    width: auto;
    height: auto;
}

/* Fill container without stretching */
.logo-fill {
    width: 100%;
    height: auto;
    max-height: 100px; /* Prevents excessive height */
}
.nav-desktop {
    display: none;
}

.nav-desktop ul {
    display: flex;
    gap: 25px;
}

.nav-desktop a {
    font-weight: 600;
    font-size: 0.95rem;
    padding: 8px 0;
    position: relative;
    transition: var(--transition);
}

.nav-desktop a:hover {
    color: var(--accent);
}

.nav-desktop a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-desktop a:hover::after {
    width: 100%;
}

.nav-desktop .active {
    color: var(--accent);
}

.nav-desktop .active::after {
    width: 100%;
}

.mobile-toggle {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--white);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.mobile-toggle:hover {
    background-color: var(--gray);
}

/* Sidebar Navigation for Mobile */
.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: var(--shadow-lg);
    z-index: 1100;
    transition: var(--transition);
    padding: 80px 20px 30px;
    overflow-y: auto;
}

.sidebar.active {
    right: 0;
}

.sidebar-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

.sidebar-nav ul {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sidebar-nav a {
    display: block;
    padding: 12px 15px;
    border-radius: var(--border-radius);
    font-weight: 600;
    transition: var(--transition);
}

.sidebar-nav a:hover {
    background-color: var(--light-gray);
    color: var(--accent);
}

.sidebar-nav .active {
    background-color: var(--primary);
    color: var(--white);
}

.overlayh {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1050;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.overlayh.active {
    opacity: 1;
    visibility: visible;
}

/* Main Content */
.main-content {
    margin-top: 70px;
    padding: 20px 0;
}

/* Stories Section */
.stories-section {
    margin-bottom: 30px;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: var(--accent);
}

.stories-container {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0 20px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--gray);
}

.stories-container::-webkit-scrollbar {
    height: 6px;
}

.stories-container::-webkit-scrollbar-track {
    background: var(--gray);
    border-radius: 10px;
}

.stories-container::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 10px;
}

.story-card {
    min-width: 120px;
    height: 160px;
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow);
    flex-shrink: 0;
    cursor: pointer;
    transition: var(--transition);
}

.story-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.story-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.story-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
    color: var(--white);
}

.story-title {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 3px;
}

.story-meta {
    font-size: 0.75rem;
    opacity: 0.9;
}

/* Bet Cards Grid */
.bet-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.bet-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.bet-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.bet-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bet-title {
    font-size: 1.1rem;
    font-weight: 700;
}

.bet-type {
    font-size: 0.85rem;
    padding: 4px 10px;
    border-radius: 20px;
    font-weight: 700;
}

.bet-type.free {
    background-color: var(--success);
}

.bet-type.over-under {
    background-color: var(--accent);
}

.bet-type.daily {
    background-color: var(--warning);
    color: var(--black);
}

.bet-content {
    padding: 15px;
}

.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--gray);
}

.team {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 30%;
}

.team-logo {
    width: 50px;
    height: 50px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: var(--primary);
}

.team-name {
    font-weight: 700;
    font-size: 0.9rem;
}

.vs {
    font-weight: 900;
    color: var(--accent);
    font-size: 1.2rem;
}

.match-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin-bottom: 15px;
}

.match-league {
    font-weight: 700;
    color: var(--primary);
}

.match-time {
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.bet-analysis {
    background-color: var(--light-gray);
    padding: 12px;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.bet-stats {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-weight: 800;
    font-size: 1.2rem;
    color: var(--primary);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--dark-gray);
}

.bet-actions {
    display: flex;
    gap: 10px;
}

.btn {
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    border: none;
    transition: var(--transition);
    flex: 1;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary);
    color: var(--white);
}

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

.btn-accent {
    background-color: var(--accent);
    color: var(--white);
}

.btn-accent:hover {
    background-color: var(--accent-light);
}

/* Free Bets Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    padding: 20px;
}

.modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background-color: var(--white);
    border-radius: var(--border-radius);
    width: 100%;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform: translateY(20px);
    transition: var(--transition);
}

.modal.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    background-color: var(--primary);
    color: var(--white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-title {
    font-size: 1.3rem;
    font-weight: 800;
}

.modal-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
}

.modal-close:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 25px 20px;
}

.free-bet-card {
    background-color: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
    border-left: 4px solid var(--success);
}

.free-bet-title {
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.free-bet-desc {
    font-size: 0.95rem;
    margin-bottom: 15px;
    color: var(--dark-gray);
}

.free-bet-code {
    display: inline-block;
    background-color: var(--white);
    padding: 8px 15px;
    border-radius: var(--border-radius);
    font-weight: 800;
    color: var(--success);
    border: 1px dashed var(--success);
    letter-spacing: 1px;
}

/* Fixed Free Bets for Mobile */
.free-bets-fixed {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary);
    color: var(--white);
    padding: 15px;
    z-index: 900;
    display: none;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.15);
}

.free-bets-text {
    font-weight: 700;
    font-size: 0.95rem;
}

.free-bets-btn {
    background-color: var(--accent);
    color: var(--white);
    border: none;
    padding: 8px 20px;
    border-radius: var(--border-radius);
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.free-bets-btn:hover {
    background-color: var(--accent-light);
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--white);
    padding: 40px 0 20px;
    margin-top: 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-logo {
    font-weight: 900;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-desc {
    font-size: 0.95rem;
    opacity: 0.8;
    line-height: 1.7;
}

.footer-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    opacity: 0.8;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (min-width: 576px) {
    .bet-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .story-card {
        min-width: 140px;
        height: 180px;
    }
}

@media (min-width: 768px) {
    .mobile-toggle {
        display: none;
    }

    .nav-desktop {
        display: block;
    }

    .free-bets-fixed {
        display: none !important;
    }

    .footer-content {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .bet-grid {
        grid-template-columns: repeat(3, 1fr);
    }

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

    .stories-section {
        margin-bottom: 40px;
    }
}

@media (max-width: 767px) {
    .free-bets-fixed {
        display: flex;
    }
}

 .hero-section {
     position: relative;
     background: linear-gradient(135deg, #0a0e17 0%, #1a1f2e 100%);
     color: white;
     padding: 1.5rem 0 3rem;
     overflow: hidden;
     margin-top:50px;
 }



.hero-container {
    display: flex;
    padding: 50px;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

/* Background */
.hero-bg-gradient {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 0% 0%, rgba(41, 196, 169, 0.1) 0%, transparent 50%);
}

.desktop-only {
    display: none;
}

/* Badges - Mobile */
.hero-badges {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.8rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    white-space: nowrap;
}



/* Hero Title - Mobile */
.hero-title {
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-title span {
    display: block;
}

.typewriter-text {
    border-right: 2px solid #00b3ff;
    white-space: nowrap;
    overflow: hidden;
    width: 0;
    animation: typing 2.5s steps(20, end) forwards, blink-caret 0.75s step-end infinite;
    animation-delay: 0.5s;
}

.highlight {
    color: #00b3ff;
    animation: fadeIn 0.5s ease-in forwards;
    animation-delay: 3s;
    opacity: 0;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #00b3ff; }
}

@keyframes fadeIn {
    to { opacity: 1; }
}

/* Hero Subtitle */
.hero-subtitle {
    font-size: 1rem;
    color: #a0aec0;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.highlight-text {
    color: #00b3ff;
    font-weight: 600;
}

.user-count {
    color: #f6ad55;
    font-weight: bold;
}

/* Stats - Mobile Optimized */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-item {
    text-align: center;
}


/* CTA Buttons - Mobile */
.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.btn {
    padding: 1rem 1.5rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.btn-lg {
    padding: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #00b3ff, #1ea8e3);
    color: white;
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-outline {
    background: transparent;
    border: 2px solid #00b3ff;
    color: #00b3ff;
}

.btn-badge {
    margin-left: 0.5rem;
    background: #f56565;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: bold;
}

.mobile-text {
    display: inline;
}

.desktop-text {
    display: none;
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #a0aec0;
    font-size: 0.85rem;
}

.trust-item i {
    color: #00b3ff;
}

/* Live Matches Ticker */
.live-matches-ticker {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid rgba(41, 196, 169, 0.3);
    margin-top: 1rem;
}

.ticker-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: #f56565;
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
}

.live-pulse {
    width: 6px;
    height: 6px;
    background: white;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

.ticker-header h4 {
    font-size: 1rem;
    flex-grow: 1;
    margin-left: 0.5rem;
}

.ticker-toggle {
    background: none;
    border: none;
    color: #00b3ff;
    cursor: pointer;
    padding: 0.25rem;
}

.ticker-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-height: 200px;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.ticker-content.collapsed {
    max-height: 0;
}

.match-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.teams {
    font-size: 0.9rem;
    color: #fff;
}

.team {
    font-weight: 600;
}

.match-odds {
    display: flex;
    gap: 0.5rem;
}

.odd {
    background: rgba(41, 196, 169, 0.2);
    color: #00b3ff;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.9rem;
    min-width: 40px;
    text-align: center;
}

/* Hero Visual - Mobile */
.hero-visual {
    margin-top: 1rem;
    display: none;
}

.card-stack {
    position: relative;
    height: 200px;
    margin-bottom: 1rem;
}

.card-stack-item {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    border-radius: 15px;
    padding: 1rem;
    width: 90%;
    max-width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    color: #1a202c;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.card-badge {
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: bold;
}

.success {
    background: #48bb78;
    color: white;
}

.card-odds {
    font-size: 1.5rem;
    font-weight: bold;
    color: #00b3ff;
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.match-teams {
    font-weight: bold;
    font-size: 1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.match-tip {
    color: #00b3ff;
    font-weight: 600;
    font-size: 0.9rem;
}

.match-profit, .match-stats {
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.match-profit {
    color: #48bb78;
    font-weight: bold;
}

/* Verification Badge - Mobile */
.verification-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: white;
    border-radius: 12px;
    padding: 0.75rem;
    margin-top: 1rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.badge-icon {
    background: linear-gradient(135deg, #00b3ff, #1ea8e3);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.badge-content {
    font-weight: 600;
    color: #1a202c;
    font-size: 0.9rem;
}

/* Responsive Breakpoints */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
    .hero-section {
        padding: 2rem 0 4rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-actions {
        flex-direction: row;
    }

    .btn {
        width: auto;
        flex: 1;
    }

    .hero-stats {
        grid-template-columns: repeat(4, 1fr);
    }

    .mobile-hide {
        display: block;
    }

    .ticker-content {
        flex-direction: row;
        overflow-x: auto;
        gap: 1rem;
    }

    .match-item {
        min-width: 200px;
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }

    .match-odds {
        width: 100%;
        justify-content: space-between;
    }

    .odd {
        flex: 1;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
    .hero-container {
        flex-direction: row;
        align-items: center;
        gap: 3rem;
    }

    .hero-content {
        flex: 1;
    }

    .hero-visual {
        flex: 0 0 300px;
        margin-top: 0;
    }

    .card-stack {
        height: 300px;
    }

    .card-stack-item {
        left: 0;
        transform: none;
        width: 280px;
    }

    .card-1 {
        transform: rotate(-3deg);
    }

    .verification-badge.mobile-only {
        display: none;
    }

    .desktop-only {
        display: block;
    }

    .mobile-only {
        display: none;
    }

    .mobile-text {
        display: none;
    }

    .desktop-text {
        display: inline;
    }

    /* Floating elements for tablet+ */
    .floating-odds .odd-number {
        background: rgba(255, 255, 255, 0.1);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
        color: #00b3ff;
        font-weight: bold;
        padding: 0.5rem 1rem;
        border-radius: 20px;
        font-size: 1rem;
        position: absolute;
        animation: float 6s ease-in-out infinite;
    }

    @keyframes float {
        0%, 100% { transform: translateY(0) rotate(0deg); }
        50% { transform: translateY(-15px) rotate(3deg); }
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .hero-section {
        padding: 3rem 0 6rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-badges {
        margin-bottom: 2rem;
    }

    .badge {
        font-size: 0.9rem;
        padding: 0.6rem 1rem;
    }

    .hero-stats {
        padding: 2rem;
        gap: 2rem;
    }


    .btn-lg {
        padding: 1rem 2rem;
        font-size: 1.1rem;
    }

    .card-stack {
        height: 350px;
    }

    .card-stack-item {
        width: 320px;
    }

    .verification-badge {
        position: absolute;
        bottom: -30px;
        right: 0;
        display: flex;
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-container {
        gap: 4rem;
    }

    .hero-visual {
        flex: 0 0 350px;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn:active {
        transform: scale(0.95);
    }

    .card-stack-item:active {
        transform: translateY(-5px);
    }

    /* Larger touch targets */
    .trust-item,
    .badge,
    .match-item {
        min-height: 44px; /* Apple's recommended minimum touch target */
    }

    .odd {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}

/* Reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
    .typewriter-text,
    .highlight,
    .floating-odds .odd-number,
    .live-pulse {
        animation: none;
    }

    .typewriter-text {
        border-right: none;
        width: auto;
    }

    .highlight {
        opacity: 1;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .card-stack-item {
        background: #1a202c;
        color: #e2e8f0;
    }

    .verification-badge {
        background: #1a202c;
        color: #e2e8f0;
    }
}


     /* Compact Bet Cards */
 .bet-card.compact {
     background: #fff;
     border-radius: 12px;
     box-shadow: 0 2px 8px rgba(0,0,0,0.08);
     border: 1px solid #e9ecef;
     transition: all 0.3s ease;
     overflow: hidden;
     margin-bottom: 1rem;
 }

.bet-card.compact:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    transform: translateY(-2px);
}

.bet-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid #e9ecef;
}

.bet-card-header.prob-very-high {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
}

.bet-card-header.prob-high {
    background: linear-gradient(135deg, #16abeb, #1ea8e3);
    color: white;
}

.bet-card-header.prob-medium {
    background: linear-gradient(135deg, #16abeb, #1ea8e3);
    color: #212529;
}

.bet-card-header.prob-low {
    background: linear-gradient(135deg, #16abeb, #1ea8e3);
    color: white;
}

.bet-badge {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.bet-odds {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
}

.odds-value {
    font-size: 1.25rem;
}

.odds-source {
    font-size: 0.75rem;
    opacity: 0.9;
}

.bet-card-body {
    padding: 1rem;
}

.fixture-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.75rem;
}

.team {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.team:last-child {
    justify-content: flex-end;

}

.team-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
    border-radius: 50%;
    background: #f8f9fa;
    padding: 2px;
    border: 1px solid #dee2e6;
}

.team-name {
    font-size: 0.875rem;
    font-weight: 600;
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.match-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.match-vs {
    font-size: 0.75rem;
    color: #6c757d;
    font-weight: 600;
}

.match-time {
    font-size: 0.75rem;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.league-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
}

.league-name, .match-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #495057;
}

.tip-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.tip-display {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.tip-label {
    font-size: 0.7rem;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tip-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #212529;
}

.tip-type {
    font-size: 0.75rem;
    color: #17a2b8;
    font-weight: 600;
}

.stats-display {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

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

.stat-label {
    font-size: 0.75rem;
    color: #6c757d;
}

.stat-value {
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.stat-value.very-high {
    background: #d4edda;
    color: #155724;
}

.stat-value.high {
    background: #d1ecf1;
    color: #0c5460;
}

.stat-value.medium {
    background: #fff3cd;
    color: #856404;
}

.stat-value.low {
    background: #f8d7da;
    color: #721c24;
}

.confidence-very-high { color: #28a745; }
.confidence-high { color: #20c997; }
.confidence-medium { color: #ffc107; }
.confidence-low { color: #dc3545; }

.quick-stats {
    display: flex;
    gap: 1rem;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 0.8rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #495057;
}

.bet-card-footer {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-top: 1px solid #e9ecef;
    background: #f8f9fa;
}

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    flex: 1;
}

/* View All Card */
.view-all-card {
    background: linear-gradient(135deg, var(--accent), #6610f2);
    color: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    width:100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.view-all-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(111, 66, 193, 0.3);
}

.view-all-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
}

.view-all-content i {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Section Styles */
.pro-tips-section {
    margin: 3rem 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.section-stats {
    display: flex;
    gap: 1.5rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
    font-weight: 600;
}

/* Bookmakers Section */
.bookmakers-section {
    margin: 3rem 0;
    padding: 2rem 0;

    border-radius: 12px;
}

.bookmakers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1.5rem;
}

.bookmaker-card {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.bookmaker-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.bookmaker-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.bookmaker-logo {
    height: 30px;
    object-fit: contain;
}

.bookmaker-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #ffc107;
    font-size: 0.8rem;
}

.rating-text {
    color: #6c757d;
    font-size: 0.75rem;
}

.bookmaker-name {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #212529;
}

.bookmaker-promo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #28a745;
    background: #d4edda;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.bookmaker-footer {
    margin-top: 1rem;
}

/* Loading States */
.loading-grid {
    display: grid;
    gap: 1rem;
}

.loading-skeleton {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem;
    animation: pulse 1.5s infinite;
}

.skeleton-header {
    height: 24px;
    background: #e9ecef;
    border-radius: 4px;
    margin-bottom: 1rem;
}

.skeleton-line {
    height: 12px;
    background: #e9ecef;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.skeleton-line.short {
    width: 60%;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Modals */
.stats-modal .modal-content {
    max-width: 600px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin: 1rem 0;
}

.stat-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: var(--accent);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* Free Tips Modal */
.free-tips-modal .modal-content {
    max-width: 800px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.modal-body {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.filters-section {
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.filter-group {
    margin-bottom: 1rem;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s ease;
}

.filter-btn:hover {
    border-color: var(--accent);
}

.filter-btn.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
}

.results-section {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.results-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--accent);
}

.free-tips-list {
    flex: 1;
    overflow-y: auto;
}

.free-tip-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 0.75rem;
    transition: all 0.2s ease;
}

.free-tip-item:hover {
    border-color: var(--accent);
    box-shadow: 0 2px 8px rgba(111, 66, 193, 0.1);
}

.free-tip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.free-tip-header .teams {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.free-tip-header img {
    width: 24px;
    height: 24px;
}

.tip-badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    text-transform: uppercase;
}

.tip-badge.premium {
    background: #ffc107;
    color: #212529;
}

.tip-badge.gr {
    background: #17a2b8;
    color: white;
}

.tip-badge.draw {
    background: var(--accent);
    color: white;
}

.free-tip-body {
    margin-bottom: 0.75rem;
}

.tip-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.league-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #6c757d;
}

.free-tip-footer {
    display: flex;
    gap: 0.5rem;
}

/* Notifications */
.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transform: translateY(100px);
    opacity: 0;
    color: #0a0e17;
    transition: all 0.3s ease;
    z-index: 1000;
    max-width: 300px;
}

.notification.show {
    transform: translateY(0);
    opacity: 1;
}

.notification.success {
    border-left: 4px solid #28a745;
}

.notification.warning {
    border-left: 4px solid #ffc107;
}

.notification.info {
    border-left: 4px solid #17a2b8;
}

.notification i {
    font-size: 1.25rem;
}

.notification.success i {
    color: #28a745;
}

.notification.warning i {
    color: #ffc107;
}

.notification.info i {
    color: #17a2b8;
}

/* Responsive */
@media (max-width: 768px) {
    .tip-stats-row {
        grid-template-columns: 1fr;
    }

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

    .quick-stats {
        flex-direction: column;
        gap: 0.5rem;
    }

    .section-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .section-stats {
        width: 100%;
        justify-content: space-between;
    }

    .bookmakers-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .notification {
        left: 20px;
        right: 20px;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .bookmakers-grid {
        grid-template-columns: 1fr;
    }

    .free-tip-header .teams {
        flex-wrap: wrap;
    }
}
/* Responsive Flex Footer */
.modal-footer {
    padding: 1rem;
    border-top: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: #f8f9fa;
}

.modal-footer .btn-group {
    display: flex;
    gap: 0.75rem;
    width: 100%;
}

.modal-footer .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.625rem;
    font-weight: 600;
}

/* Mobile: Stack buttons */
@media (max-width: 640px) {
    .modal-footer .btn-group {
        flex-direction: column;
    }
}
/* Filter Section Styles */
.filter-section {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    border: 1px solid #e9ecef;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.filter-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #495057;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-title i {
    color: var(--accent);
}

#clearFiltersBtn {
    font-size: 0.85rem;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    transition: all 0.2s;
}

#clearFiltersBtn:hover {
    background-color: #e9ecef;
}

.filter-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.filter-tag {
    padding: 0.5rem 1rem;
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #495057;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    user-select: none;
}

.filter-tag:hover {
    background: #f8f9fa;
    border-color: #adb5bd;
    transform: translateY(-1px);
}

.filter-tag.active {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
    box-shadow: 0 2px 8px rgba(111, 66, 193, 0.2);
}

.filter-tag .tag-count {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.125rem 0.375rem;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 700;
}

.filter-tag:not(.active) .tag-count {
    background: #e9ecef;
    color: #6c757d;
}

.filter-tag.all-tips {
    border-color: #28a745;
    color: #28a745;
}

.filter-tag.all-tips.active {
    background: #28a745;
    border-color: #28a745;
    color: white;
}

.filter-tag.premium {
    border-color: #ffc107;
    color: #e0a800;
}

.filter-tag.over-under {
    border-color: #17a2b8;
    color: #138496;
}

.filter-tag.btts {
    border-color: #dc3545;
    color: #c82333;
}

.filter-tag.draw {
    border-color: #6c757d;
    color: #545b62;
}

.loading-filters {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.spinner.small {
    width: 16px;
    height: 16px;
    border-width: 2px;
}

.no-filters {
    padding: 1rem;
    text-align: center;
    color: #6c757d;
    font-style: italic;
}

.active-filter-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: var(--accent);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-left: 0.5rem;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive styles */
@media (max-width: 768px) {
    .filter-section {
        padding: 1rem;
        margin-bottom: 1rem;
    }

    .filter-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .filter-tags {
        gap: 0.375rem;
    }

    .filter-tag {
        padding: 0.375rem 0.75rem;
        font-size: 0.8rem;
    }

    .filter-title {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .filter-tags {
        justify-content: center;
    }
}

/* Scrollable Modal */
.modal.stats-modal {
    z-index: 9999;
}

.modal.stats-modal .modal-content {
    max-height: 90vh;
    display: flex;
    flex-direction: column;
}

.modal.stats-modal .modal-body {
    flex: 1;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding-right: 5px;
    max-height: calc(90vh - 140px);
}

/* Scrollbar styling */
.modal.stats-modal .modal-body::-webkit-scrollbar {
    width: 6px;
}

.modal.stats-modal .modal-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.modal.stats-modal .modal-body::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 3px;
}

.modal.stats-modal .modal-body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Advanced Stats Container */
.advanced-stats-container {
    margin: 1.5rem 0;
}

.advanced-stats {
    margin: 0;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #dee2e6;
}

.advanced-stats h4 {
    margin-bottom: 1rem;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.no-stats {
    text-align: center;
    padding: 2rem;
    color: #6c757d;
    font-style: italic;
    background: white;
    border-radius: 8px;
    border: 1px dashed #dee2e6;
}

/* H2H Stats - Horizontal layout for all devices */
.h2h-stats {
    margin-bottom: 2rem;
}

.h2h-summary {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.h2h-badges {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: nowrap; /* Prevent wrapping */
    overflow-x: auto; /* Allow horizontal scroll if needed */
    padding-bottom: 5px;
    -webkit-overflow-scrolling: touch;
}

.h2h-badges::-webkit-scrollbar {
    height: 4px;
}

.h2h-badges::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 2px;
}

.h2h-badges::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 2px;
}

.h2h-badge {
    flex: 0 0 calc(33.333% - 0.34rem);
    padding: 0.75rem;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    min-height: 70px;
    justify-content: center;
    min-width: 100px; /* Minimum width for small devices */
}

.h2h-badge.home-win {
    background: linear-gradient(135deg, #d4edda, #c3e6cb);
    border: 2px solid #28a745;
    color: #155724;
}

.h2h-badge.draw {
    background: linear-gradient(135deg, #e2e3e5, #d6d8db);
    border: 2px solid #6c757d;
    color: #383d41;
}

.h2h-badge.away-win {
    background: linear-gradient(135deg, #f8d7da, #f5c6cb);
    border: 2px solid #dc3545;
    color: #721c24;
}

.h2h-label {
    font-size: 0.7rem;
    opacity: 0.9;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.h2h-value {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.2;
}

.h2h-percent {
    font-size: 0.75rem;
    font-weight: 700;
    background: rgba(0,0,0,0.1);
    padding: 0.125rem 0.25rem;
    border-radius: 3px;
    display: inline-block;
    width: fit-content;
    margin: 0 auto;
}

.h2h-chart {
    margin-top: 1rem;
}

.h2h-bar {
    height: 20px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    margin-bottom: 0.5rem;
    border: 1px solid #dee2e6;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.h2h-segment {
    height: 100%;
    transition: width 0.3s ease;
    position: relative;
}

.h2h-segment.home {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.h2h-segment.draw {
    background: linear-gradient(135deg, #6c757d, #a0aec0);
}

.h2h-segment.away {
    background: linear-gradient(135deg, #dc3545, #e83e8c);
}

.h2h-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #495057;
    font-weight: 600;
    text-align: center;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.h2h-labels span {
    flex: 1;
    min-width: 30%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Comparison Stats */
.comparison-stats {
    margin-top: 1.5rem;
}

.comparison-grid {
    display: grid;
    gap: 1rem;
}

.comparison-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.comparison-label {
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #495057;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comparison-values {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

.team-stat {
    flex: 1;
    text-align: center;
}

.stat-label {
    font-size: 0.75rem;
    color: #6c757d;
    margin-bottom: 0.5rem;
    display: block;
    font-weight: 600;
}

.form-rating {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    flex-wrap: wrap;
}

.form-result {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    transition: transform 0.2s;
    flex-shrink: 0;
}

.form-result:hover {
    transform: scale(1.1);
}

.form-result.win {
    background: #28a745;
    color: white;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3);
}

.form-result.loss {
    background: #dc3545;
    color: white;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3);
}

.form-result.draw {
    background: #ffc107;
    color: #212529;
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.3);
}

.form-result.unknown {
    background: #6c757d;
    color: white;
}

.no-form {
    color: #6c757d;
    font-style: italic;
    font-size: 0.9rem;
}

.comparison-progress {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.progress-container {
    height: 10px;
    background: #e9ecef;
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    display: flex;
    border: 1px solid #dee2e6;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.progress-bar {
    height: 100%;
    transition: width 0.3s ease;
}

.home-attack, .home-defense {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.away-attack, .away-defense {
    background: linear-gradient(135deg, #dc3545, #e83e8c);
}

.progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #495057;
    font-weight: 600;
}

/* Overall Rating */
.overall-rating .comparison-overall {
    margin-top: 0.5rem;
}

.overall-bar {
    height: 32px;
    background: #e9ecef;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    margin-bottom: 0.5rem;
    position: relative;
    border: 1px solid #dee2e6;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.overall-segment {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    color: white;
    transition: width 0.3s ease;
    position: relative;
    z-index: 1;
    min-width: 40px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.2);
}

.home-overall {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.away-overall {
    background: linear-gradient(135deg, #dc3545, #e83e8c);
}

.overall-percent {
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    background: rgba(0,0,0,0.2);
    backdrop-filter: blur(4px);
    font-size: 0.7rem;
    white-space: nowrap;
}

.overall-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    font-weight: 700;
    color: #495057;
}

/* Quick Stats Grid */
.quick-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.75rem;
    margin: 1.5rem 0;
}

.quick-stat {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.quick-stat:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.quick-stat .stat-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.quick-stat .stat-title {
    font-size: 0.7rem;
    color: #6c757d;
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.quick-stat .stat-value {
    font-size: 0.95rem;
    font-weight: 800;
    color: #212529;
    line-height: 1.2;
}

.quick-stat .stat-value.highlight {
    color: var(--accent);
}

.quick-stat .stat-value small {
    font-size: 0.7rem;
    color: #6c757d;
    font-weight: normal;
    margin-left: 0.25rem;
}

/* Match Analysis */
.match-analysis {
    margin-top: 1.5rem;
    padding: 1.25rem;
    background: white;
    border-radius: 10px;
    border: 1px solid #dee2e6;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.match-analysis h4 {
    margin-bottom: 0.75rem;
    color: #495057;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
}

.match-analysis p {
    line-height: 1.5;
    color: #495057;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.promo-banner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: linear-gradient(135deg, #19aae8, #1ea8e3);
    border-radius: 8px;
    color: #fff;
    margin-top: 1rem;
    border: 1px solid #ffc107;
    box-shadow: 0 2px 4px rgba(255, 193, 7, 0.2);
}

.promo-banner i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.promo-content {
    flex: 1;
    font-size: 0.85rem;
}

.promo-content strong {
    color: #212529;
}

.promo-content code {
    background: rgba(0,0,0,0.1);
    padding: 0.2rem 0.4rem;
    border-radius: 4px;
    font-weight: 700;
    margin: 0 0.2rem;
    font-family: monospace;
    font-size: 0.8rem;
    display: inline-block;
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .modal.stats-modal .modal-content {
        margin: 10px;
        max-height: 85vh;
    }

    .modal.stats-modal .modal-body {
        max-height: calc(85vh - 130px);
        padding: 15px;
    }

    /* Keep H2H badges in one row */
    .h2h-badges {
        gap: 0.25rem;
    }

    .h2h-badge {
        flex: 0 0 calc(33.333% - 0.17rem);
        min-height: 60px;
        padding: 0.5rem;
        min-width: 80px;
    }

    .h2h-label {
        font-size: 0.65rem;
    }

    .h2h-value {
        font-size: 1.1rem;
    }

    .h2h-percent {
        font-size: 0.7rem;
    }

    .h2h-labels span {
        font-size: 0.65rem;
        min-width: 25%;
    }

    /* Adjust comparison stats */
    .comparison-values {
        flex-direction: column;
        gap: 0.75rem;
    }

    .form-rating {
        justify-content: center;
    }

    .quick-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .quick-stat {
        padding: 0.5rem;
        gap: 0.5rem;
    }

    .quick-stat .stat-icon {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }

    .quick-stat .stat-title {
        font-size: 0.65rem;
    }

    .quick-stat .stat-value {
        font-size: 0.85rem;
    }

    .match-analysis {
        padding: 1rem;
    }

    .match-analysis p {
        font-size: 0.85rem;
    }

    .promo-banner {
        padding: 0.5rem;
        gap: 0.5rem;
    }

    .promo-content {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .modal.stats-modal .modal-content {
        margin: 5px;
    }

    .h2h-badges {
        gap: 0.2rem;
    }

    .h2h-badge {
        min-height: 55px;
        padding: 0.4rem;
    }

    .h2h-value {
        font-size: 1rem;
    }

    .quick-stats-grid {
        grid-template-columns: 1fr;
    }

    .overall-bar {
        height: 28px;
    }

    .overall-percent {
        font-size: 0.65rem;
        padding: 0.15rem 0.3rem;
    }
}

@media (max-width: 360px) {
    .h2h-badge {
        min-width: 70px;
    }

    .h2h-label {
        font-size: 0.6rem;
    }

    .h2h-value {
        font-size: 0.9rem;
    }
}

     /* Tabs Styles */
 .tabs-section {
     background: var(--white);
     border-radius: var(--border-radius);
     box-shadow: var(--shadow);
     margin-bottom: 2rem;
     overflow: hidden;
 }

.tabs-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--primary);
    border-bottom: 2px solid var(--accent);
}

.tabs-container {
    display: flex;
    gap: 0.5rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: var(--primary-light);
    border: 1px solid var(--primary-light);
    border-radius: 6px;
    color: var(--white);
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    transform: translateY(-1px);
}

.tab-btn.active {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white);
    box-shadow: var(--shadow);
}

.tab-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

.tab-btn.active .tab-badge {
    background: rgba(255, 255, 255, 0.3);
}

.tabs-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Dropdown Filter */
.filter-dropdown {
    position: relative;
}

.filter-select {
    padding: 0.75rem 1rem;
    padding-right: 2.5rem;
    background: var(--white);
    border: 1px solid var(--gray);
    border-radius: 6px;
    color: var(--black);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    min-width: 200px;
    transition: var(--transition);
}

.filter-select:hover {
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(0, 179, 255, 0.1);
}

.filter-select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 2px rgba(0, 179, 255, 0.2);
}

.filter-dropdown::after {
    content: '▾';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dark-gray);
    font-size: 1.2rem;
    pointer-events: none;
}

/* Tab Content */
.tab-content {
    padding: 1.5rem;
    background: var(--white);
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray);
}

/* List View (Default) */
.list-view {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tip-list-eitem-3 {
    background: var(--white);
    border-radius: var(--border-radius);
    border: 1px solid var(--gray);
    padding: 1.25rem;
    transition: var(--transition);
    cursor: pointer;
    box-shadow: var(--shadow);
}

.tip-list-eitem-3:hover {
    border-color: var(--accent);
    transform: translateX(4px);
    box-shadow: var(--shadow-lg);
}

.tip-list-eitem-3 .list-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--light-gray);
}

.tip-list-eitem-3 .league-badge {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.tip-list-eitem-3 .league-badge i {
    color: var(--accent);
}

.tip-list-eitem-3 .match-teams {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1.1rem;
    margin: 0.5rem 0;
    line-height: 1.4;
}

.tip-list-eitem-3 .match-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-gray);
    font-size: 0.85rem;
    font-weight: 500;
}

.tip-list-eitem-3 .match-time i {
    color: var(--accent);
}

.tip-list-eitem-3 .list-item-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.tip-list-eitem-3 .tip-details {
    flex: 1;
}

.tip-list-eitem-3 .tip-main {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.tip-list-eitem-3 .tip-type {
    font-weight: 700;
    color: var(--primary-dark);
    font-size: 1rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(0, 179, 255, 0.1), rgba(0, 179, 255, 0.05));
    border-radius: 6px;
    border: 1px solid rgba(0, 179, 255, 0.2);
}

.tip-list-eitem-3 .tip-category {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    background: var(--light-gray);
    color: var(--dark-gray);
    font-weight: 500;
}

.tip-list-eitem-3 .tip-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.tip-list-eitem-3 .stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--dark-gray);
    padding: 0.4rem 0.8rem;
    background: var(--light-gray);
    border-radius: 4px;
}

.tip-list-eitem-3 .stat i {
    color: var(--accent);
}

.tip-list-eitem-3 .stat.confidence-high {
    background: rgba(40, 167, 69, 0.1);
    color: var(--success);
}

.tip-list-eitem-3 .stat.confidence-medium {
    background: rgba(255, 193, 7, 0.1);
    color: var(--warning);
}

.tip-list-eitem-3 .stat.confidence-low {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger);
}

.tip-list-eitem-3 .list-item-actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.tip-list-eitem-3 .list-item-actions .btn-outline {
    background: var(--white);
    border: 1px solid var(--gray);
    color: var(--dark-gray);
}

.tip-list-eitem-3 .list-item-actions .btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 179, 255, 0.05);
}

.tip-list-eitem-3 .list-item-actions .btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border: none;
    color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 179, 255, 0.3);
}

.tip-list-eitem-3 .list-item-actions .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 179, 255, 0.4);
}

/* Slips Grid */
.slips-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.slip-card {
    background: var(--white);
    border-radius: var(--border-radius);
    border: 1px solid var(--gray);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.slip-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.slip-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-bottom: 2px solid var(--accent);
}

.slip-badge {
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
}

.slip-badge.active {
    background: var(--success);
    color: var(--white);
}

.slip-badge.pending {
    background: var(--warning);
    color: var(--black);
}

.slip-badge i {
    color: var(--accent);
}

.slip-odds .odds-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    display: block;
    margin-bottom: 0.25rem;
}

.slip-odds .odds-value {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--accent);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.slip-card-body {
    padding: 1.5rem;
}

.slip-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--primary-dark);
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--light-gray);
}

.slip-tips {
    margin-bottom: 1.5rem;
}

.slip-tip {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 6px;
    margin-bottom: 0.75rem;
    border-left: 3px solid var(--accent);
}

.slip-tip:last-child {
    margin-bottom: 0;
}

.slip-tip i {
    color: var(--success);
    font-size: 1rem;
}

.slip-tip i.pending {
    color: var(--warning);
}

.slip-tip i.loss {
    color: var(--danger);
}

.tip-text {
    flex: 1;
    font-size: 0.95rem;
    color: var(--primary-dark);
    font-weight: 500;
}

.tip-odds {
    font-weight: 700;
    color: var(--accent);
    font-size: 1rem;
}

.more-tips {
    text-align: center;
    padding: 0.75rem;
    color: var(--dark-gray);
    font-size: 0.9rem;
    cursor: pointer;
    background: var(--light-gray);
    border-radius: 6px;
    margin-top: 0.5rem;
    transition: var(--transition);
}

.more-tips:hover {
    color: var(--accent);
    background: rgba(0, 179, 255, 0.1);
}

.slip-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.slip-stats .stat {
    text-align: center;
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
    border: 1px solid var(--gray);
}

.stat-label {
    font-size: 0.8rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.stat-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary-dark);
}

.stat-value.high {
    color: var(--success);
}
.stat-value.medium {
    color: var(--warning);
}
.stat-value.low {
    color: var(--danger);
}

.win-amount {
    color: var(--success) !important;
    background: rgba(40, 167, 69, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.slip-card-footer {
    padding: 1.25rem 1.5rem;
    background: var(--light-gray);
    border-top: 1px solid var(--gray);
}

.slip-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--gray);
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--dark-gray);
}

.meta-item i {
    color: var(--accent);
}

.slip-actions {
    display: flex;
    gap: 1rem;
}

.slip-actions .btn-outline {
    background: var(--white);
    border: 1px solid var(--gray);
    color: var(--dark-gray);
}

.slip-actions .btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 179, 255, 0.05);
}

.slip-actions .btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border: none;
    color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 179, 255, 0.3);
}

.slip-actions .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 179, 255, 0.4);
}

/* Trending Grid */
.trending-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.trending-card {
    background: var(--white);
    border-radius: var(--border-radius);
    border: 1px solid var(--gray);
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.trending-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.trending-header {
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--accent);
}

.trending-rank {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.trending-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trending-badge i {
    color: var(--accent);
}

.trending-body {
    padding: 1.5rem;
}

.trending-match {
    margin-bottom: 1.5rem;
}

.trending-match .match-teams {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.trending-match .match-league {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.trending-match .match-league i {
    color: var(--accent);
}

.trending-tip {
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 3px solid var(--accent);
}

.trending-tip .tip-label {
    font-size: 0.8rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trending-tip .tip-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.trending-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.trending-stats .stat {
    text-align: center;
    padding: 1rem;
    background: var(--white);
    border-radius: 8px;
    border: 1px solid var(--gray);
}

.trending-stats .stat-label {
    font-size: 0.8rem;
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
}

.trending-stats .stat-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-dark);
}

.trending-stats .stat-value.high {
    color: var(--success);
}

.trending-actions {
    display: flex;
    gap: 0.75rem;
}

.trending-actions .btn-outline {
    background: var(--white);
    border: 1px solid var(--gray);
    color: var(--dark-gray);
}

.trending-actions .btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(0, 179, 255, 0.05);
}

.trending-actions .btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border: none;
    color: var(--white);
    box-shadow: 0 2px 8px rgba(0, 179, 255, 0.3);
}

.trending-actions .btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 179, 255, 0.4);
}

/* Loading States */
.loading-slips {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 1.5rem;
}

.loading-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.loading-list-item {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    min-height: 120px;
    border: 1px solid var(--gray);
}

.skeleton-line {
    height: 14px;
    background: linear-gradient(90deg, var(--light-gray) 25%, var(--gray) 50%, var(--light-gray) 75%);
    background-size: 200% 100%;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    animation: pulse 1.5s infinite;
}

.skeleton-line.short {
    width: 60%;
}

.skeleton-line.very-short {
    width: 40%;
}

.loading-slip {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    text-align: center;
    border: 1px solid var(--gray);
    box-shadow: var(--shadow);
}

.loading-slip .spinner {
    border: 3px solid var(--light-gray);
    border-top: 3px solid var(--accent);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 0 auto 1.5rem;
}

.empty-slips, .empty-trending, .empty-tips {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: var(--white);
    border-radius: var(--border-radius);
    border: 2px dashed var(--gray);
}

.empty-slips i, .empty-trending i, .empty-tips i {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark-gray);
    opacity: 0.5;
}

.empty-slips h3, .empty-trending h3, .empty-tips h3 {
    color: var(--primary-dark);
    margin-bottom: 0.75rem;
}

.empty-slips p, .empty-trending p, .empty-tips p {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .tabs-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }

    .tabs-container {
        width: 100%;
        overflow-x: auto;
        padding-bottom: 0.5rem;
    }

    .tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.85rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .tabs-actions {
        width: 100%;
        justify-content: space-between;
    }

    .filter-dropdown {
        width: 100%;
    }

    .filter-select {
        width: 100%;
        min-width: auto;
        font-size: 0.85rem;
    }

    .slips-grid, .trending-grid {
        grid-template-columns: 1fr;
    }

    .loading-slips {
        grid-template-columns: 1fr;
    }

    .slip-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .tip-list-eitem-3 .list-item-body {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .tip-list-eitem-3 .list-item-actions {
        width: 100%;
        justify-content: center;
    }

    .tip-list-eitem-3 .list-item-actions .btn {
        flex: 1;
        text-align: center;
    }

    .slip-actions, .trending-actions {
        flex-direction: column;
    }

    .slip-actions .btn, .trending-actions .btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .tab-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }

    .tab-badge {
        padding: 0.2rem 0.4rem;
        font-size: 0.7rem;
    }

    .slip-stats {
        grid-template-columns: 1fr;
    }

    .slip-meta {
        flex-direction: column;
        gap: 0.75rem;
        align-items: flex-start;
    }


    .trending-stats {
        grid-template-columns: 1fr;
    }
}
/* Tip List Item - Responsive Layout */
.tip-list-item {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.tip-list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Header Section */
.list-item-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.match-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.league-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    background: #f3f4f6;
    padding: 0.25rem 0.75rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #6b7280;
    width: fit-content;
}

.match-teams {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.4;
}

.match-time {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.875rem;
    color: #6b7280;
}

/* Body Section */
.list-item-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tip-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.tip-main {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

.tip-type {
    background: var(--accent);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
}

.tip-category {
    background: #f3f4f6;
    color: #374151;
    padding: 0.375rem 0.875rem;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
}

.tip-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.tip-stats .stat {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: #6b7280;
}

.tip-stats .stat i {
    color: #3b82f6;
}

/* Actions Section */
.list-item-actions {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.list-item-actions .btn {
    flex: 1;
    min-width: 120px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.625rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-outline {
    background: white;
    border: 1px solid #d1d5db;
    color: #374151;
}

.btn-outline:hover {
    background: #f9fafb;
    border-color: #9ca3af;
}

.btn-primary {
    background: #3b82f6;
    color: white;
}

.btn-primary:hover {
    background: #2563eb;
}

/* Tablet - 768px and up */
@media (min-width: 768px) {
    .tip-list-item {
        padding: 1.25rem;
    }

    .list-item-body {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }

    .tip-details {
        flex: 1;
    }

    .list-item-actions {
        flex-shrink: 0;
        flex-wrap: nowrap;
    }

    .list-item-actions .btn {
        flex: 0 0 auto;
        min-width: 100px;
    }
}

/* Desktop - 1024px and up */
@media (min-width: 1024px) {
    .tip-list-item {
        padding: 1.5rem;
    }

    .match-info {
        flex-direction: row;
        align-items: center;
        gap: 1rem;
    }

    .match-teams {
        flex: 1;
    }

    .match-time {
        white-space: nowrap;
    }

    .tip-main {
        flex-wrap: nowrap;
    }

    .tip-stats {
        gap: 1.5rem;
    }

    .list-item-actions .btn {
        min-width: 120px;
    }
}

/* Small devices only - better spacing */
@media (max-width: 767px) {
    .tip-list-item {
        padding: 0.875rem;
    }

    .match-teams {
        font-size: 1rem;
    }

    .list-item-actions .btn {
        font-size: 0.8125rem;
        padding: 0.5rem 0.75rem;
    }
}

     /* Compact Slip Card Styles */
 .slip-card.compact-card {
     background: white;
     border-radius: 12px;
     box-shadow: 0 2px 8px rgba(0,0,0,0.08);
     overflow: hidden;
     transition: transform 0.2s, box-shadow 0.2s;
     border: 1px solid #eaeaea;
     margin-bottom: 12px;
 }

.slip-card.compact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
}

.compact-header {
    padding: 12px 16px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bookmaker-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.bookmaker-logo-container {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: white;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.bookmaker-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slip-type-tag {
    background: rgba(255,255,255,0.2);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.slip-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.slip-date {
    font-size: 11px;
    opacity: 0.9;
}

.slip-status {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
}

.slip-status.active {
    background: #10b981;
    color: white;
}

.slip-status.pending {
    background: #f59e0b;
    color: white;
}

.slip-status.completed {
    background: #6b7280;
    color: white;
}

.compact-body {
    padding: 16px;
}

.info-grid-compact {
    display: grid;
    gap: 10px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px solid #f3f4f6;
}

.info-row:last-child {
    border-bottom: none;
}

.info-label-compact {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #6b7280;
    flex: 1;
}

.info-label-compact i {
    width: 14px;
    text-align: center;
    font-size: 11px;
}

.label-text {
    font-weight: 500;
}

.info-value-compact {
    font-size: 13px;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-value-compact.with-action {
    display: flex;
    align-items: center;
    gap: 8px;
}

.code-value, .promo-value {
    font-family: 'Courier New', monospace;
    letter-spacing: 0.5px;
}

.odds-display {
    color: #10b981;
    font-weight: 700;
    font-size: 14px;
}

.win-amount {
    color: #3b82f6;
    font-weight: 700;
}

.icon-btn {
    background: none;
    border: none;
    color: #9ca3af;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 12px;
}

.icon-btn:hover {
    color: #3b82f6;
    background: #eff6ff;
}

.tips-preview {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed #e5e7eb;
    font-size: 11px;
}

.tips-count, .win-chance {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 6px;
    background: #f9fafb;
    color: #6b7280;
}

.win-chance.high {
    background: #d1fae5;
    color: #065f46;
}

.win-chance.medium {
    background: #fef3c7;
    color: #92400e;
}

.win-chance.low {
    background: #fee2e2;
    color: #991b1b;
}

.compact-footer {
    padding: 12px 16px;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
}

.action-buttons {
    display: flex;
    gap: 8px;
}

.btn-compact {
    flex: 1;
    padding: 8px 12px;
    border: none;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.2s;
    text-decoration: none;
    color: #374151;
    background: white;
    border: 1px solid #d1d5db;
}

.btn-compact:hover {
    background: #f3f4f6;
    transform: translateY(-1px);
}

.btn-compact.primary-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.btn-compact.primary-btn:hover {
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%);
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.btn-compact i {
    font-size: 11px;
}

.btn-text {
    font-size: 11px;
}

/* Responsive Design */
@media (max-width: 480px) {
    .compact-header {
        padding: 10px 12px;
    }

    .compact-body {
        padding: 12px;
    }

    .info-label-compact {
        font-size: 11px;
    }

    .info-value-compact {
        font-size: 12px;
    }

    .btn-compact {
        padding: 6px 8px;
    }

    .btn-text {
        display: none;
    }

    .btn-compact i {
        margin: 0;
        font-size: 12px;
    }
}

@media (max-width: 360px) {
    .slip-type-tag {
        font-size: 10px;
        padding: 2px 6px;
    }

    .slip-date, .slip-status {
        font-size: 10px;
    }
}

/* Single Offer Modal Styles */
.modal#freeBetsModal .modal-content {
    max-width: 450px;
    max-height: 85vh;
    overflow: hidden;
    border-radius: 15px;
    border: 2px solid var(--accent);
    box-shadow: 0 10px 30px rgba(111, 66, 193, 0.3);
}

.modal-header {
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    padding: 1.5rem;
    position: relative;
}

.offer-badge-large {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.offer-badge-large i {
    color: #ffc107;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.3);
}

/* Offer Container */
.bookmaker-offer-container {
    padding: 0;
}

.loading-offer {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
}

.loading-offer .spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

/* Single Offer Card */
.single-offer-card {
    background: white;
}

.offer-banner {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 1.5rem;
    border-bottom: 1px solid #dee2e6;
}

.offer-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.bookmaker-logo-large {

    height: 60px;
    border-radius: 12px;
    object-fit: cover;
    background: white;
    padding: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border: 2px solid white;
}

.offer-header-content {
    flex: 1;
}

.bookmaker-name-large {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #212529;
}

.bookmaker-rating-large {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.bookmaker-rating-large i {
    color: #ffc107;
    font-size: 0.9rem;
}

.rating-text {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
}

.hot-offer-tag {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    animation: pulse 2s infinite;
}

/* Offer Content */
.offer-content {
    padding: 1.5rem;
}

.offer-title-section {
    margin-bottom: 1.5rem;
}

.offer-main-title {
    margin: 0 0 0.75rem 0;
    font-size: 1.25rem;
    color: #212529;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.offer-main-title i {
    color: #ffc107;
}

.offer-description {
    margin: 0;
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Promo Code Section */
.promo-code-section {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    padding: 1.5rem;
    border-radius: 10px;
    margin: 1.5rem 0;
    border: 2px dashed #dee2e6;
    text-align: center;
}

.promo-code-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
}

.promo-code-label i {
    color: var(--accent);
}

.promo-code-display {
    font-family: 'Courier New', monospace;
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    background: white;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    letter-spacing: 2px;
    border: 2px solid #dee2e6;
    transition: all 0.3s;
}

.promo-code-display.highlight {
    background: #d4edda;
    border-color: #28a745;
    color: #155724;
    animation: pulse 0.5s;
}

.btn-copy-promo-single {
    background: var(--accent);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
    width: 100%;
    justify-content: center;
    font-size: 1rem;
}

.btn-copy-promo-single:hover {
    background: var(--accent-light);
    transform: translateY(-2px);
}

.btn-copy-promo-single.copied {
    background: #28a745;
}

/* Terms & Conditions */
.offer-terms {
    background: #fff3cd;
    border-radius: 8px;
    padding: 1rem;
    margin: 1rem 0;
    border-left: 4px solid #ffc107;
}

.terms-header {
    font-weight: 600;
    color: #856404;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terms-content {
    font-size: 0.85rem;
    color: #856404;
    line-height: 1.5;
}

.offer-expiry-banner {
    background: #dc3545;
    color: white;
    padding: 0.75rem;
    border-radius: 6px;
    text-align: center;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: 1rem 0;
}

.offer-expiry-banner i {
    font-size: 1.1rem;
}

/* Offer Stats */
.offer-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #dee2e6;
}

.stat-item {
    text-align: center;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-item i {
    font-size: 1.25rem;
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.stat-value {
    font-weight: 700;
    font-size: 0.9rem;
    color: #212529;
}

.stat-label {
    font-size: 0.75rem;
    color: #6c757d;
    margin-top: 0.125rem;
}

/* Modal Footer */
.modal-footer-single {
    display: flex;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: #f8f9fa;
    border-top: 1px solid #dee2e6;
}

.modal-footer-single .btn {
    flex: 1;
    padding: 0.875rem 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.modal-footer-single .btn-outline {
    background: white;
    border: 2px solid #6c757d;
    color: #6c757d;
}

.modal-footer-single .btn-outline:hover {
    background: #6c757d;
    color: white;
}

.modal-footer-single .btn-primary {
    background: linear-gradient(135deg, #28a745, #20c997);
    border: none;
    color: white;
}

.modal-footer-single .btn-primary:hover {
    background: linear-gradient(135deg, #218838, #1e9e8a);
    transform: translateY(-1px);
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .modal#freeBetsModal .modal-content {
        max-width: 95%;
        max-height: 90vh;
        margin: 10px;
    }

    .offer-header {
        flex-direction: column;
        text-align: center;
    }

    .bookmaker-name-large {
        font-size: 1.25rem;
    }

    .promo-code-display {
        font-size: 1.5rem;
        padding: 0.75rem;
    }

    .offer-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .modal-footer-single {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .modal-header {
        padding: 1rem;
    }

    .offer-content {
        padding: 1rem;
    }

    .promo-code-section {
        padding: 1rem;
    }

    .offer-main-title {
        font-size: 1.1rem;
    }
}
/* ==================== FIXTURE CARD LAYOUT ==================== */

/* Trending Cards */
.trending-card, .tip-modern-item {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    margin-bottom: 20px;
    border: 1px solid var(--gray);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

.trending-card:hover, .tip-modern-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.trending-card.bet-of-day-card {
    border: 2px solid var(--accent);
    background: linear-gradient(145deg, #f8fcff, #e8f7ff);
}

/* Trending Card Header */
.trending-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-gray);
}

.trend-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
}

.trend-level {
    display: flex;
    gap: 2px;
}

.trend-level i {
    color: var(--gray);
    font-size: 12px;
}

.trend-level i.active {
    color: var(--accent);
}

.trend-text {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trending-rank {
    display: flex;
    align-items: center;
}

.rank-badge {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.trending-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    padding: 8px 16px;
    border-radius: 20px;
    color: white;
}

.badge-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.badge-text {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-number {
    font-weight: bold;
    font-size: 14px;
    margin-left: 4px;
}

.trending-stats {
    display: flex;
    align-items: center;
    gap: 12px;
}

.confidence-badge {
    background: var(--confidence-color, var(--accent));
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.odds-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: var(--light-gray);
    padding: 6px 12px;
    border-radius: 8px;
    border: 2px solid var(--gray);
}

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

.odds-value {
    font-size: 16px;
    font-weight: bold;
    color: var(--primary);
}

/* Fixture Display */
.fixture-display {
    margin-bottom: 20px;
}

.fixture-teams {
    margin-bottom: 15px;
}

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

.team-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-logo {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    border: 2px solid var(--light-gray);
    overflow: hidden;
    padding: 4px;
}

.team-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.team-name {
    font-weight: 600;
    font-size: 13px;
    color: var(--black);
    line-height: 1.3;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.match-vs {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    min-width: 70px;
}

.vs-text {
    font-weight: bold;
    color: var(--primary);
    font-size: 14px;
    background: var(--light-gray);
    padding: 4px 12px;
    border-radius: 20px;
}

.match-time {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: var(--dark-gray);
    background: var(--light-gray);
    padding: 4px 10px;
    border-radius: 15px;
}

.league-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--light-gray);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--primary);
    margin-top: 15px;
}

.league-info i {
    color: var(--accent);
}

/* Tip Display */
.tip-display {
    background: var(--light-gray);
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    border-left: 4px solid var(--accent);
}

.tip-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.tip-type {
    background: var(--primary);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
}

.tip-odds {
    font-weight: bold;
    font-size: 16px;
    color: var(--primary);
}

.tip-stats {
    display: flex;
    gap: 15px;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--dark-gray);
}

.stat-item i {
    color: var(--accent);
    font-size: 12px;
}

/* Modern Tip Item Styles */
.modern-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.match-header-modern {
    flex: 1;
}

.league-display {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.league-name {
    font-weight: 600;
    color: var(--primary);
    font-size: 14px;
}

.match-date {
    font-size: 12px;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    gap: 5px;
}

.match-teams-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.team-modern {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.team-logo-small {
    width: 32px;
    height: 32px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    border: 2px solid var(--light-gray);
    overflow: hidden;
    padding: 3px;
}

.team-logo-small img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.team-name-modern {
    font-weight: 600;
    font-size: 12px;
    color: var(--black);
    line-height: 1.3;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.vs-modern {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    min-width: 50px;
}

.vs-text {
    font-weight: bold;
    color: var(--primary);
    font-size: 12px;
    background: var(--light-gray);
    padding: 2px 8px;
    border-radius: 12px;
}

.match-time-modern {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--dark-gray);
    background: var(--light-gray);
    padding: 2px 8px;
    border-radius: 12px;
}

.status-badge {
    background: var(--confidence-color, var(--accent));
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

/* Tip Details Modern */
.tip-details-modern {
    background: var(--light-gray);
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    border: 1px solid var(--gray);
}

.tip-main-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.tip-display-modern {
    display: flex;
    flex-direction: column;
}

.tip-label-modern {
    font-size: 11px;
    color: var(--dark-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tip-value-modern {
    font-size: 16px;
    font-weight: bold;
    color: var(--primary);
    margin-top: 4px;
}

.odds-display-modern {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.odds-label-modern {
    font-size: 11px;
    color: var(--dark-gray);
    font-weight: 600;
    text-transform: uppercase;
}

.odds-value-modern {
    font-size: 20px;
    font-weight: bold;
    color: var(--success);
    line-height: 1;
}

/* Probability Display Modern */
.probability-display-modern {
    margin-bottom: 15px;
}

.probability-bar {
    height: 8px;
    background: var(--gray);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.probability-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.5s ease;
}

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

.probability-value {
    font-weight: bold;
    font-size: 14px;
    color: var(--primary);
}

.probability-label {
    font-size: 12px;
    color: var(--dark-gray);
}

/* Category Tag */
.category-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--light-gray);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    color: var(--primary);
    border: 1px solid var(--gray);
}

/* Quick Stats Modern */
.quick-stats-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.stat-modern {
    background: white;
    padding: 12px;
    border-radius: var(--border-radius);
    border: 1px solid var(--gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-modern i {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-weight: bold;
    font-size: 16px;
    color: var(--primary);
    line-height: 1;
}

.stat-label {
    font-size: 11px;
    color: var(--dark-gray);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Card Footer */
.trending-card-footer, .modern-item-footer {
    display: flex;
    gap: 10px;
    padding-top: 15px;
    border-top: 1px solid var(--gray);
}

.trending-card-footer .btn,
.modern-item-footer .btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 13px;
}

/* Probability Circle */
.probability-circle {
    position: relative;
    width: 50px;
    height: 50px;
    margin-left: 10px;
}

.probability-circle svg {
    transform: rotate(-90deg);
    width: 50px;
    height: 50px;
}

.probability-bg {
    fill: none;
    stroke: var(--gray);
    stroke-width: 6;
}

.probability-fill {
    fill: none;
    stroke: var(--success);
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dasharray 0.5s ease;
}

.probability-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-weight: bold;
    font-size: 12px;
    color: var(--primary);
}

/* Analysis Preview */
.analysis-preview {
    background: var(--light-gray);
    padding: 10px 12px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent);
    font-size: 12px;
    color: var(--primary);
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
}

.analysis-preview i {
    color: var(--accent);
    font-size: 12px;
    margin-top: 2px;
}

/* Tip Details for Bet of the Day */
.tip-details {
    background: var(--light-gray);
    padding: 15px;
    border-radius: var(--border-radius);
    margin-top: 15px;
}

.tip-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.tip-type-display {
    display: flex;
    flex-direction: column;
}

.tip-label {
    font-size: 11px;
    color: var(--dark-gray);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tip-value {
    font-size: 16px;
    font-weight: bold;
    color: var(--primary);
    margin-top: 4px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .team-row {
        flex-direction: column;
        gap: 12px;
    }

    .team-item {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        padding: 10px;
        background: var(--light-gray);
        border-radius: var(--border-radius);
    }

    .team-logo {
        margin-bottom: 0;
        margin-right: 10px;
        width: 36px;
        height: 36px;
    }

    .team-name {
        flex: 1;
        text-align: right;
        font-size: 12px;
    }

    .match-vs {
        flex-direction: row;
        min-width: auto;
        justify-content: center;
        gap: 10px;
        padding: 10px;
        background: var(--light-gray);
        border-radius: var(--border-radius);
        width: 100%;
    }

    .trending-card-header {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .trending-stats {
        width: 100%;
        display: flex;
        justify-content: space-between;
    }

    .quick-stats-modern {
        grid-template-columns: 1fr;
    }

    .tip-main, .tip-main-modern {
        flex-direction: column;
        gap: 12px;
        align-items: flex-start;
    }

    .odds-display-modern {
        align-items: flex-start;
    }

    .trending-card-footer, .modern-item-footer {
        flex-direction: column;
    }

    .match-teams-modern {
        flex-direction: column;
        gap: 12px;
    }

    .team-modern {
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
        padding: 8px;
        background: var(--light-gray);
        border-radius: var(--border-radius);
    }

    .team-logo-small {
        margin-bottom: 0;
        margin-right: 8px;
    }

    .team-name-modern {
        flex: 1;
        text-align: right;
    }

    .vs-modern {
        flex-direction: row;
        width: 100%;
        justify-content: center;
        padding: 8px;
        background: var(--light-gray);
        border-radius: var(--border-radius);
    }
}

/* Loading States */
.loading-modern, .loading-trending-modern {
    display: grid;
    gap: 20px;
}

.modern-skeleton, .trending-skeleton {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 20px;
    border: 1px solid var(--gray);
}

.skeleton-header {
    height: 40px;
    background: var(--gray);
    border-radius: var(--border-radius);
    margin-bottom: 20px;
}

.skeleton-body {
    padding: 10px 0;
}

.skeleton-line {
    height: 12px;
    background: var(--gray);
    border-radius: 6px;
    margin-bottom: 10px;
}

.skeleton-line.short {
    width: 60%;
}

.skeleton-line.very-short {
    width: 40%;
}

/* Error States */
.error-modern {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    border: 2px solid var(--gray);
}

.error-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--danger), #c53030);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    font-size: 24px;
}

.error-modern h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary);
}

.error-modern p {
    color: var(--dark-gray);
    margin-bottom: 20px;
    font-size: 14px;
}

/* Empty States */
.empty-tips {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    border: 2px dashed var(--gray);
}

.empty-tips.premium-card {
    background: linear-gradient(145deg, #f8fcff, #e8f7ff);
    border: 2px dashed var(--accent);
}

.empty-icon, .premium-icon {
    width: 60px;
    height: 60px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--dark-gray);
    font-size: 24px;
}

.premium-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
}

.empty-illustration {
    width: 80px;
    height: 80px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--dark-gray);
    font-size: 32px;
}

.empty-tips h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: var(--primary);
}

.empty-tips p {
    color: var(--dark-gray);
    margin-bottom: 20px;
    font-size: 14px;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    border: none;
}

.btn-gradient {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
}

.btn-gradient:hover {
    background: linear-gradient(135deg, var(--accent-light), var(--accent));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(22, 43, 70, 0.2);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--gray);
    color: var(--primary);
}

.btn-outline:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}
/* ==================== STORIES SECTION ==================== */

.stories-section {
    padding: 30px 0;
    background: var(--white);
}

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

.section-header h2 {
    font-size: 24px;
    color: var(--primary);
    font-weight: 700;
    position: relative;
    padding-left: 15px;
}

.section-header h2:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: linear-gradient(to bottom, var(--accent), var(--accent-light));
    border-radius: 2px;
}

.view-all-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
    padding: 8px 16px;
    border-radius: 20px;
    background: var(--light-gray);
    transition: var(--transition);
}

.view-all-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Stories Grid */
.stories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

/* Story Card Modern */
.story-card.modern-story {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 300px;
    cursor: pointer;
}

.story-card.modern-story:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.story-image-container {
    position: relative;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.story-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.story-card.modern-story:hover .story-image {
    transform: scale(1.05);
}

.story-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60%;
    background: linear-gradient(to top, rgba(22, 43, 70, 0.95), transparent);
}

.story-overlay-modern {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    color: var(--white);
    z-index: 2;
}

.story-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.story-badge i {
    font-size: 14px;
    color: var(--accent);
}

.story-title-modern {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.story-meta-modern {
    display: flex;
    gap: 20px;
    font-size: 13px;
    opacity: 0.9;
}

.league-badge-modern, .time-badge-modern {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.league-badge-modern i, .time-badge-modern i {
    font-size: 12px;
    color: var(--accent);
}

.premium-badge-modern {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(255, 107, 107, 0.3);
}

/* Story Card Hover Effects */
.story-card.modern-story:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(22, 43, 70, 0.3), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.story-card.modern-story:hover:before {
    opacity: 1;
}

/* ==================== STATS SECTION ==================== */

.stats-section {
    padding: 40px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e8f0f8 100%);
    border-radius: var(--border-radius);
    margin: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    border: 1px solid var(--gray);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent);
}

.stat-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    border-radius: 2px 2px 0 0;
}

.stat-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    box-shadow: 0 8px 20px rgba(22, 43, 70, 0.2);
}

.stat-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 10px;
    line-height: 1;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.stat-value span {
    font-size: 20px;
    font-weight: 600;
    color: var(--dark-gray);
}

.stat-label {
    font-size: 16px;
    color: var(--dark-gray);
    font-weight: 600;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-description {
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.5;
    opacity: 0.8;
}

/* Live Stats */
.stat-card.live-stat {
    border: 2px solid var(--accent);
    background: linear-gradient(145deg, #fff5f5, #fff);
}

.stat-card.live-stat .stat-icon {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(255, 107, 107, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 107, 0);
    }
}

/* Stats Highlights */
.stats-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.highlight-item {
    background: var(--white);
    padding: 20px;
    border-radius: var(--border-radius);
    border-left: 4px solid var(--accent);
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    gap: 15px;
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow);
}

.highlight-icon {
    width: 50px;
    height: 50px;
    background: var(--light-gray);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 20px;
    flex-shrink: 0;
}

.highlight-content {
    flex: 1;
}

.highlight-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 5px;
}

.highlight-label {
    font-size: 13px;
    color: var(--dark-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Stats Progress Bars */
.stats-progress {
    margin-top: 40px;
    padding: 30px;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.progress-item {
    margin-bottom: 25px;
}

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

.progress-label {
    font-weight: 600;
    color: var(--primary);
    font-size: 15px;
}

.progress-value {
    font-weight: 700;
    color: var(--accent);
    font-size: 16px;
}

.progress-bar {
    height: 8px;
    background: var(--light-gray);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(to right, var(--primary), var(--accent));
    position: relative;
    transition: width 1s ease;
}

.progress-fill:after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 20px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.3));
}

/* Stats Comparison */
.stats-comparison {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.comparison-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    border: 1px solid var(--gray);
}

.comparison-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-gray);
}

.comparison-header i {
    color: var(--accent);
    font-size: 20px;
}

.comparison-header h4 {
    font-size: 18px;
    color: var(--primary);
    font-weight: 700;
}

.comparison-content {
    display: grid;
    gap: 15px;
}

.comparison-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
}

.comparison-label {
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 14px;
}

.comparison-numbers {
    display: flex;
    align-items: center;
    gap: 20px;
}

.home-stat, .away-stat {
    font-weight: 700;
    font-size: 16px;
    min-width: 40px;
    text-align: center;
}

.home-stat {
    color: var(--primary);
}

.away-stat {
    color: var(--accent);
}

/* Responsive Design */
@media (max-width: 768px) {
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .section-header h2 {
        font-size: 20px;
    }

    .view-all-btn {
        align-self: stretch;
        text-align: center;
        justify-content: center;
    }

    .stories-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .story-card.modern-story {
        height: 280px;
    }

    .story-title-modern {
        font-size: 16px;
    }

    .story-meta-modern {
        flex-direction: column;
        gap: 10px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-value {
        font-size: 30px;
    }

    .stats-highlights {
        grid-template-columns: 1fr;
    }

    .stats-comparison {
        grid-template-columns: 1fr;
    }

    .comparison-card {
        padding: 20px;
    }

    .stat-card {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .story-overlay-modern {
        padding: 20px;
    }

    .story-title-modern {
        font-size: 15px;
        -webkit-line-clamp: 3;
    }

    .stat-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }

    .stat-value {
        font-size: 28px;
    }

    .highlight-item {
        padding: 15px;
    }

    .highlight-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
}

/* Loading States for Stories */
.stories-loading {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.story-skeleton {
    height: 300px;
    background: var(--white);
    border-radius: var(--border-radius);
    position: relative;
    overflow: hidden;
}

.story-skeleton:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Empty State for Stories */
.stories-empty {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: var(--border-radius);
    border: 2px dashed var(--gray);
}

.empty-stories-icon {
    width: 80px;
    height: 80px;
    background: var(--light-gray);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--dark-gray);
    font-size: 32px;
}

.stories-empty h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 10px;
}

.stories-empty p {
    color: var(--dark-gray);
    margin-bottom: 20px;
    font-size: 15px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}
.text-white{
    color:#fff;
}

/* Auth Modal Styles */
.auth-modal-content {
    max-width: 450px;
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.auth-header {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    padding: 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.auth-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100"><path fill="rgba(255,255,255,0.1)" d="M0,0 L1000,0 L1000,100 Q500,120 0,100 Z"/></svg>') bottom center no-repeat;
    background-size: 100% auto;
}

.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.auth-logo i {
    font-size: 2.5rem;
    color: #f1c40f;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.auth-logo h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, #fff, #f8f9fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.auth-subtitle {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.auth-tabs {
    display: flex;
    background: #f8f9fa;
    border-bottom: 1px solid #e9ecef;
}

.auth-tab {
    flex: 1;
    padding: 20px;
    border: none;
    background: none;
    font-size: 1.05rem;
    font-weight: 600;
    color: #6c757d;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
}

.auth-tab.active {
    background: white;
    color: var(--accent);
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
}

.auth-tab:hover:not(.active) {
    background: rgba(111, 66, 193, 0.1);
    color: var(--accent);
}

.auth-body {
    padding: 30px;
    background: white;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-group {
    margin-bottom: 20px;
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
    font-weight: 600;
    color: #343a40;
    font-size: 0.95rem;
}

.form-group label i {
    color: var(--accent);
    width: 20px;
    font-size: 1.1rem;
}

.form-group input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--accent);
    background: white;
    box-shadow: 0 0 0 4px rgba(111, 66, 193, 0.15);
}

.form-group input::placeholder {
    color: #adb5bd;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 45px;
    cursor: pointer;
    color: #6c757d;
    transition: color 0.3s ease;
    padding: 5px;
}

.password-toggle:hover {
    color: var(--accent);
}

.form-text {
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    color: #6c757d;
    line-height: 1.4;
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 10px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.95rem;
    color: #495057;
    user-select: none;
}

.checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
    cursor: pointer;
}

.forgot-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 5px 0;
}

.forgot-link:hover {
    color: #542c91;
    text-decoration: underline;
}

.btn-block {
    width: 100%;
    padding: 17px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    border-radius: 12px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-block:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(111, 66, 193, 0.3);
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 25px 0;
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, #e9ecef, transparent);
}

.auth-divider span {
    position: relative;
    background: white;
    padding: 0 20px;
}

.social-auth {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 20px;
}

.social-btn {
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    background: white;
    font-size: 0.95rem;
    font-weight: 600;
    color: #343a40;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.social-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.social-btn.google:hover {
    border-color: #db4437;
    color: #db4437;
    background: rgba(219, 68, 55, 0.05);
}

.social-btn.facebook:hover {
    border-color: #4267B2;
    color: #4267B2;
    background: rgba(66, 103, 178, 0.05);
}

.social-btn i {
    font-size: 1.2rem;
}

.auth-footer {
    padding: 20px 30px;
    background: #f8f9fa;
    border-top: 1px solid #e9ecef;
    text-align: center;
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 500;
}

.auth-footer i {
    color: #28a745;
    margin-right: 8px;
}

.auth-footer a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
}

.auth-footer a:hover {
    text-decoration: underline;
}

/* Subscription Modal Styles */
.subscription-modal-content {
    max-width: 1200px;
    padding: 0;
    border-radius: 20px;
    overflow: hidden;
    background: white;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s ease;
}

.subscription-header {
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.subscription-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100"><path fill="rgba(255,255,255,0.1)" d="M0,0 L1000,0 L1000,100 Q500,150 0,100 Z"/></svg>') bottom center no-repeat;
    background-size: 100% auto;
}

.subscription-icon {
    font-size: 4rem;
    color: #f1c40f;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    animation: crownFloat 3s ease-in-out infinite;
}

@keyframes crownFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.subscription-header h2 {
    font-size: 2.2rem;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
    font-weight: 800;
}

.subscription-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.5;
}

.subscription-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    padding: 40px 30px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

.plan-card {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.plan-card.current {
    border-color: var(--accent);
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
}

.plan-card.popular {
    border-color: #f1c40f;
}

.plan-card.recommended {
    border-color: #2ecc71;
}

.plan-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-card[data-tier="basic"] .plan-badge {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
}

.plan-card[data-tier="premium"] .plan-badge {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
}

.plan-card[data-tier="gold"] .plan-badge {
    background: linear-gradient(135deg, #f1c40f, #e67e22);
    color: white;
}

.plan-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.plan-header h3 {
    font-size: 1.8rem;
    font-weight: 800;
    color: #343a40;
    margin-bottom: 15px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

.plan-price .price {
    font-size: 3rem;
    font-weight: 900;
    color: var(--accent);
}

.plan-card[data-tier="premium"] .plan-price .price {
    color: var(--accent-light);
}

.plan-card[data-tier="gold"] .plan-price .price {
    color: #f1c40f;
}

.plan-price .period {
    font-size: 1rem;
    color: #6c757d;
    font-weight: 600;
}

.plan-features {
    margin: 30px 0;
}

.feature {
    display: flex;
    align-items: center;
    gap: 15px;
    margin: 15px 0;
    padding: 10px 0;
    border-bottom: 1px solid #f8f9fa;
}

.feature:last-child {
    border-bottom: none;
}

.feature i {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.feature.available {
    color: #28a745;
}

.feature.available i {
    background: rgba(40, 167, 69, 0.1);
}

.feature.unavailable {
    color: #dc3545;
    opacity: 0.6;
}

.feature.unavailable i {
    background: rgba(220, 53, 69, 0.1);
}

.feature span {
    flex: 1;
    font-size: 0.95rem;
    line-height: 1.4;
}

.plan-card button {
    width: 100%;
    padding: 17px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 12px;
    margin-top: 20px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.plan-card .btn-gradient {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
    border: none;
}

.plan-card .btn-gradient:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(111, 66, 193, 0.3);
    background: linear-gradient(135deg, #5a2f9e, #7d4ca5);
}

.plan-card .current-plan {
    background: #e9ecef;
    color: #6c757d;
    border-color: #dee2e6;
    cursor: default;
}

.plan-card .current-plan:hover {
    transform: none;
    box-shadow: none;
}

.subscription-footer {
    padding: 25px 30px;
    background: white;
    border-top: 1px solid #e9ecef;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.guarantee {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #28a745;
    font-weight: 600;
    font-size: 1rem;
}

.guarantee i {
    font-size: 1.2rem;
}

.payment-methods {
    display: flex;
    gap: 20px;
    font-size: 2rem;
    color: #6c757d;
}

.payment-methods i {
    transition: color 0.3s ease;
}

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

/* Auth UI Updates */
.logout-btn {
    margin-left: 10px;
    background: rgba(220, 53, 69, 0.1);
    border: 2px solid #dc3545;
    color: #dc3545;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: #dc3545;
    color: white;
    transform: scale(1.1);
}

.subscription-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 800;
    margin-left: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    vertical-align: middle;
}

.subscription-badge.basic {
    background: linear-gradient(135deg, #6c757d, #495057);
    color: white;
}

.subscription-badge.premium {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    color: white;
}

.subscription-badge.gold {
    background: linear-gradient(135deg, #f1c40f, #e67e22);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .auth-modal-content,
    .subscription-modal-content {
        max-width: 95%;
        margin: 20px auto;
        border-radius: 15px;
    }

    .auth-header,
    .subscription-header {
        padding: 25px 20px;
    }

    .auth-logo h2 {
        font-size: 1.5rem;
    }

    .auth-subtitle,
    .subscription-subtitle {
        font-size: 0.95rem;
    }

    .auth-tab {
        padding: 15px;
        font-size: 0.95rem;
    }

    .auth-body {
        padding: 20px;
    }

    .subscription-plans {
        grid-template-columns: 1fr;
        padding: 25px 20px;
        gap: 20px;
    }

    .plan-card {
        padding: 25px;
    }

    .subscription-header h2 {
        font-size: 1.8rem;
    }

    .social-auth {
        grid-template-columns: 1fr;
    }

    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .forgot-link {
        align-self: flex-start;
    }
}

@media (max-width: 480px) {
    .auth-tabs {
        flex-direction: column;
    }

    .auth-tab {
        padding: 15px;
    }

    .auth-tab.active::after {
        height: 2px;
    }

    .plan-header h3 {
        font-size: 1.5rem;
    }

    .plan-price .price {
        font-size: 2.5rem;
    }

    .subscription-footer {
        padding: 20px;
        text-align: center;
    }

    .payment-methods {
        font-size: 1.5rem;
        gap: 15px;
    }
}




     /* Converter Container */
 .converter-container {
     max-width: 600px;
     margin: 2rem auto 4rem;
 }

.converter-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    margin-bottom: 2rem;
}

.converter-header {
    text-align: center;
    margin-bottom: 2rem;
}

.converter-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.converter-icon i {
    font-size: 2rem;
    color: var(--white);
}

.converter-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.converter-subtitle {
    color: var(--dark-gray);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

/* Form Styling */
.converter-form {
    margin-top: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-label i {
    margin-right: 0.5rem;
    color: var(--accent);
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    color: var(--black);
    background: var(--white);
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 179, 255, 0.1);
}

.form-input::placeholder {
    color: var(--dark-gray);
    opacity: 0.7;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-column {
    display: flex;
    flex-direction: column;
}

/* Bookie Select Styling - FIXED */
.bookie-select-container {
    position: relative;
}

.bookie-select-container select {
    width: 100%;
    padding: 0.875rem 1rem;
    padding-right: 3rem;
    border: 2px solid var(--gray);
    border-radius: var(--border-radius);
    font-size: 1rem;
    color: var(--black);
    background: var(--white);
    appearance: none;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.bookie-select-container select:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(0, 179, 255, 0.1);
}

.bookie-select-container select:disabled {
    background: var(--light-gray);
    color: var(--dark-gray);
    cursor: not-allowed;
    opacity: 0.7;
}

.bookie-select-container::after {
    content: "▼";
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    color: var(--accent);
    font-size: 0.8rem;
    pointer-events: none;
}

/* Convert Button */
.convert-button {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    transition: var(--transition);
    margin-top: 1rem;
}

.convert-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 179, 255, 0.3);
}

.convert-button:active {
    transform: translateY(0);
}

.convert-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Result Display */
.conversion-result {
    background: var(--light-gray);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-top: 2rem;
    display: none;
}

.conversion-result.show {
    display: block;
    animation: slideIn 0.3s ease;
}

.result-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.result-icon {
    width: 40px;
    height: 40px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-icon i {
    color: var(--white);
    font-size: 1.2rem;
}

.result-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
}

.result-content {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.25rem;
    margin-top: 1rem;
    border: 1px solid var(--gray);
}

.result-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.converted-code {
    font-family: monospace;
    font-size: 1.1rem;
    color: var(--primary);
    background: var(--light-gray);
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    word-break: break-all;
    border: 1px solid var(--gray);
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-copy {
    flex: 1;
    padding: 0.75rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-copy:hover {
    background: var(--primary-dark);
}

.btn-new {
    flex: 1;
    padding: 0.75rem;
    background: var(--light-gray);
    color: var(--primary);
    border: 1px solid var(--gray);
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
}

.btn-new:hover {
    background: var(--gray);
}

/* Packages Section */
.packages-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray);
}

.packages-title {
    text-align: center;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.package-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    border: 2px solid var(--gray);
    transition: var(--transition);
    text-align: center;
}

.package-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.package-card.featured {
    border-color: var(--accent);
    position: relative;
    overflow: hidden;
}

.package-badge {
    position: absolute;
    top: 0;
    right: 0;
    background: var(--accent);
    color: var(--white);
    padding: 0.25rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    border-radius: 0 0 0 var(--border-radius);
}

.package-name {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 1rem;
}

.package-price {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.package-features li {
    padding: 0.5rem 0;
    color: var(--dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.package-features li i {
    color: var(--success);
}

.package-button {
    width: 100%;
    padding: 0.75rem;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.package-button:hover {
    background: var(--primary-dark);
}

/* Balance Info */
.balance-info {
    text-align: center;
    padding: 0.75rem;
    background: linear-gradient(135deg, var(--light-gray) 0%, var(--gray) 100%);
    border-radius: var(--border-radius);
    margin-bottom: 1.5rem;
}

.balance-info i {
    color: var(--accent);
    margin-right: 0.5rem;
}

/* Loading State */
.loading-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius);
    z-index: 10;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--gray);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 1rem;
}

/* Animations */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section.betconverter-hero {
        min-height: 200px;
        padding: 40px 0 30px;
    }

    .betconverter-hero .hero-title {
        font-size: 2rem;
    }

    .betconverter-hero .hero-subtitle {
        font-size: 1rem;
    }

    .converter-card {
        padding: 1.5rem;
        margin: 1rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

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

    .action-buttons {
        flex-direction: column;
    }

    .converter-icon {
        width: 60px;
        height: 60px;
    }

    .converter-icon i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .betconverter-hero .hero-title {
        font-size: 1.75rem;
    }

    .converter-title {
        font-size: 1.3rem;
    }

    .converter-card {
        padding: 1.25rem;
    }

    .package-card {
        padding: 1.25rem;
    }
}
.auth-alert {
    padding: 12px 16px;
    margin-bottom: 20px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideDown 0.3s ease;
}

.auth-alert-success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.auth-alert-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.auth-alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Header Styles */


.nav-desktop ul {
    display: flex;
    align-items: center;
    gap: 5px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-desktop ul li a {
    color: var(--white);
    text-decoration: none;
    padding: 10px 16px;
    border-radius: var(--border-radius);
    transition: var(--transition);
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-desktop ul li a:hover {
    background: var(--primary-light);
    color: var(--accent-light);
}

.nav-desktop ul li a.active {
    background: var(--primary-light);
    color: var(--accent);
    font-weight: 600;
}

/* Nav Buttons */
.nav-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-btn:hover {
    border-color: var(--accent);
}

.nav-btn-primary {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--white) !important;
}

.nav-btn-primary:hover {
    background: var(--accent-light);
    border-color: var(--accent-light);
}

/* User Dropdown */
.nav-user-dropdown {
    position: relative;
}

.nav-user-trigger {
    display: flex !important;
    align-items: center;
    gap: 8px;
    padding: 8px 12px !important;
    background: var(--primary-light);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.nav-user-trigger:hover {
    background: var(--primary-dark);
    border-color: var(--accent);
}

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

.nav-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
}

.nav-user-name {
    font-weight: 500;
    font-size: 0.9rem;
    max-width: 100px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-user-plan {
    font-size: 0.75rem;
    padding: 3px 8px;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
    text-transform: uppercase;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-user-plan.basic {
    background: linear-gradient(135deg, #6c757d, #495057);
}

.nav-user-plan.premium {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
}

.nav-user-plan.platinum {
    background: linear-gradient(135deg, #3498db, #2ecc71);
}

.nav-user-plan.gold {
    background: linear-gradient(135deg, #ffc107, #e67e22);
}

.nav-dropdown-icon {
    font-size: 0.8rem;
    margin-left: 4px;
    transition: transform 0.3s ease;
}

/* Dropdown Menu */
.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 5px);
    right: 0;
    width: 280px;
    background: var(--primary-dark);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--primary);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
}

.nav-user-dropdown.active .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown-header {
    padding: 16px;
    border-bottom: 1px solid var(--primary);
    background: var(--primary-dark);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.nav-user-email {
    font-size: 0.85rem;
    color: var(--dark-gray);
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-user-plan-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--white);
}

.nav-user-plan-badge.basic {
    background: linear-gradient(135deg, #6c757d, #495057);
}

.nav-user-plan-badge.premium {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
}

.nav-user-plan-badge.platinum {
    background: linear-gradient(135deg, #3498db, #2ecc71);
}

.nav-user-plan-badge.gold {
    background: linear-gradient(135deg, #ffc107, #e67e22);
}

.nav-dropdown-divider {
    height: 1px;
    background: var(--gray);
    margin: 8px 0;
}

.nav-dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--black);
    text-decoration: none;
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.nav-dropdown-item:hover {
    background: var(--light-gray);
    color: var(--primary);
    border-left-color: var(--accent);
}

.nav-dropdown-item i {
    width: 20px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--dark-gray);
}

.nav-dropdown-item:hover i {
    color: var(--accent);
}

.nav-dropdown-item.logout {
    color: var(--danger);
}

.nav-dropdown-item.logout:hover {
    background: rgba(220, 53, 69, 0.05);
    color: var(--danger);
    border-left-color: var(--danger);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background: var(--primary);
    box-shadow: var(--shadow-lg);
    transition: right 0.3s ease;
    z-index: 1001;
}

.sidebar.active {
    right: 0;
}

.sidebar-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
}

.sidebar-nav ul {
    list-style: none;
    padding: 60px 20px 20px;
    margin: 0;
}

.sidebar-nav ul li {
    margin-bottom: 5px;
}

.sidebar-nav ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    text-decoration: none;
    padding: 12px 15px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.sidebar-nav ul li a:hover {
    background: var(--primary-light);
    color: var(--accent);
}

.sidebar-nav ul li a i {
    width: 20px;
    text-align: center;
}

.sidebar-user-info {
    padding: 20px 15px;
    background: var(--primary-light);
    margin: -20px -20px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-user-details {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
}

.sidebar-user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.sidebar-user-name {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 4px;
}

.sidebar-user-plan {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.logout-mobile {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 10px;
    padding-top: 10px;
}

.logout-mobile a {
    color: var(--danger) !important;
}

.logout-mobile a:hover {
    background: rgba(220, 53, 69, 0.1) !important;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Responsive */
@media (max-width: 992px) {
    .nav-desktop {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .header-container {
        padding: 12px 15px;
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 260px;
    }

    .nav-user-name {
        max-width: 80px;
    }
}

.auth-prompt {
    background: linear-gradient(135deg, #667eea 0%, var(--primary-dark) 100%);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    color: white;
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.2);
}

.auth-prompt-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.auth-prompt-icon {
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.2);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-prompt-text {
    flex: 1;
    min-width: 200px;
}

.auth-prompt-text h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.auth-prompt-text p {
    margin: 0;
    opacity: 0.9;
    font-size: 0.9rem;
}

/* Login Prompt in Trending Grid */
.login-prompt-trending {
    grid-column: 1 / -1;
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.prompt-icon {
    font-size: 3rem;
    color: #667eea;
    margin-bottom: 1rem;
}

.prompt-content h3 {
    color: #2d3748;
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.prompt-content p {
    color: #718096;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.prompt-details {
    color: #4a5568;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.prompt-features {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a5568;
    font-size: 0.9rem;
}

.feature i {
    color: #48bb78;
}

/* Offer Modal Styles */
.bookmaker-logo-offer {
    height: 40px;
    width: auto;
    object-fit: contain;
}

.bookmaker-info {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.bookmaker-details h4 {
    margin: 0 0 0.25rem 0;
    font-size: 1.1rem;
    color: #2d3748;
}

.offer-badge {
    background: linear-gradient(135deg, #f56565, #ed8936);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.offer-title {
    color: #2d3748;
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

.offer-description {
    color: #718096;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.promo-code-section {
    background: #f7fafc;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    border: 1px dashed #cbd5e0;
}

.promo-code-label {
    font-size: 0.9rem;
    color: #718096;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.promo-code-display {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.promo-code {
    font-family: 'Courier New', monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: #2d3748;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    border: 2px solid #e2e8f0;
    flex: 1;
}

.btn-copy-promo {
    background: #4299e1;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    transition: background 0.2s;
}

.btn-copy-promo:hover {
    background: #3182ce;
}

.offer-details {
    background: #f7fafc;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4a5568;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.detail-item:last-child {
    margin-bottom: 0;
}

.detail-item i {
    color: #718096;
    width: 16px;
}

.offer-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

@media (max-width: 640px) {
    .auth-prompt-content {
        flex-direction: column;
        text-align: center;
    }

    .auth-prompt-icon {
        margin: 0 auto;
    }

    .prompt-features {
        flex-direction: column;
        gap: 0.75rem;
    }

    .promo-code-display {
        flex-direction: column;
        align-items: stretch;
    }

    .offer-actions {
        flex-direction: column;
    }

    .offer-actions .btn {
        width: 100%;
    }
}


.analysis-detail-modal {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.85);
    z-index: 9999;
}

.analysis-detail-content {
    width: 100%;
    max-width: 1200px;
    max-height: 95vh;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.analysis-detail-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 2rem;
    position: relative;
}

.analysis-breadcrumb {
    margin-bottom: 1rem;
}

.analysis-breadcrumb a {
    color: #a0aec0;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.analysis-breadcrumb a:hover {
    color: white;
}

.analysis-title {
    font-size: 2rem;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.analysis-meta {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    font-size: 0.9rem;
    color: #a0aec0;
}

.analysis-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.analysis-detail-body {
    display: flex;
    flex: 1;
    overflow: hidden;
}

.analysis-main-content {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
    max-height: calc(95vh - 300px);
}

.analysis-sidebar {
    width: 320px;
    background: #f7fafc;
    border-left: 1px solid #e2e8f0;
    padding: 1.5rem;
    overflow-y: auto;
    max-height: calc(95vh - 300px);
}

.analysis-featured-image {
    margin: 0 -2rem 2rem -2rem;
    position: relative;
}

.analysis-featured-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.75rem 2rem;
    font-size: 0.9rem;
    font-style: italic;
}

.analysis-content {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.analysis-content p {
    margin-bottom: 1.5rem;
}

.match-details-section,
.key-points-section,
.predictions-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 12px;
}

.match-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.match-detail {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.detail-label {
    font-size: 0.85rem;
    color: #718096;
    font-weight: 600;
}

.detail-value {
    font-size: 1rem;
    color: #2d3748;
    font-weight: 500;
}

.key-points-list {
    margin-top: 1rem;
}

.key-point {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    border-left: 4px solid #4299e1;
}

.key-point i {
    color: #4299e1;
    margin-top: 0.25rem;
}

.predictions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.prediction-item {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.prediction-type {
    font-weight: 600;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.prediction-odds {
    font-size: 1.5rem;
    font-weight: 700;
    color: #38a169;
    margin-bottom: 0.5rem;
}

.prediction-confidence {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.prediction-confidence.high {
    background: #c6f6d5;
    color: #22543d;
}

.prediction-confidence.medium {
    background: #fed7d7;
    color: #742a2a;
}

.prediction-confidence.low {
    background: #feebc8;
    color: #744210;
}

.analysis-tags {
    margin: 2rem 0;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.tag {
    background: #edf2f7;
    color: #4a5568;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: all 0.2s;
}

.tag:hover {
    background: #4299e1;
    color: white;
    cursor: pointer;
}

.share-section {
    margin: 2rem 0;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.share-buttons {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}

.share-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: transform 0.2s, opacity 0.2s;
}

.share-btn:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.share-btn.facebook {
    background: #3b5998;
    color: white;
}

.share-btn.twitter {
    background: #1da1f2;
    color: white;
}

.share-btn.whatsapp {
    background: #25d366;
    color: white;
}

.share-btn.copy-link {
    background: #718096;
    color: white;
}

/* Sidebar Styles */
.sidebar-section {
    margin-bottom: 2rem;
}

.sidebar-section h3 {
    font-size: 1.1rem;
    color: #2d3748;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #4299e1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.related-story-item,
.trending-story-item {
    margin-bottom: 1rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    gap: 1rem;
}

.related-story-item:hover,
.trending-story-item:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #4299e1;
}

.related-story-image {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
}

.related-story-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

.related-story-content {
    flex: 1;
}

.related-story-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.related-story-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #718096;
}

.trending-rank {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, var(--accent-light) 100%);
    color: white;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.trending-story-content {
    flex: 1;
}

.trending-story-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2d3748;
    margin: 0 0 0.25rem 0;
    line-height: 1.3;
}

.trending-story-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #718096;
}

.newsletter-sidebar {
    position: sticky;
    top: 1rem;
}

.newsletter-card {
    background: linear-gradient(135deg, #667eea 0%, var(--primary-light) 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
}

.newsletter-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.newsletter-card h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.25rem;
}

.newsletter-card p {
    margin: 0 0 1.5rem 0;
    opacity: 0.9;
    font-size: 0.9rem;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    padding: 0.5rem 0.75rem;
    border: none;
    border-radius: 6px;
    font-size: 0.9rem;
}

.newsletter-btn {
    white-space: nowrap;
}

.analysis-detail-footer {
    padding: 1.5rem 2rem;
    background: #f7fafc;
    border-top: 1px solid #e2e8f0;
}

.navigation-buttons {
    display: flex;
    justify-content: space-between;
}

/* Loading States */
.loading-related,
.loading-trending {
    text-align: center;
    padding: 2rem;
    color: #718096;
}

.spinner-small {
    width: 24px;
    height: 24px;
    border: 3px solid #e2e8f0;
    border-top-color: #4299e1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem auto;
}

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

.no-related,
.no-trending,
.error-related,
.error-trending {
    text-align: center;
    padding: 2rem;
    color: #718096;
}

.no-related i,
.no-trending i,
.error-related i,
.error-trending i {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .analysis-detail-body {
        flex-direction: column;
    }

    .analysis-sidebar {
        width: 100%;
        border-left: none;
        border-top: 1px solid #e2e8f0;
    }

    .analysis-main-content {
        max-height: none;
    }
}

@media (max-width: 768px) {
    .analysis-detail-content {
        width: 100%;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }

    .analysis-detail-header {
        padding: 1.5rem;
    }

    .analysis-title {
        font-size: 1.5rem;
    }

    .analysis-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .analysis-main-content {
        padding: 1.5rem;
    }

    .analysis-featured-image {
        margin: 0 -1.5rem 1.5rem -1.5rem;
    }

    .analysis-featured-image img {
        height: 250px;
    }

    .match-details-grid {
        grid-template-columns: 1fr;
    }

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

    .share-buttons {
        justify-content: center;
    }

    .analysis-sidebar {
        padding: 1.5rem;
    }
}
/* WIN */
.tip-won-body {
    background-color: #a6e7c8;
    color: #02bd47;
}

.tip-lost-body {
    background-color: rgba(231, 76, 60, 0.7);
    color: #e74c3c

}
.modern-item-body {
    transition: background-color 0.25s ease;
    border-radius: 10px;
}
/* Social Links Styling */
.social-links {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 18px;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.social-link i {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Trending tab social links */
.trending-social {
    margin: 0;
    align-items: center;
    gap: 15px;
}

.trending-social .social-label {
    color: #666;
    font-size: 14px;
    margin-right: 5px;
}

.trending-social .social-link {
    width: auto;
    height: auto;
    background: none;
    color: #4a6cf7;
    border-radius: 20px;
    padding: 8px 15px;
    border: 1px solid #e0e0e0;
}

.trending-social .social-link:hover {
    background: #4a6cf7;
    color: white;
    border-color: #4a6cf7;
}

.trending-social .social-text {
    margin-left: 8px;
    font-size: 14px;
    font-weight: 500;
}

/* Footer social links */
.site-footer {
    margin-top: 60px;
    padding: 30px 0;
    border-top: 1px solid #e0e0e0;
    text-align: center;
}

.footer-social {
    max-width: 500px;
    margin: 0 auto;
}

.footer-text {
    color: #666;
    margin-bottom: 15px;
    font-size: 16px;
}

.footer-social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.footer-social-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #4a6cf7;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer-social-link:hover {
    color: #2a4bd7;
}

.footer-disclaimer {
    color: #888;
    font-size: 14px;
    margin-top: 10px;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .social-links {
        justify-content: center;
        margin-bottom: 25px;
    }

    .trending-social {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }

    .trending-social .social-label {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .footer-social-links {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .footer-social-link {
        justify-content: center;
    }
}
