/* Live Odds Feed Styles */

#live-odds-feed {
    font-family: 'Manrope', sans-serif;
    background-color: #050505;
    color: #EEEEEE;
    padding: 2rem;
    border-radius: 12px;
    position: relative;
    min-height: 400px;
}

/* Add noise texture */
#live-odds-feed::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' /%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' /%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
    border-radius: 12px;
}

.lof-header {
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.lof-title {
    font-family: 'Chivo', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: -0.05em;
    margin: 0 0 0.5rem 0;
    color: #EEEEEE;
}

.lof-subtitle {
    color: #888888;
    margin: 0;
    font-size: 0.875rem;
}

/* Sport Filters */
.lof-sport-filters {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.lof-sport-filters::-webkit-scrollbar {
    height: 4px;
}

.lof-sport-filters::-webkit-scrollbar-track {
    background: #0A0A0A;
}

.lof-sport-filters::-webkit-scrollbar-thumb {
    background: #222222;
    border-radius: 4px;
}

.lof-sport-btn {
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    border: 1px solid #222222;
    background-color: rgba(0, 0, 0, 0.5);
    color: #EEEEEE;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.lof-sport-btn:hover {
    filter: brightness(1.25);
}

.lof-sport-btn.active {
    background-color: #00FF94;
    color: #000000;
    border-color: #00FF94;
}

/* Controls */
.lof-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.lof-live-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    background-color: rgba(255, 0, 68, 0.1);
    color: #FF0044;
    border: 1px solid rgba(255, 0, 68, 0.2);
    font-size: 0.625rem;
    font-weight: 900;
    letter-spacing: 0.1em;
}

.lof-pulse {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: #FF0044;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

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

.lof-event-count {
    color: #888888;
    font-weight: 400;
}

.lof-refresh-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid #222222;
    background-color: #0A0A0A;
    color: #EEEEEE;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 0.875rem;
}

.lof-refresh-btn:hover {
    filter: brightness(1.25);
}

.lof-refresh-btn.loading .lof-refresh-icon {
    animation: spin 1s linear infinite;
}

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

/* Odds Grid */
.lof-odds-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}

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

/* Loading State */
.lof-loading {
    text-align: center;
    padding: 3rem;
}

.lof-spinner {
    width: 48px;
    height: 48px;
    border: 2px solid #222222;
    border-top-color: #00FF94;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 1rem;
}

/* Odds Card */
.lof-odds-card {
    background-color: #0A0A0A;
    border: 1px solid #222222;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.lof-odds-card:hover {
    box-shadow: 0 0 30px rgba(0, 255, 148, 0.1);
    border-color: rgba(0, 255, 148, 0.5);
}

.lof-card-header {
    padding: 1rem;
    border-bottom: 1px solid #222222;
}

.lof-card-title {
    font-family: 'Manrope', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    color: #EEEEEE;
}

.lof-card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.lof-card-time {
    font-size: 0.75rem;
    color: #888888;
}

.lof-card-badge {
    padding: 0.125rem 0.5rem;
    border-radius: 4px;
    border: 1px solid #00FF94;
    background-color: rgba(0, 255, 148, 0.1);
    color: #00FF94;
    font-size: 0.625rem;
    font-weight: 700;
}

.lof-card-content {
    padding: 1rem;
}

.lof-bookmaker {
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    border: 1px solid #222222;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.02);
}

.lof-bookmaker:last-child {
    margin-bottom: 0;
}

.lof-bookmaker-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: #00E0FF;
    letter-spacing: 0.05em;
    margin: 0 0 0.5rem 0;
}

.lof-markets {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
}

.lof-market {
}

.lof-market-label {
    font-size: 0.625rem;
    font-weight: 900;
    color: #888888;
    margin: 0 0 0.25rem 0;
    letter-spacing: 0.1em;
}

.lof-outcome {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.25rem;
    background-color: #050505;
    border-radius: 4px;
    margin-bottom: 0.25rem;
    font-family: 'JetBrains Mono', monospace;
}

.lof-outcome:last-child {
    margin-bottom: 0;
}

.lof-outcome-name {
    font-size: 0.625rem;
    color: #EEEEEE;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lof-outcome-price {
    font-size: 0.6875rem;
    font-weight: 700;
    color: #00FF94;
    font-variant-numeric: tabular-nums;
}

/* No Odds */
.lof-no-odds {
    text-align: center;
    padding: 3rem;
    background-color: #0A0A0A;
    border: 1px solid #222222;
    border-radius: 12px;
}

.lof-no-odds p {
    color: #888888;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    #live-odds-feed {
        padding: 1rem;
    }
    
    .lof-title {
        font-size: 2rem;
    }
    
    .lof-controls {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}