/* Prediction Page Styles */
.prediction-main {
    padding: 120px 0 80px;
    min-height: 100vh;
}

.prediction-header {
    text-align: center;
    margin-bottom: 60px;
}

.prediction-title h1 {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    background: linear-gradient(135deg, #00FF80, #00CC66, #33FF99, #00FFCC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.testing-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(51, 255, 153, 0.15);
    border: 1px solid rgba(51, 255, 153, 0.4);
    color: #33FF99;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-transform: uppercase;
}

/* Place chip near logo in header */
.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.header-left { display: flex; align-items: center; gap: 10px; }
.header .logo + .testing-chip { margin-left: 0; }

.prediction-meta {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.market-status.live {
    background: rgba(51, 255, 153, 0.3);
    color: #33FF99;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.market-category {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.market-chain {
    background: rgba(0, 123, 255, 0.3);
    color: #007bff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.market-asset {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* Current Price Section */
.current-price-section {
    margin-bottom: 40px;
}

.price-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00FF80, #00CC66, #33FF99, #00FFCC);
    background-size: 200% 100%;
    animation: gradientShift 2s ease infinite;
}

.price-label {
    font-size: 16px;
    color: #a0a0a0;
    margin-bottom: 12px;
    font-weight: 500;
}

.price-value {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.price-change {
    font-size: 18px;
    font-weight: 600;
    color: #33FF99;
}

/* Prediction Options */
.prediction-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 40px;
}

.option-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(20px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #00FF80, #00CC66, #33FF99, #00FFCC);
    background-size: 200% 100%;
    animation: gradientShift 3s ease infinite;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.option-card:hover::before {
    opacity: 1;
}

.option-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.yes-option::before {
    background: linear-gradient(90deg, #00FF80, #33FF99);
}

.no-option::before {
    background: linear-gradient(90deg, #FF3366, #FF6B6B);
}

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

.option-header h3 {
    font-size: 32px;
    font-weight: 800;
    letter-spacing: -0.02em;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.yes-option h3 {
    color: #00FF80;
}

.no-option h3 {
    color: #FF3366;
}

.odds-display {
    text-align: right;
}

.odds-percentage {
    display: block;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.odds-label {
    font-size: 12px;
    color: #a0a0a0;
    font-weight: 500;
}

.option-details p {
    color: #a0a0a0;
    margin-bottom: 24px;
    font-size: 16px;
    line-height: 1.5;
}

.betting-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bet-amount {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bet-amount label {
    font-size: 14px;
    color: #a0a0a0;
    font-weight: 500;
}

.bet-amount input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px 16px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    transition: border-color 0.3s ease;
}

.bet-amount input:focus {
    outline: none;
    border-color: #33FF99;
}

.bet-amount input::placeholder {
    color: #666;
}

.bet-btn {
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: -0.005em;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.yes-btn {
    background: linear-gradient(135deg, #00FF80, #33FF99);
    color: #000000;
}

.yes-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 128, 0.5);
}

.no-btn {
    background: linear-gradient(135deg, #FF3366, #FF6B6B);
    color: #ffffff;
}

.no-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 51, 102, 0.5);
}

/* Market Stats */
.market-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    backdrop-filter: blur(20px);
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
}

.stat-label {
    font-size: 14px;
    color: #a0a0a0;
    margin-bottom: 8px;
    font-weight: 500;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.01em;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.estimated-reward {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 20px 24px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    gap: 16px;
}

.estimated-label {
    font-size: 14px;
    color: #a0a0a0;
    font-weight: 600;
}

.estimated-desc {
    font-size: 16px;
    color: #ffffff;
    font-weight: 600;
}

/* Recent Bets */
.recent-bets {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: 32px;
    backdrop-filter: blur(20px);
}
.my-reward-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 24px;
    margin: 32px 0;
}

.my-reward-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.my-reward-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
}

.reward-status {
    font-size: 12px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    color: #a0a0a0;
}

.reward-summary {
    display: flex;
    align-items: baseline;
    gap: 8px;
    margin-bottom: 12px;
}

.reward-amount {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
}

.reward-unit {
    font-size: 14px;
    color: #a0a0a0;
    font-weight: 600;
}

.reward-breakdown {
    display: grid;
    grid-template-columns: 1fr 1fr;
    row-gap: 8px;
    margin-bottom: 16px;
}

.reward-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #a0a0a0;
    font-size: 14px;
}

.reward-actions {
    display: flex;
    justify-content: flex-end;
}

.recent-bets h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #ffffff;
    letter-spacing: -0.01em;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.bet-item {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 16px;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    align-items: center;
}

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

.bet-user {
    font-family: 'Space Grotesk', monospace;
    font-size: 14px;
    color: #a0a0a0;
}

.bet-amount {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.bet-side {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

.bet-side.yes {
    background: rgba(0, 255, 128, 0.3);
    color: #00FF80;
}

.bet-side.no {
    background: rgba(255, 51, 102, 0.3);
    color: #FF3366;
}

.bet-time {
    font-size: 14px;
    color: #a0a0a0;
    text-align: right;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .prediction-title h1 {
        font-size: 28px;
    }
    
    .prediction-options {
        grid-template-columns: 1fr;
    }
    
    .market-stats {
        grid-template-columns: 1fr;
    }
    
    .bet-item {
        grid-template-columns: 1fr;
        gap: 8px;
        text-align: center;
    }
    
    .bet-time {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .prediction-main {
        padding: 100px 0 60px;
    }
    
    .prediction-title h1 {
        font-size: 24px;
    }
    
    .option-card {
        padding: 24px;
    }
    
    .price-value {
        font-size: 36px;
    }
}
