:root {
    --bg: #000;
    --panel: #111;
    --gold: #d4af37;
    --text: #f5f5f5;
}

body {
    font-family: Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    margin: 0;
}

header {
    color: var(--gold);
    padding: 20px;
    text-align: center;
    border-bottom: 2px solid var(--gold);
}

main {
    padding: 20px;
    max-width: 900px;
    margin: auto;
}

select {
    padding: 10px 14px;
    background: var(--panel);
    color: var(--text);
    border: 1px solid var(--gold);
    border-radius: 10px;
    font-weight: 600;
}

#status {
    color: var(--gold);
    margin-top: 10px;
}

.card {

    border: 1px solid var(--gold);

    padding: 22px 24px;

    border-radius: 14px;

    background: var(--panel);

    margin-top: 20px;

    box-shadow:
        0 0 0 rgba(0,0,0,0),
        0 0 25px rgba(212,175,55,0.03);
}

/* ========================================= */
/* ATHLETE HEADER */
/* ========================================= */

h2 {

    margin-top: 0;

    margin-bottom: 8px;

    font-size: 52px;

    line-height: 1;

    letter-spacing: -2px;

    font-weight: 900;
}

.athlete-profile {

    margin-top: 18px;

    display: flex;

    flex-direction: column;

    gap: 10px;
}

.athlete-type {

    font-size: 42px;

    font-weight: 900;

    color: var(--gold);

    letter-spacing: -1.5px;

    text-transform: uppercase;

    line-height: 1;
}

.athlete-focus {

    display: inline-block;

    width: fit-content;

    padding: 10px 16px;

    border-radius: 999px;

    background: rgba(212,175,55,0.08);

    border: 1px solid rgba(212,175,55,0.18);

    color: #ddd;

    font-size: 14px;

    font-weight: 700;

    letter-spacing: 0.5px;

    text-transform: uppercase;
}

/* ========================================= */
/* PR GRID */
/* ========================================= */

.pr-grid {

    display: grid;

    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));

    gap: 16px;

    margin-top: 20px;
}

.pr-grid > div {

    background: linear-gradient(
        180deg,
        rgba(255,255,255,0.03),
        rgba(255,255,255,0.01)
    );

    border: 1px solid rgba(212,175,55,0.10);

    border-radius: 14px;

    padding: 18px;

    text-align: center;

    transition: 0.2s ease;
}

.pr-grid > div:hover {

    transform: translateY(-3px);

    border-color: rgba(212,175,55,0.45);

    background: rgba(212,175,55,0.04);
}

.pr-grid label {

    display: block;

    font-size: 12px;

    color: #999;

    letter-spacing: 1px;

    margin-bottom: 10px;
}

.pr-grid span {

    display: block;

    font-size: 30px;

    font-weight: 800;

    color: white;

    letter-spacing: -1px;
}

/* ========================================= */
/* DEVELOPMENT LAYOUT */
/* ========================================= */

.course-layout {

    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 24px;

    margin-top: 20px;
}

.course-grid {

    display: grid;

    gap: 12px;
}

/* ========================================= */
/* MEET PR ITEMS */
/* ========================================= */

.course-item {

    background: rgba(255,255,255,0.025);

    border-left: 4px solid var(--gold);

    padding: 14px;

    border-radius: 10px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    transition: 0.2s ease;
}

.course-item:hover {

    background: rgba(212,175,55,0.04);

    transform: translateX(3px);
}

.course-item label {

    font-size: 13px;

    color: #bbb;

    text-transform: capitalize;
}

.course-item span {

    font-size: 24px;

    font-weight: 800;

    color: white;
}

/* ========================================= */
/* YEAR GRID */
/* ========================================= */

.year-grid {

    display: grid;

    gap: 12px;
}

.year-item {

    background: rgba(255,255,255,0.025);

    border-radius: 10px;

    padding: 16px;

    display: flex;

    justify-content: space-between;

    align-items: center;

    border-left: 4px solid rgba(212,175,55,0.5);
}

.year-left label {

    font-size: 14px;

    color: #aaa;

    font-weight: 600;
}

.year-right {

    text-align: right;
}

.year-right span {

    display: block;

    font-size: 34px;

    font-weight: 900;

    color: white;

    line-height: 1;
}

.year-pace {

    margin-top: 6px;

    font-size: 12px;

    color: #999;

    font-weight: 600;

    letter-spacing: 0.5px;
}

/* ========================================= */
/* IMPROVEMENT */
/* ========================================= */

.improvement {

    margin-top: 18px;

    background: linear-gradient(
        90deg,
        rgba(212,175,55,0.12),
        rgba(212,175,55,0.02)
    );

    border: 1px solid rgba(212,175,55,0.25);

    border-radius: 12px;

    padding: 16px;

    text-align: center;

    font-size: 18px;

    font-weight: 800;

    color: var(--gold);

    letter-spacing: 0.5px;
}

/* ========================================= */
/* PACE ZONES */
/* ========================================= */

.pace-zones-card {

    overflow: hidden;
}

.pace-zones-card h3 {

    color: var(--gold);

    border-bottom: 1px solid var(--gold);

    padding-bottom: 10px;

    margin-bottom: 18px;
}

.pace-scroll {

    display: flex;

    gap: 18px;

    overflow-x: auto;

    overflow-y: hidden;

    padding-bottom: 10px;

    scroll-behavior: smooth;

    scrollbar-width: none;
}

.pace-scroll::-webkit-scrollbar {

    display: none;
}

.pace-card {

    position: relative;

    min-width: 170px;

    height: 240px;

    padding: 28px 12px 22px;

    box-sizing: border-box;

    background: rgba(255,255,255,0.02);

    border: 1px solid rgba(212,175,55,0.10);

    border-radius: 12px;

    display: flex;

    flex-direction: column;

    justify-content: flex-start;

    align-items: center;

    text-align: center;

    flex-shrink: 0;

    transition: all 0.2s ease;
}
.pace-card:hover {

    transform: translateY(-3px);

    border-color: rgba(212,175,55,0.4);

    background: rgba(212,175,55,0.04);
}
.pace-zone {

    font-size: 28px;

    font-weight: 900;

    letter-spacing: 1px;

    color: var(--gold);

    line-height: 1;

    margin-bottom: 8px;
}

.pace-title {

    position: absolute;

    bottom: 16px;

    left: 0;

    width: 100%;

    font-size: 10px;

    color: #888;

    letter-spacing: 1px;

    text-transform: uppercase;

    font-weight: 700;
}

.pace-icon {

    font-size: 42px;

    color: var(--gold);

    margin-bottom: 10px;
}

.pace-range {

    font-size: 22px;

    font-weight: bold;

    color: var(--gold);

    line-height: 1.4;

    margin-bottom: 8px;
}

.pace-unit {

    font-size: 11px;

    color: #888;
}
.pace-effort {

    margin-top: 12px;

    margin-bottom: 18px;

    font-size: 12px;

    color: #ddd;

    font-weight: 700;

    text-align: center;

    max-width: 120px;
}

/* ========================================= */
/* HEADERS */
/* ========================================= */

h3 {

    font-size: 30px;

    margin-top: 0;

    letter-spacing: -1px;
}

h4 {

    color: white;

    font-size: 20px;

    margin-bottom: 14px;
}

/* ========================================= */
/* MOBILE */
/* ========================================= */

@media (max-width: 700px) {

    main {
        padding: 14px;
    }

    .course-layout {
        grid-template-columns: 1fr;
    }

    .pr-grid {
        grid-template-columns: repeat(2, 1fr);
    }

   .pace-card {
       min-width: 150px;
       height: 250px;
       padding: 26px 10px 20px;
   }

    .pace-range {
        font-size: 16px;
    }

    h2 {
        font-size: 36px;
    }

    .athlete-type {
        font-size: 30px;
    }

    h3 {
        font-size: 24px;
    }

    .course-item span,
    .year-right span {
        font-size: 22px;
    }
}
/* ========================================= */
/* TARGET SPLITS */
/* ========================================= */

.goal-grid {

    display: grid;

    grid-template-columns: 220px 1fr 1fr;

    gap: 30px;

    margin-top: 20px;

    align-items: start;

}

.goal-column {

    min-width: 0;

}

.goal-heading {

    color: var(--gold);

    font-size: 22px;

    font-weight: 800;

    margin-bottom: 18px;

    text-align: center;

}

.goal-picker {

    display: flex;

    justify-content: center;

    align-items: center;

    gap: 10px;

    width: 100%;

}

.goal-picker select {

    width: 96px;

    height: 78px;

    box-sizing: border-box;

    padding: 0 28px 0 10px;

    background-color: var(--panel);

    color: white;

    border: 1px solid var(--gold);

    border-radius: 12px;

    font-size: 28px;

    font-weight: 800;

    line-height: 1;

    text-align: center;

    text-align-last: center;

}

.goal-colon {

    flex: 0 0 auto;

    color: var(--gold);

    font-size: 40px;

    font-weight: 900;

    line-height: 1;

}

.goal-row {

    display: grid;

    grid-template-columns: 40px 72px;

    column-gap: 14px;

    align-items: center;

    width: 126px;

    margin: 0 auto;

    padding: 10px 0;

    border-bottom: 1px solid rgba(255,255,255,0.05);

    font-size: 18px;

}

.goal-row span {

    color: white;

    font-weight: 700;

    text-align: left;

}

.goal-row strong {

    color: var(--gold);

    font-weight: 800;

    text-align: right;

    white-space: nowrap;

}

/* ========================================= */
/* TARGET SPLITS - MOBILE */
/* ========================================= */

@media (max-width: 700px) {

    .goal-grid {

        grid-template-columns: 1fr;

        gap: 28px;

    }

    .goal-picker select {

        width: 100px;

        height: 76px;

        font-size: 28px;

    }

    .goal-row {

        width: 140px;

        grid-template-columns: 40px 78px;

    }

}
