/* Mets Prediction Platform Styles */

/* Season Predictions Styles */
.season-predictions {
    max-width: 100%;
}

.season-header {
    margin-bottom: 24px;
}

.prediction-tabs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.prediction-tab {
    flex: 1;
    min-width: 140px;
    padding: 16px 20px;
    background: white;
    border: 2px solid #e8eaed;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    font-size: 14px;
}

.prediction-tab:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: #002D72;
}

.prediction-tab.active {
    background: linear-gradient(135deg, #002D72 0%, #004494 100%);
    color: white;
    border-color: #002D72;
}

.prediction-tab-icon {
    font-size: 24px;
    display: block;
    margin-bottom: 8px;
}

.season-category-content {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.prediction-form h3 {
    color: #002D72;
    font-size: 24px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8eaed;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 8px;
}

.form-input,
.form-select {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 2px solid #e8eaed;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: white;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: #002D72;
    box-shadow: 0 0 0 3px rgba(0, 45, 114, 0.1);
}

.form-input:disabled,
.form-select:disabled {
    background: #f8f9fa;
    color: #5f6368;
    cursor: not-allowed;
}

.submit-prediction-btn {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, #002D72 0%, #004494 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 24px;
}

.submit-prediction-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 45, 114, 0.3);
}

.submit-prediction-btn:active {
    transform: translateY(0);
}

/* Sign-In Gate (when not authenticated) */
.prediction-gate {
    background: linear-gradient(135deg, #002D72 0%, #004494 50%, #FF5910 100%);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.prediction-gate::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 255, 255, 0.03) 10px,
        rgba(255, 255, 255, 0.03) 20px
    );
    animation: slidePattern 20s linear infinite;
}

@keyframes slidePattern {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.prediction-gate-content {
    position: relative;
    z-index: 1;
}

.prediction-gate h2 {
    font-size: 32px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.prediction-gate-emoji {
    font-size: 64px;
    margin: 20px 0;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.prediction-gate p {
    font-size: 18px;
    margin: 15px 0;
    opacity: 0.95;
}

.prediction-gate-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 30px 0;
    text-align: left;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.feature-item-icon {
    font-size: 32px;
    margin-bottom: 10px;
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

.feature-item p {
    font-size: 14px;
    opacity: 0.9;
}

/* Prediction Hub (when authenticated) */
.prediction-hub {
    display: grid;
    gap: 20px;
}

.prediction-header {
    background: linear-gradient(135deg, #002D72 0%, #004494 100%);
    color: white;
    padding: 25px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.prediction-header-info h2 {
    margin: 0 0 8px 0;
    font-size: 24px;
}

.prediction-header-info p {
    margin: 0;
    opacity: 0.9;
}

.prediction-header-stats {
    display: flex;
    gap: 30px;
}

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

.stat-value {
    font-size: 32px;
    font-weight: bold;
    display: block;
    color: #FF5910;
}

.stat-label {
    font-size: 13px;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Live Game Display */
.live-game-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.game-status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.game-status-badge.live {
    background: #FF5910;
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

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

.game-status-badge.scheduled {
    background: #e8eaed;
    color: #5f6368;
}

.game-status-badge.final {
    background: #002D72;
    color: white;
}

.game-matchup {
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 20px 0;
}

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

.team-name {
    font-size: 18px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 8px;
}

.team-score {
    font-size: 48px;
    font-weight: bold;
    color: #002D72;
}

.vs-divider {
    font-size: 24px;
    color: #5f6368;
    font-weight: 300;
}

/* Prediction Tabs */
.prediction-tabs {
    display: flex;
    gap: 10px;
    background: #f1f3f4;
    padding: 10px;
    border-radius: 12px;
    overflow-x: auto;
}

.prediction-tab {
    flex: 1;
    min-width: 150px;
    padding: 12px 20px;
    background: white;
    border: 2px solid transparent;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #5f6368;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.prediction-tab:hover {
    background: #e8eaed;
}

.prediction-tab.active {
    background: #002D72;
    color: white;
    border-color: #002D72;
}

.prediction-tab-icon {
    margin-right: 8px;
}

.prediction-tab-points {
    display: block;
    font-size: 11px;
    opacity: 0.8;
    font-weight: normal;
    margin-top: 4px;
}

/* Prediction Form */
.prediction-form {
    background: white;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.prediction-form h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #202124;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #5f6368;
    margin-bottom: 8px;
}

.form-input,
.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e8eaed;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.2s ease;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: #002D72;
    box-shadow: 0 0 0 3px rgba(0, 45, 114, 0.1);
}

.prediction-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 12px;
}

.prediction-option {
    padding: 16px;
    background: #f8f9fa;
    border: 2px solid #e8eaed;
    border-radius: 8px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.prediction-option:hover {
    background: #e8eaed;
    transform: translateY(-2px);
}

.prediction-option.selected {
    background: #002D72;
    color: white;
    border-color: #002D72;
}

.prediction-option-icon {
    font-size: 32px;
    margin-bottom: 8px;
}

.prediction-option-label {
    font-size: 14px;
    font-weight: 600;
}

.submit-prediction-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #002D72 0%, #FF5910 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.submit-prediction-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 45, 114, 0.3);
}

.submit-prediction-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* User Predictions Display */
.user-predictions {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.prediction-card {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;
    border-left: 4px solid #e8eaed;
}

.prediction-card.pending {
    border-left-color: #FFA500;
}

.prediction-card.correct {
    border-left-color: #34A853;
    background: #e6f4ea;
}

.prediction-card.incorrect {
    border-left-color: #EA4335;
    background: #fce8e6;
}

.prediction-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.prediction-type-badge {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    background: #002D72;
    color: white;
}

.prediction-points {
    font-size: 18px;
    font-weight: bold;
    color: #FF5910;
}

.prediction-card-body {
    font-size: 14px;
    color: #202124;
    margin-bottom: 8px;
}

.prediction-card-footer {
    font-size: 12px;
    color: #5f6368;
}

/* Points Animation */
@keyframes pointsEarned {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(10deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.points-earned-animation {
    animation: pointsEarned 0.6s ease-out;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .prediction-gate-features {
        grid-template-columns: 1fr;
    }

    .prediction-header {
        flex-direction: column;
        gap: 20px;
    }

    .prediction-header-stats {
        width: 100%;
        justify-content: space-around;
    }

    .prediction-tabs {
        flex-direction: column;
    }

    .prediction-tab {
        min-width: auto;
    }

    .prediction-options {
        grid-template-columns: 1fr 1fr;
    }

    .team-score {
        font-size: 36px;
    }
}

/* Loading States */
.prediction-loading {
    text-align: center;
    padding: 40px;
    color: #5f6368;
}

.prediction-loading-spinner {
    font-size: 48px;
    animation: spin 2s linear infinite;
}

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

/* Free Agent Predictor Styles */
.free-agent-hub {
    padding: 0;
}

.free-agent-header {
    background: linear-gradient(135deg, #002D72 0%, #FF5910 100%);
    color: white;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.free-agent-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.free-agent-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.free-agent-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.free-agent-card.predicted {
    border-color: #34A853;
    background: linear-gradient(to bottom, #e6f4ea 0%, white 30%);
}

.free-agent-card.signed {
    opacity: 0.95;
}

.free-agent-card.signed-mets {
    border-color: #FF5910;
    box-shadow: 0 0 20px rgba(255, 89, 16, 0.3);
}

.fa-card-header {
    background: linear-gradient(135deg, #f1f3f4 0%, #e8eaed 100%);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #002D72;
}

.fa-emoji {
    font-size: 48px;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

.fa-tier {
    text-align: right;
}

.fa-stars {
    font-size: 20px;
    margin-bottom: 4px;
}

.fa-tier-name {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #5f6368;
    letter-spacing: 1px;
}

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

.fa-name {
    font-size: 24px;
    font-weight: 700;
    color: #002D72;
    margin: 0 0 8px 0;
}

.fa-position {
    font-size: 14px;
    color: #5f6368;
    font-weight: 600;
    margin-bottom: 6px;
}

.fa-last-team {
    font-size: 13px;
    color: #80868b;
    margin-bottom: 12px;
}

.fa-stats {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 12px;
    font-family: 'Courier New', monospace;
}

.fa-rumor {
    background: #fff3e0;
    border-left: 4px solid #FF9800;
    padding: 12px;
    border-radius: 4px;
    font-size: 13px;
    font-style: italic;
    color: #5f6368;
    margin-bottom: 12px;
}

.fa-mets-interest {
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 15px;
}

.fa-community-prediction {
    margin-bottom: 15px;
}

.community-label {
    font-size: 12px;
    color: #5f6368;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.community-bar {
    display: flex;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 8px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.community-bar-yes {
    background: linear-gradient(135deg, #34A853 0%, #5DBD6E 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.community-bar-no {
    background: linear-gradient(135deg, #EA4335 0%, #F06A5E 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
}

.community-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #5f6368;
}

.fa-card-footer {
    padding: 0 20px 20px 20px;
}

.fa-signed-banner {
    padding: 12px;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.fa-signed-banner.mets {
    background: linear-gradient(135deg, #34A853 0%, #5DBD6E 100%);
    color: white;
    animation: pulse 2s ease-in-out infinite;
}

.fa-signed-banner.other {
    background: linear-gradient(135deg, #EA4335 0%, #F06A5E 100%);
    color: white;
}

.fa-contract-details {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    border-left: 4px solid #002D72;
    margin-bottom: 12px;
    font-size: 13px;
}

.fa-prediction-closed {
    background: #f1f3f4;
    border: 2px solid #9E9E9E;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    color: #5f6368;
}

.fa-user-prediction {
    background: #e6f4ea;
    border: 2px solid #34A853;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    color: #1e8e3e;
}

.fa-user-prediction.correct {
    background: linear-gradient(135deg, #e6f4ea 0%, #d4edda 100%);
    border-color: #34A853;
    box-shadow: 0 4px 12px rgba(52, 168, 83, 0.3);
    animation: celebrate 0.6s ease-out;
}

.fa-user-prediction.incorrect {
    background: linear-gradient(135deg, #fce8e6 0%, #f8d7da 100%);
    border-color: #EA4335;
    color: #c5221f;
}

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

.fa-predict-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.fa-predict-btn {
    padding: 14px 20px;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.fa-predict-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.fa-predict-btn.fa-yes {
    background: linear-gradient(135deg, #34A853 0%, #5DBD6E 100%);
    color: white;
}

.fa-predict-btn.fa-yes:hover {
    background: linear-gradient(135deg, #2d9348 0%, #4fa55e 100%);
}

.fa-predict-btn.fa-no {
    background: linear-gradient(135deg, #EA4335 0%, #F06A5E 100%);
    color: white;
}

.fa-predict-btn.fa-no:hover {
    background: linear-gradient(135deg, #d93b2e 0%, #e05b4f 100%);
}

/* Free Agent Mobile Responsive */
@media (max-width: 768px) {
    .free-agent-grid {
        grid-template-columns: 1fr;
    }

    .fa-predict-buttons {
        grid-template-columns: 1fr;
    }
}

/* Game Day Prediction Forms */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #202124;
    margin-bottom: 8px;
}

.form-select,
.form-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e8eaed;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.2s ease;
}

.form-select:focus,
.form-input:focus {
    outline: none;
    border-color: #002D72;
}

/* Runs Selector */
.runs-selector {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.runs-option {
    padding: 16px;
    background: white;
    border: 2px solid #e8eaed;
    border-radius: 8px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.runs-option:hover {
    border-color: #002D72;
    background: #f8f9fa;
}

.runs-option.selected {
    background: #002D72;
    border-color: #002D72;
    color: white;
}

/* Team Selector */
.team-selector {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.team-option {
    padding: 20px;
    background: white;
    border: 3px solid #e8eaed;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.team-option:hover {
    border-color: #002D72;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.team-option.selected {
    border-color: #FF5910;
    background: linear-gradient(135deg, #002D72 0%, #004494 100%);
}

.team-option-name {
    font-size: 18px;
    font-weight: 700;
    color: #202124;
    margin-bottom: 4px;
}

.team-option.selected .team-option-name,
.team-option.selected .team-option-label {
    color: white;
}

.team-option-label {
    font-size: 13px;
    color: #5f6368;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Submit Button */
.submit-prediction-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #002D72 0%, #004494 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 24px;
}

.submit-prediction-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 45, 114, 0.3);
}

.submit-prediction-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

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

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

    .team-selector {
        grid-template-columns: 1fr;
    }
}

/* Preview Mode Styles */
.preview-mode {
    opacity: 1;
}

.preview-header {
    background: linear-gradient(135deg, #FF5910 0%, #ff7b3e 100%);
    color: white;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.preview-notice {
    display: flex;
    align-items: center;
    gap: 16px;
}

.preview-icon {
    font-size: 48px;
}

.preview-notice h3 {
    margin: 0 0 8px 0;
    font-size: 24px;
    color: white;
}

.preview-notice p {
    margin: 0;
    opacity: 0.9;
    font-size: 15px;
}

.next-game-card {
    background: white;
    border: 3px solid #002D72;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
    text-align: center;
}

.next-game-label {
    display: inline-block;
    background: #FF5910;
    color: white;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    margin-bottom: 24px;
}

.next-game-details {
    display: flex;
    justify-content: center;
    gap: 32px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 2px solid #e8eaed;
}

.game-time, .game-venue {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    color: #5f6368;
}

.game-time .icon, .game-venue .icon {
    font-size: 20px;
}

.countdown-notice {
    margin-top: 24px;
    padding: 16px;
    background: #e8f5e9;
    color: #2e7d32;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
}

.prediction-tabs.preview button {
    opacity: 0.7;
    cursor: not-allowed;
}

.prediction-preview-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.preview-card {
    background: white;
    border: 2px solid #e8eaed;
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.preview-card h3 {
    margin: 0 0 12px 0;
    color: #002D72;
    font-size: 20px;
}

.preview-desc {
    color: #5f6368;
    font-size: 14px;
    margin-bottom: 20px;
}

.preview-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.preview-option {
    background: #f8f9fa;
    border: 2px dashed #e0e0e0;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    color: #5f6368;
}

.preview-matchup {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin: 20px 0;
}

.preview-team {
    background: #f8f9fa;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 600;
    color: #002D72;
}

.preview-vs {
    font-size: 20px;
    font-weight: 700;
    color: #5f6368;
}

.preview-points {
    background: linear-gradient(135deg, #FF5910 0%, #ff7b3e 100%);
    color: white;
    padding: 10px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    display: inline-block;
}

.preview-footer {
    background: white;
    border-radius: 12px;
    padding: 32px;
    border: 2px solid #e8eaed;
}

.preview-info-box h4 {
    color: #002D72;
    margin: 0 0 16px 0;
    font-size: 20px;
}

.preview-info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.preview-info-box li {
    padding: 12px 0;
    border-bottom: 1px solid #e8eaed;
    color: #5f6368;
    font-size: 15px;
}

.preview-info-box li:last-child {
    border-bottom: none;
}

.preview-info-box strong {
    color: #002D72;
}

/* Mobile Responsive for Preview */
@media (max-width: 768px) {
    .preview-notice {
        flex-direction: column;
        text-align: center;
    }

    .preview-icon {
        font-size: 36px;
    }

    .next-game-details {
        flex-direction: column;
        gap: 16px;
    }

    .prediction-preview-grid {
        grid-template-columns: 1fr;
    }

    .next-game-card {
        padding: 24px 16px;
    }
}

/* ========================================
   DEMO MODE BANNER STYLES
   ======================================== */

.demo-mode-banner {
    background: linear-gradient(135deg, #9333ea 0%, #7c3aed 100%);
    border: 3px solid #a855f7;
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 24px;
    animation: demoPulse 3s ease-in-out infinite;
}

@keyframes demoPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(168, 85, 247, 0.4);
    }
    50% {
        box-shadow: 0 0 40px rgba(168, 85, 247, 0.6);
    }
}

.demo-banner-content {
    display: flex;
    align-items: center;
    gap: 16px;
    color: white;
}

.reset-demo-btn {
    margin-left: auto;
    padding: 10px 20px;
    background: white;
    color: #9333ea;
    border: 2px solid white;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
}

.reset-demo-btn:hover {
    background: #f3e8ff;
    transform: scale(1.05);
}

.demo-icon {
    font-size: 32px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.demo-banner-content strong {
    display: block;
    font-size: 18px;
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.demo-banner-content p {
    margin: 0;
    font-size: 14px;
    opacity: 0.95;
    line-height: 1.5;
}

/* ========================================
   LOCKED PREDICTION STYLES
   ======================================== */

.prediction-form.locked {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border: 3px solid #9ca3af;
}

.locked-prediction-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.lock-icon {
    font-size: 32px;
}

.locked-prediction-header h3 {
    margin: 0;
    color: #374151;
    font-size: 20px;
}

.locked-prediction-card {
    background: white;
    border: 2px solid #d1d5db;
    border-radius: 12px;
    padding: 24px;
}

.locked-batter-info {
    font-size: 14px;
    color: #6b7280;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e5e7eb;
}

.locked-prediction-outcome {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.prediction-emoji {
    font-size: 48px;
}

.locked-label {
    font-size: 12px;
    text-transform: uppercase;
    color: #6b7280;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.locked-value {
    font-size: 24px;
    font-weight: 700;
    color: #1f2937;
}

.locked-footer {
    text-align: center;
    padding: 12px;
    background: #fef3c7;
    border: 2px solid #fbbf24;
    border-radius: 8px;
    color: #78350f;
    font-weight: 600;
    font-size: 14px;
}

/* Current Batter Header */
.current-batter-header {
    margin-bottom: 20px;
}

.current-batter-name {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #002D72 0%, #004494 100%);
    color: white;
    border-radius: 8px;
    font-size: 16px;
}

.batter-icon {
    font-size: 20px;
}

/* Prediction Categories */
.prediction-categories {
    margin-bottom: 24px;
}

.category-header {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6b7280;
    font-weight: 700;
    margin-bottom: 12px;
    margin-top: 24px;
}

.category-header:first-child {
    margin-top: 0;
}

.prediction-option-points {
    font-size: 11px;
    color: #10b981;
    font-weight: 700;
    margin-top: 4px;
}

.prediction-option.selected .prediction-option-points {
    color: white;
}

/* ========================================
   LIVE EVENT STREAM STYLES
   ======================================== */

.live-event-stream {
    background: white;
    border: 2px solid #e8eaed;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
}

.event-stream-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e8eaed;
}

.event-stream-header h3 {
    margin: 0 0 4px 0;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

.event-stream-header p {
    margin: 0;
    font-size: 14px;
    color: #5f6368;
}

.event-stream-feed {
    max-height: 400px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.event-stream-placeholder {
    text-align: center;
    padding: 40px 20px;
    color: #5f6368;
    font-size: 14px;
}

.event-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #f8f9fa;
    border: 2px solid #e8eaed;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.event-item.correct {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border-color: #10b981;
}

.event-item.incorrect {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-color: #ef4444;
}

.event-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.event-content {
    flex: 1;
    min-width: 0;
}

.event-result {
    font-size: 14px;
    margin-bottom: 4px;
    color: #1a1a1a;
}

.event-description {
    font-size: 13px;
    color: #5f6368;
    margin-bottom: 8px;
}

.event-prediction {
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 6px;
    display: inline-block;
}

.event-prediction.prediction-correct {
    background: #10b981;
    color: white;
}

.event-prediction.prediction-incorrect {
    background: #ef4444;
    color: white;
}

.event-time {
    font-size: 12px;
    color: #5f6368;
    font-weight: 600;
    flex-shrink: 0;
}

/* Scrollbar styling */
.event-stream-feed::-webkit-scrollbar {
    width: 8px;
}

.event-stream-feed::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.event-stream-feed::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.event-stream-feed::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* ========================================
   LIVE GAME SITUATION STYLES
   ======================================== */

.live-game-situation {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid #FF5910;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 30px;
    color: white;
}

.live-situation-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid rgba(255, 89, 16, 0.3);
}

.live-pulse {
    animation: pulse 2s infinite;
    font-size: 20px;
}

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

.live-situation-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.live-situation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
}

.situation-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
}

.situation-card.latest-play {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, rgba(255, 89, 16, 0.2) 0%, rgba(255, 89, 16, 0.1) 100%);
    border-color: rgba(255, 89, 16, 0.4);
}

.situation-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
    font-weight: 600;
}

/* Current At-Bat Matchup */
.situation-matchup {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.matchup-player {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.matchup-icon {
    font-size: 24px;
    opacity: 0.9;
}

.player-role {
    font-size: 10px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 0.5px;
}

.player-name {
    font-size: 14px;
    font-weight: 700;
    color: white;
}

.matchup-vs {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

/* Count Display */
.count-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

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

.count-value {
    font-size: 32px;
    font-weight: 700;
    color: #FF5910;
    line-height: 1;
    margin-bottom: 4px;
}

.count-label {
    font-size: 11px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.5px;
}

.count-divider {
    font-size: 24px;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 700;
}

.count-spacer {
    width: 2px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
}

/* Inning Display */
.inning-display {
    text-align: center;
}

.inning-half {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 8px;
}

.inning-number {
    font-size: 36px;
    font-weight: 700;
    color: #FF5910;
}

/* Latest Play */
.play-result {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.play-event {
    font-size: 18px;
    font-weight: 700;
    color: #FF5910;
}

.play-description {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

.play-rbi {
    display: inline-block;
    background: rgba(255, 89, 16, 0.3);
    border: 1px solid rgba(255, 89, 16, 0.5);
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    align-self: flex-start;
}

/* Loading State */
.live-situation-loading {
    text-align: center;
    padding: 20px;
    color: #5f6368;
    font-size: 14px;
}

.live-situation-loading .spinner {
    display: inline-block;
    animation: spin 1s linear infinite;
}

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

/* Mobile Responsive */
@media (max-width: 768px) {
    .live-game-situation {
        padding: 16px;
    }

    .live-situation-grid {
        grid-template-columns: 1fr;
    }

    .situation-matchup {
        flex-direction: column;
        align-items: flex-start;
    }

    .matchup-vs {
        align-self: center;
        margin: 8px 0;
    }

    .count-display {
        gap: 12px;
    }

    .count-value {
        font-size: 24px;
    }

    .inning-number {
        font-size: 28px;
    }
}

/* ========================================
   PREDICTION INTEGRITY SYSTEM
   Lock predictions when at-bat starts
   ======================================== */

/* Current At-Bat Status (shown when predicting NEXT batter) */
.current-atbat-status {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 16px 20px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
}

.current-atbat-status .status-header {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
    font-weight: 700;
    color: #78350f;
    margin-bottom: 8px;
}

.current-atbat-status .status-icon {
    font-size: 20px;
    animation: pulse 2s ease-in-out infinite;
}

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

.current-atbat-status .status-batter {
    font-size: 14px;
    color: #92400e;
    font-weight: 600;
    margin-left: 30px;
}

/* Next Batter Prediction Form */
.prediction-form.next-batter {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0ea5e9;
}

.next-batter-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    margin-top: 8px;
}

.next-batter-label {
    color: #0369a1;
    font-weight: 600;
    font-size: 14px;
}

.next-batter-info strong {
    color: #002D72;
    font-size: 20px;
}

/* Urgency Message (predict before first pitch) */
.urgency-message {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #78350f;
    text-align: center;
    animation: urgencyPulse 2s ease-in-out infinite;
}

@keyframes urgencyPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(245, 158, 11, 0.2);
    }
    50% {
        transform: scale(1.02);
        box-shadow: 0 4px 16px rgba(245, 158, 11, 0.3);
    }
}

/* Current Batter Header Updates */
.current-batter-header h3 {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Mobile Responsive for New Elements */
@media (max-width: 768px) {
    .current-atbat-status {
        padding: 12px 16px;
    }

    .current-atbat-status .status-batter {
        margin-left: 0;
        margin-top: 4px;
    }

    .next-batter-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .urgency-message {
        font-size: 13px;
        padding: 10px 14px;
    }
}

/* ========================================
   PRE-GAME PREDICTIONS (30 min before)
   ======================================== */

/* Pre-Game Prediction Form */
.prediction-form.pregame {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 3px solid #f59e0b;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
}

.pregame-countdown {
    background: rgba(245, 158, 11, 0.2);
    border: 2px solid #f59e0b;
    border-radius: 8px;
    padding: 8px 16px;
    margin: 12px 0;
    text-align: center;
    font-size: 16px;
    color: #78350f;
}

.pregame-bonus-notice {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border: 2px solid #10b981;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 12px;
    font-size: 14px;
    color: #065f46;
    text-align: center;
}

.pregame-bonus-badge {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    border: 2px solid #10b981;
    border-radius: 8px;
    padding: 12px 16px;
    margin-top: 16px;
    font-size: 14px;
    font-weight: 700;
    color: #065f46;
    text-align: center;
}

.submit-prediction-btn.pregame {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    border-color: #f59e0b;
}

.submit-prediction-btn.pregame:hover:not(:disabled) {
    background: linear-gradient(135deg, #d97706 0%, #b45309 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* Pre-Game Status Badge */
.game-status-badge.pregame {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    animation: pregamePulse 2s ease-in-out infinite;
}

@keyframes pregamePulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 4px 16px rgba(245, 158, 11, 0.5);
    }
}

/* Prediction Locked Notice (before 30 min window) */
.prediction-locked-notice {
    background: white;
    border: 2px solid #e8eaed;
    border-radius: 16px;
    padding: 48px 32px;
    text-align: center;
}

.locked-notice-icon {
    font-size: 64px;
    margin-bottom: 16px;
}

.prediction-locked-notice h3 {
    color: #002D72;
    font-size: 24px;
    margin-bottom: 16px;
}

.prediction-locked-notice p {
    color: #5f6368;
    font-size: 16px;
    margin-bottom: 8px;
}

.time-remaining {
    color: #f59e0b;
    font-weight: 700;
    font-size: 18px;
}

/* Mobile Responsive for Pre-Game */
@media (max-width: 768px) {
    .pregame-countdown {
        font-size: 14px;
        padding: 6px 12px;
    }

    .pregame-bonus-notice {
        font-size: 13px;
        padding: 10px 14px;
    }

    .prediction-locked-notice {
        padding: 32px 20px;
    }

    .locked-notice-icon {
        font-size: 48px;
    }
}

/* ========================================
   LIVE SCOREBOARD UPDATES
   ======================================== */

/* Score update animation */
.team-score {
    transition: all 0.3s ease;
}

.team-score.score-updated {
    animation: scoreFlash 1s ease-in-out;
}

@keyframes scoreFlash {
    0%, 100% {
        background: transparent;
        transform: scale(1);
    }
    25% {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        color: white;
        transform: scale(1.2);
        border-radius: 8px;
        padding: 4px 12px;
        box-shadow: 0 4px 20px rgba(16, 185, 129, 0.5);
    }
    75% {
        background: linear-gradient(135deg, #10b981 0%, #059669 100%);
        color: white;
        transform: scale(1.15);
        border-radius: 8px;
        padding: 4px 12px;
    }
}
