.prediction-detail-page {
    background: radial-gradient(circle at top, #0a0a0a, #000000);
    color: #e5e7eb;
}

.prediction-detail-page.single {
    padding: 30px 20px 30px;
}

.container.prediction-detail {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 20px;
    align-items: start;
    padding: 0;
}

.prediction-detail-page .prediction-detail {
    padding-top: 30px;
}

.prediction-detail-page .match-header {
    text-align: center;
    margin-bottom: 25px;
    padding: 20px;
    background: linear-gradient(135deg, #111111, #0a0a0a);
    border-radius: 16px;
    border: 1px solid rgba(255, 179, 1, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
}

.prediction-detail-page .league {
    font-size: 13px;
    color: #ffb301;
    font-weight: 600;
    margin-bottom: 8px;
}

.prediction-detail-page .match-title {
    font-size: 28px;
    font-weight: 800;
    margin: 10px 0;
    letter-spacing: 0.5px;
    color: #ffffff;
}

.prediction-detail-page .match-title span {
    color: #ffb301;
}

.prediction-detail-page .image-match img {
    width: 100%;
    padding: 20px 0;
}

.prediction-detail-page .match-date {
    font-size: 13px;
    color: #9ca3af;
}

.prediction-detail-page .score-box {
    margin-top: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #111111, #0a0a0a);
    border-radius: 16px;
    border: 1px solid rgba(255, 179, 1, 0.08);
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.prediction-detail-page .score-box h2 {
    color: #ffffff;
    font-size: 16px;
}

.prediction-detail-page .score-highlight {
    font-size: 34px;
    font-weight: 900;
    color: #ffb301;
    letter-spacing: 2px;
}

.prediction-detail-page .analysis-box {
    margin-top: 20px;
    padding: 20px;
    background: #0a0a0a;
    border-radius: 16px;
    border: 1px solid rgba(255, 179, 1, 0.08);
    line-height: 1.7;
    text-align: justify;
}

.prediction-detail-page .analysis-box img {
    width: 100%;
    height: auto;
}

.prediction-detail-page .analysis-box h1 {
    color: #ffb301;
    font-weight: 800;
    margin: 0 0 20px 0;
    text-align: center;
}

.prediction-detail-page .meta-box {
    margin-top: 20px;
    gap: 15px;
}

.prediction-detail-page .meta-item {
    background: #111111;
    padding: 15px;
    border-radius: 12px;
    border: 1px solid rgba(255, 179, 1, 0.08);
}

.prediction-detail-page .meta-item span {
    display: block;
    font-size: 12px;
    color: #9ca3af;
    margin-bottom: 5px;
}

.prediction-detail-page .meta-item strong {
    font-size: 14px;
    color: #ffffff;
}

.prediction-detail-page .status {
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    display: inline-block;
}

.prediction-detail-page .status-live {
    background: rgba(255, 179, 1, 0.12);
    color: #ffb301;
}

.prediction-detail-page .status-finished {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

.prediction-detail-page .status-upcoming {
    background: rgba(59, 130, 246, 0.15);
    color: #3b82f6;
}

.prediction-detail-page .comment-box {
    margin-top: 25px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.38);
    border: 1px solid rgba(255, 179, 1, 0.08);
    border-radius: 16px;
    text-align: left;
}

.prediction-detail-page .comment-title {
    font-size: 16px;
    margin-bottom: 12px;
    color: #f3f4f6;
}

.prediction-detail-page .comment-form textarea {
    width: 100%;
    min-height: 90px;
    background: #111111;
    border: 1px solid rgba(255, 179, 1, 0.08);
    border-radius: 10px;
    padding: 10px;
    color: #e5e7eb;
    resize: none;
}

.prediction-detail-page .comment-form textarea:focus {
    border-color: #ffb301;
    outline: none;
    box-shadow: 0 0 20px rgba(255, 179, 1, 0.05);
}

.prediction-detail-page .comment-form button {
    margin-top: 10px;
    background: linear-gradient(135deg, #ffb301, #ffd800, #fdf001, #ffb301);
    border: none;
    padding: 8px 20px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    color: #000000;
    transition: all 0.3s ease;
}

.prediction-detail-page .comment-form button:hover {
    background: linear-gradient(135deg, #fdf001, #ffd800, #ffb301);
    box-shadow: 0 4px 20px rgba(255, 179, 1, 0.15);
    transform: translateY(-2px);
}

.prediction-detail-page .comment-list {
    margin-top: 20px;
}

.prediction-detail-page .comment-item {
    padding: 12px;
    border-bottom: 1px solid rgba(255, 179, 1, 0.05);
}

.prediction-detail-page .comment-item:last-child {
    border-bottom: none;
}

.prediction-detail-page .comment-user {
    font-size: 14px;
    font-weight: 600;
    color: #ffb301;
}

.prediction-detail-page .comment-text {
    font-size: 14px;
    margin-top: 5px;
    color: #e5e7eb;
}

.prediction-detail-page .comment-time {
    font-size: 11px;
    color: #6b7280;
    margin-top: 4px;
}

.prediction-detail-page .no-comment {
    font-size: 13px;
    color: #6b7280;
}

.prediction-detail-page .site-match {
    top: 20px;
}

.prediction-detail-page .bet-widget {
    padding: 15px;
    text-align: center;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #111111, #0a0a0a);
    border-radius: 16px;
    border: 1px solid rgba(255, 179, 1, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    color: #fff;
}

.prediction-detail-page .bet-widget-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffb301;
}

.prediction-detail-page .bet-card {
    border-radius: 18px;
    display: grid;
    gap: 15px;
    margin-bottom: 15px;
    text-align: left;
    justify-content: center;
}

.prediction-detail-page .bet-left {
    flex: 1;
}

.prediction-detail-page .bet-text {
    font-size: 14px;
    color: #ffffff;
    line-height: 1.4;
    font-weight: 600;
}

.prediction-detail-page .bet-amount {
    font-size: 20px;
    font-weight: 700;
    color: #ffb301;
    line-height: 1.1;
}

.prediction-detail-page .bet-code {
    font-size: 14px;
    font-weight: 600;
    color: #ffb301;
}

.prediction-detail-page .bet-expire {
    font-size: 11px;
    color: #9ca3af;
    margin-top: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 10px;
    border-radius: 10px;
}

.prediction-detail-page .bet-right {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 120px;
}

.prediction-detail-page .bet-right img {
    width: 52px;
    height: 52px;
    object-fit: contain;
    margin-bottom: 10px;
    border-radius: 100%;
    background: #000;
}

.prediction-detail-page .site-btn {
    background: linear-gradient(135deg, #ffb301, #ffd800, #fdf001, #ffb301);
    color: #000000;
    text-decoration: none;
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.prediction-detail-page .site-btn:hover {
    background: linear-gradient(135deg, #fdf001, #ffd800, #ffb301);
    box-shadow: 0 4px 20px rgba(255, 179, 1, 0.15);
    transform: translateY(-2px);
    color: #000000;
}

.prediction-detail-page .bet-item {
    background: radial-gradient(circle at left, #1a1a1a, #0a0a0a);
    border: 1px solid rgba(255, 179, 1, 0.08);
    border-radius: 18px;
    padding: 14px;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    text-align: left;
    transition: all 0.3s ease;
}

.prediction-detail-page .bet-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 179, 1, 0.15);
}

.prediction-detail-page .bet-left {
    flex: 1;
}

.prediction-detail-page .bet-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 120px;
    justify-content: flex-start;
}

.prediction-detail-page .score-title {
    font-size: 14px;
    letter-spacing: 2px;
    color: #9ca3af;
    margin-bottom: 15px;
}

.prediction-detail-page .score-board {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.prediction-detail-page .team {
    flex: 1;
    text-align: center;
}

.prediction-detail-page .team img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    margin-bottom: 8px;
}

.prediction-detail-page .team-name {
    font-size: 13px;
    font-weight: 700;
    color: #e5e7eb;
    width: 100%;
}

.prediction-detail-page .score-result {
    font-size: 42px;
    font-weight: 900;
    color: #ffb301;
    letter-spacing: 3px;
    min-width: 90px;
}

.prediction-detail-page .breadcrumb-wrapper {
    text-align: center;
    background: linear-gradient(135deg, #111111, #0a0a0a);
    border: 1px solid rgba(255, 179, 1, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    width: 100%;
    padding: 12px 16px;
    border-radius: 10px;
    overflow-x: auto;
}

.prediction-detail-page .breadcrumb {
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}

.prediction-detail-page .breadcrumb-item {
    display: flex;
    align-items: center;
    color: #9ca3af;
    white-space: nowrap;
    font-size: 16px;
}

.prediction-detail-page .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    margin: 0 8px;
    color: #555;
}

.prediction-detail-page .breadcrumb-item a,
.prediction-detail-page .breadcrumb-item span {
    color: #e5e5e5;
    text-decoration: none;
    transition: 0.2s ease;
}

.prediction-detail-page .breadcrumb-item a:hover {
    color: #ffb301;
    text-decoration: underline;
}

.prediction-detail-page .breadcrumb-item.active {
    color: #ffb301;
    font-weight: 500;
}

.prediction-detail-page .prediction-markets {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.prediction-detail-page .market-box {
    background: #111111;
    border-radius: 12px;
    color: #fff;
    border: 1px solid rgba(255, 179, 1, 0.05);
    padding: 16px;
}

.prediction-detail-page .market-box h3 {
    margin-bottom: 15px;
    font-size: 16px;
    border-left: 4px solid #ffb301;
    padding-left: 10px;
    color: #ffffff;
}

.prediction-detail-page .market-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.prediction-detail-page .market-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 10px;
    border-radius: 8px;
    border: 1px solid rgba(255, 179, 1, 0.05);
    transition: all 0.3s ease;
}

.prediction-detail-page .market-item:hover {
    border-color: rgba(255, 179, 1, 0.12);
}

.prediction-detail-page .market-item span {
    display: block;
    font-size: 12px;
    color: #9ca3af;
}

.prediction-detail-page .market-item strong {
    font-size: 14px;
    color: #ffb301;
}

/* =========================
   SCROLLBAR - GOLD NEW
========================= */

.prediction-detail-page::-webkit-scrollbar {
    width: 8px;
}

.prediction-detail-page::-webkit-scrollbar-track {
    background: #0a0a0a;
}

.prediction-detail-page::-webkit-scrollbar-thumb {
    background: #e6a000;
    border-radius: 4px;
}

.prediction-detail-page::-webkit-scrollbar-thumb:hover {
    background: #ffb301;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991px) {
    .container.prediction-detail {
        grid-template-columns: 1fr;
    }

    .prediction-detail-page .site-match {
        position: static;
        width: 100%;
    }

    .prediction-detail-page .bet-card {
        display: inline;
    }

    .prediction-detail-page .bet-item {
        margin-bottom: 15px;
    }
}

@media (max-width: 768px) {
    .prediction-detail-page .match-title {
        font-size: 22px;
    }

    .prediction-detail-page .score-highlight {
        font-size: 26px;
    }

    .prediction-detail-page .bet-right {
        margin-top: 10px;
    }

    .prediction-detail-page .score-result {
        font-size: 34px;
    }

    .prediction-detail-page .team img {
        width: 60px;
        height: 60px;
    }

    .prediction-detail-page .analysis-box h1 {
        font-size: x-large;
    }
}

@media (max-width: 480px) {
    .prediction-detail-page .match-header {
        padding: 15px;
        margin-bottom: 0;
    }

    .prediction-detail-page .score-box {
        padding: 10px;
    }

    .prediction-detail-page .team img {
        width: 40px;
        height: 40px;
    }

    .prediction-detail-page.single {
        padding: 0 20px 20px;
    }

    .prediction-detail-page .match-title {
        font-size: 18px;
    }

    .prediction-detail-page .score-result {
        font-size: 28px;
        min-width: 60px;
    }

    .prediction-detail-page .market-grid {
        grid-template-columns: 1fr;
    }
}