/* ===========================================
   LANDING PAGE STYLES (Guest View)
   =========================================== */

.landing-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    font-family: 'Inter', sans-serif;
}

/* --- Hero Section --- */
.landing-hero {
    text-align: center;
    padding: 6rem 1rem 4rem;
    background: radial-gradient(circle at top center, rgba(14, 165, 233, 0.1) 0%, transparent 70%);
    margin-bottom: 4rem;
    position: relative;
}

.landing-hero::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    background: var(--uks-blue-500);
    filter: blur(120px);
    opacity: 0.2;
    z-index: -1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text-main) 0%, var(--uks-blue-800) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--uks-blue-600);
    letter-spacing: -0.02em;
}

.hero-stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-light);
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
}

/* --- Sections --- */
.landing-section {
    margin-bottom: 6rem;
}

.section-centered-header {
    text-align: center;
    margin-bottom: 3rem;
}

.landing-section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: -0.03em;
    margin-bottom: 0.5rem;
}

.landing-section-desc {
    color: var(--text-secondary);
    font-size: 1rem;
}

/* --- Records Table Showcase (The Main Feature) --- */
.records-showcase {
    background: white;
    border-radius: 24px;
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.05);
    /* Soft, distinct shadow */
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.records-showcase-header {
    background: linear-gradient(135deg, var(--uks-blue-50) 0%, white 100%);
    padding: 2rem;
    border-bottom: 1px solid var(--uks-blue-100);
    text-align: center;
}

.records-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* Split Men/Women */
}

.records-column {
    padding: 2rem;
}

.records-column:first-child {
    border-right: 1px solid var(--bg-app);
}

.records-column-title {
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.records-column-title.female {
    color: #DB2777;
}

/* Pink/Red for contrast */
.records-column-title.male {
    color: var(--uks-blue-600);
}

.records-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.record-link-item {
    display: flex;
    justify-content: space-between;
    /* Space out Label and Buttons */
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 12px;
    transition: background 0.2s;
}

.record-link-item:hover {
    background-color: var(--uks-blue-50);
}

.record-group-label {
    font-weight: 600;
    color: var(--text-main);
}

.record-buttons {
    display: flex;
    gap: 0.5rem;
}

.record-btn-pill {
    font-size: 0.75rem;
    padding: 0.35rem 0.85rem;
    border-radius: 20px;
    background: white;
    border: 1px solid var(--bg-app);
    color: var(--text-secondary);
    font-weight: 600;
    transition: all 0.2s;
    text-decoration: none;
}

.record-btn-pill:hover {
    background: var(--uks-blue-600);
    color: white;
    border-color: var(--uks-blue-600);
    box-shadow: 0 4px 10px rgba(14, 165, 233, 0.3);
}

/* --- Top Athletes Cards (Horizontal) --- */
.top-athletes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.athlete-showcase-card {
    background: white;
    border-radius: 20px;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px -5px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid transparent;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.athlete-showcase-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.1);
    border-color: var(--uks-blue-100);
}

.athlete-showcase-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--uks-blue-100), white);
    color: var(--uks-blue-600);
    font-size: 2rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 8px 20px -5px rgba(14, 165, 233, 0.2);
}

.athlete-showcase-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 0.25rem;
}

.athlete-showcase-stats {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.athlete-showcase-btn {
    margin-top: auto;
    /* Push to bottom */
    width: 100%;
}

/* Mobile Responsive Tweaks for Landing */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .records-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
    }

    .records-column {
        padding: 1.5rem;
    }

    .records-column:first-child {
        border-right: none;
        border-bottom: 1px solid var(--bg-app);
    }

    .landing-hero {
        padding-top: 4rem;
    }
}