/*
Theme Name:     gambler
Theme URI:      n/a
Template:       kadence
Author:         AlmiVision
Author URI:     n/a
Description:    gambler theme for WordPress.
Version:        1.0
License:        GNU General Public License v3.0 (or later)
License URI:    https://www.gnu.org/licenses/gpl-3.0.html
*/
:root {
    --primary-color: #2a4d8f;
    --primary-dark: #1e3a6e;
    --accent-color: #3b82f6;
    --accent-hover: #2563eb;
    --secondary-color: #64748b;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --bg-body: #f5f7fa;
    --bg-card: #ffffff;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.05), 0 2px 4px -1px rgba(0,0,0,0.03);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.05), 0 4px 6px -2px rgba(0,0,0,0.025);
    --radius-md: 8px;
    --radius-lg: 14px;
    --radius-xl: 20px;
    --font-main: 'Inter', sans-serif;
    --font-display: 'Poppins', sans-serif;
    --gold-gradient: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}


html {
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-body);
    color: var(--text-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}




img {
    max-width: 100%;
    display: block;
    border-radius: var(--radius-md);
}

.my-account {
    display: none;
}
.onjn {
    display: flex;
    flex-direction: row;
    gap: 10px;
    color: #fff;
    font-size: 13px;
    justify-content: flex-end;
}
.onjn img {
        width: 25px;
    height: auto;
}

.site-footer-wrap h2 {
    color: #fff;
    font-size: 17px !important;
    line-height: 1.1 !important;
    margin-bottom: .5em;
    text-transform: none !important;
}

.site-footer-wrap .widget-area a:where(:not(.button):not(.wp-block-button__link):not(.wp-element-button)) {
    color: #cbd5e1;
    text-decoration: none;
    font-size: 0.9rem;
}

.site-footer-wrap .wp-block-social-links .wp-block-social-link.wp-social-link {
    display: inline-block;
    margin: 0;
    padding: 0;
    background: #343e4f;
    padding: 5px;
}

.site-footer-wrap .wp-social-link a {
        font-size: 18px !important;
}

.widget {
box-shadow: none !important;
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    gap: 8px;
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}
.btn-primary:focus {
    background-color: var(--primary-dark);
    transform: translateY(-1px);
    color: white;
    text-decoration: none;
}

.btn-secondary {
    background-color: white;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    text-decoration: none;
}

.btn-secondary:hover {
    background-color: #f8fafc;
    text-decoration: none;
}

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

.btn-accent:hover {
    background-color: var(--accent-hover);
    text-decoration: none;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    text-decoration: none;
}

.btn-outline:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    text-decoration: none;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.05rem;
    text-decoration: none;
}

.btn-sm {
    padding: 6px 16px;
    font-size: 0.85rem;
    background-color: #f1f5f9;
    color: var(--text-muted);
    border-radius: 20px;
    text-decoration: none;
}

.btn-sm:hover {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
}

.btn-block {
    width: 100%;
    text-decoration: none;
}



/* Hero Section */
.hero-section {
    padding: 80px 0;
    background-color: #f0f4f8;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge-wrapper {
    margin-bottom: 24px;
}

.badge-hero {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: white;
    color: var(--text-main);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
}

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

.hero-content {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    line-height: 1.1;
    color: #1e3a8a;
    margin-bottom: 24px;
}

.hero-content h1 span {
    color:var(--text-main);
}

.hero-content p {
    font-size: 1.15rem;
    color: #64748b;
    margin-bottom: 40px;
    max-width: 100%;
    line-height: 1.6;
    overflow-wrap: break-word;
    word-break: break-word;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100%;
}

.hero-buttons .btn-primary {
    background-color: #1e40af;
    padding: 14px 28px;
}

.hero-buttons .btn-secondary {
    background-color: transparent;
    border: 1px solid #cbd5e1;
    color: var(--text-main);
    padding: 14px 28px;
}

/* Hero Stats Row */
.hero-stats-row {
    display: flex;
    gap: 0;
    flex-wrap: nowrap;
    max-width: 600px;
}

.hero-stat-card {
    background: white;
    padding: 20px 24px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
    gap: 0px;
    box-shadow: var(--shadow-sm);
    flex: 1;
    align-items: center;
    text-align: center;
}

.hero-stat-card .stat-val {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e40af;
}

.hero-stat-card .stat-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 500;
}

/* Hero Visual Right Side */
.hero-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.blue-card-visual {
    width: 100%;
    height: 100%;
    background-color: #254b85;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(37, 75, 133, 0.2);
}

.blue-card-visual span {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    font-family: var(--font-display);
}

.floating-card-visual {
    position: absolute;
    bottom: 40px;
    left: -40px;
    background: white;
    padding: 20px 30px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 180px;
}

.fc-link {
    height: auto;
    background-color: var(--primary-color);
    color: white;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 5px 12px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    white-space: nowrap;
    flex-shrink: 0;
    text-decoration: none;
}

.fc-link:hover {
    background-color: var(--primary-dark);
    color: white;
}

.fc-label {
    font-size: 0.9rem;
    color: #64748b;
}

.fc-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e3a8a;
}

.fc-meta {
    padding-top: 8px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.fc-matches {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
    white-space: nowrap;
}

/* Main Layout */
.main-layout {
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 30px;
    padding-top: 40px;
    position: relative;
}
.sidebar-column {
    position: relative;
}

.section-block {
    margin-bottom: 30px;
}


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

.section-header h2 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

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

.view-all {
    font-weight: 600;
    color: var(--accent-color);
    font-size: 0.95rem;
    text-decoration: none;
}



/* ============================================
   STYLES FOR NEW PAGES
   Biletul Zilei, Avancronici, Statistici, Ponturi AI, Cazino
   ============================================ */

/* ============================================
   BILETUL ZILEI STYLES
   ============================================ */

/* Bilet Hero */
.bilet-hero {
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    padding: 40px 0 50px;
    text-align: center;
}

.bilet-hero-content h1 {
    font-size: 2.8rem;
    margin: 16px 0;
    color: #1e293b;
}

.bilet-hero-content h1 span {
    color: #2563eb;
}

.bilet-hero-content p {
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.bilet-main-stats {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.bilet-stat-large {
    background: white;
    padding: 20px 30px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    min-width: 140px;
    text-align: center;
}

.bilet-stat-large .stat-label {
    display: block;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 8px;
}

.bilet-stat-large .stat-value-large {
    display: block;
    font-size: 2.2rem;
    font-weight: 700;
    color: #2563eb;
}

.bilet-stat-large .stat-value-large.success {
    color: #10b981;
}

.info-tooltip {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-left: 4px;
    color: #94a3b8;
    cursor: help;
    outline: none;
    vertical-align: middle;
}

.info-tooltip i {
    font-size: 0.85em;
}

.info-tooltip .info-tooltip-text {
    position: absolute;
    bottom: calc(100% + 8px);
    left: 50%;
    transform: translateX(-50%);
    background: #1A202C;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.4;
    padding: 8px 12px;
    border-radius: 8px;
    text-transform: none;
    width: 220px;
    text-align: center;
    box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .15s ease, visibility .15s ease;
    z-index: 20;
}

.info-tooltip .info-tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #1A202C;
}

.info-tooltip:hover .info-tooltip-text,
.info-tooltip:focus .info-tooltip-text,
.info-tooltip:focus-within .info-tooltip-text {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 480px) {
    .info-tooltip .info-tooltip-text {
        width: 160px;
        font-size: 0.72rem;
    }
}

/* Ticket Display Card */
.featured-ticket-img {
    width: 100%; height: 100%; object-fit: cover; border-radius: 16px; display: block;
}
.ticket-display-card {
    background: white;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    overflow: hidden;
}

.ticket-header-banner {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
}

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

.ticket-header-left i {
    font-size: 1.8rem;
    
}

.ticket-header-left h3 {
    margin: 0;
    font-size: 1.3rem;
    color: #fff;
}

.ticket-date {
    font-size: 0.9rem;
    opacity: 0.9;
}

.ticket-status {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid #e2e8f0;
}

.ticket-status.success {
    background: #10b981;
    color: white;
    border-color: #10b981;
}

.ticket-status.danger {
    background: #ef4444;
    color: white;
    border-color: #ef4444;
}

.ticket-status.warning {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: white;
    border-color: #f59e0b;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

/* Ticket Matches List */
.ticket-matches-list {
    padding: 20px;
}



.ticket-match-item:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
}

.match-number {
    width: 32px;
    height: 32px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.match-details {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.match-left-section {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.match-info-header {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 0.75rem;
}



.match-time {
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.match-teams-inline {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1e293b;
}

.vs-small {
    color: #94a3b8;
    margin: 0 6px;
    font-weight: 400;
    font-size: 0.85rem;
}

.match-prediction-inline {
    display: flex;
    gap: 12px;
    align-items: center;
}

.pred-type {
    background: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    color: #2563eb;
    font-weight: 600;
    border: 1px solid #e2e8f0;
}

.pred-odd {
    background: #2563eb;
    color: white;
    padding: 4px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
}

/* Ticket Footer */
.ticket-footer-summary {
    padding: 20px;
    background: #f8fafc;
    border-top: 2px solid #e2e8f0;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 1rem;
}

.summary-row.highlight {
    font-size: 1.2rem;
    font-weight: 700;
    padding-top: 16px;
    border-top: 2px dashed #cbd5e1;
    margin-top: 8px;
}

.total-odd {
    color: #2563eb;
    font-weight: 700;
    font-size: 1.3rem;
}

.suggested-stake {
    color: #64748b;
    font-weight: 600;
}

.potential-win {
    color: #10b981;
    font-size: 1.4rem;
}

.ticket-actions {
    padding: 20px;
}

/* Analysis Reasons */
.analysis-reasons {
    display: grid;
    gap: 20px;
}

.single-biletul_zilei .analysis-reasons {
    display: grid;
    gap: 0;
}

.single-biletul_zilei .analysis-section p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 0 !important;
}

.reason-card {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    text-align: center;
}

.reason-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 1.8rem;
}

.reason-card h4 {
    margin: 0 0 10px;
    color: #1e293b;
}

.reason-card p {
    margin: 0;
    color: #64748b;
    font-size: 0.95rem;
}

/* Previous Tickets */
.previous-tickets-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(280px, 1fr));
    gap: 16px;
}

.prev-ticket-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
}

.prev-ticket-card:hover {
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.1);
}

.prev-ticket-card.winning {
    border-left: 4px solid #10b981;
}

.prev-ticket-card.losing {
    border-left: 4px solid #ef4444;
}

.prev-ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f1f5f9;
}

.prev-date {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 500;
}

.prev-status {
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.prev-status.winning {
    background: #d1fae5;
    color: #065f46;
}

.prev-status.losing {
    background: #fee2e2;
    color: #991b1b;
}

.prev-status.pending {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #92400e;
    box-shadow: 0 1px 4px rgba(245, 158, 11, 0.2);
}

.prev-ticket-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 12px;
}

.prev-stat {
    text-align: center;
    padding: 8px 6px;
    background: #f8fafc;
    border-radius: 6px;
}

.prev-label {
    display: block;
    font-size: 0.7rem;
    color: #64748b;
    margin-bottom: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.prev-val {
    display: block;
    font-weight: 700;
    font-size: 1.1rem;
    color: #1e293b;
}

.prev-val.success {
    color: #10b981;
}

.prev-val.danger {
    color: #ef4444;
}

.btn-link-small {
    color: #2563eb;
    font-size: 0.85rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    margin-top: auto;
    transition: all 0.2s;
}

.btn-link-small:hover {
    gap: 10px;
    color: #1d4ed8;
}

/* Performance Stats Widget */
.performance-stats {
    padding: 16px 0;
}

.perf-stat-big {
    text-align: center;
    padding: 16px 0;
}

.perf-val {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2563eb;
}

.perf-label {
    display: block;
    font-size: 0.9rem;
    color: #64748b;
    margin-top: 4px;
}

.perf-divider {
    height: 2px;
    background: #e2e8f0;
    margin: 16px 0;
}

.perf-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.perf-item {
    text-align: center;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
}

.perf-num {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
}

.perf-num.won {
    color: #10b981;
}

.perf-num.lost {
    color: #ef4444;
}

.perf-text {
    display: block;
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 4px;
}

.perf-profit {
    text-align: center;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 2px solid #e2e8f0;
}

.profit-label {
    display: block;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 6px;
}

.profit-val {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: #10b981;
}

/* Tips Widget */
.tips-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tip-item {
    display: flex;
    gap: 10px;
    font-size: 0.9rem;
    color: #475569;
    align-items: flex-start;
}

.tip-item i {
    color: #10b981;
    margin-top: 2px;
    flex-shrink: 0;
}

/* Bookmakers Widget */
.bookmakers-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.bookmaker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.bookmaker-item img {
    width: 60px;
    height: auto;
    border-radius: 4px;
}

.bookmaker-info {
    flex: 1;
}

.bookmaker-name {
    display: block;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 4px;
}

.bookmaker-rating {
    color: #f59e0b;
    font-size: 0.85rem;
}

/* Today Ticket Widget */
.today-ticket-widget {
    text-align: center;
    padding: 12px 0;
}

.widget-ticket-stat {
    margin-bottom: 12px;
}

.ticket-stat-label {
    display: block;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 4px;
}

.ticket-stat-val {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
}

.widget-ticket-matches {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 16px;
}

/* ============================================
   BILET SINGLE STYLES
   ============================================ */

.bilet-single-hero {
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    padding: 30px 0 40px;
}

.bilet-single-header {
    text-align: center;
    margin-top: 20px;
}

.bilet-status-large {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.bilet-status-large.won {
    background: #10b981;
    color: white;
}

.bilet-status-large.lost {
    background: #ef4444;
    color: white;
}

.bilet-single-header h1 {
    font-size: 2rem;
    margin: 0 0 12px;
    color: #1e293b;
}

.bilet-single-header p {
    color: #64748b;
    font-size: 1.05rem;
}

.bilet-summary-bar {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
}

.summary-stat {
    background: white;
    padding: 16px 24px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    text-align: center;
    min-width: 120px;
}

.summary-label {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 6px;
}

.summary-value {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
}

.summary-value.success {
    color: #10b981;
}

.summary-stat.highlight {
    border-color: #10b981;
    background: #f0fdf4;
}

/* Ticket Match Detailed */
.ticket-match-detailed {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    margin-bottom: 20px;
    overflow: hidden;
}

.ticket-match-detailed.won {
    border-left: 4px solid #10b981;
}

.ticket-match-detailed.lost {
    border-left: 4px solid #ef4444;
}

.match-detailed-header {
    background: #f8fafc;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.match-num-badge {
    width: 36px;
    height: 36px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.match-league-time {
    flex: 1;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.league-name {
    font-weight: 600;
    color: #1e293b;
}

.match-time-past {
    color: #64748b;
    font-size: 0.9rem;
}

.match-result-badge {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.match-result-badge.won {
    background: #d1fae5;
    color: #065f46;
}

.match-result-badge.lost {
    background: #fee2e2;
    color: #991b1b;
}

.match-detailed-body {
    padding: 20px;
}

.match-teams-score {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.team-detailed {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.team-detailed img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
}

.team-name-det {
    font-weight: 600;
    color: #1e293b;
    text-align: center;
}

.score-display {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
}

.score-num {
    min-width: 40px;
    text-align: center;
}

.score-sep {
    color: #cbd5e1;
}

.match-prediction-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 16px;
    gap: 16px;
    flex-wrap: wrap;
}

.pred-chosen, .pred-odd-final {
    display: flex;
    gap: 8px;
    align-items: center;
}

.pred-label, .odd-label {
    color: #64748b;
    font-size: 0.9rem;
}

.pred-value {
    font-weight: 600;
    color: #1e293b;
}

.odd-value {
    font-weight: 700;
    color: #2563eb;
    font-size: 1.1rem;
}

.match-analysis-short {
    padding: 16px;
    background: #fffbeb;
    border-left: 4px solid #f59e0b;
    border-radius: 4px;
}

.match-analysis-short p {
    margin: 0;
    color: #78350f;
    font-size: 0.95rem;
}

/* Expert Analysis Card */
.expert-analysis-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
}

.expert-header {
    display: flex;
    gap: 16px;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e2e8f0;
}

.expert-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #2563eb;
    flex-shrink: 0;
}

.expert-info h4 {
    margin: 0 0 4px;
    color: #1e293b;
}

.expert-role {
    color: #64748b;
    font-size: 0.9rem;
}

.expert-content p {
    color: #475569;
    line-height: 1.7;
    margin-bottom: 16px;
}

.expert-content ul {
    margin: 16px 0;
    padding-left: 20px;
}

.expert-content li {
    color: #475569;
    margin-bottom: 8px;
    line-height: 1.6;
}

/* Similar Tickets Widget */
.similar-tickets-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.similar-ticket-item {
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 2px solid #e2e8f0;
}

.similar-ticket-item.won {
    border-left: 4px solid #10b981;
}

.similar-ticket-item.lost {
    border-left: 4px solid #ef4444;
}

.similar-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.similar-date {
    font-size: 0.85rem;
    color: #64748b;
}

.similar-badge {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #fff;
    background: #fbbf24;
}

.similar-badge.won {
    background: #d1fae5;
    color: #065f46;
}

.similar-badge.lost {
    background: #fee2e2;
    color: #991b1b;
}

.similar-stats {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 8px;
}

.btn-link-xs {
    color: #2563eb;
    font-size: 0.8rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-link-xs:hover {
    text-decoration: underline;
}

.pa-title{font-size:20px;margin-bottom:12px}
.pa-league{margin-bottom:20px;border-radius:8px;padding:12px;background:#f8f9fb;border:1px solid #e6eef7}
.pa-league-name{font-size:16px;margin:0 0 8px 0;color:#1159af}
.pa-league-matches{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;align-items:start}
.pa-match{display:flex;align-items:center;gap:14px;padding:10px;border-radius:8px;background:#fff;border:1px solid #eef6fb}
.pa-team{display:flex;align-items:center;gap:10px}
.pa-team-logo{width:50px;height:50px;object-fit:contain;border-radius:6px;background:#fff}
.pa-team-logo.placeholder{width:50px;height:50px;background:#ddd;border-radius:6px}
.pa-team-name{font-weight:600;color:#222}
.pa-vs{display:flex;flex-direction:column;align-items:center;justify-content:center}
.pa-time{font-size:13px;color:#666}
.pa-vs-label{font-weight:700;color:#1159af}

/* Tip-card compact specific styles (used by template) */
.tip-card.compact{background:#ffffff;border:1px solid #e7f0fb;border-radius:8px;padding:12px;display:flex;flex-direction:column;gap:10px}
.tip-card.compact .match-teams{display:flex;align-items:center;justify-content:space-between;gap:20px;
.tip-card.compact .team{display:flex;flex-direction: column;align-items:center;gap:10px}
.tip-card.compact .team img{width:50px;height:50px;object-fit:cover;border-radius:6px}
.tip-card.compact .match-info-row {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 13px;
    color: #666;
    flex-direction: column;
}
.tip-card.compact .stats-columns{display:flex;gap:12px;justify-content:space-between}
.tip-card.compact .stat-col{flex:1;display:flex;flex-direction:column}
.tip-card.compact .stat-label{font-size:12px;color:#666}
.tip-card.compact .stat-value{font-weight:700}
.tip-card.compact .stat-value.odds{color:#0b6b3a}
.tip-card.compact .progress-bar-horizontal{height:8px;background:#eef6fb;border-radius:6px;overflow:hidden}
.tip-card.compact .progress-bar-horizontal .fill{height:100%;background:#1976d2}
.tip-card.compact .card-footer-compact{margin-top:8px}
.tip-card.compact .match-teams .team {gap: 10px;}
@media(max-width:1100px){.pa-league-matches{grid-template-columns:repeat(3,1fr)}}
@media(max-width:800px){.pa-league-matches{grid-template-columns:repeat(2,1fr)}}
@media(max-width:480px){.pa-league-matches{grid-template-columns:repeat(1,1fr)}.pa-match{flex-direction:column;align-items:flex-start}}
@media(max-width:640px){.pa-match{flex-direction:column;align-items:flex-start}.pa-team{width:100%}.pa-vs{width:100%;flex-direction:row;gap:8px}}


/* Responsive Bilet */
@media (max-width: 768px) {
    .bilet-hero-content h1 {
        font-size: 2rem;
    }
    
    .bilet-main-stats {
        flex-direction: column;
        gap: 12px;
    }
    
    .bilet-stat-large {
        width: 100%;
    }
    
    .ticket-header-banner {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .bilet-summary-bar {
        gap: 12px;
    }
    
    }
    
    .match-teams-score {
        flex-direction: column;
        gap: 16px;
    }
    
    .match-prediction-result {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .previous-tickets-list {
    display: grid;
    grid-template-columns: repeat(1, minmax(280px, 1fr));
    gap: 16px;
}

}

@media (max-width: 600px) {
    .ticket-match-item {
        flex-direction: column;
        gap: 12px;
    }
    
    .match-number {
        align-self: flex-start;
    }
    
    .prev-ticket-stats {
        flex-direction: column;
        gap: 12px;
    }
}


@media (max-width: 1024px) {
    .tips-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

/* Tip Cards Compact */
.tip-card.compact {
    background: white;
    border-radius: 16px;
    padding: 20px; /* Reduced padding */
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 1px solid #e2e8f0;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    flex-direction: column;
    height: 100%; /* Equal height */
}

.tip-card.compact:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.08);
}

/* Match Teams Display */
.ponturi-card .match-teams {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}

.ponturi-card .match-teams .team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    max-width: 90px;
}

.ponturi-card .match-teams .team img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
    object-fit: cover;
}

.match-teams .team span {
    font-size: 0.75rem;
    font-weight: 600;
    color: #1e293b;
    text-align: center;
    line-height: 1.2;
    text-overflow: visible;
    white-space: nowrap;
    width: 100%;
}

.match-teams .vs {
    font-size: 0.7rem;
    font-weight: 700;
    color: #94a3b8;
    flex-shrink: 0;
}

/* Match Info Row */
.match-info-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f1f5f9;
    flex-direction: column;
}

.match-time{
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 500;
}

.match-time i {
    color: #94a3b8;
    font-size: 0.7rem;
}

.match-league i {
    color: #10b981;
    font-size: 0.7rem;
}

.tip-header-compact {
    margin-bottom: 14px;
}

/* Stats columns layout */
.stats-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-bottom: 10px;
    text-align: center;
    background: transparent;
    border-radius: 0;
    padding: 0;
}

.stat-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 0;
}

.stat-col:not(:last-child) {
    border-right: none;
}

.stat-label {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 500;
    text-transform: capitalize;
}

.stat-value {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
}

.stat-value.odds {
    font-size: 13px;
    color: #2563eb;
    font-weight: 700;
}

/* Horizontal progress bar */
.progress-bar-horizontal {
    height: 8px;
    background-color: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 16px;
}

.progress-bar-horizontal .fill {
    height: 100%;
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.card-footer-compact {
    margin-top: auto; /* Push to bottom */
}

.card-footer-compact .btn {
    border-radius: 10px;
    padding: 10px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #475569;
    border-color: #cbd5e1;
}

.card-footer-compact .btn:hover {
    background-color: #f8fafc;
    color: #1e293b;
    border-color: #94a3b8;
}

/* Biletul Zilei Card */
.biletul-zilei-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
}

.bz-image {
    position: relative;
    height: 200px;
}

.bz-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.badge-recommended {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--warning-color);
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.bz-content {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bz-info h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.bz-info p {
    color: var(--text-muted);
}

.bz-stats {
    display: flex;
    align-items: center;
    gap: 24px;
}

.bz-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bz-stat .label {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.bz-stat .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-main);
}

.bz-stat .value.highlight {
    color: var(--accent-color);
    font-size: 1.5rem;
}

/* Generator Card */
.generator-card {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: var(--radius-lg);
    padding: 22px;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    box-shadow: var(--shadow-lg);
}

.gen-header {
    flex: 0 0 auto;
    padding-right: 0;
    width: 100%;
}

.gen-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.gen-header-text {
    flex: 1 1 auto;
    min-width: 0;
}

.gen-header h2 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.gen-header p {
    opacity: 0.9;
    font-size: 1rem;
    margin: 0;
}

.gen-date-filter {
    flex: 0 0 auto;
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.gen-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
    white-space: nowrap;
}

.gen-checkbox input[type="checkbox"] {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: #ffffff;
    cursor: pointer;
}

.gen-controls {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    padding: 14px;
    border-radius: var(--radius-md);
    backdrop-filter: blur(5px);
}

.gen-control-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    margin-bottom: 12px;
    align-items: start;
}

.control-group {
    margin-bottom: 0;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 12px;
    padding: 10px;
}

.control-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.88rem;
}

.control-meta {
    margin-top: 7px;
    display: flex;
    justify-content: flex-end;
}

.control-meta span {
    font-size: 0.82rem;
    font-weight: 700;
    color: #ffffff;
    opacity: 0.95;
    letter-spacing: 0.01em;
}

.control-hint {
    margin-top: 5px;
    display: block;
    font-size: 0.72rem;
    opacity: 0.85;
}

#generator .btn.btn-accent {
    padding: 12px 14px;
}

@media (max-width: 1240px) {
    .gen-control-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.slider {
    width: 100%;
    height: 6px !important;
    background: rgba(255, 255, 255, 0.3) !important;
    border-radius: 3px !important;
    outline: none !important;
    -webkit-appearance: none !important;
    padding: 0 !important;
    border: 0 !important;
}

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
}

.slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    border: 0;
}

.tags-input {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: rgba(255,255,255,0.2);
    padding: 6px 12px;
    border-radius: 16px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: background 0.2s;
}

.tag:hover, .tag.active {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
}

/* Previews Grid */
.previews-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.previews-grid h3 {
    margin: 0 !important;
}

.previews-grid p {
    margin-bottom: 0px !important;
}

.preview-card-horizontal {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    min-height: 280px;
}

.preview-card-horizontal:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.preview-visual {
    background: linear-gradient(135deg, #2e5a9e 0%, #3d6db5 100%);
    padding: 32px 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.visual-pills {
    display: flex;
    gap: 10px;
    margin-bottom: 50px;
}

.visual-pills .pill {
    width: 60px;
    height: 10px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 5px;
}

.preview-visual h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    line-height: 1.3;
    margin: 0;
}

.preview-info {
    padding: 28px 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.preview-meta {
    font-size: 0.85rem;
    color: #94a3b8;
    display: flex;
    align-items: center;
    gap: 6px;
}

.preview-meta i {
    color: #cbd5e1;
}

.preview-info h3 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    line-height: 1.3;
}

.preview-info p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   STATISTICI BILETUL ZILEI — [statistici_bilete]
   Selector categorii (taxonomie categorie_bilet) + mini-statistici + grafic profit + formă recentă
   ============================================ */
.dashboard-block { padding: 6px 0 10px; }

.dashboard-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.month-selector-wrap {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.month-selector-wrap span {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-muted);
}
.month-selector {
    background: var(--bg-card);
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 10px 12px;
    font-family: var(--font-main);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    cursor: pointer;
    width: 100%;
}
.month-selector:focus { outline: none; border-color: var(--accent-color); }

.cat-selector {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}
.cat-tab {
    background: var(--bg-card);
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 12px 10px;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease;
    font-family: var(--font-main);
}
.cat-tab:hover { border-color: #94a3b8; transform: translateY(-2px); }
.cat-tab .cat-code {
    display: inline-flex; align-items: center; justify-content: center;
    width: 34px; height: 34px; border-radius: 50%;
    background: #f1f5f9; color: var(--text-muted);
    font-size: 1rem; margin-bottom: 6px;
}
.cat-tab .cat-name { display: block; font-weight: 600; font-size: 0.9rem; color: var(--text-main); }
.cat-tab .cat-range { display: block; font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }
.cat-tab.active {
    border-color: var(--accent-color);
    background: linear-gradient(135deg, #eff6ff 0%, #ffffff 100%);
    box-shadow: var(--shadow-md);
}
.cat-tab.active .cat-code { background: var(--accent-color); color: white; }

.dashboard-grid {
    display: grid;
    grid-template-columns: minmax(240px, 320px) 1fr;
    gap: 20px;
    align-items: stretch;
}

.mini-stats-col { display: flex; flex-direction: column; gap: 12px; }
.mini-stat-card {
    background: var(--bg-card);
    border: 2px solid #e2e8f0;
    border-radius: var(--radius-md);
    padding: 16px 16px;
    text-align: left;
    flex: 1;
    display: flex; flex-direction: column; justify-content: center;
}
.mini-stat-card .mini-label {
    font-size: 0.75rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.4px; color: var(--text-muted); margin-bottom: 6px;
}
.mini-stat-card .mini-value { font-size: 1.7rem; font-weight: 700; color: var(--text-main); }
.mini-stat-card .mini-value.success { color: var(--success-color); }
.mini-stat-card .mini-value.danger { color: var(--danger-color); }
.mini-stat-card .mini-sub { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }

.chart-card {
    background: var(--bg-card);
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}
.chart-card-head {
    display: flex; justify-content: space-between; align-items: baseline;
    margin-bottom: 6px; flex-wrap: wrap; gap: 6px;
    flex: 0 0 auto;
}
.chart-card-head h3 { font-size: 1.05rem; margin: 0; display: flex; align-items: center; gap: 8px; }
.chart-card-head span { font-size: 0.8rem; color: var(--text-muted); }
.chart-wrap {
    position: relative;
    margin-top: 8px;
    flex: 1 1 auto;
    min-height: 220px;
}
.chart-svg { width: 100%; height: 100%; display: block; overflow: visible; }
.chart-grid { stroke: #e2e8f0; stroke-width: 1; }
.chart-zero { stroke: #cbd5e1; stroke-dasharray: 3 4; stroke-width: 1; }
.chart-area { opacity: 0.14; }
.chart-line { fill: none; stroke: var(--accent-color); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.chart-dot { fill: var(--bg-card); stroke: var(--accent-color); stroke-width: 2; }
.crosshair { stroke: #94a3b8; stroke-width: 1; opacity: 0; pointer-events: none; }
.chart-tooltip {
    position: absolute; pointer-events: none; opacity: 0; transition: opacity .1s ease;
    background: #1e293b; color: white; border-radius: 8px; padding: 6px 10px;
    font-size: 0.78rem; white-space: nowrap; transform: translate(-50%, -115%); z-index: 2;
}
.chart-tooltip .tt-label { color: #94a3b8; font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.4px; }
.chart-tooltip .tt-value { font-weight: 700; }
.chart-empty { padding: 30px 10px; text-align: center; color: var(--text-muted); font-size: 0.9rem; }

.form-dots-wrap { flex: 0 0 auto; margin-top: 16px; padding-top: 14px; border-top: 1px solid #f1f5f9; }
.form-dots-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 8px; flex-wrap: wrap; gap: 6px; }
.form-dots-head h4 { font-size: 0.9rem; margin: 0; }
.form-dots-head span { font-size: 0.78rem; color: var(--text-muted); }
.form-dots { display: flex; flex-wrap: wrap; gap: 6px; }
.form-dot {
    width: 20px; height: 20px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 10px; font-weight: 800; flex: none;
}
.form-dot.win { background: #d1fae5; color: #065f46; border: 1.5px solid var(--success-color); }
.form-dot.loss { background: #fee2e2; color: #991b1b; border: 1.5px solid var(--danger-color); }
.form-legend { display: flex; gap: 16px; margin-top: 10px; font-size: 0.78rem; color: var(--text-muted); }
.form-legend .lg { display: inline-flex; align-items: center; gap: 6px; }
.form-legend .sw { width: 10px; height: 10px; border-radius: 50%; }
.form-legend .sw.win { background: var(--success-color); }
.form-legend .sw.loss { background: var(--danger-color); }

@media (max-width: 860px) {
    .dashboard-grid { grid-template-columns: 1fr; }
    .mini-stats-col { flex-direction: row; }
}
@media (max-width: 640px) {
    .cat-selector { grid-template-columns: repeat(2, 1fr); }
    .mini-stats-col { flex-direction: column; }
}

.preview-stats-row {
    display: flex;
    gap: 12px;
    margin: 10px 0;
}

.preview-stat {
    background: #f8fafc;
    padding: 10px 16px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex: 1;
}

.stat-label-sm {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 500;
    text-transform: uppercase;
}

.stat-value-sm {
    font-size: 0.875rem;
    font-weight: 700;
}

.stat-value-sm.success {
    color: #10b981;
}

.stat-value-sm.warning {
    color: #f59e0b;
}

.stat-value-sm.primary {
    color: #2563eb;
}

.preview-info .btn {
    margin-top: 8px;
    border-radius: 10px;
    padding: 12px;
    font-weight: 600;
}

/* Stats Dashboard */
.stats-dashboard {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stats-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.stat-card {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-md);
    overflow: hidden;
}

.stat-card-header {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-card-header i {
    color: #2563eb;
    font-size: 1.1rem;
}

.stat-card-header h4 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.stat-card-body {
    padding: 20px;
}

/* Form Teams */
.form-team-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.form-team-item:last-child {
    border-bottom: none;
}

.team-info {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
}

.team-info img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.team-info span {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
}

.form-badges {
    display: flex;
    gap: 4px;
    flex: 1;
}

.badge-result {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    color: white;
}

.badge-result.win {
    background: #10b981;
}

.badge-result.draw {
    background: #64748b;
}

.badge-result.loss {
    background: #ef4444;
}

.points {
    font-size: 0.85rem;
    font-weight: 700;
    color: #2563eb;
    min-width: 50px;
    text-align: right;
}

/* Circular Progress */
.circular-progress {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 20px auto;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.big-percent {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #10b981;
}

.small-label {
    display: block;
    font-size: 0.7rem;
    color: #94a3b8;
}

.stat-subtext {
    text-align: center;
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 12px;
}

/* Stats Table */
.stats-table-wrapper {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 20px;
    box-shadow: var(--shadow-md);
}

.page-title-center {
    text-align: center;;
}

.table-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.table-title i {
    color: #2563eb;
}

.stats-table {
    display: flex;
    flex-direction: column;
}

.stat-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    padding: 14px 12px;
    border-bottom: 1px solid #f1f5f9;
    align-items: center;
    gap: 12px;
}

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

.stat-row.header {
    background: #f8fafc;
    border-radius: 8px;
    font-weight: 600;
    color: #64748b;
    font-size: 0.85rem;
    text-transform: uppercase;
    border-bottom: none;
    margin-bottom: 8px;
}

.match-cell {
    display: flex;
    align-items: center;
    gap: 8px;
}

.mini-flag {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.prob-badge {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
}

.prob-badge.high {
    background: #d1fae5;
    color: #059669;
}

.prob-badge.med {
    background: #fef3c7;
    color: #d97706;
}

.corner-avg {
    font-weight: 600;
    color: #1e293b;
    text-align: center;
}

/* Liga Stats Bar Chart */
.stats-liga-chart {
    background: var(--bg-card);
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    padding: 20px;
    box-shadow: var(--shadow-md);
}

.liga-bars {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.liga-bar-item {
    display: grid;
    grid-template-columns: 120px 1fr 60px;
    align-items: center;
    gap: 16px;
}

.liga-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e293b;
}

.bar-track {
    height: 24px;
    background: #f1f5f9;
    border-radius: 12px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #2563eb 0%, #3b82f6 100%);
    border-radius: 12px;
    transition: width 0.5s ease;
}

.liga-value {
    font-size: 1rem;
    font-weight: 700;
    color: #2563eb;
    text-align: right;
}

/* Casino Grid */
.casino-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.casino-card-new {
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    display: flex;
    flex-direction: column;
}

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

.casino-header-new {
    background: linear-gradient(135deg, #3d5a9e 0%, #4a6ab5 100%);
    padding: 32px 24px;
    text-align: center;
    position: relative;
}

.operator-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.operator-badge.exclusive {
    background: #f59e0b;
    color: #1e293b;
}

.operator-badge.popular {
    background: #f97316;
    color: white;
}

.operator-badge.no-deposit {
    background: #10b981;
    color: white;
}

.casino-header-new h3 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.casino-body-new {
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex: 1;
}

/* Archive Biletul Zilei - Grid Layout */
.previews-grid-archive {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.bilet-card-archive {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}
.bilet-excerpt {
    margin-bottom: 0px !important;
}


.bilet-card-archive:hover {
    border-color: #e2e8f0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

.bilet-featured-image {
    width: 100%;
    height: 220px;
    background-size: cover;
    background-position: center;
    background-color: #f8fafc;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-ticket {
    font-size: 4rem;
    color: #cbd5e1;
}

.bilet-status-badge {
    position: relative;
    /* top: 12px; */
    /* right: 12px; */
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgb(249 181 28);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.previews-grid-archive .bilet-status-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    background: rgb(249 181 28);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

* 

.bilet-status-badge.winning {
    background: #10b981;
    color: white;
}

.bilet-status-badge.losing {
    background: #ef4444;
    color: white;
}

.single-biletul_zilei .bilet-status-badge.losing, .single-biletul_zilei .bilet-status-badge.winning, .single-biletul_zilei .bilet-status-badge.pending {
    position: relative;
    top: 0;
    right: 0;
}
.bilet-status-badge.pending {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: white;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.bilet-card-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.bilet-card-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.4;
}

.bilet-meta-info {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.bilet-info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    color: #64748b;
}

.bilet-info-item i {
    color: #7c3aed;
    font-size: 1rem;
}

.bilet-excerpt {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.bilet-card-content .btn {
    margin-top: auto;
}

@media (max-width: 768px) {
    .previews-grid-archive {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        gap: 16px;
    }

    .bilet-featured-image {
        height: 180px;
    }
    .my-account {
        display: block;
    }
    .auth-buttons {
        display: none !important;
    }
}

@media (max-width: 600px) {
    .previews-grid-archive {
        grid-template-columns: 1fr;
    }

    .bilet-card-content {
        padding: 16px;
    }

    .bilet-card-content h3 {
        font-size: 1.1rem;
    }
}

.casino-body-new h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
    min-height: 3em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.casino-body-new p {
    color: #64748b;
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0 0 20px 0;
    flex: 1;
    min-height: 4em;
}

.casino-body-new .btn {
    margin-bottom: 12px;
    border-radius: 10px;
    padding: 12px;
    font-weight: 600;
    margin-top: auto;
}

.terms-text {
    font-size: 0.75rem !important;
    color: #94a3b8 !important;
    margin: 0 !important;
}

/* Old casino styles - keep for backwards compatibility */
.casino-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: transform 0.2s;
}

.casino-card:hover {
    transform: translateY(-5px);
}

.casino-img {
    position: relative;
    height: 160px;
}

.casino-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
}

.badge-casino {
    position: absolute;
    top: 10px;
    left: 10px;
    background: var(--primary-color);
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.badge-casino.free {
    background: var(--success-color);
}

.casino-content {
    padding: 20px;
    text-align: center;
}

.casino-content h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

.bonus-val {
    font-weight: 700;
    color: var(--accent-color);
    font-size: 1.1rem;
    margin-bottom: 16px;
}

/* Sidebar Widgets */
.widget {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-md);
    margin-bottom: 24px;
    border: 1px solid var(--border-color);
}

/* Bonus Exclusive Cards */
.bonus-exclusive-card {
    padding: 0;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.bonus-card-header {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2563eb;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bonus-card-header i {
    font-size: 1rem;
}

.bonus-card-visual {
    background: linear-gradient(135deg, #3d5a9e 0%, #4a6ab5 100%);
    padding: 40px 20px;
    text-align: center;
    border-radius: 12px;
    margin: 20px;
}

.bonus-card-visual h3 {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    margin: 0;
}


.bonus-card-body h4 {
    font-family: var(--font-display);
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 6px 0;
}

.bonus-small-text {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0 0 16px 0;
}

.bonus-card-body .btn {
    border-radius: 10px;
    padding: 12px;
    font-weight: 600;
    font-size: 0.95rem;
}

.widget-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #f1f5f9;
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--accent-color);
}

.bonus-widget-item {
    display: block;
    margin-bottom: 12px;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.bonus-widget-item:last-child {
    margin-bottom: 0;
}

.highlight-widget {
    background: linear-gradient(135deg, #f8fafc, #e2e8f0);
    border: 1px solid #cbd5e1;
}

/* Generator AI Widget */
.generator-ai-widget {
    padding: 0;
    overflow: hidden;
}

.generator-ai-header {
    background: #f8fafc;
    padding: 16px 20px;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.generator-ai-header i {
    color: #2563eb;
    font-size: 1.1rem;
}

.generator-ai-header h3 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.generator-ai-body {
    padding: 20px;
    text-align: center;
}

.generator-ai-body p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 16px 0;
}

.generator-ai-body .btn {
    border-radius: 8px;
    padding: 12px;
    font-weight: 600;
}

.match-day-compact .widget-title {
    font-size: 1rem;
    margin-bottom: 12px;
    padding-bottom: 8px;
}

.match-day-visual {
    background: linear-gradient(135deg, #3d5a9e 0%, #4a6ab5 100%);
    padding: 40px 20px;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 16px;
}

.match-day-visual h4 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

.match-day-details h5 {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px 0;
    text-align: center;
}

.match-day-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.pred-info, .odds-info {
    flex: 1;
    background: #f8fafc;
    padding: 10px;
    border-radius: 8px;
    text-align: center;
}

.label-sm {
    display: block;
    font-size: 0.7rem;
    color: #94a3b8;
    margin-bottom: 4px;
    text-transform: uppercase;
    font-weight: 500;
}

.value-sm {
    display: block;
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
}

.value-sm.highlight {
    font-size: 1.2rem;
    color: #2563eb;
}

.match-day-details .btn-sm {
    padding: 10px;
    font-size: 0.9rem;
    border-radius: 8px;
}


.trend-list ul {
    padding-left: 0 !important;
}
.trend-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f1f5f9;
}

.trend-list li:last-child {
    border-bottom: none;
}

.trend-match {
    font-size: 0.9rem;
    color: var(--text-main);
}

.trend-tag {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 4px;
}

.trend-tag.gg { background: #dcfce7; color: #166534; }
.trend-tag.over { background: #dbeafe; color: #1e40af; }
.trend-tag.cards { background: #fee2e2; color: #991b1b; }
.trend-tag.under { background: #f3e8ff; color: #6b21a8; }
.trend-tag.no-gg { background: #fee2e2; color: #b91c1c; }
.trend-tag.one { background: #e0f2fe; color: #0369a1; }
.trend-tag.x { background: #fef9c3; color: #854d0e; }
.trend-tag.two { background: #fef2f2; color: #9a3412; }
.trend-tag[class*="3"] { background: #e0f2fe; color: #0f172a; }

.quick-stats .qs-item {
    margin-bottom: 16px;
}

.qs-label {
    display: block;
    font-size: 0.85rem;
    margin-bottom: 4px;
    color: var(--text-muted);
}

.qs-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    margin-bottom: 4px;
    overflow: hidden;
}

.qs-bar div {
    height: 100%;
    background: var(--primary-color);
    border-radius: 4px;
}

.qs-val {
    font-size: 0.8rem;
    font-weight: 700;
    float: right;
    margin-top: -20px;
}

.popular-articles .pop-article {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    align-items: center;
}

.pop-article img {
    width: 80px;
    height: 50px;
    object-fit: cover;
    border-radius: 4px;
}

.pop-article span {
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.3;
}

/* Footer */
.main-footer {
    background-color: #1e293b;
    color: #cbd5e1;
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #334155;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    display: block;
    margin-bottom: 16px;
}

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

.about-col p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 24px;
    opacity: 0.8;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icons a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.social-icons a:hover {
    background: var(--accent-color);
    color: white;
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.9rem;
    opacity: 0.8;
}

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

.footer-bottom {
    padding: 24px 0;
    background-color: #0f172a;
    font-size: 0.85rem;
    opacity: 0.7;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.onjn-logos {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 2.5rem; }
    .main-layout { grid-template-columns: 1fr; }
    .sidebar-column { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
    .casino-grid { grid-template-columns: 1fr 1fr; }
    .stats-cards-grid { grid-template-columns: 1fr; }
    .preview-card-horizontal { grid-template-columns: 1fr; }
    .preview-visual { padding: 24px 20px; }
    .preview-visual h3 { font-size: 1.5rem; }
}

@media (max-width: 768px) {
    /* Header */
    .main-header { 
        height: 64px;
        width: 100%;
    }
    .header-container { 
        height: 64px; 
        padding: 0 10px;
        flex-wrap: nowrap;
        width: 100%;
        max-width: 100%;
    }
    .logo { 
        font-size: 1.1rem;
        white-space: nowrap;
    }
    .logo span { display: none; }
    .main-nav { 
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: white;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        padding: 20px;
        z-index: 100;
    }
    .main-nav ul { flex-direction: column; gap: 16px; }
    .header-actions { display: none; }
    .search-bar { display: none; }
    .mobile-menu-toggle { 
        display: block;
        padding: 8px;
    }
    
    /* Hero */
    .hero-section { 
        padding: 20px 0;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    .hero-container { 
        grid-template-columns: 1fr; 
        text-align: center; 
        gap: 14px;
        padding: 0;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    .hero-content {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
        padding: 0;
    }
    .hero-badge-wrapper {
        margin-bottom: 14px;
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    .badge-hero {
        font-size: 0.75rem;
        padding: 6px 12px;
        white-space: nowrap;
        max-width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .hero-content h1 { 
        font-size: 1.5rem;
        line-height: 1.2;
        margin-bottom: 10px;
        max-width: 100%;
        word-wrap: break-word;
    }
    .hero-content h1 br {
        display: inline;
    }
    .hero-content p { 
        font-size: 0.85rem;
        margin-bottom: 14px;
        padding: 0;
        max-width: 100%;
        line-height: 1.5;
    }
    .hero-buttons { 
        flex-direction: column; 
        justify-content: center;
        width: 100%;
        max-width: 100%;
        gap: 8px;
        margin-bottom: 20px;
    }
    .hero-buttons .btn {
        width: 100%;
        max-width: 100%;
        padding: 11px 14px;
        font-size: 0.85rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .hero-buttons .btn i {
        font-size: 0.8rem;
    }
    .hero-stats-row { 
        display: flex;
        flex-wrap: nowrap;
        gap: 6px;
        margin-top: 0;
        width: 100%;
        max-width: 100%;
    }
    .hero-stat-card {
        padding: 10px 8px;
        flex: 1;
        min-width: 0;
    }
    .hero-stat-card .stat-val {
        font-size: 1rem;
    }
    .hero-stat-card .stat-label {
        font-size: 0.7rem;
    }
    .hero-visual { display: none; }
    
    /* Main Layout */
    .main-layout { 
        gap: 25px;
        padding: 0;
        padding-bottom: 30px;
        width: 100%;
        max-width: 100%;
    }
    .content-column {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    .container { 
        padding: 0 10px;
        width: 100%;
        max-width: 100%;
    }
    .section-block { 
        margin-bottom: 25px;
        width: 100%;
        max-width: 100%;
    }
    .section-header { 
        flex-direction: column; 
        align-items: flex-start; 
        gap: 8px;
        margin-bottom: 16px;
    }
    .section-header h2 { 
        font-size: 1.3rem;
        line-height: 1.2;
    }
    .view-all {
        font-size: 0.85rem;
    }
    
    /* Tips Cards */
    .tips-grid { 
        grid-template-columns: 1fr;
        gap: 14px;
        width: 100%;
    }
    .tip-card.compact {
        padding: 12px;
        width: 100%;
        max-width: 100%;
    }
    .match-teams {
        flex-wrap: nowrap;
        gap: 6px;
        margin-bottom: 14px;
    }
    .match-teams .team {
        min-width: 0;
        flex: 1;
        max-width: 45%;
    }
    .match-teams .team img {
        width: 28px;
        height: 28px;
    }
    .match-teams .team span {
        font-size: 0.75rem;
        max-width: 100%;
    }
    .match-teams .vs {
        font-size: 0.7rem;
        padding: 0 2px;
        flex-shrink: 0;
    }
    .match-info-row {
        font-size: 0.7rem;
        gap: 8px;
        margin-bottom: 10px;
    }
    .stats-columns {
        gap: 6px;
        margin-bottom: 8px;
    }
    .stat-label {
        font-size: 0.65rem;
    }
    .stat-value {
        font-size: 0.9rem;
    }
    .stat-value.odds {
        font-size: 1.2rem;
    }
    .progress-bar-horizontal {
        margin-bottom: 12px;
    }
    .card-footer-compact .btn {
        padding: 8px;
        font-size: 0.85rem;
    }
    
    /* Sidebar */
    .sidebar-column { 
        grid-template-columns: 1fr;
        width: 100%;
        max-width: 100%;
    }
    .widget {
        width: 100%;
        max-width: 100%;
        padding: 14px;
    }
    .widget-title {
        font-size: 0.95rem;
    }
    
    /* Bonuses in sidebar */
    .bonus-card-visual {
        padding: 30px 16px;
        margin: 14px;
    }
    .bonus-card-visual h3 {
        font-size: 1.5rem;
    }
    .bonus-card-body {
        padding: 0 14px 14px 14px;
    }
    .bonus-card-body h4 {
        font-size: 0.95rem;
    }
    .bonus-small-text {
        font-size: 0.8rem;
    }
    
    /* Generator AI */
    .generator-ai-body p {
        font-size: 0.85rem;
    }
    
    /* Match day */
    .match-day-visual {
        padding: 30px 16px;
    }
    .match-day-visual h4 {
        font-size: 1.3rem;
    }
    
    /* Biletul Zilei */
    .biletul-zilei-card {
        width: 100%;
        max-width: 100%;
    }
    .bz-content {
        padding: 16px;
        flex-direction: column;
        gap: 20px;
    }

    .bz-info h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    margin-bottom: 8px;
}
    
    /* Generator */
    .generator-card {
        padding: 16px;
        width: 100%;
        max-width: 100%;
        flex-direction: column;
    }
    .gen-header {
        padding-right: 0;
        margin-bottom: 16px;
    }
    .gen-header-row {
        flex-direction: column;
        align-items: flex-start;
    }
    .gen-date-filter {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .gen-controls {
        width: 100%;
        padding: 16px;
    }
    .gen-control-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    .control-group {
        padding: 12px;
    }
    
    /* Avancronici */
    .preview-card-horizontal { 
        grid-template-columns: 1fr; 
        min-height: auto;
        width: 100%;
        max-width: 100%;
    }
    .preview-visual { 
        padding: 20px 14px;
        min-height: 200px;
    }
    .visual-pills {
        margin-bottom: 30px;
    }
    .visual-pills .pill {
        width: 45px;
        height: 8px;
    }
    .preview-visual h3 { 
        font-size: 1.1rem;
        line-height: 1.2;
    }
    .preview-info { 
        padding: 14px;
    }
    .preview-meta {
        font-size: 0.75rem;
    }
    .preview-info h4 {
        font-size: 1.1rem;
    }
    .preview-info p {
        font-size: 0.85rem;
    }
    .preview-stats-row { 
        flex-wrap: wrap;
        gap: 6px;
    }
    .preview-stat {
        flex: 1 1 calc(50% - 3px);
        min-width: 85px;
        padding: 8px 10px;
    }
    .stat-label-sm {
        font-size: 0.65rem;
    }
    .stat-value-sm {
        font-size: 0.85rem;
    }
    .preview-info .btn {
        padding: 10px;
        font-size: 0.9rem;
    }
    
    /* Casino/Bonuses */
    .casino-grid { 
        grid-template-columns: 1fr;
        gap: 16px;
        width: 100%;
    }
    .casino-card-new {
        width: 100%;
        max-width: 100%;
    }
    .casino-header-new { 
        padding: 24px 14px;
    }
    .casino-header-new h3 { 
        font-size: 1.4rem;
    }
    .operator-badge {
        font-size: 0.65rem;
        padding: 4px 10px;
    }
    .casino-body-new {
        padding: 16px 14px;
    }
    .casino-body-new h4 {
        font-size: 1rem;
        min-height: auto;
    }
    .casino-body-new p {
        font-size: 0.85rem;
        min-height: auto;
    }
    
    /* Stats */
    .stats-dashboard {
        gap: 16px;
        width: 100%;
        max-width: 100%;
    }
    .stats-cards-grid { 
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .stat-card {
        width: 100%;
        max-width: 100%;
    }
    .stat-card-body {
        padding: 14px;
    }
    .team-info {
        min-width: 80px;
    }
    .team-info span {
        font-size: 0.8rem;
    }
    .form-badges { 
        gap: 2px;
    }
    .badge-result {
        width: 20px;
        height: 20px;
        font-size: 0.65rem;
    }
    .points {
        font-size: 0.8rem;
    }
    .stats-table-wrapper {
        padding: 14px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        width: 100%;
        max-width: 100%;
    }
    .stats-table {
        min-width: 100%;
    }
    .stat-row { 
        grid-template-columns: 2fr 1fr 1fr 1fr;
        gap: 4px;
        padding: 8px 4px;
        font-size: 0.75rem;
    }
    .match-cell {
        min-width: 90px;
    }
    .match-cell span {
        font-size: 0.75rem;
    }
    .mini-flag {
        width: 14px;
        height: 14px;
    }
    .prob-badge {
        padding: 3px 6px;
        font-size: 0.7rem;
    }
    .corner-avg {
        font-size: 0.75rem;
    }
    .stats-liga-chart {
        padding: 14px;
        width: 100%;
        max-width: 100%;
    }
    .liga-bars {
        gap: 12px;
    }
    .liga-bar-item { 
        grid-template-columns: 80px 1fr 40px;
        gap: 8px;
    }
    .liga-name {
        font-size: 0.8rem;
    }
    .bar-track {
        height: 20px;
    }
    .liga-value {
        font-size: 0.9rem;
    }
    
    /* Footer */
    .footer-main {
        padding: 30px 0;
    }
    .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    .footer-col h4 {
        font-size: 1rem;
    }
    .footer-bottom .container { 
        flex-direction: column; 
        gap: 10px; 
        text-align: center;
    }
    
    /* Ticket Popup */
    .ticket-popup { 
        width: calc(100% - 20px);
        bottom: 10px;
        right: 10px;
        left: 10px;
        max-width: 100%;
    }
    .ticket-popup-header {
        padding: 12px 14px;
    }
    .ticket-popup-header h4 {
        font-size: 0.95rem;
    }
    .ticket-popup-body {
        padding: 14px;
        max-height: 280px;
    }
    .ticket-match-item {
        padding: 10px;
        margin-bottom: 8px;
    }
    .match-teams {
        font-size: 0.85rem;
    }
    .match-time {
        font-size: 0.7rem;
    }
    .match-league {
        font-size: 0.7rem;
    }
    .match-odds {
        font-size: 0.8rem;
    }
    .ticket-total {
        padding: 12px;
        margin-top: 12px;
    }
    .total-odds {
        font-size: 1.5rem;
    }
    .ticket-popup-footer {
        padding: 12px 14px;
    }
    .ticket-popup-footer .btn {
        padding: 12px;
        font-size: 0.9rem;
    }
    
    /* Casino/Bonuses */
    
    /* Stats */
    .stats-cards-grid { grid-template-columns: 1fr; }
    .stat-row { 
        grid-template-columns: 1fr; 
        gap: 8px;
        padding: 12px;
    }
    .stat-row.header { display: none; }
    .match-cell { justify-content: space-between; }
    .prob-badge, .corner-avg { 
        display: inline-block;
        margin-right: 8px;
    }
    .liga-bar-item { 
        grid-template-columns: 100px 1fr 50px;
        gap: 12px;
    }
    .form-badges { flex-wrap: wrap; }
}

@media (max-width: 768px) {
    /* Footer */
    .footer-grid { 
        grid-template-columns: 1fr; 
        gap: 20px;
    }
    .footer-col h4 {
        font-size: 1rem;
    }
    .footer-bottom .container { 
        flex-direction: column; 
        gap: 10px; 
        text-align: center;
    }
    
    /* Ticket Popup */
    .ticket-popup { 
        width: calc(100vw - 32px);
        bottom: 16px;
        right: 16px;
        left: 16px;
    }

    
}

@media (max-width: 600px) {
    /* Typography */
    .hero-content h1 { font-size: 1.75rem; }
    .section-header h2 { font-size: 1.25rem; }
    
    /* Header */
    .logo { font-size: 1.2rem; }
    
    /* Hero */
    .hero-section { padding: 40px 0; }
    .hero-buttons .btn { padding: 12px 20px; font-size: 0.9rem; }
    
    /* Cards */
    .tip-card.compact { padding: 16px; }
    .match-teams { flex-direction: row; gap: 8px; }
    
    .stats-columns { gap: 8px; }
    .stat-value { font-size: 0.95rem; }
    .stat-value.odds { font-size: 1.3rem; }
    
    /* Bonus Cards */
    .casino-header-new h3 { font-size: 1.6rem; }
    .casino-body-new h4 { font-size: 1rem; }
    
    /* Avancronici */
    .preview-visual h3 { font-size: 1.2rem; }
    .visual-pills { margin-bottom: 30px; }
    .visual-pills .pill { width: 50px; height: 8px; }
    
    /* Stats Dashboard */
    .team-info { min-width: 100px; }
    .team-info span { font-size: 0.8rem; }
    .form-badges { gap: 2px; }
    .badge-result { width: 20px; height: 20px; font-size: 0.65rem; }
    
    /* Generator Card */
    .generator-card { padding: 20px; }
    
    /* Ticket Popup */
    .ticket-popup-header h4 { font-size: 1rem; }
    .total-odds { font-size: 1.5rem; }
}

/* Floating Generated Ticket Popup */
.ticket-popup {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 380px;
    max-width: calc(100vw - 40px);
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: all 0.3s ease;
    border: 2px solid #2563eb;
}

.ticket-popup.hidden {
    opacity: 0;
    transform: translateY(100px);
    pointer-events: none;
}

.ticket-popup.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}

.ticket-popup-header {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    padding: 16px 20px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ticket-popup-header h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ticket-popup-header h4 i {
    font-size: 1.2rem;
}

.close-ticket {
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: background 0.2s;
}

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

.ticket-popup-body {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

#generated-ticket-popup .ticket-match-item {
    display: flex;
    gap: 0px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 10px;
    margin-bottom: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
    flex-direction: column;
}


.ticket-match-item {
    display: flex;
    gap: 10px;
    padding: 16px;
    background: #f8fafc;
    border-radius: 10px;
    margin-bottom: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s;
    flex-direction: row;
}

.ticket-match-item:last-child {
    margin-bottom: 0;
}

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

.ticket-match-teams {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.95rem;
}

.match-time {
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    align-items: center;
    gap: 4px;
}

.match-details {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
}

.match-prediction {
    font-size: 0.85rem;
    color: #0f172a;
    font-weight: 600;
    flex: 1 1 100%;
    margin-bottom: 8px;
}

.match-league {
    font-size: 0.8rem;
    color: #2563eb;
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 600;
}

.match-odds {
    font-size: 0.9rem;
    font-weight: 700;
    color: #2563eb;
}

.ticket-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 10px;
    margin-top: 16px;
    border: 2px solid #2563eb;
}

.ticket-total span:first-child {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
}

.total-odds {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2563eb;
}

.ticket-popup-footer {
    padding: 16px 20px;
    border-top: 1px solid #e2e8f0;
}

.ticket-popup-footer .btn {
    border-radius: 10px;
    padding: 14px;
    font-weight: 700;
    font-size: 1rem;
}

/* ===================================
   GENERATOR PAGE STYLES
   =================================== */

/* Generator Hero */
.generator-hero {
    background-color: #f0f4f8;
    padding: 35px 0 25px;
}

.gen-hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.gen-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: white;
    color: var(--text-main);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 12px;
    border: 1px solid #e2e8f0;
    box-shadow: var(--shadow-sm);
}

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

.generator-hero h1 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #1e3a8a;
}

.generator-hero p {
    font-size: 1rem;
    color: #64748b;
    max-width: 550px;
    margin: 0 auto;
}

/* Generator Main Card */
.generator-main-card {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid #e2e8f0;
}

.gen-card-header {
    text-align: center;
    margin-bottom: 24px;
}

.gen-card-header h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.gen-card-header p {
    color: #64748b;
    font-size: 0.9rem;
}

/* Generator Controls Grid */
.gen-controls-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.gen-control-box {
    background: #f8fafc;
    padding: 16px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    transition: all 0.3s ease;
}

.gen-control-box:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.1);
}

.gen-control-box.full-width {
    grid-column: 1 / -1;
}

.gen-label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 12px;
    font-size: 0.9rem;
}

/* Range Slider */
.range-display {
    background: white;
    padding: 10px 16px;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 12px;
    border: 1px solid #e2e8f0;
}

.range-display span {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2563eb;
}

.dual-range {
    position: relative;
    margin-bottom: 8px;
}

.range-slider {
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: #e2e8f0;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2563eb;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.range-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #2563eb;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.3);
}

.range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #64748b;
}

/* Number Selector */
.number-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: white;
    padding: 12px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.num-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: 2px solid #2563eb;
    background: white;
    color: #2563eb;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.num-btn:hover {
    background: #2563eb;
    color: white;
}

.number-selector input {
    width: 50px;
    text-align: center;
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    border: none;
    background: transparent;
}

.control-hint {
    text-align: center;
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 6px;
}

/* Bet Types Grid */
.bet-types-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.checkbox-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkbox-card input {
    position: absolute;
    opacity: 0;
}

.checkbox-card .checkbox-label {
    font-weight: 600;
    color: #64748b;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.checkbox-card i {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 0.9rem;
    color: white;
    background: #2563eb;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.checkbox-card input:checked ~ .checkbox-label {
    color: #2563eb;
}

.checkbox-card input:checked ~ i {
    opacity: 1;
}

.checkbox-card:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
}

/* Leagues Selector */
.leagues-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.league-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.league-chip img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.league-chip:hover {
    border-color: #3b82f6;
    transform: translateY(-2px);
}

.league-chip.active {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
}

/* Strategy Cards */
.strategy-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.strategy-card {
    position: relative;
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.strategy-card input {
    position: absolute;
    opacity: 0;
}

.strategy-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: #64748b;
    transition: all 0.3s ease;
}

.strategy-card h4 {
    font-size: 1rem;
    color: #1e293b;
    margin-bottom: 6px;
}

.strategy-card p {
    font-size: 0.8rem;
    color: #64748b;
}

.strategy-card:hover {
    border-color: #3b82f6;
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.15);
}

.strategy-card.active,
.strategy-card input:checked ~ * {
    border-color: #2563eb;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.strategy-card.active .strategy-icon,
.strategy-card input:checked ~ .strategy-icon {
    background: #2563eb;
    color: white;
}

/* Generator Actions */
.gen-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
}

.btn-generate {
    min-width: 250px;
}

/* Ticket Display Card */
.ticket-display-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid #e2e8f0;
}

.ticket-header-banner {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    padding: 16px 20px;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ticket-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ticket-label {
    font-size: 0.8rem;
    opacity: 0.9;
    font-weight: 500;
}

.ticket-date {
    font-size: 0.95rem;
    font-weight: 700;
}

.ticket-total-odds {
    text-align: right;
}

.ticket-total-odds .label {
    display: block;
    font-size: 0.75rem;
    opacity: 0.9;
    margin-bottom: 2px;
}

.ticket-total-odds .odds-value {
    font-size: 2rem;
    font-weight: 700;
}

/* Ticket Matches List */


.ticket-match-item-gen {
    padding: 12px 16px;
    border-bottom: 1px solid #e2e8f0;
    transition: background 0.2s ease;
}

.ticket-match-item-gen:hover {
    background: #f8fafc;
}

.ticket-match-item-gen:last-child {
    border-bottom: none;
}

.match-header-gen {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.match-left-info {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.match-teams-gen {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
}

.match-bet-type {
    display: inline-block;
    background: #f1f5f9;
    padding: 3px 10px;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #475569;
    white-space: nowrap;
}

.match-odds-gen {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2563eb;
    background: #eff6ff;
    padding: 3px 10px;
    border-radius: 6px;
}

.match-details-gen {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: #64748b;
}

.match-details-gen span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Ticket Footer Actions */
.ticket-footer-actions {
    padding: 16px 20px;
    background: #f8fafc;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: end;
}

.ticket-footer-actions .btn {
    grid-column: 1 / -1;
}

.stake-input-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stake-input-group label {
    font-weight: 600;
    color: #475569;
    font-size: 0.85rem;
}

.stake-input-group input {
    padding: 10px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
}

.potential-win {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: right;
}

.pw-label {
    font-weight: 600;
    color: #475569;
    font-size: 0.85rem;
}

.pw-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #16a34a;
}

/* Generator Stats Widget */
.gen-stats {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.gen-stat-item {
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 16px;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.gen-stat-item i {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    color: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.gen-stat-item div {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gen-stat-item .stat-val {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
}

.gen-stat-item .stat-lab {
    font-size: 0.85rem;
    color: #64748b;
}

/* Recent Tickets */
.recent-tickets-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recent-ticket-item {
    padding: 16px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    background: white;
    transition: all 0.3s ease;
}

.recent-ticket-item:hover {
    border-color: #3b82f6;
    transform: translateX(4px);
}

.recent-ticket-item.won {
    border-left: 4px solid #16a34a;
}

.recent-ticket-item.lost {
    border-left: 4px solid #dc2626;
}

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

.rt-status {
    font-weight: 700;
    font-size: 0.85rem;
}

.recent-ticket-item.won .rt-status {
    color: #16a34a;
}

.recent-ticket-item.lost .rt-status {
    color: #dc2626;
}

.rt-odds {
    font-size: 1.1rem;
    font-weight: 700;
    color: #2563eb;
}

.rt-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 6px;
}

.rt-time {
    font-size: 0.75rem;
    color: #94a3b8;
}

/* Tips List */
.tips-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tips-list li {
    display: flex;
    gap: 12px;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.5;
}

.tips-list i {
    color: #16a34a;
    flex-shrink: 0;
    margin-top: 2px;
}

/* ===================================
   BONUSES PAGE STYLES
   =================================== */

/* Bonuses Hero */
.bonuses-hero {
    background-color: #f0f4f8;
    padding: 35px 0 25px;
}

.bonuses-hero-content {
    text-align: center;
    margin: 0 auto;
}

.bonuses-hero h1 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    margin-bottom: 10px;
    color: #1e3a8a;
}

.bonuses-hero p {
    font-size: 1rem;
    color: #64748b;
    margin: 0 auto;
}

/* Bonus Filters */
.bonus-filters {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    background: white;
    padding: 16px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    border-color: #3b82f6;
    background: #eff6ff;
    color: #2563eb;
}

.filter-btn.active {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
}

/* Featured Bonus Card */
.featured-bonus-card {
    position: relative;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(37, 99, 235, 0.2);
}

.featured-ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: #f59e0b;
    color: white;
    padding: 8px 40px;
    transform: rotate(45deg);
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.featured-bonus-content {
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 30px;
    align-items: center;
}

.featured-left {
    display: flex;
    gap: 24px;
    align-items: center;
}

.operator-logo-large {
    background: white;
    padding: 16px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.operator-logo-large img {
    max-width: 120px;
    height: auto;
}

.featured-info {
    color: white;
}

.featured-info h2 {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.featured-amount {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: #fbbf24;
}

.featured-info > p {
    font-size: 1rem;
    margin-bottom: 16px;
    opacity: 0.95;
}

.featured-benefits {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.featured-benefits li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
}

.featured-benefits i {
    color: #10b981;
    background: rgba(255, 255, 255, 0.2);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

.featured-right {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 24px;
    border-radius: 12px;
    min-width: 240px;
    text-align: center;
}

.rating-box {
    margin-bottom: 16px;
}

.rating-stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-bottom: 6px;
}

.rating-score {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
}

.terms-small {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 10px;
}

/* Bonuses Grid */
.bonuses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.bonus-detailed-card {
    background: white;
    border-radius: 14px;
    border: 2px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.bonus-detailed-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
    transform: translateY(-4px);
}

.bonus-detailed-card.selected {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
    background: #eff6ff;
}

.bonus-card-labels {
    display: flex;
    gap: 8px;
    padding: 12px 16px 0;
}

.bonus-label {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.bonus-label.exclusive {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.bonus-label.hot {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
}

.bonus-label.new {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.bonus-label.no-deposit {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

.bonus-label.cashback {
    background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    color: white;
}

.bonus-label.reload {
    background: linear-gradient(135deg, #ec4899 0%, #db2777 100%);
    color: white;
}

.bonus-operator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.bonus-operator-header img {
    max-width: 100px;
    height: auto;
}

.operator-rating {
    text-align: right;
}

.stars-small {
    color: #fbbf24;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.operator-rating span {
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
}

.bonus-main-info {
    padding: 16px;
}

.bonus-main-info h3 {
    font-size: 1.1rem;
    color: #1e293b;
    margin-bottom: 10px;
}

.bonus-amount-display {
    font-size: 1.8rem;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 12px;
}

.bonus-description {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.5;
}

.bonus-highlights {
    display: flex;
    gap: 8px;
    padding: 0 16px 16px;
}

.highlight-item {
    flex: 1;
    background: #f8fafc;
    padding: 10px 8px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.highlight-item i {
    color: #2563eb;
    font-size: 1rem;
    display: block;
    margin-bottom: 6px;
}

.highlight-item span {
    font-size: 0.8rem;
    font-weight: 600;
    color: #475569;
}

.bonus-card-actions {
    padding: 16px;
    border-top: 1px solid #e2e8f0;
}

.btn-details {
    width: 100%;
    background: transparent;
    border: none;
    color: #2563eb;
    padding: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    margin-top: 8px;
    transition: color 0.3s ease;
}

.btn-details:hover {
    color: #1e40af;
}

.bonus-full-details {
    padding: 16px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.details-section {
    margin-bottom: 16px;
}

.details-section:last-child {
    margin-bottom: 0;
}

.details-section h4 {
    font-size: 0.95rem;
    color: #1e293b;
    margin-bottom: 10px;
}

.details-section ul,
.details-section ol {
    padding-left: 20px;
}

.details-section li {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 6px;
}

/* Sort Dropdown */
.sort-dropdown {
    position: relative;
}

.sort-dropdown select {
    padding: 8px 32px 8px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    background: white;
    font-weight: 600;
    font-size: 0.9rem;
    color: #475569;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23475569' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
}

/* Comparison Widget */
.comparison-widget {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.widget-desc {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}

.selected-bonuses-list {
    background: #f8fafc;
    border-radius: 8px;
    padding: 12px;
    min-height: 80px;
}

.selected-bonus-item {
    padding: 8px;
    background: white;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #94a3b8;
    text-align: center;
}

/* Quick Filters */
.quick-filters {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-checkbox:hover {
    background: #eff6ff;
}

.filter-checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.filter-checkbox span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #475569;
}

/* Top Operators */
.top-operators-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.top-operator-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.rank {
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    width: 60px
}

.operator-info {
    flex: 1;
}

.operator-info strong {
    display: block;
    font-size: 0.9rem;
    color: #1e293b;
    margin-bottom: 2px;
}

.stars-tiny {
    color: #fbbf24;
    font-size: 0.75rem;
}

.quick-link {
    color: #2563eb;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
}

.quick-link:hover {
    text-decoration: underline;
}

/* Guide Links */
.guide-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.guide-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    color: #475569;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.guide-link:hover {
    background: #eff6ff;
    color: #2563eb;
}

.guide-link i {
    color: #2563eb;
    font-size: 1rem;
}

/* ===================================
   BONUSES PAGE - RESPONSIVE
   =================================== */

@media (max-width: 768px) {
    .bonuses-hero {
        padding: 25px 0 20px;
    }

    .bonuses-hero h1 {
        font-size: 1.8rem;
    }

    .bonuses-hero p {
        font-size: 0.9rem;
    }

    .bonus-filters {
        padding: 12px;
        gap: 8px;
    }

    .filter-btn {
        padding: 8px 14px;
        font-size: 0.85rem;
    }

    .featured-bonus-content {
        grid-template-columns: 1fr;
        padding: 24px;
        gap: 20px;
    }

    .featured-left {
        flex-direction: column;
        text-align: center;
    }

    .operator-logo-large img {
        max-width: 100px;
    }

    .featured-amount {
        font-size: 2rem;
    }

    .featured-info h2 {
        font-size: 1.4rem;
    }

    .featured-right {
        min-width: auto;
        width: 100%;
    }

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

@media (max-width: 600px) {
    .bonuses-hero {
        padding: 20px 0 16px;
    }

    .bonuses-hero h1 {
        font-size: 1.6rem;
    }

    .bonus-filters {
        padding: 10px;
    }

    .featured-bonus-content {
        padding: 20px;
    }

    .operator-logo-large {
        padding: 12px 16px;
    }

    .featured-amount {
        font-size: 1.8rem;
    }

    .featured-info h2 {
        font-size: 1.2rem;
    }

    .featured-info > p,
    .featured-benefits li {
        font-size: 0.85rem;
    }

    .bonus-amount-display {
        font-size: 1.5rem;
    }

    .bonus-highlights {
        flex-direction: column;
    }

    .highlight-item {
        padding: 8px;
    }
}

/* ===================================
   SINGLE MATCH PAGE STYLES
   =================================== */

/* Breadcrumb */
.breadcrumb {
    padding: 12px 0;
    font-size: 0.85rem;
    color: #64748b;
}

.breadcrumb a {
    color: #2563eb;
    text-decoration: none;
}

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

.breadcrumb i {
    font-size: 0.7rem;
    margin: 0 8px;
}

/* Match Hero */
.match-hero {
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    padding: 30px 0;
    border-bottom: 1px solid #e2e8f0;
}

.match-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #2563eb;
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

.match-hero-teams {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 40px;
    align-items: center;
}

.match-teams {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    max-width: 900px;
    font-size: 0.8rem;
}

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

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

.team-hero img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 16px;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin-bottom: 16px;
    border: 4px solid white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-hero h1 {
    font-size: 1.8rem;
    color: #1e293b;
    margin-bottom: 12px;
}

.team-name {
    font-size: 1rem;
    color: #1e293b;
    margin: 0;
    white-space: nowrap;
}

.team-form {
    display: flex;
    gap: 6px;
}

.form-badge {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: white;
}

.form-badge.win {
    background: #10b981;
}

.form-badge.draw {
    background: #f59e0b;
}

.form-badge.loss {
    background: #ef4444;
}

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

.vs-large {
    font-size: 2rem;
    font-weight: 800;
    color: #64748b;
    padding: 16px 24px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.vs-text {
    font-size: 2rem;
    font-weight: 800;
    color: #64748b;
    padding: 16px 24px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.match-info-bar {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px solid rgba(226, 232, 240, 0.5);
    flex-wrap: wrap;
}

.league-info,
.venue-info,
.attendance-info {
    font-size: 0.95rem;
    color: #475569;
    display: flex;
    align-items: center;
    gap: 8px;
}

.league-info i,
.venue-info i,
.attendance-info i {
    color: #2563eb;
}

.status-short,
.league-short,
.venue-short {
    display: none;
}

/* Prediction Main Card */
.prediction-main-card {
    background: white;
    border-radius: 14px;
    padding: 24px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.prediction-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e2e8f0;
}

.prediction-header h2 {
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: #1e293b;
}

.prediction-header h2 i, .prediction-header h3 i {
    color: #2563eb;
}

.confidence-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #10b981;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    color: white;
}

.confidence-badge.high {
    background: #10b981;
}

.prediction-pick {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 20px;
    border: 2px solid #e2e8f0;
}

.pick-label {
    display: block;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 6px;
    font-weight: 600;
}

.pick-value {
    display: block;
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: #1e293b;
}

.pick-odds {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #2563eb;
}

.prediction-stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.pred-stat {
    background: #f8fafc;
    padding: 14px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #e2e8f0;
}

.pred-stat i {
    font-size: 1.3rem;
    margin-bottom: 6px;
    display: block;
    color: #2563eb;
}

.pred-stat-label {
    display: block;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 4px;
    font-weight: 600;
}

.pred-stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
}

.pred-stat-value.success {
    color: #10b981;
}

/* Alternative Predictions */
.alternative-predictions {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.alt-pred-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s ease;
}

.alt-pred-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
}

.alt-pred-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.alt-pred-type {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.95rem;
}

.alt-pred-confidence {
    font-size: 0.8rem;
    color: #10b981;
    font-weight: 600;
}

.alt-pred-body {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.alt-pred-pick {
    font-weight: 700;
    color: #1e293b;
    font-size: 1.05rem;
}

.alt-pred-odds {
    background: #2563eb;
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.1rem;
}

.alt-pred-desc {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
}

/* Analysis Content */
.analysis-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.analysis-section h4 {
    font-size: 1.15rem;
    color: #1e293b;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.analysis-section h4 i {
    color: #2563eb;
}

.analysis-section p {
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 12px;
}

.key-factors-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.key-factors-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 0.95rem;
    color: #475569;
    line-height: 1.6;
}

.key-factors-list i {
    color: #10b981;
    margin-top: 3px;
    flex-shrink: 0;
}

.key-factors-list .fa-exclamation-triangle {
    color: #f59e0b;
}

/* H2H Matches */
.h2h-matches {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.h2h-match {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 16px;
    padding: 14px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    align-items: center;
    text-align: left;
}

.h2h-date {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
}

.h2h-teams {
    font-size: 0.95rem;
    color: #1e293b;
    font-weight: 600;
}

.h2h-comp {
    font-size: 0.85rem;
    color: #64748b;
    text-align: right;
}

/* Stats Comparison */
.stats-comparison {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-compare-row {
    display: grid;
    grid-template-columns: 60px 1fr 60px;
    gap: 16px;
    align-items: center;
}

.stat-home,
.stat-away {
    font-size: 1.2rem;
    font-weight: 700;
    color: #1e293b;
    text-align: center;
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-name {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
    text-align: center;
}

.stat-bar {
    height: 8px;
    background: #e2e8f0;
    border-radius: 4px;
    overflow: hidden;
    display: flex;
}

.bar-home {
    background: #2563eb;
    height: 100%;
}

.bar-away {
    background: #7c3aed;
    height: 100%;
}

/* Team News */
.team-news-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.team-news-card {
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 20px;
}

.team-news-card h4 {
    font-size: 1.15rem;
    color: #1e293b;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.team-news-card h4 i {
    color: #2563eb;
}

.news-section {
    margin-bottom: 16px;
}

.news-section:last-child {
    margin-bottom: 0;
}

.news-section h5 {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.news-section ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.news-section li {
    font-size: 0.9rem;
    color: #475569;
    padding-left: 16px;
    position: relative;
}

.news-section li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #2563eb;
}

.player-out {
    font-weight: 700;
    color: #ef4444;
}

.player-doubt {
    font-weight: 700;
    color: #f59e0b;
}

.news-section p {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
}

/* Betting Strategies */
.betting-strategies {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.strategy-card {
    border-radius: 12px;
    padding: 20px;
    border: 3px solid;
}

.strategy-card.safe {
    border-color: #10b981;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.strategy-card.balanced {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
}

.strategy-card.risky {
    border-color: #ef4444;
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
}

.strategy-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.strategy-header i {
    font-size: 1.3rem;
}

.strategy-card.safe .strategy-header i {
    color: #10b981;
}

.strategy-card.balanced .strategy-header i {
    color: #3b82f6;
}

.strategy-card.risky .strategy-header i {
    color: #ef4444;
}

.strategy-header span {
    font-weight: 700;
    font-size: 14px;
    color: #1e293b;
}

.strategy-pick {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding: 12px;
    background: white;
    border-radius: 8px;
    font-weight: 700;
    color: #1e293b;
    flex-direction: column;
}

.strategy-odds {
    font-size: 1.3rem;
    color: #2563eb;
}

.strategy-body p {
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 12px;
}

.strategy-stake {
    font-size: 0.85rem;
    font-weight: 700;
    padding: 8px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 6px;
    text-align: center;
}

/* Odds Comparison Table */
.odds-comparison-table {
    overflow-x: auto;
}

.odds-comparison-table table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 12px;
    overflow: hidden;
}

.odds-comparison-table thead {
    background: #f8fafc;
}

.odds-comparison-table th {
    padding: 14px;
    text-align: left;
    font-weight: 700;
    color: #1e293b;
    font-size: 0.9rem;
    border-bottom: 2px solid #e2e8f0;
}

.odds-comparison-table td {
    padding: 14px;
    border-bottom: 1px solid #e2e8f0;
    font-size: 0.95rem;
    color: #475569;
}

.odds-comparison-table tbody tr:hover {
    background: #f8fafc;
}

.best-odd {
    background: #dcfce7;
    color: #10b981;
    font-weight: 700;
    font-size: 1.05rem;
}

.btn-sm {
    padding: 6px 16px;
    font-size: 0.85rem;
}

/* Widget Card Styles */
.widget-area .widget {
    margin-left: 0;
    margin-right: 0;
    background: none !important;
    border: 0 !important;
}

.widget-card {
    background: white;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.widget-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.widget-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.widget-title i {
    color: #2563eb;
}

/* Quick Bet Widget */
.quick-bet-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 16px;
}

.quick-bet-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 14px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quick-bet-btn:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.quick-bet-btn.active {
    border-color: #2563eb;
    background: #2563eb;
}

.quick-bet-btn.active .bet-type,
.quick-bet-btn.active .bet-odd {
    color: white;
}

.bet-type {
    font-weight: 700;
    font-size: 1.1rem;
    color: #1e293b;
}

.bet-odd {
    font-weight: 700;
    font-size: 1rem;
    color: #2563eb;
}

.bet-slip-quick input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.potential-win {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 12px;
    text-align: center;
}

.potential-win strong {
    color: #10b981;
    font-size: 1.1rem;
}

/* Quick Stats */
.quick-stats {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quick-stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.qstat-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
}

.qstat-value {
    font-size: 1.1rem;
    color: #1e293b;
    font-weight: 700;
}

/* Top Scorers */
.top-scorers-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.scorer-item {
    display: grid;
    grid-template-columns: 30px 1fr 40px;
    gap: 12px;
    align-items: center;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.scorer-rank {
    width: 26px;
    height: 26px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.scorer-name {
    font-size: 0.9rem;
    color: #1e293b;
    font-weight: 600;
}

.scorer-goals {
    font-size: 1rem;
    color: #2563eb;
    font-weight: 700;
    text-align: right;
}

/* Similar Tips */
.similar-tips {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.similar-tip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    transition: all 0.3s ease;
}

.similar-tip-item:hover {
    background: #eff6ff;
    border-color: #3b82f6;
}

.sim-teams-col {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.sim-team-name {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.85rem;
    min-width: 0;
}

.sim-team-name span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sim-teams-col > span:not(.sim-team-name) {
    font-size: 0.7rem;
    color: #94a3b8;
    font-weight: 500;
    padding-left: 26px;
}

.sim-team-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 3px;
}

.sim-meta-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 3px;
    flex-shrink: 0;
}

.similar-league {
    font-size: 0.78rem;
    color: #64748b;
    text-align: right;
}

.similar-time {
    font-size: 0.78rem;
    color: #64748b;
    font-weight: 600;
    text-align: right;
}

/* Top Ponturi Comunitate — prediction badges */
.top-ponturi-item {
    align-items: center;
}

.sim-pred-col {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.sim-pred-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 64px;
    padding: 4px 8px;
    background: #2563eb;
    color: #fff;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    white-space: nowrap;
    text-align: center;
}

.sim-pred-badge.pred-gg {
    background: #059669;
}

.sim-pred-badge.pred-goals {
    background: #7c3aed;
}

.sim-pred-badge.no-pred {
    background: #e2e8f0;
    color: #94a3b8;
}

/* Ad Widget */
.ad-widget {
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
}

.ad-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #94a3b8;
}

.ad-placeholder i {
    font-size: 3rem;
    margin-bottom: 10px;
}

/* Responsive - Single Match Page */
@media (max-width: 1024px) {
    .prediction-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .alternative-predictions {
        grid-template-columns: 1fr;
    }
    
    .betting-strategies {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .match-hero {
        padding: 20px 0;
    }
    
    .match-status-badge {
        font-size: 0.8rem;
        padding: 6px 12px;
        margin-bottom: 12px;
    }
    
    .match-status-badge .status-full {
        display: none;
    }
    
    .league-info,
    .venue-info {
        display: none;
    }
    
    .match-hero-teams {
        grid-template-columns: 1fr auto 1fr;
        gap: 12px;
    }
    
    .team-hero img {
        width: 65px;
        height: 65px;
        margin-bottom: 8px;
        border-width: 2px;
    }
    
    .team-hero h1 {
        font-size: 0.95rem;
        margin-bottom: 8px;
    }
    
    .team-form {
        gap: 3px;
    }
    
    .form-badge {
        width: 22px;
        height: 22px;
        font-size: 0.65rem;
        border-radius: 4px;
    }
    
    .vs-large {
        font-size: 1.3rem;
        padding: 8px 12px;
    }
    
    .match-center-info {
        gap: 8px;
    }
    
    .league-info,
    .venue-info {
        font-size: 0.75rem;
        gap: 6px;
    }
    
    .league-info i,
    .venue-info i {
        font-size: 0.7rem;
    }
    
    .prediction-main-card {
        padding: 20px;
    }
    
    .prediction-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .prediction-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .team-news-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-compare-row {
        grid-template-columns: 50px 1fr 50px;
        gap: 12px;
    }
    
    .h2h-match {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .h2h-comp {
        text-align: left;
    }
}

@media (max-width: 600px) {
    .match-hero {
        padding: 16px 0;
    }
    
    .match-status-badge {
        font-size: 0.75rem;
        padding: 5px 10px;
        margin-bottom: 10px;
    }
    
    .match-status-badge .status-full {
        display: none;
    }
    
    .breadcrumb {
        font-size: 0.75rem;
        padding: 8px 0;
    }
    
    .match-hero-teams {
        gap: 8px;
    }
    
    .team-hero img {
        width: 55px;
        height: 55px;
        margin-bottom: 6px;
    }
    
    .team-hero h1 {
        font-size: 0.85rem;
        margin-bottom: 6px;
    }
    
    .form-badge {
        width: 20px;
        height: 20px;
        font-size: 0.6rem;
        gap: 2px;
    }
    
    .vs-large {
        font-size: 1.1rem;
        padding: 6px 10px;
    }
    
    .prediction-header h2 {
        font-size: 1.2rem;
    }
    
    .pick-value {
        font-size: 1.6rem;
    }
    
    .quick-bet-options {
        gap: 8px;
    }
}

/* ===================================
   PONTURI PAGE STYLES
   =================================== */

/* Ponturi Hero */
.ponturi-hero {
    background: linear-gradient(135deg, #f0f4f8 0%, #e2e8f0 100%);
    padding: 40px 0 30px;
    border-bottom: 1px solid #e2e8f0;
}

.ponturi-hero-content {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.ponturi-hero h1 {
    font-family: var(--font-display);
    font-size: 2.2rem;
    margin-bottom: 12px;
    color: #1e3a8a;
}

.ponturi-hero h1 span {
    color: #2563eb;
}

.ponturi-hero p {
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 24px;
    line-height: 1.6;
}

.ponturi-stats-mini {
    display: flex;
    gap: 24px;
    justify-content: center;
}

.stat-mini {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-mini-val {
    font-size: 1.8rem;
    font-weight: 800;
    color: #2563eb;
}

.stat-mini-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 600;
}

/* Filters Section */
.filters-section {
    background: white;
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.filters-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.sport-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sport-filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.9rem;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sport-filter-btn:hover {
    border-color: #3b82f6;
    background: #eff6ff;
    color: #2563eb;
}

.sport-filter-btn.active {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
}

.sort-options select {
    padding: 10px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    background: #f8fafc;
    font-weight: 600;
    font-size: 0.9rem;
    color: #475569;
    cursor: pointer;
}

/* Section Header Special */
.section-header-special {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-header-special h2 {
    font-size: 1.4rem;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header-special h2 i {
    color: #f59e0b;
}

.confidence-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
}

.confidence-tag.high {
    background: #10b981;
    color: white;
}

/* Featured Tip Card */
.featured-tip-card {
    background: white;
    border-radius: 16px;
    border: 2px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.featured-tip-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
}

.league-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: #1e293b;
    font-size: 0.95rem;
}

.league-badge i {
    color: #2563eb;
}

.match-time-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-weight: 600;
    font-size: 0.9rem;
}

.featured-match {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    padding: 30px;
    align-items: center;
}

.featured-team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.featured-team img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #e2e8f0;
}

.mini-form {
    display: flex;
    gap: 4px;
}

.mini-badge {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.7rem;
    color: white;
}

.mini-badge.win {
    background: #10b981;
}

.mini-badge.draw {
    background: #f59e0b;
}

.mini-badge.loss {
    background: #ef4444;
}

.featured-vs {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vs-text {
    font-size: 1.8rem;
    font-weight: 800;
    color: #64748b;
    padding: 12px 20px;
    background: #f8fafc;
    border-radius: 10px;
}

.featured-prediction {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    padding: 20px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.pred-info,
.pred-odd,
.pred-prob {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.pred-label,
.odd-label,
.prob-label {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
}

.pred-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
}

.odd-value {
    font-size: 1.3rem;
    font-weight: 800;
    color: #2563eb;
}

.prob-value {
    font-size: 1.2rem;
    font-weight: 700;
    color: #10b981;
}

.featured-tip-footer {
    padding: 20px;
    border-top: 1px solid #e2e8f0;
}

/* Tips Grid */
.tips-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.page-id-476 .tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.tip-card {
    background: white;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    padding: 16px;
    transition: all 0.3s ease;
}

.tip-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
    transform: translateY(-2px);
}

.tip-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.league-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #1e293b;
}

.league-tag i {
    color: #2563eb;
}

.time-tag {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 600;
}

.prediction-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
}

.pred-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.pred-item .pred-label {
    font-size: 0.75rem;
    color: #64748b;
    font-weight: 600;
}

.pred-item .pred-val {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
}

.pred-item .pred-val.highlight {
    color: #2563eb;
    font-size: 1.05rem;
}

.tip-card-footer {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #e2e8f0;
}

.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #2563eb;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: gap 0.3s ease;
}

.btn-link:hover {
    gap: 10px;
}

/* Load More */
.load-more-section {
    text-align: center;
    margin-top: 30px;
}

/* Bonuses Horizontal */

.bonuses-section-archive .bonus-cards-list {
    display: grid; 
    grid-template-columns: repeat(3, 1fr); 
    gap: 24px; margin: 24px auto;
}


.bonuses-horizontal {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.bonus-card-h {
    background: white;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    padding: 16px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.bonus-card-h:hover {
    border-color: #3b82f6;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.15);
    transform: translateY(-4px);
}

.bonus-badge {
    position: absolute;
    top: -8px;
    right: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: white;
}

.bonus-badge.exclusive {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.bonus-badge.hot {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
}

.bonus-badge.new {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.bonus-badge.no-deposit {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}


.bonus-operator img {
    max-width: 100px;
    height: auto;
    width: 100%;
}


.bonus-amount {
    font-size: 1.6rem;
    font-weight: 800;
    color: #2563eb;
    margin-bottom: 4px;
}

.bonus-desc {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 10px;
}

.bonus-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 12px;
}

.bonus-rating .stars {
    color: #fbbf24;
    font-size: 0.9rem;
}

.bonus-rating span {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.85rem;
}


.bonus-cards-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* .bonus-card {
    border-radius: 14px;
    color: #fff;
    padding: 10px 12px 8px 12px;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 8px 0 rgba(30, 40, 90, 0.1);
    position: relative;
    overflow: hidden;
    min-width: 0;
} */

.bonus-betano {
    background: linear-gradient(90deg, #c0481b 60%, #e46d1b 100%);
}

.bonus-superbet {
    background: linear-gradient(90deg, #b31217 60%, #e52d27 100%);
}

.bonus-netbet {
    background: linear-gradient(90deg, #0e5e3e 60%, #13b86b 100%);
}

.bonus-mrbit {
    background: linear-gradient(90deg, #7c3aed 60%, #a855f7 100%);
}

.bonus-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
    background: transparent;
        flex-direction: column;
}

.bonus-operator {
    font-size: 0.97em;
    font-weight: 600;
    color: #fff;
}

.bonus-rating {
    font-size: 0.97em;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 3px;
}

.bonus-rating i {
    color: #ffd600;
    font-size: 1em;
}

.bonus-card-body {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: center;
}

.bonus-amount-badge {
    background: rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    font-size: 0.98em;
    font-weight: 700;
    padding: 4px 12px;
    color: #fff;
    box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.08);
    margin-right: 4px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.bonus-card-details {
    display: flex;
    flex-direction: column;
    gap: 1px;
    font-size: 0.93em;
    color: #fff;
    opacity: 0.93;
}

.bonus-review {
    font-weight: 400;
    color: #ffffff;
    font-size: 0.8em;
}

.bonus-terms {
    font-size: 0.89em;
    opacity: 0.8;
    background: #fff;
    color: #000;
    text-align: center;
    font-weight: bold;
    border-radius: 8px;
    text-decoration: none;
}

/* Stats Widget */
.stats-widget {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stat-widget-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.stat-w-label {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
}

.stat-w-value {
    font-size: 1.1rem;
    color: #1e293b;
    font-weight: 700;
}

.stat-w-value.success {
    color: #10b981;
}

.stat-w-value.live {
    color: #ef4444;
}

/* Leagues List */
.leagues-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.league-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: #1e293b;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.league-item:hover {
    background: #eff6ff;
    border-color: #3b82f6;
}

.league-item i {
    color: #2563eb;
}

.league-item span:last-child {
    margin-left: auto;
    background: #e2e8f0;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    color: #64748b;
}

/* Live Matches */
.live-matches {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.live-match-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 12px;
    align-items: center;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.live-teams span {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.9rem;
}

.live-score {
    font-weight: 700;
    color: #2563eb;
    font-size: 1rem;
}

.live-minute {
    background: #ef4444;
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.8rem;
}

.live-dot {
    color: #ef4444;
    animation: pulse 2s infinite;
}

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

.tips-count {
    font-size: 0.9rem;
    color: #64748b;
    font-weight: 600;
}

/* Responsive - Ponturi Page */
@media (max-width: 1024px) {
    
    
    .bonuses-horizontal {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {

    .tips-grid {
        grid-template-columns: 1fr !important;
        justify-content: center;
    }

     .bonuses-section-archive .bonus-cards-list {
        grid-template-columns: 1fr !important;
    }

    .ponturi-hero {
        padding: 30px 0 20px;
    }
    
    .ponturi-hero h1 {
        font-size: 1.8rem;
    }
    
    .ponturi-stats-mini {
        gap: 16px;
    }
    
    .stat-mini-val {
        font-size: 1.5rem;
    }
    
    .filters-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .sport-filters {
        justify-content: center;
    }
    
    .featured-match {
        grid-template-columns: 1fr auto 1fr;
        gap: 16px;
        padding: 20px;
    }
    
    .featured-team img {
        width: 60px;
        height: 60px;
    }
    
    .team-name {
        font-size: 0.95rem;
    }
    
    .featured-prediction {
        grid-template-columns: 1fr;
        gap: 12px;
    }
}

@media (max-width: 600px) {
    .ponturi-hero h1 {
        font-size: 1.6rem;
    }
    
    .ponturi-stats-mini {
        flex-direction: column;
        gap: 12px;
    }
    
    .sport-filter-btn {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
    
    .featured-team img {
        width: 50px;
        height: 50px;
    }
    
    .vs-text {
        font-size: 1.4rem;
        padding: 8px 16px;
    }
    
    .bonuses-horizontal {
        grid-template-columns: 1fr;
    }
}

/* User Predictions Section */
.user-predictions-section h3 {
    margin-bottom: 24px;
    font-size: 24px;
}

.user-predictions-section .login-prompt {
    text-align: center;
    padding: 32px;
}

.user-predictions-section .login-prompt p {
    margin-bottom: 16px;
}

.user-predictions-section .already-predicted {
    background: #e3f2fd;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    border-left: 4px solid #1976d2;
}

.user-predictions-section .already-predicted h4 {
    color: #1565c0;
    margin: 0 0 12px 0;
}

.user-predictions-section .already-predicted p {
    margin: 0;
    color: #0d47a1;
}

.user-predictions-section .user-prediction-display {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 2px solid #1976d2;
}

.user-predictions-section .user-prediction-display h4 {
    margin: 0 0 16px 0;
    color: #1976d2;
}

.user-predictions-section .user-prediction-display > div {
    display: grid;
    gap: 12px;
}

.user-predictions-section .user-prediction-display .prediction-item {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    background: #f5f5f5;
    border-radius: 6px;
}

.user-predictions-section .user-prediction-display .prediction-item span:first-child {
    font-weight: 600;
}

.user-predictions-section .user-prediction-display .prediction-item span:last-child {
    background: #1976d2;
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: bold;
}

.user-predictions-section .match-finalized {
    background: #e8f5e9;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.user-predictions-section .match-finalized h4 {
    color: #2e7d32;
    margin-bottom: 8px;
}

.user-predictions-section .match-finalized p {
    font-size: 18px;
    margin: 0;
}

.user-predictions-section .user-result {
    padding: 20px;
    border-radius: 8px;
}

.user-predictions-section .user-result.correct {
    background: #e8f5e9;
}

.user-predictions-section .user-result.incorrect {
    background: #ffebee;
}

.user-predictions-section .user-result.partial {
    background: #fff8e1;
    border-left: 4px solid #ffa000;
}

.user-predictions-section .user-result h4 {
    margin-bottom: 12px;
}

.user-predictions-section .prediction-breakdown {
    margin-top: 16px;
}

.user-predictions-section .prediction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    margin-bottom: 8px;
    background: rgba(255,255,255,0.7);
    border-radius: 6px;
}

.user-predictions-section .prediction-item span:first-child {
    font-weight: 500;
    color: #555;
}

.user-predictions-section .prediction-item span:last-child {
    display: flex;
    align-items: center;
    gap: 8px;
}

.user-predictions-section .points-badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

.user-predictions-section .points-badge.success {
    background: #4caf50;
    color: white;
}

.user-predictions-section .points-badge.fail {
    background: #e0e0e0;
    color: #999;
}

.user-predictions-section .match-started {
    background: #fff3e0;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.user-predictions-section .match-started p {
    color: #ef6c00;
    margin: 0;
}

.user-predictions-section #prediction-form {
    width: 100%;
}

.user-predictions-section .prediction-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.user-predictions-section .prediction-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    border: 2px solid #e0e0e0;
    text-align: center;
}

.user-predictions-section .prediction-card h4 {
    margin: 0 0 16px 0;
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

.user-predictions-section .prediction-card-buttons {
    display: flex;
    flex-direction: row;
    gap: 8px;
}

.user-predictions-section .pred-btn {
    flex: 1;
    padding: 5px;
    border: 2px solid #d0d0d0;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.2s;
    color: #333;
}

.user-predictions-section .pred-btn.active {
    border-color: #1976d2 !important;
    background: #1976d2 !important;
    color: white !important;
    font-weight: 600 !important;
}

.user-predictions-section .pred-btn:hover {
    border-color: #1976d2;
    background: #e3f2fd;
    color: #1976d2;
}

.user-predictions-section #submit-prediction {
    padding: 12px;
    font-size: 15px;
    width: 100%;
    background: #1976d2;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
}

.user-predictions-section #prediction-message {
    margin-top: 16px;
    padding: 16px;
    border-radius: 8px;
    display: none;
}

.user-predictions-section #prediction-message.success {
    background: #e8f5e9;
    color: #2e7d32;
}

.user-predictions-section #prediction-message.error {
    background: #ffebee;
    color: #c62828;
}

/* ===================================
   MY ACCOUNT PAGE STYLES
   =================================== */

.my-account-page {
    max-width: 1400px;
    margin: 0 auto;
}

.account-header {
    background: linear-gradient(135deg, #f0f4f8, #f0f4f8);
    padding: 24px;
    border-radius: 12px;
    color: white;
    margin-bottom: 24px;
    text-align: center;
}

.account-header .avatar-circle {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin: 0 auto 16px;
}

.account-header .avatar-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.account-header .avatar-circle i {
    font-size: 40px;
    color: #1976d2;
}

.account-header .user-info-sidebar h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
}

.account-header .user-info-sidebar p {
    margin: 0;
    opacity: 0.9;
    font-size: 13px;
    word-break: break-word;
    color: #1a202c;
}

.my-account-page > div:nth-of-type(1) {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
}

.account-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 32px;
}

.account-sidebar {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    height: fit-content;
}

.tab-btn {
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    border: none;
    background: transparent;
    color: #0f172a;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    border-radius: 8px;
    margin-bottom: 4px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
}

.tab-btn:hover {
    background: #f1f5f9;
    color: #1976d2;
}

.tab-btn.active {
    background: #f1f5f9;
    color: #1976d2;
}

.tab-btn i {
    width: 20px;
    font-size: 16px;
}

.tab-content {
    display: none;
    width: 100%;
}

.tab-content.active {
    display: block;
}

.account-content {
    background: white;
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.sidebar-nav a {
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    border: none;
    background: transparent;
    color: #0f172a;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-top: 0;
    border-top: none;
    padding-top: 12px;
}

.sidebar-nav a:hover {
    background: #f1f5f9;
    color: #1976d2;
}

.logout-link {
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    border: none;
    background: transparent;
    color: #0f172a;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-top: 8px;
    border-top: none;
    padding-top: 12px;
}

.logout-link:hover {
    background: #f1f5f9;
    color: #1976d2;
}

.account-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 32px;
    width: 100%;
}

@media (max-width: 1200px) {
    .account-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
        .account-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    
}

.stats-filter-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

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

.stats-filter-btn {
    border: 1px solid #e2e8f0;
    background: #fff;
    padding: 5px 10px;
    border-radius: 8px;
    font-weight: 400;
    color: #0f172a;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    font-size: 0.95rem;
}

.stats-filter-btn:hover {
    background: #f1f5f9;
}

.stats-filter-btn.active {
    background: #1976d2;
    color: #fff;
    border-color: #1976d2;
    box-shadow: 0 4px 12px rgba(25, 118, 210, 0.2);
}

.stats-filter-label {
    font-size: 13px;
    color: #64748b;
    margin-left: auto;
}

.stats-filter-selects {
    display: flex;
    gap: 8px;
    align-items: center;
}

.stats-filter-selects.is-hidden {
    display: none !important;
}

.sidebar-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: #0f172a;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s ease;
    font-weight: 500;
    font-size: 15px;
    width: 100%;
    border: none;
    background: transparent;
    cursor: pointer;
    text-align: left;
}

.sidebar-nav-link:hover {
    background: #f1f5f9;
    color: #1976d2;
}

.sidebar-nav-link i {
    font-size: 16px;
    width: 20px;
    text-align: center;
}

.stats-filter-label-sm {
    font-size: 12px;
    font-weight: 700;
    color: #475569;
}

.stats-filter-selects select {
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 8px 36px 8px 12px;
    background: #fff;
    font-weight: 400;
    color: #0f172a;
    cursor: pointer;
    appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, #64748b 50%), linear-gradient(135deg, #64748b 50%, transparent 50%), linear-gradient(to right, #e2e8f0, #e2e8f0);
    background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px), calc(100% - 32px) 50%;
    background-size: 6px 6px, 6px 6px, 1px 16px;
    background-repeat: no-repeat;
    font-size: 0.95rem;
}

#account-stats-wrapper.is-loading,
#points-breakdown.is-loading {
    opacity: 0.6;
    pointer-events: none;
}

.stat-card {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    border-left: 4px solid #e2e8f0;
    transition: all 0.2s ease;
}

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

.stat-card:nth-child(1) {
    border-left-color: #1976d2;
}

.stat-card:nth-child(2) {
    border-left-color: #4caf50;
}

.stat-card:nth-child(3) {
    border-left-color: #ff9800;
}

.stat-card:nth-child(4),
.stat-card.highlight {
    border-left-color: #8b5cf6;
}

.stat-card > div:first-child {
    font-size: 13px;
    color: #64748b;
    margin-bottom: 12px;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.stat-card > div:last-child {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
}

.stat-card:nth-child(1) > div:last-child {
    color: #1976d2;
}

.stat-card:nth-child(2) > div:last-child {
    color: #4caf50;
}

.stat-card:nth-child(3) > div:last-child {
    color: #ff9800;
}

.stat-card:nth-child(4) > div:last-child,
.stat-card.highlight > div:last-child {
    color: #8b5cf6;
}

/* Points Breakdown */
.points-breakdown {
    border-radius: 12px;
    margin-bottom: 32px;
}

.points-breakdown h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #1e293b;
}

.breakdown-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
}

.breakdown-item {
    background: linear-gradient(135deg, #f5f7fa, #e8eef7);
    padding: 16px;
    border-radius: 10px;
    border-left: 4px solid #3b82f6;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.breakdown-item .label {
    font-weight: 700;
    color: #2a4d8f;
    font-size: 14px;
    text-transform: uppercase;
}

.breakdown-item .value {
    font-size: 28px;
    font-weight: 700;
    color: #1976d2;
}

.breakdown-item small {
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}


.recent-predictions h2 {
    margin: 0 0 24px 0;
    font-size: 20px;
    color: #0f172a;
}

/* Predictions Grid - 2 columns */
.predictions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.prediction-card {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 16px;
    transition: all 0.2s ease;
    background: #fafbfc;
}

.prediction-card:hover {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.prediction-match {
    margin-bottom: 12px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 12px;
        text-align: center;
}

.prediction-match a {
    color: #1976d2;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.prediction-match a:hover {
    color: #1565c0;
    text-decoration: underline;
}

.prediction-data {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 12px;
}

.pred-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px;
    background: white;
    border-radius: 6px;
}


.pred-value {
    font-size: 16px;
    font-weight: 700;
    color: #0f172a;
}

.pred-points {
    font-size: 10px;
    color: #94a3b8;
    margin-top: 2px;
}

.prediction-status {
    margin-bottom: 12px;
    text-align: center;
}

.status-waiting {
    color: #999;
    font-size: 12px;
}

.status-correct {
    color: #4caf50;
    font-weight: 600;
    font-size: 12px;
}

.status-wrong {
    color: #f44336;
    font-weight: 600;
    font-size: 12px;
}

.prediction-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

.pred-points-total {
    font-weight: 700;
    color: #8b5cf6;
    font-size: 14px;
}

.pred-date {
    font-size: 11px;
    color: #94a3b8;
}

/* Mobile responsive - 1 column card layout */
@media (max-width: 768px) {

    .recent-predictions h2 {
        font-size: 18px;
        margin: 0 0 16px 0;
    }

    .predictions-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .prediction-card {
        padding: 12px;
    }

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

    .prediction-data {
        gap: 6px;
    }

    .pred-item {
        padding: 6px;
    }

    .pred-label {
        font-size: 10px;
    }

    .pred-value {
        font-size: 14px;
    }

    .prediction-footer {
        font-size: 12px;
    }

    .pred-points-total {
        font-size: 12px;
    }

    .pred-date {
        font-size: 10px;
    }

    .stats-filter-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 12px;
    flex-direction: column;
}
.stats-filter-label {
    font-size: 13px;
    color: #64748b;
    margin: 0 auto;
}
}



.settings-section h2 {
    margin: 0 0 24px 0;
    font-size: 20px;
}

.settings-section h3 {
    margin: 0 0 20px 0;
    font-size: 16px;
    color: #333;
}

.settings-section hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 20px 0 32px 0;
}

#account-message {
    display: none;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.settings-section .form-group {
    margin-bottom: 32px;
}

.settings-section .form-group.avatar-upload-section {
    margin-bottom: 32px;
}

.settings-section .form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 14px;
    color: #333;
}

.settings-section .form-group label i {
    margin-right: 6px;
}

.settings-section .avatar-section {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.settings-section .avatar-section > div:first-child {
    flex: 0 0 100px;
}

.settings-section .avatar-section > div:last-child {
    flex: 1;
}

.settings-section .form-row,
.settings-section .password-row, .auth-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

#avatar-preview {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #1976d2;
}

.settings-section input[type="file"],
.settings-section input[type="text"],
.settings-section input[type="tel"],
.settings-section input[type="email"],
.settings-section input[type="password"] {
    width: 100%;
    padding: 12px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border 0.2s;
}

.settings-section input:focus {
    outline: none;
    border-color: #1976d2;
}

.settings-section input[type="file"] {
    display: block;
    margin-bottom: 8px;
    padding: 8px;
}group small {
    display: block;
    margin-top: 4px;
    color: #999;
    font-size: 12px;
}

.settings-section .form-

.settings-section small {
    display: block;
    color: #999;
    font-size: 12px;
}

.settings-section .form-row,
.settings-section .password-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.settings-section hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 20px 0 32px 0;
}

.settings-section h3 {
    margin: 0 0 20px 0;
    font-size: 16px;
    color: #333;
}

#save-settings-btn,
#upload-avatar-btn {
    padding: 14px 32px;
    background: #1976d2;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
}

#upload-avatar-btn {
    padding: 8px 16px;
    margin-top: 8px;
    font-size: 13px;
}

#save-settings-btn:hover,
#upload-avatar-btn:hover {
    background: #1565c0;
    transform: translateY(-1px);
}

/* Notifications Tab */
.notifications-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.notification-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 16px;
    border-left: 4px solid #007cba;
}

.notification-item.unread {
    background: #f0f7ff;
    border-left-color: #ff6b35;
}

.notification-item.read {
    background: #fff;
}

.notification-item > div:first-child {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.notification-header-inline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
    width: 100%;
}

.notification-header-inline h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
    flex: 1;
}

.notification-header-inline small {
    color: #999;
    font-size: 12px;
    white-space: nowrap;
    margin-left: 15px;
    text-align: right;
}

.notification-message {
    margin: 12px 0;
    color: #555;
    line-height: 1.6;
}

.notification-read-status {
    color: #4caf50;
    font-size: 13px;
}

.notification-
.notification-item h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.notification-item small {
    color: #999;
    font-size: 12px;
    white-space: nowrap;
    margin-left: 10px;
}

.notification-item > div:nth-child(2) {
    margin: 12px 0;
    color: #555;
    line-height: 1.6;
}

.mark-read-btn {
    background: #007cba;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.2s;
}

.mark-read-btn:hover {
    background: #005a87;
}

/* ===================================
   NOTIFICATION BELL & DROPDOWN
   =================================== */

  .user-header-section {
                display: flex;
                align-items: center;
                gap: 16px;
            }
            
            /* Notification Bell */
            .notification-bell-wrapper {
                position: relative;
                display: flex;
                align-items: center;
                min-width: 40px;
                min-height: 40px;
                overflow: visible;
            }
            .notification-bell {
                position: relative;
                width: 40px;
                height: 40px;
                display: flex;
                align-items: center;
                justify-content: center;
                background: #f5f5f5;
                border-radius: 50%;
                cursor: pointer;
                transition: background 0.2s;
            }
            .notification-bell:hover {
                background: #e0e0e0;
            }
            .notification-bell i {
                font-size: 18px;
                color: #333;
            }
            .notification-badge {
                position: absolute;
                top: 5px;
                right: 5px;
                background: #ff5722;
                color: white;
                font-size: 10px;
                font-weight: 700;
                width: 16px;
                height: 16px;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                border: 2px solid white;
            }
            .notification-badge.hidden {
                display: none;
            }
            
            /* Notification Dropdown */
            .notification-dropdown {
                position: fixed !important;
                width: 420px !important;
                background: white !important;
                border-radius: 8px !important;
                box-shadow: 0 8px 32px rgba(0,0,0,0.2) !important;
                z-index: 99999 !important;
                max-height: 500px !important;
                display: flex !important;
                flex-direction: column !important;
                border: 1px solid #ddd !important;
            }
            
            .notification-dropdown.hidden {
                display: none !important;
            }
            
            .notification-dropdown-header {
                display: flex;
                justify-content: space-between;
                align-items: center;
                padding: 15px;
                border-bottom: 1px solid #e0e0e0;
            }
            
            .notification-dropdown-header p {
                margin: 0;
                font-size: 16px;
                color: #333;
            }
            
            .close-dropdown {
                background: none;
                border: none;
                font-size: 20px;
                cursor: pointer;
                color: #999;
                padding: 0;
                width: 24px;
                height: 24px;
                display: flex;
                align-items: center;
                justify-content: center;
            }
            
            .notification-dropdown-body {
                flex: 1 !important;
                overflow-y: auto !important;
                max-height: 350px !important;
                min-height: 50px !important;
                background: #ffffff !important;
            }
            
            .notification-item-preview {
                padding: 10px !important;
                border-bottom: 1px solid #e8e8e8 !important;
                cursor: pointer;
                transition: background 0.2s;
                background: #ffffff !important;
                display: block !important;
                min-height: 60px !important;
            }
            
            .notification-item-preview:hover {
                background: #f5f5f5 !important;
            }
            
            .notification-item-preview.unread {
                background: #e3f2fd !important;
            }
            
            .notification-preview-header {
                display: flex;
                justify-content: space-between;
                align-items: flex-start;
                gap: 10px;
                margin-bottom: 0px;
            }
            
            .notification-item-title {
                font-weight: 600;
                color: #333;
                margin: 0;
                font-size: 14px;
                display: block;
                flex: 1;
            }
            .notification-item-message {
                font-size:13px;
            }
            
            .notification-item-time {
                font-size: 11px;
                color: #999;
                margin: 0;
                display: block;
                white-space: nowrap;
                text-align: right;
            }
            
            .notification-item-action {
                display: flex !important;
                gap: 8px;
                margin-top: 0;
            }
            .notification-read-link {
                font-size: 12px;
                background: #2a4d8f;
                color: white;
                padding: 2px 5px;
                text-decoration: none !important;
                border-radius: 8px;           
         }

         .notification-read-link:hover {
                font-size: 12px;
                background: var(--primary-dark);
                color: white;
                padding: 2px 5px;
                text-decoration: none !important;
                border-radius: 8px;           
         }
            
            .notification-read-btn {
                background: #007cba;
                color: white;
                border: none;
                padding: 4px 12px;
                border-radius: 4px;
                cursor: pointer;
                font-size: 11px;
                transition: background 0.2s;
            }
            
            .notification-read-btn:hover {
                background: #0056b3;
            }
            
            .notification-dropdown-footer {
                padding: 12px 15px;
                border-top: 1px solid #e0e0e0;
                text-align: center;
            }
            
            .see-all-notifications {
                color: #1e293b;
                text-decoration: none !important;
                font-size: 13px;
                font-weight: 600;
                transition: color 0.2s;
            }
            
            .see-all-notifications:hover {
                color: #0056b3;
            }

            .see-all-bonuses {
                color: #1e293b;
                text-decoration: none !important;
                font-size: 13px;
                font-weight: 600;
                transition: color 0.2s;
                display: block;
                text-align: center;
                margin: 10px 0px;
            }
            
            .see-all-bonuses:hover {
                color: #0056b3;
            }
            
            .empty-notifications {
                padding: 30px 15px;
                text-align: center;
                color: #999;
                font-size: 14px;
            }
            
            .empty-notifications {
                text-align: center !important;
                color: #999 !important;
                padding: 40px 20px !important;
                font-size: 13px !important;
                background: #f9f9f9 !important;
                display: block !important;
            }
            
            /* User Account Dropdown */
            .user-account-dropdown {
                position: relative;
                display: flex;
                align-items: center;
                height: 100%;
                max-width: 175px;
                width: 100%;
                padding-bottom: 0px; /* extends hover area under the trigger */
            }

            /* Hover buffer so moving to submenu doesn't close it */
            .user-account-dropdown::after {
                content: "";
                position: absolute;
                top: 100%;
                right: 0;
                width: 100%;
                height: 14px;
                background: transparent;
                pointer-events: auto;
            }

            /* Account trigger: show avatar + name, keep cohesive with notification bell */
            .user-account-trigger {
                display: inline-flex;
                align-items: center;
                gap: 10px;
                width: 100%;
                max-width: 100%;
                padding: 8px 12px 8px 8px;
                background: #fff;
                border-radius: 22px;
                border: 1px solid #f5f5f5;
                text-decoration: none !important;
                cursor: pointer;
               
            }
            /* .user-account-trigger:hover,
            .user-account-dropdown:focus-within .user-account-trigger {
                background: #f5f5f5;
                border-color: #d5d5d5;
                box-shadow: 0 8px 18px rgba(0,0,0,0.10);
            } */

            /* When menu is open, round only top corners of trigger */
            .user-account-dropdown:hover .user-account-trigger,
            .user-account-dropdown:focus-within .user-account-trigger,
            .user-account-dropdown:hover .user-account-menu,
            .user-account-dropdown:focus-within .user-account-menu {
                border-radius: 22px 22px 0 0;
                border-bottom: 0;
            }
            
            .user-account-dropdown:hover .user-account-menu,
            .user-account-dropdown:focus-within .user-account-menu {
                border-radius: 0 0 14px 14px;
            }
            .user-avatar {
                width: 32px;
                height: 32px;
                border-radius: 50%;
                object-fit: cover;
                border: none;
                box-shadow: none;
            }
            .user-name {
                display: inline-block;
                flex: 1;
                min-width: 0;
                font-size: 14px;
                font-weight: 500;
                color: #1e293b;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }
            .dropdown-arrow {
                display: inline-block;
                font-size: 12px;
                color: #64748b;
                transition: transform 0.2s;
            }

            .user-account-menu {
                list-style: none;
                position: absolute;
                top: 100%;
                right: 0;
                margin-top: 0;
                width: 100%;
                max-width: 175px;
                background: #ffffff;
                border: 1px solid #e5e7eb;
                border-radius: 0 0 14px 14px;
                box-shadow: 0 16px 40px rgba(15,23,42,0.14);
                padding: 10px 0;
                opacity: 0;
                visibility: hidden;
                pointer-events: none;
                transform: translateY(6px);
                transition: all 0.18s ease;
                z-index: 9999;
            }

            .user-account-menu li {
                width: 100%;
            }

            .user-account-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 14px;
    color: #0f172a;
    font-weight: 400;
    transition: all 0.15s ease;
    text-decoration: none !important;
    font-size: 14px;
}

            .user-account-menu a:hover {
                background: #f1f5f9;
                color: #1976d2;
            }

            .user-account-menu i {
                width: 18px;
                text-align: center;
                color: #666;
            }

            .user-account-dropdown:hover .user-account-menu,
            .user-account-dropdown:focus-within .user-account-menu,
            .user-account-trigger:focus + .user-account-menu,
            .user-account-menu:hover,
            .user-account-dropdown.active .user-account-menu {
                opacity: 1;
                visibility: visible;
                pointer-events: auto;
                transform: translateY(0);
            }
            
            @media (max-width: 768px) {
                .user-account-dropdown {
                    max-width: none;
                    width: auto;
                }
                .user-account-trigger {
                    padding: 6px 10px 6px 6px;
                    width: auto;
                    max-width: none;
                }
                .user-avatar {
                    width: 30px;
                    height: 30px;
                }
                .user-name {
                    display: none;
                }
                
                /* Rotește săgeata când meniul este activ */
                .user-account-dropdown.active .dropdown-arrow {
                    transform: rotate(180deg);
                }
            }

/* ===================================
   AUTH BUTTONS
   =================================== */

.auth-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.auth-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
}

.login-btn {
    padding: 6px 14px;
    height: 32px;
    gap: 8px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-main);
    text-decoration: none !important;
}

.login-btn:hover {
    background: transparent;
    border: 1px solid #1e3a8a;
    color: #1e3a8a;
}

.register-btn {
    padding: 6px 14px;
    height: 32px;
    gap: 8px;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    background-color: #1e3a8a;
    border: 1px solid var(--border-color);
    color: #fff;
    text-decoration: none !important;
}

.register-btn:hover {
    background: var(--primary-dark);
    color: #fff;
  
}

.auth-btn i {
    font-size: 16px;
}

/* ===================================
   MISCELLANEOUS INLINE STYLES
   =================================== */


.more-tips-container {
    text-align: center;
    margin-top: 32px;
}

#generated-ticket-popup {
    display: none;
}

/* Modal eroare generator bilete */
.gen-error-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(2px);
    animation: genModalFadeIn .18s ease;
}
@keyframes genModalFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
.gen-error-modal-inner {
    position: relative;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.22);
    padding: 36px 32px 28px;
    max-width: 420px;
    width: calc(100% - 32px);
    text-align: center;
    animation: genModalSlideIn .2s ease;
}
@keyframes genModalSlideIn {
    from { transform: translateY(-18px); opacity: 0; }
    to   { transform: translateY(0);     opacity: 1; }
}
.gen-error-modal-close {
    position: absolute;
    top: 12px;
    right: 14px;
    background: none;
    border: none;
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    color: #9ca3af;
    padding: 2px 6px;
    border-radius: 6px;
    transition: color .15s, background .15s;
}
.gen-error-modal-close:hover {
    color: #374151;
    background: #f3f4f6;
}
.gen-error-modal-icon {
    font-size: 42px;
    color: #f59e0b;
    margin-bottom: 12px;
}
.gen-error-modal-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 10px;
}
.gen-error-modal-msg {
    font-size: .97rem;
    color: #4b5563;
    margin: 0 0 22px;
    line-height: 1.5;
}
.gen-error-modal .btn {
    min-width: 130px;
}

.preview-visual.has-image {
    background-size: cover;
    background-position: center;
}

.login-prompt-page {
    text-align: center;
    padding: 40px;
}
.archive .tips-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
/* ===================================
   RESPONSIVE STYLES
   =================================== */

@media (max-width: 768px) {
    .my-account-page > div:nth-of-type(1) {
        grid-template-columns: 1fr !important;
    }
    
    .account-sidebar {
        margin-bottom: 20px;
    }
    
    .sidebar-nav {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        flex-direction: column;
    }
    
    .tab-btn {
        white-space: nowrap;
    }
    
    .account-header {
        padding: 20px !important;
    }
    
    .account-header .user-info-sidebar h3 {
        font-size: 16px !important;
    }
    
    .stat-card {
        padding: 16px !important;
        text-align: center;
    }
    
    .recent-predictions table {
        font-size: 12px;
    }
    
    .recent-predictions th,
    .recent-predictions td {
        padding: 8px !important;
    }
    
    .settings-section .form-row,
    .settings-section .password-row {
        grid-template-columns: 1fr !important;
    }
    
    .auth-btn span {
        display: none;
    }
    
    .auth-btn {
        padding: 8px 12px;
    }
    
    .notification-dropdown {
        width: 320px !important;
    }
}

/* Casino Grid - Archive Ponturi Pariuri */
.casino-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    margin: 40px 0;
}

.casino-card-new {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.casino-card-new:hover {
    border-color: #7c3aed;
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.15);
    transform: translateY(-4px);
}

.casino-header-new {
    background: linear-gradient(135deg, #7c3aed 0%, #5b21b6 100%);
    color: white;
    padding: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.casino-header-new h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 10px 0 0 0;
}

.casino-logo-header {
    max-height: 60px;
    max-width: 180px;
    width: auto;
    height: auto;
    object-fit: contain;
    margin-top: 10px;
    filter: brightness(0) invert(1);
}

.archive .casino-logo-header {
    min-height: auto;
}
.archive .casino-logo-header img {
        max-height: 50px;
    width: auto;
}

.operator-badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.operator-badge.exclusive {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.operator-badge.popular {
    background: #fbbf24;
    color: #78350f;
}

.operator-badge.no-deposit {
    background: #10b981;
    color: white;
}

.casino-body-new {
    padding: 0px 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.casino-body-new h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.4;
}

.casino-body-new p {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 16px;
    line-height: 1.5;
}

.casino-body-new p:last-of-type {
    margin-bottom: 0;
}

.casino-body-new .btn {
    margin-top: auto;
    margin-bottom: 16px;
}

.terms-text {
    font-size: 0.8rem;
    color: #94a3b8;
    text-align: center;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e2e8f0;
}

.pagination {
    margin: var(--global-lg-spacing) auto;
    overflow: hidden;
    display: flex;
    align-content: center;
    justify-content: center;
    gap: 10px;
}

.pagination li {
    list-style-type: none;
}
@media (max-width: 768px) {
    .casino-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 16px;
    }
}

@media (max-width: 600px) {
    .casino-grid {
        grid-template-columns: 1fr;
    }
    
    .casino-header-new {
        padding: 16px;
    }
    
    .casino-header-new h3 {
        font-size: 1.25rem;
    }
    
    .casino-body-new {
        padding: 16px;
    }
}

/* =====================================================
   LEADERBOARD STYLES
   ===================================================== */

.leaderboard-container {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    margin: 2rem 0;
}



.leaderboard-scoring-info .scoring-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #333;
    margin: 0 0 0.75rem 0;
    text-align: center;
}

.leaderboard-scoring-info .scoring-boxes {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.leaderboard-scoring-info .scoring-box {
    background: white;
    border-radius: 6px;
    padding: 0.5rem 0.75rem;
    text-align: center;
    transition: all 0.3s ease;
    min-width: 120px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

.leaderboard-scoring-info .scoring-box:nth-child(1) {
    border: 2px solid #2a4d8f;
    background: linear-gradient(135deg, #eeebff 0%, #eeebff 100%);
}

.leaderboard-scoring-info .scoring-box:nth-child(2) {
    border: 2px solid #43a047;
    background: linear-gradient(135deg, #e8f5e9 0%, #e8f5e9 100%);
}

.leaderboard-scoring-info .scoring-box:nth-child(3) {
    border: 2px solid #fb8c00;
    background: linear-gradient(135deg, #fff3e0 0%, #fff3e0 100%);
}

.leaderboard-scoring-info .scoring-box:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.leaderboard-scoring-info .scoring-label {
    font-size: 0.75rem;
    color: #666;
    margin-bottom: 0.25rem;
    font-weight: 500;
    line-height: 1.3;
}

.leaderboard-scoring-info .scoring-points {
    font-size: 1rem;
    font-weight: 700;
}

.leaderboard-scoring-info .scoring-box:nth-child(1) .scoring-points {
    color: #2a4d8f;
}

.leaderboard-scoring-info .scoring-box:nth-child(2) .scoring-points {
    color: #43a047;
}

.leaderboard-scoring-info .scoring-box:nth-child(3) .scoring-points {
    color: #fb8c00;
}

.leaderboard-tabs {
    display: inline-flex;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    background: var(--bg-muted);
}

.leaderboard-tabs .tab {
    padding: 0.6rem 1.4rem;
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 400;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.leaderboard-tabs .tab:hover {
    background: rgba(58, 130, 246, 0.08);
    color: var(--primary-color);
}

.leaderboard-tabs .tab.active {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 8px 20px rgba(58, 130, 246, 0.25);
}

.leaderboard-search-wrap {
    position: relative;
    margin-bottom: 1.25rem;
    max-width: 340px;
}

.leaderboard-search-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.85rem;
    pointer-events: none;
}

.leaderboard-search-input {
    width: 100%;
    box-sizing: border-box;
    padding: 0.65rem 0.9rem 0.65rem 2.3rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    font-size: 0.9rem;
    background: white;
    outline: none;
    transition: border-color 0.2s;
}

.leaderboard-search-input:focus {
    border-color: var(--primary-color);
}

.leaderboard-search-empty {
    padding: 1.5rem 0;
    text-align: center;
    color: var(--text-muted);
}

.leaderboard-filters {
    display: flex;
    align-items: flex-end;
    gap: 1rem;
    margin: 0 0 1.25rem 0;
    flex-wrap: wrap;
}

.leaderboard-filters .filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.leaderboard-filters label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 600;
}

.leaderboard-filters select {
    padding: 0.55rem 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: white;
    min-width: 150px;
}

.leaderboard-subtitle {
    font-size: 19px;
    color: #000;
    margin-top: 0.25rem;
    margin-bottom: 0 !important;
}

.leaderboard-period-label {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-top: 0.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
}

.leaderboard-history-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.leaderboard-history-label {
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.leaderboard-history-select {
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: white;
    color: var(--text-color, #333);
    font-size: 0.9rem;
    min-width: 220px;
    max-width: 100%;
}

.leaderboard-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.leaderboard-action-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.leaderboard-action-btn:hover {
    transform: translateY(-2px);
}

.leaderboard-action-outline {
    background: #fff;
    border: 1.5px solid var(--primary-color);
    color: var(--primary-color);
}

.leaderboard-action-outline:hover {
    background: #eef3fc;
}

.leaderboard-action-primary {
    background: var(--primary-color);
    color: #fff;
    border: none;
}

.leaderboard-action-primary:hover {
    box-shadow: 0 12px 22px rgba(58, 130, 246, 0.3);
    color: #fff;
}

.leaderboard-filters .btn-filter {
    padding: 0.6rem 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 400;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    box-shadow: 0 10px 20px rgba(58, 130, 246, 0.25);
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.leaderboard-filters .btn-filter:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(58, 130, 246, 0.3);
}

.leaderboard-header {
    text-align: center;
    margin-bottom: 30px;
}

.leaderboard-header h1 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.leaderboard-header .period-label {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.leaderboard-table {
    overflow-x: auto;
}

.leaderboard-table table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.95rem;
}

.leaderboard-table thead {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: white;
}

.leaderboard-table th {
    padding: 1rem;
    text-align: center;
    font-weight: 600;
    border: none;
}

.leaderboard-table th.rank {
    width: 60px;
    text-align: center;
}

.leaderboard-table th.user {
    min-width: 250px;
    text-align: left;
}

.leaderboard-table th.total-points {
    text-align: center;
    width: 120px;
}

.leaderboard-table th.breakdown {
    text-align: center;
    width: 70px;
}

.leaderboard-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s;
}

.leaderboard-table tbody tr:hover {
    background-color: rgba(58, 130, 246, 0.05);
}

.leaderboard-table tbody tr.rank-1 {
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.08), transparent);
    border-left: 4px solid #FFD700;
}

.leaderboard-table tbody tr.rank-2 {
    background: linear-gradient(90deg, rgba(192, 192, 192, 0.08), transparent);
    border-left: 4px solid #C0C0C0;
}

.leaderboard-table tbody tr.rank-3 {
    background: linear-gradient(90deg, rgba(205, 127, 50, 0.08), transparent);
    border-left: 4px solid #CD7F32;
}

.leaderboard-table th,
.leaderboard-table td {
    padding: 1rem;
    vertical-align: middle;
}

.leaderboard-table td.score {
    text-align: center;
}

.leaderboard-table td.rank {
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--primary-color);
    display: grid;
    place-items: center;
    line-height: 1;
    padding-top: 0.85rem;
    padding-bottom: 0.85rem;
}

.leaderboard-table td.user {
    min-width: 250px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.user-avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.user-name {
    display: block;
    font-weight: 600;
    color: var(--text-main);
}

.user-email {
    display: block;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.leaderboard-table td.predictions {
    text-align: center;
    font-weight: 600;
}

.leaderboard-table td.correct {
    text-align: center;
}

.leaderboard-table .rank-row {
    text-align: center;;
}

.badge {
    display: inline-block;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-success {
    background: rgba(16, 185, 129, 0.15);
    color: #065f46;
}

.accuracy {
    display: inline-block;
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    margin-left: 6px;
}

.leaderboard-table td.breakdown {
    text-align: center;
    font-weight: 600;
    color: var(--accent-color);
}

.leaderboard-table td.total-points {
    text-align: center;
}

.points-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-hover));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.95rem;
}

/* Prize badge */
.leaderboard-table td.prize {
    text-align: center;
}

.prize-agency-logo-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 28px;
    margin: 0 auto 4px;
    padding: 4px 8px;
    border-radius: var(--radius-md, 8px);
    background: #fff;
}

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

.prize-badge {
    color: #000;
    font-size: 0.9rem;
}

.prize-badge i {
    margin-right: 4px;
}

.no-prize {
    color: var(--text-muted);
    font-weight: 500;
}

.leaderboard-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.leaderboard-empty p {
    font-size: 1.1rem;
}

/* Pagination */
.leaderboard-pagination,
.predictions-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
}

.leaderboard-pagination .pagination-numbers,
.predictions-pagination .pagination-numbers {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-btn {
    padding: 0.5rem 0.9rem;
    border: 1px solid var(--border-color);
    background: white;
    color: var(--text-main);
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

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

.pagination-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(58, 130, 246, 0.3);
}

.pagination-dots {
    display: inline-flex;
    align-items: center;
    color: var(--text-muted);
    padding: 0 0.25rem;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    user-select: none;
}

/* Prize History */
.prize-history-container {
    max-width: 900px;
    margin: 2rem auto;
}

.prize-history-container h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-main);
    text-align: center;
}

.prize-history-container h2 i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.prize-history-list {
    display: grid;
    gap: 1.5rem;
}

.prize-history-item {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.prize-history-item:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.prize-history-item.position-1 {
    border-color: #ffd700;
    background: linear-gradient(135deg, #fffbf0 0%, white 100%);
}

.prize-history-item.position-2 {
    border-color: #c0c0c0;
    background: linear-gradient(135deg, #f8f8f8 0%, white 100%);
}

.prize-history-item.position-3 {
    border-color: #cd7f32;
    background: linear-gradient(135deg, #fff5ed 0%, white 100%);
}

.prize-position {
    font-size: 2.5rem;
    min-width: 60px;
    text-align: center;
}

.prize-position .position-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-color);
}

.prize-details {
    flex: 1;
}

.prize-details h3 {
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.prize-info {
    display: inline-flex;
    gap: 0.5rem;
    margin-right: 1.5rem;
    margin-bottom: 0.5rem;
}

.prize-label {
    color: var(--text-muted);
    font-weight: 600;
}

.prize-value {
    color: var(--text-main);
    font-weight: 400;
}

.prize-reward {
    margin-top: 0.75rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.prize-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-align: right;
    min-width: 100px;
}

.prize-history-empty {
    text-align: center;
    padding: 3rem 1rem;
    color: var(--text-muted);
}

.prize-history-empty p {
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .prize-history-item {
        flex-direction: column;
        text-align: center;
    }
    
    .prize-info {
        display: block;
        margin-right: 0;
    }
    
    .prize-date {
        text-align: center;
        min-width: auto;
    }

    .leaderboard-scoring-info {
        margin: 20px !important;
    }
    .leaderboard-scoring-info .scoring-boxes {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    flex-direction: column;
}
}

/* Responsive */
@media (max-width: 1024px) {
    .leaderboard-table th.user,
    .leaderboard-table td.user {
        min-width: 180px;
    }
    
    .leaderboard-table th.email,
    .leaderboard-table td.email {
        display: none;
    }
}

@media (max-width: 768px) {
    .leaderboard-container {
        padding: 1rem;
    }
    
    .leaderboard-header h2 {
        font-size: 1.5rem;
    }
    
    /* Ascundem doar thead pe mobil */
    .leaderboard-table thead {
        display: none;
    }
    
    .leaderboard-table table {
        display: block;
    }
    
    /* Creăm layout cu carduri pentru mobil */
    .leaderboard-table tbody {
        display: block;
    }
    
    .leaderboard-table tbody tr {
        display: flex;
        flex-direction: column;
        background: white;
        border: 1px solid var(--border-color);
        border-radius: 12px;
        padding: 0.75rem;
        margin-bottom: 0.75rem;
        position: relative;
    }
    
    .leaderboard-table tbody tr.rank-1,
    .leaderboard-table tbody tr.rank-2,
    .leaderboard-table tbody tr.rank-3 {
        border-left: none;
        border-top: 4px solid;
    }
    
    .leaderboard-table tbody tr.rank-1 {
        border-top-color: #FFD700;
    }
    
    .leaderboard-table tbody tr.rank-2 {
        border-top-color: #C0C0C0;
    }
    
    .leaderboard-table tbody tr.rank-3 {
        border-top-color: #CD7F32;
    }
    
    .leaderboard-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.4rem 0;
        border: none;
        min-width: auto;
    }
    
    .leaderboard-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--text-muted);
        font-size: 0.85rem;
    }
    
        .leaderboard-table td.rank-row {
        position: absolute;
        top: 1.3rem;
        right: 0.75rem;
        width: 25px;
        height: 25px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--primary-color);
        color: white;
        border-radius: 50%;
        font-size: 0.75rem;
        font-weight: 700;
        padding: 0;
    }
    
    .leaderboard-table td.rank-row::before {
        content: none;
    }
    
    .leaderboard-table td.user {
        flex-direction: row;
        align-items: center;
        gap: 0.5rem;
        padding-top: 0;
        padding-bottom: 0.75rem;
        padding-right: 45px;
        border-bottom: 1px solid var(--border-color);
        margin-bottom: 0.4rem;
        min-width: auto;
    }
    
    .leaderboard-table td.user::before {
        content: none;
    }
    
    .leaderboard-table td.user .user-info {
        width: 100%;
        flex-direction: row;
        gap: 0.75rem;
    }
    
    .leaderboard-table td.predictions::before {
        content: "Meciuri:";
    }
    
    .leaderboard-table td.correct::before {
        content: "Predicții corecte:";
    }
    
    .leaderboard-table td.correct {
        flex-direction: row;
        align-items: flex-start;
        gap: 0.15rem;
    }
    
    .leaderboard-table td.total-points::before {
        content: "Puncte:";
    }
    
    .leaderboard-table td.prize::before {
        content: "Premiu:";
    }

    /* Logo-ul de agenție + badge-ul de premiu stivuite pe verticală, aliniate
       dreapta (logo deasupra) — pe desktop stau deja centrate pe o coloană,
       aici doar le mutăm la dreapta, sub eticheta "Premiu:". */
    .leaderboard-table td.prize .prize-value {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        gap: 4px;
    }

    .leaderboard-table td.prize .prize-agency-logo-wrap {
        margin: 0;
    }

    .leaderboard-table td.breakdown {
        display: none;
    }
    
    .user-avatar-small {
        width: 40px;
        height: 40px;
    }
    
        .points-badge {
        padding: 0 !important;
        font-size: 0.75rem;
        color: #000;
        background: none;
    }
    
    .prize-badge {
        font-size: 0.85rem;
        padding: 0;
    }
    
    .badge-success {
        font-size: 0.8rem;
        padding: 0.3rem 0.65rem;
    }
    
    .accuracy {
        font-size: 0.75rem;
    }

    .leaderboard-table .badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 0;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--bg-body);
    color: var(--text-main);
    text-transform: uppercase;
}
}

@media (max-width: 480px) {
    .leaderboard-container {
        padding: 0.75rem;
    }
    
    .leaderboard-header h2 {
        font-size: 1.25rem;
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .leaderboard-table {
        font-size: 0.75rem;
    }
    
    .leaderboard-table th,
    .leaderboard-table td {
        padding: 0;
    }
    
    .leaderboard-table th.user,
    .leaderboard-table td.user {
        min-width: 120px;
    }
    
    .user-info {
        flex-direction: column;
        align-items: center;
        gap: 0.25rem;
    }
    
    .user-name,
    .user-email {
        font-size: 0.75rem;
        display: none;
    }

    #leaderboard-tbody .user-name {
        display: block !important;
    }
    .leaderboard-table .user-name {
        display: block;
    }

    .user-account-menu {
    list-style: none;
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0;
    width: 175px;
    max-width: 175px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 0 0 14px 14px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.14);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(6px);
    transition: all 0.18s ease;
    z-index: 9999;
}
    
    .points-badge {
        padding: 0.35rem 0.75rem;
        font-size: 0.85rem;
    }
}

/* ============================================================
   QUIZ CUPA MONDIALĂ
   ============================================================ */

.quiz-cm-page {
    padding: 30px 20px 60px;
}

.quiz-cm-wrapper {
    max-width: 780px;
    margin: 0 auto;
}

/* Hero */
.quiz-cm-hero {
    border-radius: var(--radius-xl);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    margin-bottom: 32px;
    min-height: 400px;
    display: flex;
    align-items: flex-end;
}

.quiz-cm-hero--default {
    background: linear-gradient(135deg, #1a3a6b 0%, #2a5298 50%, #c8a415 100%);
}

.quiz-cm-hero-overlay {
    width: 100%;
    padding: 32px 32px 28px;
    background: linear-gradient(to top, rgba(10,20,50,0.85) 0%, rgba(10,20,50,0.4) 70%, transparent 100%);
}

.quiz-cm-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gold-gradient);
    color: #1a1a1a;
    font-weight: 700;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 12px;
}

.quiz-cm-title {
    color: #fff;
    font-family: var(--font-display);
    font-size: 1.9rem;
    font-weight: 700;
    margin: 0 0 8px;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0,0,0,0.4);
}

.quiz-cm-desc {
    color: rgba(255,255,255,0.85);
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

/* Progress */
.quiz-cm-progress-wrap {
    margin-bottom: 28px;
}

.quiz-cm-progress-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    font-size: 0.875rem;
    color: var(--text-muted);
    font-weight: 500;
}

.quiz-cm-progress-bar {
    height: 8px;
    background: var(--border-color);
    border-radius: 99px;
    overflow: hidden;
}

.quiz-cm-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 99px;
    transition: width 0.4s ease;
}

/* Question card */
.quiz-cm-question {
    display: none;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    animation: quizFadeIn 0.3s ease;
}

.quiz-cm-question.is-active {
    display: block;
}

@keyframes quizFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.quiz-cm-q-number {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-color);
    margin-bottom: 10px;
}

.quiz-cm-q-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 24px;
    line-height: 1.4;
}

/* Options */
.quiz-cm-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
}

.quiz-cm-option {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: #f8fafc;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    cursor: pointer;
    text-align: left;
    width: 100%;
    transition: border-color 0.15s, background 0.15s, transform 0.1s;
    font-size: 0.95rem;
    color: var(--text-main);
}

.quiz-cm-option:hover:not(:disabled) {
    border-color: var(--accent-color);
    background: #eff6ff;
    transform: translateX(3px);
    color: var(--primary-color);
}

.quiz-cm-option.is-selected {
    border-color: var(--primary-color);
    background: #e8f0fe;
    font-weight: 600;
    color: var(--primary-color);
    
}

.quiz-cm-option.is-correct {
    border-color: var(--success-color);
    background: #d1fae5;
    color: #065f46;
}

.quiz-cm-option.is-wrong {
    border-color: var(--danger-color);
    background: #fee2e2;
    color: #991b1b;
}

.quiz-cm-option:disabled {
    cursor: default;
}

.quiz-cm-option-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--border-color);
    font-weight: 700;
    font-size: 0.85rem;
    flex-shrink: 0;
    transition: background 0.15s, color 0.15s;
}

.quiz-cm-option.is-selected .quiz-cm-option-letter {
    background: var(--primary-color);
    color: #fff;
}

.quiz-cm-option.is-correct .quiz-cm-option-letter {
    background: var(--success-color);
    color: #fff;
}

.quiz-cm-option.is-wrong .quiz-cm-option-letter {
    background: var(--danger-color);
    color: #fff;
}

.quiz-cm-option-text {
    flex: 1;
}

/* Navigation */
.quiz-cm-nav {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 8px;
}

.quiz-cm-nav .btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
    transform: none !important;
}

/* Feedback */
.quiz-cm-feedback {
    min-height: 0;
    font-size: 0.875rem;
    font-weight: 500;
    margin-top: -10px;
    margin-bottom: 16px;
}

/* Result screen */
.quiz-cm-result {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 48px 32px 40px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    animation: quizFadeIn 0.4s ease;
}

.quiz-cm-result-icon {
    font-size: 3.5rem;
    margin-bottom: 16px;
    line-height: 1;
}

.quiz-cm-result-icon--gold  { color: #f59e0b; }
.quiz-cm-result-icon--silver { color: #94a3b8; }
.quiz-cm-result-icon--bronze { color: #c77c3b; }

.quiz-cm-result-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0 0 16px;
}

.quiz-cm-result-score {
    display: inline-flex;
    align-items: baseline;
    gap: 4px;
    background: #f1f5f9;
    border-radius: 99px;
    padding: 10px 28px;
    margin-bottom: 16px;
}

.quiz-score-num {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--primary-color);
    font-family: var(--font-display);
}

.quiz-score-sep {
    font-size: 1.6rem;
    color: var(--text-muted);
    font-weight: 300;
}

.quiz-score-total {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-muted);
}

.quiz-score-pct {
    font-size: 1rem;
    color: var(--text-muted);
    margin-left: 6px;
}

.quiz-cm-result-msg {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0 0 28px;
}

.quiz-cm-result-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Review */
.quiz-cm-review {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    animation: quizFadeIn 0.3s ease;
}

.quiz-cm-review-title {
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0 0 20px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.quiz-cm-review-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.quiz-cm-review-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--border-color);
}

.quiz-cm-review-item.is-ok  { border-color: var(--success-color); background: #f0fdf4; }
.quiz-cm-review-item.is-err { border-color: var(--danger-color);  background: #fff5f5; }

.quiz-review-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
    color: var(--text-muted);
}

.quiz-review-body {
    flex: 1;
    font-size: 0.875rem;
}

.quiz-review-q {
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0 6px;
}

.quiz-review-chosen,
.quiz-review-correct {
    margin: 3px 0;
    color: var(--text-muted);
}

.quiz-review-chosen i { color: var(--danger-color); }
.quiz-review-correct i { color: var(--success-color); }

.quiz-review-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
    line-height: 1;
}

.quiz-cm-review-item.is-ok  .quiz-review-icon { color: var(--success-color); }
.quiz-cm-review-item.is-err .quiz-review-icon { color: var(--danger-color); }

/* No questions */
.quiz-cm-no-questions {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--border-color);
}

.quiz-cm-no-questions i {
    font-size: 2.5rem;
    margin-bottom: 12px;
    display: block;
    color: var(--accent-color);
}

/* Bonus casino offer */
.quiz-cm-bonus {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 60%, #0f3460 100%);
    border-radius: var(--radius-lg);
    padding: 28px 28px 22px;
    margin-top: 24px;
    border: 1px solid rgba(255,255,255,0.08);
    overflow: hidden;
}

.quiz-cm-bonus::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top right, rgba(245,158,11,0.15) 0%, transparent 65%);
    pointer-events: none;
}

.quiz-cm-bonus-inner {
    display: flex;
    align-items: center;
    gap: 24px;
}

.quiz-cm-bonus-logo {
    flex-shrink: 0;
}

.quiz-cm-bonus-logo img {
    width: 90px;
    height: auto;
    border-radius: 10px;
    display: block;
}

.quiz-cm-bonus-content {
    flex: 1;
    min-width: 0;
}

.quiz-cm-bonus-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 6px;
}

.quiz-cm-bonus-procent {
    font-size: 1.5rem;
    font-weight: 800;
    color: #f59e0b;
    margin-bottom: 8px;
    line-height: 1.1;
}

.quiz-cm-bonus-desc {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    margin: 0 0 14px;
    line-height: 1.5;
}

.quiz-cm-bonus-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 10px 22px;
    border-radius: var(--radius-md);
    text-decoration: none;
}

.quiz-cm-bonus-disclaimer {
    margin-top: 10px;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 600px) {
    .quiz-cm-hero-overlay { padding: 24px 20px; }
    .quiz-cm-title { font-size: 1.4rem; }
    .quiz-cm-question { padding: 22px 18px; }
    .quiz-cm-q-text { font-size: 1.05rem; }
    .quiz-cm-result { padding: 32px 18px; }
    .quiz-cm-result-title { font-size: 1.3rem; }
    .quiz-cm-nav { justify-content: space-between; }
    .quiz-cm-nav .btn { flex: 1; }
    .quiz-cm-review { padding: 22px 16px; }
    .quiz-cm-bonus { padding: 20px 16px 16px; }
    .quiz-cm-bonus-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
    .quiz-cm-bonus-logo img { width: 70px; }
    .quiz-cm-bonus-procent { font-size: 1.25rem; }
}


/* ========================================
   BONUSURI CAZINO - MODERN DESIGN
   ======================================== */

/* Bonuses Container */
.single-bonus .bonuses-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 20px 0px;
}

.bonuses-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Bonus Card */
.bonus-card {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 20px;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid #e4e4e4;
    
}

.bonus-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.bonus-card.featured {
    border-color: #fbbf24;
    background: linear-gradient(to right, #fffbeb 0%, #ffffff 100%);
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1), var(--shadow-lg);
}

/* Bonus Rank */
.bonus-rank {

    top: -10px;
    left: 20px;
    background: var(--gold-gradient);
    color: white;
    padding: 4px 12px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 0.75rem;
    box-shadow: var(--shadow-md);
    z-index: 10;
    white-space: nowrap;
}

.bonus-card:not(.featured) .bonus-rank {
    background: linear-gradient(135deg, #64748b 0%, #475569 100%);
}

/* Bonus Badges */
.bonus-badges {
    position: absolute;
    top: -15px;
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
    z-index: 10;
}


.badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--bg-body);
    color: var(--text-main);
    text-transform: uppercase;
}

.badge-country {
    background: white;
    border: 1px solid var(--border-color);
    padding: 4px 10px;
}

.badge-country .flag-icon {
    width: 20px;
    height: auto;
    border-radius: 2px;
}

.badge-exclusive {
    background: linear-gradient(135deg, #ec4899 0%, #d946ef 100%);
    color: white;
}

.badge-new {
    background: linear-gradient(135deg, #f59e0b 0%, #f97316 100%);
    color: white;
}

.badge-no-wager {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

/* Bonus Content */
.bonus-content {
    display: grid;
    grid-template-columns: 1.3fr auto 0.9fr;
    gap: 24px;
    align-items: center;
}

/* Bonus Left */
.bonus-left {
    display: flex;
    gap: 16px;
    align-items: center;
}

.casino-logo {
    flex-shrink: 0;
    width: 140px;
    height: 90px;
    background: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.casino-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
}

.bonus-offer {
    flex: 1;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.casino-name {
    font-size: 14px;
    font-weight: 700;
    font-family: var(--font-display);
    margin-bottom: 0px !important;
    color: var(--primary-color);
    text-align: center;
    width: 100%;
}

.offer-main {
    display: flex;
    flex-direction: column;
    gap: 3px;
    margin-bottom: 10px;
    align-items: center;
}

.offer-amount {
    font-size: 18px;
    font-weight: 800;
    color: var(--success-color);
    font-family: var(--font-display);
    line-height: 1.1;
        text-align: center;
}

.offer-details {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
        text-align: center;
}

/* Bonus Code */
.bonus-code {
    margin-top: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bonus-code label {
    font-size: 0.7rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 4px;
    text-align: center;
}

.code-box {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    padding: 6px 10px;
    border-radius: var(--radius-md);
    border: 2px dashed var(--accent-color);
}

.code-box code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    letter-spacing: 1px;
}

.copy-btn {
    background: none;
    border: none;
    color: var(--accent-color);
    cursor: pointer;
    font-size: 1rem;
    padding: 4px;
    transition: all 0.2s;
}

.copy-btn:hover, .copy-btn:focus, .copy-btn:active {
    color: var(--primary-color);
    transform: scale(1.1);
    background: none;
}

/* Bonus Middle */
.bonus-middle {
    border-left: 1px solid var(--border-color);
    border-right: 1px solid var(--border-color);
    padding: 0 18px;
    min-width: 260px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}

.info-badges-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    text-align: center;
    background: #f8fafc;
    padding: 10px 8px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.info-item label {
    font-size: 0.65rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1.2;
}

.info-item strong {
    font-size: 0.9rem;
    color: var(--text-main);
    font-weight: 700;
}

.expiry-date {
    color: var(--warning-color) !important;
}

.time-left {
    color: var(--success-color) !important;
}

.verified-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: var(--radius-md);
    border: 1px solid #93c5fd;
}

.verified-info .flag-icon {
    width: 18px;
    height: auto;
    border-radius: 2px;
}

.verified-info span {
    font-size: 0.68rem;
    color: #1e40af;
    font-weight: 600;
}

.license-info {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-radius: var(--radius-md);
    border: 1px solid #86efac;
}

.license-info i {
    color: var(--success-color);
    font-size: 0.9rem;
}

.license-info span {
    font-size: 0.68rem;
    color: #065f46;
    font-weight: 600;
}

/* Bonus Right */
.bonus-right {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: stretch;
}

.btn-get-bonus {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.9rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-get-bonus:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
    color: white;
    text-decoration: none;
}

.btn-review {
    background: white;
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.8rem;
    text-align: center;
    text-transform: uppercase;
    border: 2px solid var(--border-color);
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-review:hover {
    border-color: var(--primary-color);
    background: #f8fafc;
    text-decoration: none;
}

.expandable-section {
    margin-top: 2px;
}

.expand-toggle {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.expand-toggle:hover, .expand-toggle:focus, .expand-toggle:active {
    color: var(--primary-color);
    background: transparent;
    box-shadow: none;
}

.expand-toggle i {
    transition: transform 0.3s ease;
}

/* Bonus Details */
.bonus-details {
    max-height: 0;
    overflow: hidden;
    margin-top: 0;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                margin-top 0.3s ease,
               
}

.bonus-details.active {
    max-height: 2000px;
    padding-top: 16px;
    margin-top: 16px;
}

.details-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    border-top: 2px dashed var(--border-color);
    padding-top: 10px;
}

.details-section p {
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 6px;
}

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

.details-section ul {
    list-style: none;
    padding: 0;
}

.details-section ul li {
    padding: 0;
    padding-left: 20px;
    position: relative;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.1;
}

.details-section ul li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.details-section ol {
    list-style: decimal;
    padding-left: 20px;
}

.details-section ol li {
    padding: 0;
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.1;
}

.details-section strong {
    color: var(--primary-color);
    font-weight: 700;
}

/* Responsive pentru Bonusuri */
@media (max-width: 1024px) {
    .bonus-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .bonus-middle {
        border-left: none;
        border-right: none;
        border-top: 1px solid var(--border-color);
        border-bottom: 1px solid var(--border-color);
        padding: 20px 0;
    }

    .details-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .bonus-left {
        flex-direction: column;
        align-items: center;
    }

    .casino-logo {
        width: 100px;
        height: 60px;
    }

    .offer-amount {
        font-size: 1.5rem;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .info-badges-container {
        grid-template-columns: 1fr;
    }

    .stat-card > div:last-child {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
}

.breakdown-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.breakdown-item {
    background: linear-gradient(135deg, #f5f7fa, #e8eef7);
    padding: 16px;
    border-radius: 10px;
    border-left: 4px solid #3b82f6;
    display: flex;
    flex-direction: column;
    gap: 0px;
    text-align: center;
}

.breakdown-item .value {
    font-size: 18px;
    font-weight: 700;
    color: #1976d2;
}

.bonus-middle .info-grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .bonus-rank-label {
        display: none;
    }
}

@media (max-width: 480px) {
    .bonus-card {
        padding: 15px;
    }

    .casino-name {
        font-size: 1.1rem;
    }

    .offer-amount {
        font-size: 1.3rem;
    }

    .btn-get-bonus {
        padding: 14px 24px;
        font-size: 0.9rem;
    }
    
    
    .bonus-card.featured .bonus-badges {
        left: 0;
    }
}

.tickets-list-sidebar {
        display: flex;
    flex-direction: column;
    gap: 15px;
}
/* ===============================================
   AUTHOR SECTION
   =============================================== */
.author-section {
    margin: 30px 0;
}

.author-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow-lg);
    display: flex;
    gap: 30px;
    align-items: center;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.author-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.08), 0 10px 10px -5px rgba(0,0,0,0.04);
}

.author-avatar {
    flex-shrink: 0;
}

.author-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--accent-color);
    box-shadow: var(--shadow-md);
}

.author-info {
    flex: 1;
}

.author-name {
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.author-name i {
    color: var(--accent-color);
    font-size: 1.3rem;
}

.author-bio {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.author-social {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.social-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
    margin-right: 5px;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--bg-body);
    color: var(--text-muted);
    transition: all 0.3s ease;
    font-size: 1.1rem;
    border: 1px solid var(--border-color);
    text-decoration: none;
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.social-link.facebook:hover {
    background: #1877f2;
    color: white;
    border-color: #1877f2;
}

.social-link.twitter:hover {
    background: #000000;
    color: white;
    border-color: #000000;
}

.social-link.instagram:hover {
    background: linear-gradient(135deg, #833ab4 0%, #fd1d1d 50%, #fcb045 100%);
    color: white;
    border-color: transparent;
}

.social-link.linkedin:hover {
    background: #0077b5;
    color: white;
    border-color: #0077b5;
}

/* Responsive Author Section */
@media (max-width: 768px) {
    .author-section {
        padding: 40px 20px;
        margin-top: 40px;
    }

    .author-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .author-avatar img {
        width: 100px;
        height: 100px;
    }

    .author-name {
        font-size: 1.3rem;
        justify-content: center;
    }

    .author-social {
        justify-content: center;
    }

    .bilet-main-stats {
    display: flex;
    gap: 5px;
    justify-content: center;
    flex-wrap: nowrap;
    flex-direction: row;
}

.bilet-stat-large {
    background: white;
    padding: 10px 15px;
    border-radius: 12px;
    border: 2px solid #e2e8f0;
    min-width: 100px;
    text-align: center;
}

.bilet-stat-large .stat-label {
    display: block;
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 0;
}
.bilet-stat-large .stat-value-large {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #2563eb;
}
}

@media (max-width: 480px) {
    .author-card {
        padding: 25px 15px;
    }

    .author-avatar img {
        width: 80px;
        height: 80px;
    }

    .author-name {
        font-size: 1.1rem;
    }

    .author-bio {
        font-size: 0.9rem;
    }

    .social-link {
        width: 36px;
        height: 36px;
        font-size: 1rem;
    }
}

/* =============================================
   AUTH CONTAINER - Login & Register Forms
   ============================================= */

.auth-container {
    margin: 1rem auto;
}

.auth-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.auth-box {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.auth-header {
    text-align: left;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.auth-header h2 {
    font-size: 20px;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.auth-header h2 i {
    color: var(--primary-color);
}

.auth-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.form-group label {
    font-weight: 600;
    color: var(--text-main);
    font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"] {
    padding: 0.65rem 0.85rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: all 0.3s;
    background: #f8fafc;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: white;
    box-shadow: 0 0 0 3px rgba(58, 130, 246, 0.1);
}

.phone-input-group {
    display: flex;
    gap: 0.5rem;
}

.phone-input-group input {
    flex: 1;
}

.phone-input-group .btn-sm {
    padding: 0.6rem 0.85rem;
    white-space: nowrap;
    font-size: 0.85rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    user-select: none;
}

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

.checkbox-label span {
    color: var(--text-main);
    font-size: 0.9rem;
}

.field-validation {
    font-size: 0.85rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.field-validation.valid {
    color: #10b981;
}

.field-validation.error {
    color: #ef4444;
}

.field-validation.info {
    color: #6b7280;
}

.field-validation i {
    font-size: 0.9rem;
}

.auth-message {
    min-height: 20px;
}

.success-message,
.error-message {
    padding: 0.65rem 0.85rem;
    border-radius: 8px;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.success-message {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.error-message {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.btn-block {
    width: 100%;
    justify-content: center;
    padding: 0.75rem;
    font-size: 0.95rem;
    font-weight: 600;
}

.btn-block:hover {
    color: #fff;
}

.auth-footer {
    margin-top: 0.5rem;
    text-align: center;
}

.forgot-password {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s;
}

.forgot-password:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.text-small {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin: 0;
}

.btn-secondary {
    background: #6b7280;
    color: white;
}

.btn-secondary:hover {
    background: #4b5563;
    color: white;
}

.btn-success {
    background: #10b981;
    color: white;
}

.btn-success:hover {
    background: #059669;
    color: white;
}

/* Responsive */
@media (max-width: 968px) {
    .auth-layout {
        grid-template-columns: 1fr;
    }
    
    .auth-box {
        padding: 2rem;
    }
}

@media (max-width: 768px) {
    .auth-container {
    margin: 0;
}
    
    .auth-box {
        padding: 1.5rem;
    }
    
    .auth-header h2 {
        font-size: 1.5rem;
    }
    
    .settings-section .form-row, .settings-section .password-row, .auth-form .form-row {
    display: grid;
    grid-template-columns: 1fr !important;
    gap: 24px;
}
    
    .phone-input-group {
        flex-direction: column;
    }
    
    .phone-input-group .btn-sm {
        width: 100%;
    }
}

/* =============================================
   MODAL RESETARE PAROLA
   ============================================= */

/* Fix: prevent stacking context issues with Gutenberg blocks */
.bonus-pariuri-sidebar-wrap {
    position: static;
    z-index: auto;
    isolation: auto;
    transform: none;
}

/* Gutenberg shortcode block - prevent stacking context */
.wp-block-shortcode {
    position: static !important;
    z-index: auto !important;
    transform: none !important;
    isolation: auto !important;
}

.modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999 !important;
    padding: 1rem;
}

.modal-overlay[style*="display: none"] {
    display: none !important;
}

.modal-content {
    background: white;
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 500px;
    width: 100%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-height: 90vh;
    overflow-y: auto;
    z-index: 1000000 !important;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s;
}

.modal-close:hover {
    background: #f1f5f9;
    color: var(--text-main);
}

.modal-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.modal-header h2 {
    font-size: 1.8rem;
    color: var(--text-main);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.modal-header h2 i {
    color: var(--primary-color);
}

.modal-header p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .modal-content {
        padding: 2rem 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.5rem;
    }
}

.single-bonus .entry-content-wrap {
    padding: 0;
}

.single-bonus .content-bg {
    background: #f5f7fa;
}

.single-bonus .entry.single-entry {
    box-shadow: none;
}

.single-bonus .entry-title {
    word-wrap: break-word;
    text-align: center;
}

/* =============================================
   CAZINO SIDEBAR WIDGET – stacked card layout
   ============================================= */

.cazino-sidebar-widget .widget-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.cazino-sidebar-list {
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 12px;
    justify-content: space-evenly;
}

.cazino-sidebar-card {
    border-radius: 12px;
    padding: 12px 14px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    background: #fff;
    border: 1px solid #e8eaf0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    color: #1a1a2e;
    text-align: center;
}

/* Logo row */
.cazino-sidebar-logo {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 44px;
}

.cazino-sidebar-logo img {
        max-height: 55px;
    max-width: 120px;
    width: auto;
    object-fit: contain;
    filter: none;
    padding: 0px 10px;
}

.cazino-sidebar-name {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
}

/* Bonus text */
.cazino-sidebar-bonus {
    font-size: 14px;
    font-weight: 800;
    color: #000;
    border-radius: 20px;
    padding: 5px 16px;
    letter-spacing: 0.01em;
    line-height: 1.3;
    width: 100%;
    box-sizing: border-box;
}

/* CTA button — gradient set inline from culoare_1/culoare_2 */
.cazino-sidebar-btn {
    display: block;
    width: 100%;
    padding: 9px 0;
    border-radius: 8px;
    background: linear-gradient(90deg, #10b981 60%, #059669 100%);
    color: #fff;
    font-size: 0.88rem;
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 0.04em;
    box-sizing: border-box;
    transition: opacity 0.15s;
}

.cazino-sidebar-btn:hover {
    opacity: 0.88;
    text-decoration: none;
    color: #fff;
}

/* T&C line */
.cazino-sidebar-tc {
    font-size: 0.72rem;
    color: #9aa0b0;
    line-height: 1.3;
}

/* "See all" link inherits existing .see-all-bonuses styles */
.cazino-sidebar-widget .see-all-bonuses {
    display: block;
    text-align: center;
    margin-top: 4px;
}

@media screen and (max-width: 768px) {
    .cazino-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 12px;
    justify-content: space-evenly;
}
}

/* ================================================
   Shortcode [metode_de_plata]
   ================================================ */
.metode-plata-grid {
    display: grid;
    grid-template-columns: repeat(var(--mpp-cols, 6), 1fr);
    gap: 16px;
    margin: 20px 0;
}

.metode-plata-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1px solid #e8eaf0;
    border-radius: 12px;
    padding: 18px 12px 14px;
    text-decoration: none;
    color: #1a1a2e;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.metode-plata-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.10);
    color: #1a1a2e;
    text-decoration: none;
}

.metode-plata-img {
    width: 72px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.metode-plata-img img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.metode-plata-img--empty {
    color: #b0b8c9;
    font-size: 2rem;
}

.metode-plata-title {
    font-size: 0.82rem;
    font-weight: 700;
    text-align: center;
    color: #1a1a2e;
    line-height: 1.3;
}

@media (max-width: 1024px) {
    .metode-plata-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 640px) {
    .metode-plata-grid { grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .metode-plata-card { padding: 12px 8px 10px; }
    .metode-plata-img { width: 52px; height: 36px; }
}

/* ============================================================
   FILTER SIDEBAR STYLES
   ============================================================ */

.filter-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding: 12px 16px;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.btn-filtre {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-color);
    color: white;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.9rem;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    font-family: var(--font-main);
}

.btn-filtre:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.filter-count-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    background: #ef4444;
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid white;
}

.filter-results-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    flex: 1;
}

.filter-results-text span {
    color: var(--primary-color);
    font-weight: 700;
}

.sort-dropdown {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sort-dropdown label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    white-space: nowrap;
}

.sort-dropdown select {
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 7px 12px;
    font-size: 0.85rem;
    color: var(--text-main);
    background: #f8fafc;
    cursor: pointer;
}

.filter-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    z-index: 2147483646 !important;
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.filter-overlay.active {
    display: block;
    opacity: 1;
}

.filter-sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 360px;
    height: 100vh;
    background: white;
    z-index: 2147483647 !important;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 24px rgba(0, 0, 0, 0.15);
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.filter-sidebar.open {
    transform: translateX(0);
}

.filter-sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    border-bottom: 1px solid var(--border-color);
    background: white;
}

.filter-sidebar-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-main);
}

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

.filter-close-btn {
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 50%;
    background: #f8fafc;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.2s;
}

.filter-close-btn:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #ef4444;
}

.filter-sidebar-body {
    flex: 1;
    overflow-y: auto;
    padding: 8px 0 16px;
}

.filter-section {
    border-bottom: 1px solid var(--border-color);
}

.filter-section-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background: none;
    border: none;
    cursor: pointer;
    transition: background 0.15s;
}

.filter-section-toggle:hover {
    background: #f8fafc;
}

.filter-section-title {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-main);
}

.filter-section-title i {
    color: var(--primary-color);
    font-size: 0.85rem;
    width: 16px;
}

.filter-section-toggle .toggle-icon {
    font-size: 0.75rem;
    color: var(--text-muted);
    transition: transform 0.25s ease;
}

.filter-section-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.filter-section-body.open {
    max-height: 600px;
    padding: 4px 20px 14px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px 4px;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.15s;
}

.filter-checkbox:hover {
    background: #f1f5f9;
}

.filter-checkbox input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #cbd5e1;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    background: white;
}

.filter-checkbox input:checked ~ .checkbox-custom {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.filter-checkbox input:checked ~ .checkbox-custom::after {
    content: '';
    display: block;
    width: 5px;
    height: 9px;
    border: 2px solid white;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translate(-1px, -1px);
}

.filter-checkbox > span:not(.checkbox-custom):not(.filter-count) {
    flex: 1;
    font-size: 0.875rem;
    color: var(--text-main);
    font-weight: 500;
}

.filter-count {
    font-size: 0.75rem;
    color: var(--text-muted);
    background: #f1f5f9;
    padding: 2px 7px;
    border-radius: 10px;
    font-weight: 600;
    min-width: 28px;
    text-align: center;
}

.filter-sidebar-footer {
    display: flex;
    gap: 10px;
    padding: 16px 20px;
    border-top: 1px solid var(--border-color);
    background: white;
}

.btn-filter-clear {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #f1f5f9;
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-filter-clear:hover {
    background: #fee2e2;
    border-color: #fca5a5;
    color: #ef4444;
}

.btn-filter-apply {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white;
    border: none;
    padding: 11px 20px;
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-filter-apply:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(42, 77, 143, 0.35);
}

@media (max-width: 480px) {
    .filter-sidebar {
        width: 100%;
    }
    
    .filter-bar {
        flex-wrap: wrap;
        gap: 10px;
    }
}

/* ============================================================
   QUICK FILTER CARDS
   ============================================================ */
.quick-filters {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.quick-filter-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 14px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quick-filter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #3b82f6;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.quick-filter-card:hover {
    border-color: #3b82f6;
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    transform: translateY(-2px);
}

.quick-filter-card:hover::before {
    transform: scaleY(1);
}

.quick-filter-card.active {
    border-color: #3b82f6;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(37, 99, 235, 0.05) 100%);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

.quick-filter-card.active::before {
    transform: scaleY(1);
}

.quick-filter-card.active .quick-filter-icon {
    transform: scale(1.05);
}

.quick-filter-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.quick-filter-card:hover .quick-filter-icon {
    transform: scale(1.1) rotate(5deg);
}

.quick-filter-card[data-filter="new"] .quick-filter-icon {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.quick-filter-card[data-filter="no-wagering"] .quick-filter-icon {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.quick-filter-card[data-filter="low-wagering"] .quick-filter-icon {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.quick-filter-content h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 2px;
    line-height: 1.3;
}

.quick-filter-content p:first-child {
    font-size: 0.9rem;
    color: #1e293b;
    margin-bottom: 2px;
    line-height: 1.4;
    font-weight: bold;
}


.quick-filter-content p {
    font-size: 0.8rem;
    color: #64748b;
    line-height: 1.4;
}

@media (max-width: 1024px) {
    .quick-filters {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .quick-filters {
        grid-template-columns: 1fr 1fr;
    }

    .quick-filter-card {
    padding: 5px 10px;
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    flex-direction: column;
}
   
    .quick-filter-content {
        text-align: center;
    }
    .quick-filter-content p:first-child {
        font-size: 11px;
    }
    .quick-filter-content p:nth-child(2) {
        font-size: 10px;
    }

    .quick-filter-icon {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
}

.gm-mission-link-btn {
        background: #22c081;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

.gm-mission-link-btn:hover {
        background: #22c081;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

/* =============================================
   MINI BONUS SECTIONS — [mini_bonusuri]
   ============================================= */

.mini-bonus-section {
    margin-bottom: 20px;
}

.mini-bonus-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    justify-content: space-between;
}

.mini-bonus-header h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #1e293b;
    flex: 1;
    margin: 0;
}

.mini-section-icon {
    width: 26px;
    height: 26px;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.78rem;
    color: #fff;
    flex-shrink: 0;
}

.mini-section-icon.no-deposit { background: linear-gradient(135deg, #10b981, #059669); }
.mini-section-icon.casino     { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.mini-section-icon.sport      { background: linear-gradient(135deg, #3b82f6, #2563eb); }

.mini-bonus-header .view-all-sm {
    font-size: 0.75rem;
    color: #3b82f6;
    font-weight: 600;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.2s;
}
.mini-bonus-header .view-all-sm:hover { color: #2563eb; }

.mini-bonus-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
}

.mini-bonus-card {
    background: #fff;
    border-radius: 14px;
    padding: 22px 10px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    border: 1px solid #e2e8f0;
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
    cursor: pointer;
    text-decoration: none !important;
    color: inherit !important;
}

.mini-bonus-card::before {
    content: '';
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 4px;
    background: linear-gradient(90deg, #fbbf24, #f59e0b);
}

.mini-bonus-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(0,0,0,.14);
    border-color: #3b82f6;
}

.mini-rank-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #2a4d8f;
    color: #fff;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 16px;
    box-shadow: 0 2px 6px rgba(42,77,143,.4);
}

.mini-rank-badge.top {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    color: #1a1a2e;
}

.mini-logo {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 0.8rem;
    color: #fff;
    letter-spacing: .02em;
    flex-shrink: 0;
    overflow: hidden;
    margin-top: 4px;
}

.mini-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
    padding: 4px;
}

.mini-name {
    font-size: 0.76rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-amount {
    font-size: 0.78rem;
    font-weight: 600;
    color: #16a34a;
    line-height: 1.25;
    min-height: 28px;
}

.mini-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px;
}

.mini-tag {
    font-size: 0.6rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 5px;
    background: #eef2ff;
    color: #2a4d8f;
}

.mini-tag.no-deposit {
    background: #fef3c7;
    color: #92400e;
}

.mini-cta {
    display: block;
    width: 100%;
    padding: 8px 4px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: #fff !important;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
    transition: transform .15s ease, box-shadow .15s ease;
    margin-top: 4px;
    letter-spacing: .01em;
    box-shadow: 0 4px 10px rgba(251,191,36,.35);
}
.mini-bonus-card:hover .mini-cta {
    transform: translateY(-1px);
    box-shadow: 0 6px 14px rgba(251,191,36,.5);
}

.mini-bonus-card--mobile-only { display: none; }

@media (max-width: 900px) {
    .mini-bonus-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
    .mini-bonus-grid { grid-template-columns: repeat(2, 1fr); }
    .mini-bonus-card--mobile-only { display: flex; }
}

/* =====================================================
   [jocuri_demo] shortcode - listă jocuri demo cu filtre
   ===================================================== */

.jocuri-demo-block .demo-toolbar {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 18px 20px;
    margin-bottom: 24px;
    box-shadow: var(--shadow-sm);
}

.jocuri-demo-block .demo-search {
    flex: 1 1 260px;
    position: relative;
    max-width: 360px;
}

.jocuri-demo-block .demo-search input {
    width: 100%;
    padding: 11px 16px 11px 40px;
    border-radius: 30px;
    border: 1px solid var(--border-color);
    font-size: 0.92rem;
    font-family: var(--font-main);
    outline: none;
    transition: border-color 0.2s;
}

.jocuri-demo-block .demo-search input:focus {
    border-color: var(--primary-color);
}

.jocuri-demo-block .demo-search i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 0.85rem;
}

.jocuri-demo-block .demo-filters-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.jocuri-demo-block .demo-select {
    padding: 10px 34px 10px 16px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background-color: var(--bg-card);
    font-size: 0.85rem;
    font-family: var(--font-main);
    color: var(--text-main);
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: linear-gradient(45deg, transparent 50%, var(--text-muted) 50%), linear-gradient(135deg, var(--text-muted) 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(50% - 3px), calc(100% - 12px) calc(50% - 3px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.jocuri-demo-block .category-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    width: 100%;
}

.jocuri-demo-block .cat-pill {
    padding: 8px 16px;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    font-size: 0.83rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-main);
}

.jocuri-demo-block .cat-pill:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.jocuri-demo-block .cat-pill.active {
    background: var(--primary-color);
    color: #fff;
    border-color: var(--primary-color);
}

.jocuri-demo-block .demo-results-count {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.jocuri-demo-block .demo-results-count strong {
    color: var(--text-main);
}

.jocuri-demo-block .demo-games-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

@media (max-width: 1200px) {
    .jocuri-demo-block .demo-games-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 980px) {
    .jocuri-demo-block .demo-games-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
    .jocuri-demo-block .demo-games-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
}

.jocuri-demo-block .demo-game-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-color);
    transition: all 0.25s ease;
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.jocuri-demo-block .demo-game-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.jocuri-demo-block .dgc-thumb {
    position: relative;
    aspect-ratio: 3 / 2;
    overflow: hidden;
    display: block;
}

.jocuri-demo-block .dgc-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
    border-radius: 0;
}

.jocuri-demo-block .demo-game-card:hover .dgc-thumb img {
    transform: scale(1.08);
}

.jocuri-demo-block .dgc-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.65rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    z-index: 2;
}

.jocuri-demo-block .dgc-badge.hot { background: var(--danger-color); }
.jocuri-demo-block .dgc-badge.new { background: var(--success-color); }
.jocuri-demo-block .dgc-badge.jackpot { background: linear-gradient(135deg, #f59e0b, #ef4444); }

.jocuri-demo-block .dgc-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 1;
}

.jocuri-demo-block .demo-game-card:hover .dgc-overlay {
    opacity: 1;
}

.jocuri-demo-block .dgc-info {
    padding: 12px 14px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.jocuri-demo-block .dgc-info h3 {
    font-size: 0.92rem;
    margin-bottom: 2px;
    font-family: var(--font-display);
    line-height: 1.3;
}

.jocuri-demo-block .dgc-info h3 a {
    color: var(--text-main);
}

.jocuri-demo-block .dgc-info h3 a:hover {
    color: var(--primary-color);
}

.jocuri-demo-block .dgc-provider {
    font-size: 0.76rem;
    color: var(--text-muted);
    display: block;
    margin-bottom: 10px;
}

.jocuri-demo-block .dgc-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    margin-top: auto;
}

.jocuri-demo-block .dgc-rtp {
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--success-color);
    background: #ecfdf5;
    padding: 3px 8px;
    border-radius: 10px;
    white-space: nowrap;
}

.jocuri-demo-block .dgc-tag {
    font-size: 0.7rem;
    color: var(--text-muted);
    background: #f1f5f9;
    padding: 3px 8px;
    border-radius: 10px;
    white-space: nowrap;
}

.jocuri-demo-block .demo-empty-state {
    display: none;
    text-align: center;
    padding: 70px 20px;
    color: var(--text-muted);
}

.jocuri-demo-block .demo-empty-state i {
    font-size: 2.6rem;
    margin-bottom: 16px;
    display: block;
    color: #cbd5e1;
}

.jocuri-demo-block .demo-empty-state.show {
    display: block;
}

@media (max-width: 768px) {
    .jocuri-demo-block .demo-toolbar {
        flex-direction: column;
        align-items: stretch;
    }

    .jocuri-demo-block .demo-search {
        max-width: none;
    }
}

/* =====================================================
   Pagina single joc (single-jocuri.php)
   ===================================================== */

.demo-breadcrumb {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.demo-breadcrumb a {
    color: var(--text-muted);
}

.demo-breadcrumb a:hover {
    color: var(--primary-color);
}

.demo-breadcrumb i {
    font-size: 0.7rem;
    margin: 0 6px;
}

.game-hero {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
}

.game-hero-thumb {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.game-hero-thumb img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.game-hero-info h1 {
    font-family: var(--font-display);
    font-size: 1.9rem;
    margin-bottom: 6px;
}

.game-hero-provider {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 12px;
    display: block;
}

.game-hero-provider strong {
    color: var(--primary-color);
}

.game-hero-desc {
    color: var(--text-main);
    margin-bottom: 18px;
    font-size: 0.95rem;
    max-width: 640px;
}

.game-stat-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.game-stat-chip {
    display: flex;
    flex-direction: column;
    background: #f8fafc;
    border: 1px solid var(--border-color);
    border-radius: 10px;
    padding: 8px 14px;
    min-width: 100px;
}

.game-stat-chip .label {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--text-muted);
}

.game-stat-chip .value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-main);
}

.game-hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.game-demo-frame {
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
    background: #0f172a;
}

.game-demo-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.game-demo-unavailable {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

/* Info tabs below demo */
.game-info-tabs {
    display: flex;
    gap: 6px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 22px;
    overflow-x: auto;
}

.game-info-tab {
    padding: 12px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    white-space: nowrap;
    background: none;
    border-left: none;
    border-right: none;
    border-top: none;
    font-family: var(--font-main);
}

.game-info-tab:hover {
    color: var(--primary-color);
    background: none;
}

.game-info-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: none;
}

.game-info-panel {
    display: none;
}

.game-info-panel.active {
    display: block;
}

.game-info-panel h3 {
    font-family: var(--font-display);
    margin-bottom: 12px;
    font-size: 1.2rem;
}

.game-info-panel p {
    color: var(--text-main);
    margin-bottom: 14px;
    line-height: 1.7;
}

.game-spec-table {
    width: 100%;
    border-collapse: collapse;
}

.game-spec-table th, .game-spec-table td {
    padding: 10px 12px;
    border-bottom: 1px solid var(--border-color);
    text-align: left;
    font-size: 0.88rem;
}

.game-spec-table th {
    color: var(--text-muted);
    font-weight: 600;
    width: 220px;
}

.related-games-section h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    margin-bottom: 18px;
}

@media (max-width: 768px) {
    .game-hero {
        grid-template-columns: 1fr;
    }

    .game-hero-thumb {
        max-height: 220px;
    }
}

.mini-leaderboard-search {
    padding-left: 30px !important;
}

/* ── AGE GATE POPUP (18+) ─────────────────────────────────────────── */
.age-gate-scrim {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(30, 41, 59, 0.5);
    backdrop-filter: blur(3px);
    align-items: center;
    justify-content: center;
    padding: 24px;
    animation: age-gate-scrim-in 0.35s ease-out;
}

.age-gate-scrim.age-gate-closing {
    opacity: 0;
    transition: opacity 0.3s ease;
}

@keyframes age-gate-scrim-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.age-gate-modal {
    width: 100%;
    max-width: 440px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 38px 34px 32px;
    text-align: center;
    animation: age-gate-modal-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes age-gate-modal-in {
    from { opacity: 0; transform: translateY(14px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.age-gate-badge {
    width: 60px;
    height: 60px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gold-gradient);
    box-shadow: 0 10px 22px -8px rgba(245, 158, 11, 0.55);
}

.age-gate-badge span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: #78350f;
    letter-spacing: -0.02em;
}

.age-gate-modal h2 {
    font-family: var(--font-display);
    font-size: 23px;
    font-weight: 700;
    margin: 0 0 12px;
    color: var(--primary-dark);
    text-wrap: balance;
}

.age-gate-modal p {
    font-size: 14.5px;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 0 0 26px;
    max-width: 34ch;
    margin-inline: auto;
}

.age-gate-actions {
    display: flex;
    flex-direction: row;
    gap: 12px;
}

.age-gate-btn {
    flex: 1;
    appearance: none;
    border: none;
    border-radius: var(--radius-md);
    padding: 13px 16px;
    font-size: 14.5px;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.age-gate-btn:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 3px;
}

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

.age-gate-btn-confirm {
    background: var(--accent-color);
    color: #ffffff;
}

.age-gate-btn-confirm:hover {
    background: var(--accent-hover);
}

.age-gate-btn-deny {
    background: var(--bg-card);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
}

.age-gate-btn-deny:hover {
    color: var(--danger-color);
    border-color: var(--danger-color);
    background: #fef2f2;
}

@media (prefers-reduced-motion: reduce) {
    .age-gate-scrim,
    .age-gate-modal {
        animation: none;
    }
    .age-gate-btn {
        transition: none;
    }
}
.user-prediction-badge {
    display:flex;
    align-items:center;
    justify-content: center;
    gap:4px;
    font-size:11px;
    font-weight:500;
    text-decoration:none;
    opacity:.85;
}

.user-prediction-badge.not-added { 
    color:#c2410c;
}
.user-prediction-badge.not-added:hover {
    opacity:1; 
    text-decoration:underline; 
}
.user-prediction-badge.added { color:#0b6b3a; }
