/* AI Prediction Section Styles */
.ai-prediction-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 15px;
    margin: 15px 10px;
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 255, 136, 0.2);
    width: calc(100% - 20px);
    box-sizing: border-box;
}

.ai-prediction-title {
    text-align: center;
    color: #00ff88;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 255, 136, 0.5);
}

.ai-icon {
    font-size: 28px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.ai-subtitle {
    text-align: center;
    color: #ffd700;
    font-size: 14px;
    margin-bottom: 20px;
}

.ai-predictions-carousel {
    position: relative;
    margin-bottom: 20px;
    min-height: 350px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.ai-prediction-card {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 100%);
    border: 2px solid #00ff88;
    border-radius: 12px;
    padding: 15px;
    position: absolute;
    width: calc(100% - 30px);
    max-width: 500px;
    left: 50%;
    top: 0;
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    transition: none;
}

.ai-prediction-card.active {
    position: relative;
    left: auto;
    top: auto;
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    animation: slideInFromRight 0.6s ease forwards;
}

@keyframes slideInFromRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}


.ai-game-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #00ff88;
}

.ai-game-name {
    color: #ffd700;
    font-size: 16px;
    font-weight: bold;
}

.ai-accuracy {
    background: #00ff88;
    color: #000;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
}

.ai-prediction-content {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 8px;
}

.ai-prediction-item {
    background: rgba(0, 255, 136, 0.1);
    padding: 8px;
    border-radius: 6px;
    border-left: 3px solid #00ff88;
}

.ai-label {
    color: #aaa;
    font-size: 12px;
    margin-bottom: 5px;
}

.ai-value {
    color: #ffd700;
    font-size: 26px;
    font-weight: bold;
    text-align: center;
    margin: 5px 0;
    letter-spacing: 2px;
}

.otc-value {
    color: #ffd700;
    font-size: 28px;
}

.jodi-value {
    color: #00ff88;
}

.pana-value {
    color: #ff6b6b;
}

/* OTC Special Display */
.otc-special {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.15) 0%, rgba(255, 215, 0, 0.15) 100%) !important;
    border-left: 4px solid #ffd700 !important;
}

.ai-confidence {
    color: #00ff88;
    font-size: 11px;
    text-align: center;
    font-weight: bold;
}

/* Analysis Slider */
.ai-analysis-slider {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    margin-top: 8px;
    position: relative;
    padding: 8px 10px;
}

.ai-analysis-track {
    width: 100%;
}

.ai-analysis-content {
    color: #ffd700;
    font-size: 11px;
    font-weight: bold;
    white-space: normal;
    display: block;
    text-align: center;
}

.ai-data-info {
    background: rgba(0, 255, 136, 0.05);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 6px;
    padding: 8px 10px;
    margin-top: 8px;
    text-align: center;
}

.data-info-icon {
    font-size: 14px;
    margin-right: 5px;
}

.data-info-text {
    color: #00ff88;
    font-size: 11px;
    font-weight: bold;
}

@keyframes slide {
    0% {
        transform: translateX(100%);
    }
    100% {
        transform: translateX(-100%);
    }
}

.ai-disclaimer {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid #ff6b6b;
    padding: 12px;
    border-radius: 8px;
    color: #ff6b6b;
    font-size: 11px;
    text-align: center;
    line-height: 1.5;
}

/* Responsive Design for Mobile */
@media (max-width: 768px) {
    .ai-prediction-section {
        padding: 12px;
        margin: 10px 5px;
        border-radius: 12px;
        width: calc(100% - 10px);
    }

    .ai-predictions-carousel {
        min-height: 320px;
    }

    .ai-prediction-card {
        width: calc(100% - 20px);
    }

    .ai-prediction-title {
        font-size: 18px;
        margin-bottom: 8px;
        line-height: 1.3;
    }

    .ai-icon {
        font-size: 22px;
    }

    .ai-subtitle {
        font-size: 12px;
        margin-bottom: 15px;
        padding: 0 5px;
        line-height: 1.4;
    }

    .ai-prediction-card {
        padding: 12px;
        border-radius: 10px;
    }

    .ai-game-header {
        flex-wrap: wrap;
        gap: 8px;
        margin-bottom: 12px;
        padding-bottom: 8px;
    }

    .ai-game-name {
        font-size: 14px;
        flex: 1 1 auto;
    }

    .ai-accuracy {
        padding: 3px 8px;
        font-size: 10px;
        white-space: nowrap;
    }

    .ai-prediction-content {
        gap: 6px;
        margin-bottom: 6px;
    }

    .ai-prediction-item {
        padding: 6px;
        border-radius: 5px;
    }

    .ai-label {
        font-size: 10px;
        margin-bottom: 3px;
    }

    .ai-value {
        font-size: 20px;
        margin: 4px 0;
        letter-spacing: 1px;
    }

    .ai-confidence {
        font-size: 9px;
    }

    .otc-value {
        font-size: 24px;
    }

    .ai-analysis-slider {
        margin-top: 6px;
        padding: 6px 8px;
    }

    .ai-analysis-content {
        font-size: 10px;
    }

    .ai-data-info {
        padding: 6px 8px;
        margin-top: 6px;
    }

    .data-info-icon {
        font-size: 12px;
    }

    .data-info-text {
        font-size: 10px;
    }

    .ai-disclaimer {
        padding: 10px;
        border-radius: 6px;
        font-size: 10px;
        line-height: 1.6;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    .ai-prediction-section {
        padding: 10px;
        margin: 8px 3px;
        width: calc(100% - 6px);
    }

    .ai-prediction-title {
        font-size: 16px;
    }

    .ai-icon {
        font-size: 20px;
    }

    .ai-subtitle {
        font-size: 11px;
    }

    .ai-prediction-card {
        padding: 10px;
    }

    .ai-game-name {
        font-size: 13px;
    }

    .ai-value {
        font-size: 18px;
        letter-spacing: 1px;
        margin: 3px 0;
    }

    .ai-disclaimer {
        font-size: 9px;
    }

    .otc-value {
        font-size: 20px;
    }

    .ai-analysis-slider {
        margin-top: 5px;
        padding: 5px 6px;
    }

    .ai-analysis-content {
        font-size: 9px;
    }

    .ai-data-info {
        padding: 5px 6px;
        margin-top: 5px;
    }

    .data-info-icon {
        font-size: 11px;
    }

    .data-info-text {
        font-size: 9px;
    }
}

/* Landscape Mode for Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .ai-predictions-carousel {
        min-height: 280px;
    }

    .ai-prediction-card {
        padding: 10px;
    }

    .ai-value {
        font-size: 18px;
    }
}
