/* ============================================
   QUANTUM SPORTS DATA - Detail Page Styles
   ============================================ */

/* --- Page Hero --- */
.page-hero {
    padding: 160px clamp(24px, 4vw, 64px) clamp(60px, 8vw, 100px);
    max-width: 1400px;
    margin: 0 auto;
}

.page-hero-inner {
    max-width: 800px;
}

.back-link {
    display: inline-block;
    font-size: 13px;
    font-weight: 400;
    color: var(--gray-300);
    margin-bottom: 32px;
    transition: color 0.2s;
    letter-spacing: 0.02em;
}

.back-link:hover {
    color: var(--green-bright);
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(40px, 7vw, 72px);
    font-weight: 400;
    text-transform: uppercase;
    line-height: 1;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.page-subtitle {
    font-size: clamp(16px, 2vw, 20px);
    font-weight: 300;
    color: var(--gray-200);
    max-width: 600px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
}

/* --- Page Content --- */
.page-content {
    padding: 0 clamp(24px, 4vw, 64px) clamp(80px, 10vw, 160px);
    max-width: 1400px;
    margin: 0 auto;
}

.page-content-inner {
    max-width: 800px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: clamp(40px, 6vw, 80px);
}

.content-block {
    margin-bottom: clamp(40px, 5vw, 64px);
}

.content-heading {
    font-family: var(--font-heading);
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 20px;
    line-height: 1.1;
}

.content-block p {
    font-size: 15px;
    font-weight: 300;
    color: var(--gray-200);
    line-height: 1.8;
    margin-bottom: 16px;
}

.content-block p:last-child {
    margin-bottom: 0;
}

/* --- Feature List --- */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 24px;
}

.feature-item {
    display: flex;
    gap: 24px;
    padding-bottom: 32px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.feature-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.feature-number {
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--green-bright);
    letter-spacing: 0.05em;
    flex-shrink: 0;
    padding-top: 4px;
}

.feature-item h3 {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: -0.01em;
    margin-bottom: 8px;
    line-height: 1.2;
}

.feature-item p {
    font-size: 14px;
    font-weight: 300;
    color: var(--gray-200);
    line-height: 1.7;
}

/* --- Content Note --- */
.content-note {
    margin-top: clamp(40px, 5vw, 64px);
    padding: 24px;
    border-left: 2px solid var(--green-bright);
    background: rgba(25, 185, 129, 0.04);
    border-radius: 0 6px 6px 0;
}

.content-note p {
    font-size: 14px;
    font-weight: 300;
    color: var(--gray-200);
    line-height: 1.6;
    margin: 0;
}

.content-note strong {
    color: var(--green-bright);
    font-weight: 500;
}

/* ============================================
   SGP BUILDER - Page Layout
   ============================================ */

.sgp-page-layout {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 60px;
    align-items: start;
    max-width: none;
}

.sgp-page-left {
    min-width: 0;
}

.sgp-page-right {
    position: sticky;
    top: 120px;
}

/* --- Builder Card --- */
.sgp-builder {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.sgp-accent-bar {
    height: 4px;
    background: var(--green-bright);
}

.sgp-builder-inner {
    padding: 24px;
}

/* --- Header --- */
.sgp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.sgp-header h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
    margin: 0;
}

.sgp-clear-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.35);
    font-family: var(--font-body);
    font-size: 0.75rem;
    cursor: pointer;
    transition: color 0.2s;
    padding: 4px 0;
}

.sgp-clear-btn:hover {
    color: var(--green-bright);
}

/* --- Selections --- */
.sgp-selections {
    margin-bottom: 12px;
}

.sgp-empty-msg {
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.8rem;
    text-align: center;
    padding: 20px 0;
    margin: 0;
}

.sgp-selection-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    margin-bottom: 6px;
}

.sgp-sel-info {
    display: flex;
    flex-direction: column;
}

.sgp-sel-player {
    font-weight: 600;
    font-size: 0.82rem;
    color: #fff;
}

.sgp-sel-detail {
    font-size: 0.72rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 2px;
}

.sgp-sel-odds {
    font-weight: 600;
    color: var(--green-bright);
    font-size: 0.9rem;
}

/* --- Total --- */
.sgp-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    margin-bottom: 20px;
}

.sgp-total-prob {
    color: var(--green-bright);
    font-weight: 600;
    font-size: 1.1rem;
}

.sgp-total-odds {
    font-weight: 700;
    font-size: 1.4rem;
    color: #fff;
}

/* --- Players --- */
.sgp-player {
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    padding-top: 20px;
    margin-bottom: 24px;
}

.sgp-player:last-child {
    margin-bottom: 0;
}

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

.sgp-player-name {
    font-weight: 600;
    font-size: 0.92rem;
    color: #fff;
}

.sgp-hole-info {
    font-size: 0.78rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.65);
}

.sgp-hole-info span {
    font-weight: 400;
    color: rgba(255, 255, 255, 0.35);
}

/* --- Market Rows --- */
.sgp-market {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    gap: 12px;
}

.sgp-market-label {
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.35);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    min-width: 72px;
    flex-shrink: 0;
}

.sgp-btns {
    display: flex;
    gap: 4px;
    flex: 1;
}

/* --- Buttons --- */
.sgp-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 8px 2px 7px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.6);
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
    min-width: 0;
}

.sgp-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.14);
    color: #fff;
}

.sgp-btn.active {
    background: rgba(25, 185, 129, 0.12);
    border-color: var(--green-bright);
    color: var(--green-bright);
}

.sgp-btn-label {
    font-size: 0.72rem;
    font-weight: 500;
    line-height: 1;
}

.sgp-btn-odds {
    font-size: 0.62rem;
    font-weight: 400;
    opacity: 0.55;
    line-height: 1;
}

.sgp-btn.active .sgp-btn-odds {
    opacity: 0.8;
}

/* --- Responsive --- */
@media (max-width: 1100px) {
    .sgp-page-layout {
        grid-template-columns: 1fr 360px;
        gap: 40px;
    }
}

@media (max-width: 900px) {
    .sgp-page-layout {
        grid-template-columns: 1fr;
    }

    .sgp-page-right {
        position: static;
        max-width: 460px;
    }
}

@media (max-width: 768px) {
    .page-hero {
        padding-top: 120px;
    }

    .feature-item {
        flex-direction: column;
        gap: 8px;
    }
}
