/* ===== HERO ===== */
.hero {
    padding: 5.5rem 0 2rem;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.hero-content h1 {
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.05rem;
    margin-bottom: 1.75rem;
    max-width: 520px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-right {
    display: flex;
    align-items: stretch;
}

.hero-dashboard {
    width: 100%;
}

.hero-stats-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 0.75rem;
}

.hero-stat {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.25s ease;
}

.hero-stat:hover {
    border-color: rgba(46, 168, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.hero-stat-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 0.15rem;
}

.hero-stat-label {
    display: block;
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
}

/* ===== LIVE BAR ===== */
.live-bar {
    padding: 0.75rem 0;
    margin-bottom: 0.5rem;
}

/* ===== LIVE BANNER (nowy) ===== */
.live-banner {
    padding: 1.25rem 0;
    margin-bottom: 1.5rem;
}

.live-banner-inner {
    background: linear-gradient(135deg, rgba(255, 50, 50, 0.08) 0%, rgba(255, 120, 50, 0.05) 50%, rgba(168, 85, 247, 0.04) 100%);
    border: 1px solid rgba(255, 77, 79, 0.25);
    border-radius: 16px;
    padding: 1.75rem 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 30px rgba(255, 77, 79, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.live-banner-inner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff4d4f, #ff7a45, #a855f7, #ff4d4f, transparent);
    animation: liveGlow 4s ease-in-out infinite;
    background-size: 200% 100%;
}

.live-banner-inner::after {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(255, 77, 79, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

@keyframes liveGlow {
    0%, 100% { opacity: 0.5; background-position: 0% 0%; }
    50% { opacity: 1; background-position: 100% 0%; }
}

.live-banner-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.live-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 77, 79, 0.15);
    border: 1px solid rgba(255, 77, 79, 0.35);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.72rem;
    font-weight: 800;
    color: #ff4d4f;
    letter-spacing: 1px;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(255, 77, 79, 0.15);
}

.live-pulse {
    width: 8px;
    height: 8px;
    background: #ff4d4f;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
    box-shadow: 0 0 6px rgba(255, 77, 79, 0.6);
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 6px rgba(255, 77, 79, 0.6); }
    50% { opacity: 0.5; transform: scale(0.8); box-shadow: 0 0 12px rgba(255, 77, 79, 0.3); }
}

.live-banner-title h3 {
    font-size: 1.15rem;
    font-weight: 800;
    margin: 0;
    color: var(--text);
}

.live-banner-title p {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 3px 0 0;
}

.live-banner-cta {
    margin-left: auto;
    flex-shrink: 0;
}

.btn-live {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #ff4d4f, #ff7a45);
    color: #fff;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 4px 20px rgba(255, 77, 79, 0.3);
}

.btn-live:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 77, 79, 0.4);
}

.btn-live-locked {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 77, 79, 0.08);
    border: 1px solid rgba(255, 77, 79, 0.25);
    color: #ff7a45;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s;
}

.btn-live-locked:hover {
    background: rgba(255, 77, 79, 0.14);
    border-color: rgba(255, 77, 79, 0.4);
}

.live-banner-matches {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 1;
}

.live-match-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.72rem;
    text-decoration: none;
    transition: all 0.2s;
}

.live-match-chip.live {
    background: rgba(255, 77, 79, 0.1);
    border: 1px solid rgba(255, 77, 79, 0.25);
    color: var(--text);
}

.live-match-chip.live:hover {
    background: rgba(255, 77, 79, 0.18);
    border-color: rgba(255, 77, 79, 0.4);
}

.live-match-chip.soon {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: var(--text-muted);
}

.live-match-chip.soon:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 122, 69, 0.3);
    color: var(--text);
}

.chip-dot {
    width: 6px;
    height: 6px;
    background: #ff4d4f;
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

.chip-name {
    font-weight: 600;
}

.chip-status {
    font-weight: 700;
    font-size: 0.65rem;
    letter-spacing: 0.3px;
}

.live-match-chip.live .chip-status {
    color: #ff4d4f;
}

.live-match-chip.soon .chip-status {
    color: var(--text-dim);
}

@media (max-width: 768px) {
    .live-banner-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    .live-banner-cta {
        margin-left: 0;
    }
    .live-banner-matches {
        flex-direction: column;
    }
}

.live-bar-inner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: rgba(255, 77, 79, 0.03);
    border: 1px solid rgba(255, 77, 79, 0.12);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1.25rem;
}

.live-bar-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
}

.live-bar-title {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--danger);
    letter-spacing: 0.5px;
}

.live-bar-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.live-bar-stats span {
    font-size: 0.78rem;
    color: var(--text-muted);
}

.live-bar-action {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-shrink: 0;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.section-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

/* ===== MATCHES ===== */
.matches-section {
    padding: 2.5rem 0;
}

.matches-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.filter-btn {
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: all 0.2s;
}

.filter-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.matches-search {
    width: 100%;
    max-width: 360px;
    padding: 0.75rem 1.25rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text);
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
    transition: border-color 0.2s;
}

.matches-search:focus {
    border-color: var(--primary);
}

.matches-search::placeholder {
    color: var(--text-dim);
}

.matches-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.25rem;
}

.match-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.25s ease;
}

.match-card:hover {
    background: #152035;
    border-color: rgba(46, 168, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.match-card.has-data {
    border-color: rgba(16, 216, 118, 0.15);
}

.match-card.has-data:hover {
    border-color: rgba(16, 216, 118, 0.4);
    box-shadow: 0 8px 24px rgba(16, 216, 118, 0.08);
}

.match-card.locked {
    opacity: 0.3;
    pointer-events: none;
    filter: grayscale(0.3);
}

.match-card-crests {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.match-card-crests img {
    width: 40px;
    height: 40px;
    border-radius: 4px;
}

.match-card-vs {
    font-size: 0.6rem;
    font-weight: 800;
    color: var(--primary);
    background: rgba(46, 168, 255, 0.1);
    padding: 0.15rem 0.4rem;
    border-radius: 3px;
}

.match-card-name {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 0.4rem;
}

.match-card-count {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--success);
    margin-top: 0.5rem;
}

.match-card-label {
    font-size: 0.65rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.match-card-kickoff {
    font-size: 0.7rem;
    color: var(--text-dim);
    margin-top: 0.5rem;
}

/* ===== SHOW MORE ===== */
.show-more-btn {
    display: block;
    margin: 2rem auto 0;
    padding: 0.75rem 2rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 100px;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.show-more-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-1px);
}

/* ===== SEARCH ===== */
.search-wrap {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 360px;
    margin-bottom: 1.25rem;
}

.search-wrap .matches-search {
    width: 100%;
    margin-bottom: 0;
    padding-right: 2.5rem;
}

.search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    color: var(--text-muted);
    font-size: 1rem;
    padding: 0.25rem;
    line-height: 1;
    transition: color 0.2s;
}

.search-clear:hover {
    color: var(--danger);
}

/* ===== TOP VALUE ===== */
.top-value-section {
    padding: 2.5rem 0 3rem;
    border-top: 1px solid var(--border);
}

.top-value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1rem;
}

.value-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    display: block;
    transition: all 0.25s ease;
    cursor: pointer;
}

.value-card:hover {
    background: #152035;
    border-color: rgba(16, 216, 118, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.value-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.value-card-player {
    font-weight: 700;
    font-size: 0.95rem;
}

.value-card-line {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.value-card-odds {
    display: flex;
    gap: 0.4rem;
    flex-wrap: wrap;
}

.odds-chip {
    padding: 0.3rem 0.6rem;
    background: rgba(46, 168, 255, 0.06);
    border: 1px solid rgba(46, 168, 255, 0.15);
    border-radius: var(--radius-xs);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
}

.odds-chip.best {
    background: rgba(16, 216, 118, 0.08);
    border-color: rgba(16, 216, 118, 0.25);
    color: var(--success);
}

.value-card-diff {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--success);
}

/* ===== COVERAGE BAR ===== */
.coverage-bar-wrap {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0.4rem 0;
}

.coverage-bar {
    flex: 1;
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.coverage-bar-fill {
    height: 100%;
    background: var(--success);
    border-radius: 3px;
    transition: width 0.3s;
}

.coverage-bar-label {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--success);
    white-space: nowrap;
}

/* ===== MINI HISTORY ===== */
.mini-history {
    display: flex;
    gap: 3px;
    margin: 0.4rem 0;
}

.history-box {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
}

.history-box.hit {
    background: rgba(16, 216, 118, 0.15);
    color: var(--success);
    border: 1px solid rgba(16, 216, 118, 0.3);
}

.history-box.miss {
    background: rgba(255, 77, 79, 0.1);
    color: var(--danger);
    border: 1px solid rgba(255, 77, 79, 0.2);
}

/* ===== PRO SECTION ===== */
.pro-section {
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid var(--border);
}

.pro-header {
    margin-bottom: 2.5rem;
}

.pro-header p {
    margin-top: 0.75rem;
}

.pro-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 800px;
    margin: 0 auto;
}

.pro-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    text-align: left;
    position: relative;
    display: flex;
    flex-direction: column;
}

.pro-card.featured {
    border-color: #a855f7;
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.08);
}

.pro-card-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.pro-badge-start {
    background: rgba(16, 216, 118, 0.15);
    color: var(--success);
    border: 1px solid rgba(16, 216, 118, 0.3);
}

.pro-card.featured .pro-card-badge {
    background: linear-gradient(135deg, #a855f7, #c084fc);
    color: #fff;
}

.pro-card-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    margin-top: 0.5rem;
}

.pro-card-price {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.pro-card-price span {
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--text-muted);
}

.pro-card-desc {
    margin-bottom: 1.25rem;
    line-height: 1.5;
}

.pro-card-features {
    list-style: none;
    flex: 1;
}

.pro-card-features li {
    padding: 0.4rem 0;
    font-size: 0.85rem;
    color: var(--text);
}

.feature-icon {
    color: var(--success);
    margin-right: 0.25rem;
}

.feature-icon.elite {
    color: var(--primary);
}

.pro-cta {
    width: 100%;
    margin-top: 1.5rem;
    text-align: center;
    padding: 0.85rem 1.5rem;
}

/* ===== FOOTER ===== */
.footer {
    border-top: 1px solid var(--border);
    padding: 4.5rem 0 2.5rem;
    margin-top: 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about h4 {
    margin-bottom: 0.75rem;
    color: var(--text);
}

.footer-about p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-col h4 {
    margin-bottom: 0.75rem;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-muted);
}

.footer-col a {
    display: block;
    font-size: 0.85rem;
    color: var(--text-dim);
    padding: 0.3rem 0;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: var(--text);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
}

.footer-bottom span {
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* ===== NAV PRO DROPDOWN ===== */
.nav-pro-wrap {
    position: relative;
}

.nav-pro-btn {
    cursor: pointer;
}

.nav-pro-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    min-width: 180px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    z-index: 1001;
}

.nav-pro-wrap.open .nav-pro-dropdown {
    display: block;
}

.nav-pro-dropdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.4rem 0;
    font-size: 0.8rem;
}

.nav-pro-dropdown-item + .nav-pro-dropdown-item {
    border-top: 1px solid var(--border);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero { grid-template-columns: 1fr; gap: 2rem; }
    .hero-right { margin-top: 0.5rem; }
    .hero-stats-row { grid-template-columns: repeat(4, 1fr); }
    .pro-cards { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .hero { padding: 5rem 0 1.5rem; }
    .hero-stats-row { grid-template-columns: repeat(2, 1fr); }
    .top-value-grid { grid-template-columns: 1fr; }
    .matches-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
    .live-bar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .live-bar-action { margin-left: 0; }
    .live-bar-stats { flex-direction: column; gap: 0.2rem; }
}

@media (max-width: 480px) {
    .hero-stats-row { grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
    .hero-stat { padding: 1rem 0.75rem; }
    .hero-stat-value { font-size: 1.4rem; }
}
