@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root{

    --btn-color: #fdfdfd;/* button color*/
    --btn-bg: #155eef;/* button bg color*/

    --primary-text-color: #155eef;
    --link-hover: #155eef;
    --input-hover-bd-color: #155eef;
}


html {
    scroll-behavior: smooth;
    font-family: "Space Grotesk", "Roboto", sans-serif;
}

header{
    /* background-color: #fff;
    color: #000; */
}

.sidebar {
    width: clamp(320px, 28vw, 420px);
    position: sticky;
    top: 16px;
    align-self: flex-start;
    transition: width 0.35s ease, transform 0.35s ease, box-shadow 0.35s ease;
    background:
        radial-gradient(130% 160% at 20% 20%, rgba(255, 255, 255, 0.45), transparent 55%),
        radial-gradient(140% 150% at 80% 10%, rgba(21, 94, 239, 0.12), transparent 50%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.32));
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow:
        0 22px 48px -28px rgba(0, 0, 0, 0.65),
        inset 0 1px 0 rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
    min-height: calc(100vh - 32px);
    height: calc(100vh - 32px);
    margin: 16px;
    border-radius: 24px;
    box-sizing: border-box;
}

.sidebar.is-bouncing {
    animation: sidebarBounce 460ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes sidebarBounce {
    0% {
        transform: translateX(0);
    }
    55% {
        transform: translateX(-12px) scale(1.02);
    }
    100% {
        transform: translateX(0);
    }
}

.tw-dark .sidebar {
    background:
        radial-gradient(130% 160% at 20% 20%, rgba(255, 255, 255, 0.08), transparent 55%),
        radial-gradient(140% 150% at 80% 10%, rgba(21, 94, 239, 0.16), transparent 50%),
        linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow:
        0 26px 56px -30px rgba(0, 0, 0, 0.85),
        inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.sidebar.is-collapsed {
    width: 82px;
}

@media (max-width: 1024px) {
    .sidebar {
        width: calc(100% - 24px);
        min-height: calc(100vh - 24px);
        height: calc(100vh - 24px);
        margin: 12px;
    }
    .sidebar.is-collapsed {
        width: calc(100% - 24px);
    }
}

.sidebar-content {
    transition: opacity 0.25s ease;
}

.sidebar.is-collapsed .sidebar-content {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.profile-photo-frame {
    transition: transform 0.3s ease;
}

.sidebar.is-collapsed .profile-photo-frame {
    transform: scale(0.8);
}

.sidebar-toggle {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(21, 94, 239, 0.16);
    background: rgba(21, 94, 239, 0.12);
    color: #0f172a;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 24px -16px rgba(21, 94, 239, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.6);
    transition: transform 0.25s ease, box-shadow 0.3s ease, background 0.3s ease;
}

.sidebar-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 32px -18px rgba(21, 94, 239, 0.65);
}

.sidebar.is-collapsed .sidebar-toggle i {
    transform: rotate(180deg);
}

.tw-dark .sidebar-toggle {
    color: #e2e8f0;
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 14px 32px -20px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid rgba(21, 94, 239, 0.16);
    background: linear-gradient(135deg, rgba(21, 94, 239, 0.1), rgba(21, 94, 239, 0.18));
    color: #0f172a;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 12px 30px -18px rgba(21, 94, 239, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.5);
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.3s ease;
}

.theme-toggle:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 36px -20px rgba(21, 94, 239, 0.6);
}

.tw-dark .theme-toggle {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(21, 94, 239, 0.12));
    color: #e2e8f0;
    border-color: rgba(255, 255, 255, 0.22);
    box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.sidebar-footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-impressum {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(21, 94, 239, 0.16);
    color: #0f172a;
    background: rgba(21, 94, 239, 0.06);
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 10px 24px -18px rgba(21, 94, 239, 0.3);
    transition: transform 0.2s ease, box-shadow 0.25s ease;
}

.sidebar-impressum:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px -18px rgba(21, 94, 239, 0.4);
}

.tw-dark .sidebar-impressum {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 14px 32px -20px rgba(0, 0, 0, 0.75);
}

.sidebar.is-collapsed .sidebar-impressum span,
.sidebar.is-collapsed .theme-toggle span {
    display: none;
}

.sidebar.is-collapsed .sidebar-impressum,
.sidebar.is-collapsed .theme-toggle {
    justify-content: center;
}

.tab-bar {
    position: relative;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background:
        radial-gradient(120% 140% at 15% 30%, rgba(21, 94, 239, 0.08), transparent 55%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.18));
    border: 1px solid rgba(21, 94, 239, 0.16);
    box-shadow: 0 18px 48px -26px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.5);
}

.tw-dark .tab-bar {
    background:
        radial-gradient(120% 140% at 15% 30%, rgba(255, 255, 255, 0.06), transparent 55%),
        linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
    border-color: rgba(255, 255, 255, 0.24);
    box-shadow: 0 18px 48px -26px rgba(0, 0, 0, 0.75), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.tab-bar::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: radial-gradient(140% 120% at 15% 15%, rgba(255, 255, 255, 0.45), transparent 55%);
    pointer-events: none;
}

.tab-bar::-webkit-scrollbar {
    display: none;
}

.glass-tab-bar .tab-btn {
    position: relative;
    border-radius: 999px;
    padding: 10px 18px;
    color: #475569;
    background: transparent;
    border: 1px solid transparent;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.28);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    font-weight: 600;
}

.tw-dark .glass-tab-bar .tab-btn {
    color: #f8fafc;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.glass-tab-bar .tab-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    color: var(--color-primary);
    transform: translateY(-1px);
    box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

.tw-dark .glass-tab-bar .tab-btn:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-primary);
}

.glass-tab-bar .tab-btn.tab-active,
.glass-tab-bar .tab-btn.tab-active:hover {
    background: rgba(21, 94, 239, 0.12);
    color: var(--color-primary);
    border-color: rgba(255, 255, 255, 0.45);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.25),
        0 6px 22px -18px rgba(21, 94, 239, 0.65);
    transform: translateY(-1px);
}

.glass-tab-bar .tab-btn:focus-visible {
    outline: 2px solid rgba(21, 94, 239, 0.35);
    outline-offset: 2px;
}

.tab-indicator {
    position: absolute;
    top: 50%;
    left: 0;
    height: calc(100% - 16px);
    width: 120px;
    border-radius: 999px;
    border: 1.5px solid rgba(21, 94, 239, 0.6);
    box-shadow:
        0 10px 36px -26px rgba(21, 94, 239, 0.75),
        0 0 0 1px rgba(255, 255, 255, 0.25) inset;
    transition: transform 0.35s ease, width 0.35s ease, opacity 0.25s ease;
    pointer-events: none;
    background:
        linear-gradient(135deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.06)),
        radial-gradient(80% 100% at 30% 20%, rgba(21, 94, 239, 0.14), transparent 55%);
    backdrop-filter: blur(10px);
    transform: translate(0, -50%);
}

.tw-dark .tab-indicator {
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow:
        0 10px 36px -26px rgba(0, 0, 0, 0.75),
        0 0 0 1px rgba(255, 255, 255, 0.15) inset;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
}

.glass-tab-bar .tab-btn.tab-bounce {
    animation: glassBounce 380ms ease;
}

@keyframes glassBounce {
    0% {
        transform: translateY(0) scale(1);
        box-shadow: 0 14px 34px -20px rgba(21, 94, 239, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
    }
    35% {
        transform: translateY(-6px) scale(1.03);
        box-shadow: 0 22px 40px -22px rgba(21, 94, 239, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.35) inset;
    }
    65% {
        transform: translateY(3px) scale(0.99);
    }
    100% {
        transform: translateY(0) scale(1);
        box-shadow: 0 14px 34px -20px rgba(21, 94, 239, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.25) inset;
    }
}


.primary-text-color{
    color: var(--primary-text-color);
}

.profile-photo {
    object-position: 50% 01%;
}

.hero-lead {
    margin-top: 18px;
    max-width: 580px;
    padding: 8px 0;
    line-height: 1.6;
    color: #334155;
}

.tw-dark .hero-lead {
    color: #dbeafe;
}

.hero-focus {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 16px;
}

.hero-chip {
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(21, 94, 239, 0.18);
    background: linear-gradient(135deg, rgba(21, 94, 239, 0.08), rgba(21, 94, 239, 0.18));
    color: #0f172a;
    font-weight: 700;
    letter-spacing: 0.01em;
}

.tw-dark .hero-chip {
    color: #e2e8f0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(21, 94, 239, 0.14));
    border-color: rgba(255, 255, 255, 0.16);
}

.hero-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 12px;
    font-weight: 700;
    border: 1px solid transparent;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #155eef, #1d4ed8);
    color: #fff;
    box-shadow: 0 16px 36px -22px rgba(21, 94, 239, 0.75);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 20px 42px -22px rgba(21, 94, 239, 0.8);
}

.btn-secondary {
    background: rgba(21, 94, 239, 0.08);
    color: #0f172a;
    border-color: rgba(21, 94, 239, 0.24);
}

.btn-secondary:hover {
    background: rgba(21, 94, 239, 0.14);
    transform: translateY(-1px);
    box-shadow: 0 12px 28px -20px rgba(0, 0, 0, 0.35);
}

.tw-dark .btn-secondary {
    color: #e2e8f0;
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.18);
}

.hero-highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-top: 22px;
}

.hero-highlight-card {
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(21, 94, 239, 0.16);
    background: linear-gradient(135deg, rgba(21, 94, 239, 0.06), rgba(21, 94, 239, 0.12)), #fff;
    box-shadow: 0 14px 32px -24px rgba(0, 0, 0, 0.45);
}

.hero-highlight-label {
    margin: 0;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-primary);
    font-weight: 800;
}

.hero-highlight-value {
    margin: 6px 0 4px;
    font-size: 20px;
    font-weight: 800;
}

.hero-highlight-desc {
    margin: 0;
    color: #475569;
    line-height: 1.5;
}

.tw-dark .hero-highlight-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(21, 94, 239, 0.14)), #0b1220;
    color: #e2e8f0;
    border-color: rgba(255, 255, 255, 0.16);
    box-shadow: 0 16px 36px -26px rgba(0, 0, 0, 0.8);
}

.tw-dark .hero-highlight-desc {
    color: #cbd5e1;
}

.experience-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 5%;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.experience-header {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
    border: 1px solid rgba(21, 94, 239, 0.12);
    background: linear-gradient(135deg, rgba(21, 94, 239, 0.06), rgba(21, 94, 239, 0.14)), #f8fafc;
    padding: 26px 28px;
    box-shadow: 0 18px 40px -26px rgba(0, 0, 0, 0.35);
}

.tw-dark .experience-header {
    background: linear-gradient(135deg, rgba(21, 94, 239, 0.12), rgba(21, 94, 239, 0.22)), #0b1220;
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 44px -32px rgba(0, 0, 0, 0.9);
}

.experience-header::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(120% 120% at 10% 10%, rgba(255, 255, 255, 0.3), transparent 55%);
    pointer-events: none;
}

.experience-heading {
    display: flex;
    flex-direction: column;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.experience-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--color-secondary);
    color: #0f172a;
    font-size: 12px;
    letter-spacing: 0.08em;
    font-weight: 800;
    text-transform: uppercase;
}

.tw-dark .experience-badge {
    background: rgba(21, 94, 239, 0.18);
    color: #f8fafc;
}

.experience-title {
    margin: 0;
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 800;
    line-height: 1.2;
}

.experience-lead {
    margin: 0;
    max-width: 780px;
    line-height: 1.55;
    color: #475569;
}

.tw-dark .experience-lead {
    color: #cbd5e1;
}

.experience-pills {
    position: relative;
    z-index: 1;
    margin-top: 18px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.experience-pill {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid rgba(21, 94, 239, 0.18);
    background: #fff;
    box-shadow: 0 12px 30px -22px rgba(0, 0, 0, 0.5);
}

.tw-dark .experience-pill {
    background: #0f172a;
    color: #f8fafc;
    border-color: rgba(255, 255, 255, 0.12);
}

.experience-pill-value {
    margin: 2px 0;
    font-weight: 800;
    font-size: 18px;
}

.experience-pill-desc {
    margin: 0;
    color: #475569;
}

.tw-dark .experience-pill-desc {
    color: #cbd5e1;
}

.experience-grid {
    display: grid;
    grid-template-columns: minmax(280px, 1fr) 1.6fr;
    gap: 20px;
    align-items: start;
}

.experience-grid-single {
    grid-template-columns: 1fr;
}

.experience-competencies {
    padding: 18px 20px;
    border-radius: 16px;
    border: 1px solid rgba(21, 94, 239, 0.16);
    background: linear-gradient(180deg, rgba(21, 94, 239, 0.05), rgba(21, 94, 239, 0.12)), #f8fafc;
    box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.35);
}

.tw-dark .experience-competencies {
    background: linear-gradient(180deg, rgba(21, 94, 239, 0.14), rgba(21, 94, 239, 0.2)), #0b1220;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 18px 44px -32px rgba(0, 0, 0, 0.9);
}

.experience-competencies h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 800;
}

.experience-competencies-intro {
    margin: 0 0 12px;
    color: #475569;
    line-height: 1.5;
}

.tw-dark .experience-competencies-intro {
    color: #cbd5e1;
}

.experience-tags {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
    padding: 0;
}

.experience-tags li {
    padding: 8px 12px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid #e5e7eb;
    color: #0f172a;
    font-weight: 600;
    box-shadow: 0 12px 28px -22px rgba(0, 0, 0, 0.45);
}

.tw-dark .experience-tags li {
    background: #0f172a;
    border-color: #334155;
    color: #f8fafc;
}

.experience-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding-left: 10px;
}

.experience-timeline::before {
    content: "";
    position: absolute;
    left: 13px;
    top: 8px;
    bottom: 8px;
    width: 2px;
    background: linear-gradient(180deg, rgba(21, 94, 239, 0.4), rgba(21, 94, 239, 0));
}

.experience-item {
    position: relative;
    padding-left: 32px;
}

.experience-marker {
    position: absolute;
    left: 4px;
    top: 18px;
    width: 18px;
    height: 18px;
    border-radius: 999px;
    background: #fff;
    border: 3px solid var(--color-primary);
    box-shadow: 0 8px 18px -12px rgba(0, 0, 0, 0.6);
}

.tw-dark .experience-marker {
    background: #0f172a;
    box-shadow: 0 10px 20px -14px rgba(0, 0, 0, 0.9);
}

.experience-card {
    padding: 16px 18px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #fff;
    box-shadow: 0 18px 40px -28px rgba(0, 0, 0, 0.45);
}

.tw-dark .experience-card {
    background: #0f172a;
    color: #f8fafc;
    border-color: #334155;
}

.experience-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
    color: #475569;
    font-weight: 600;
}

.tw-dark .experience-meta {
    color: #cbd5e1;
}

.experience-year {
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(21, 94, 239, 0.12);
    color: #0f172a;
    font-weight: 800;
    letter-spacing: 0.04em;
}

.tw-dark .experience-year {
    color: #e5e7eb;
    background: rgba(21, 94, 239, 0.2);
}

.experience-company {
    margin: 2px 0 6px;
    font-size: 20px;
    font-weight: 800;
}

.experience-role {
    margin: 0 0 10px;
    color: #475569;
    line-height: 1.5;
}

.tw-dark .experience-role {
    color: #cbd5e1;
}

.experience-points {
    margin: 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    color: #1f2937;
}

.tw-dark .experience-points {
    color: #e5e7eb;
}

.experience-points li {
    line-height: 1.5;
}

@media (max-width: 1024px) {
    .experience-section {
        padding: 24px;
    }

    .experience-grid {
        grid-template-columns: 1fr;
    }

    .experience-timeline::before {
        left: 11px;
    }

    .experience-item {
        padding-left: 28px;
    }

    .experience-marker {
        left: 0;
    }
}

@media (max-width: 640px) {
    .experience-section {
        padding: 18px;
    }

    .experience-header {
        padding: 20px;
    }

    .experience-title {
        font-size: 26px;
    }

    .experience-pills {
        grid-template-columns: 1fr;
    }
}

/* Sports tab */
.sports-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
    padding: 5%;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.sports-header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
}

.sports-heading {
    max-width: 760px;
    width: 100%;
}

.sports-badge {
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 6px;
}

.sports-title {
    font-size: 34px;
    font-weight: 700;
    margin: 0 0 8px;
}

.sports-description {
    margin: 0;
    line-height: 1.6;
    color: #4b5563;
}

.tw-dark .sports-description {
    color: #e5e7eb;
}

.sports-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    align-items: stretch;
    width: 100%;
}

.sports-highlight-card {
    min-width: 180px;
    min-height: 130px;
    height: 100%;
    padding: 12px 16px;
    border-radius: 14px;
    border: 1px solid var(--color-primary);
    background: #fff;
    color: #0f172a;
    box-shadow: 0 10px 30px -20px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
}

.tw-dark .sports-highlight-card {
    background: #0f172a;
    color: #f8fafc;
}

.sports-highlight-label {
    margin: 0 0 4px;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--color-primary);
}

.sports-highlight-value {
    margin: 0;
    font-size: 22px;
    font-weight: 800;
    line-height: 1.3;
    font-variant-numeric: tabular-nums;
}

.sports-counter {
    display: inline-block;
    min-width: 5ch;
}

.sports-highlight-col {
    display: grid;
    grid-template-rows: repeat(2, 1fr);
    gap: 12px;
    align-content: center;
    height: 100%;
}

.sports-highlight-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: repeat(2, 1fr);
    gap: 12px;
}

@media (max-width: 640px) {
    .sports-highlights {
        grid-template-columns: 1fr;
    }

    .sports-highlight-col,
    .sports-highlight-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
}

.sports-timeline {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.sports-year-block {
    position: relative;
    padding-left: 18px;
    border-left: 2px solid var(--color-primary);
}

.sports-year-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 999px;
    background: var(--color-secondary);
    color: #0f172a;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.tw-dark .sports-year-chip {
    background: rgba(21, 94, 239, 0.14);
    color: #f8fafc;
}

.sports-year-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    padding: 4px 0;
    list-style: none;
}

.sports-year-summary::after {
    content: "▾";
    margin-left: auto;
    color: var(--color-primary);
    font-weight: 800;
    transition: transform 0.25s ease;
}

.sports-year-block[open] > .sports-year-summary::after {
    transform: rotate(180deg);
}

.sports-events {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 10px;
}

.sports-event {
    border: 1px solid var(--color-primary);
    border-radius: 14px;
    padding: 12px 14px;
    background: #fff;
    color: #0f172a;
    box-shadow: 0 12px 30px -24px rgba(0, 0, 0, 0.6);
}

.sports-event[open] {
    border-color: var(--color-primary);
    box-shadow: 0 16px 36px -22px rgba(0, 0, 0, 0.65);
}

.tw-dark .sports-event {
    background: #0f172a;
    color: #f8fafc;
}

.sports-event summary {
    list-style: none;
}

.sports-event-summary {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    cursor: pointer;
}

summary::-webkit-details-marker {
    display: none;
}

.sports-event-title {
    margin: 6px 0 4px;
    font-size: 20px;
    font-weight: 700;
}

.sports-event-meta {
    margin: 0;
    color: #475569;
}

.tw-dark .sports-event-meta {
    color: #cbd5e1;
}

.sports-event-time {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    min-width: 120px;
    gap: 4px;
}

.sports-event-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px dashed var(--color-primary);
}

.sports-gallery-inline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.sports-gallery-inline figure {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    background: #111827;
    color: #f8fafc;
    box-shadow: 0 10px 28px -20px rgba(0, 0, 0, 0.8);
}

.sports-gallery-inline img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.sports-gallery-inline figure:hover img {
    transform: scale(1.03);
}

.sports-gallery-inline figcaption {
    padding: 10px 12px;
    background: #0f172a;
    font-size: 14px;
    line-height: 1.4;
}

.tw-dark .sports-gallery-inline figcaption {
    background: #111827;
}

.sports-tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 10px;
    background: var(--color-secondary);
    color: var(--color-primary);
    border-radius: 9999px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.tw-dark .sports-tag {
    background: rgba(255, 255, 255, 0.08);
    color: var(--color-primary);
}

.sports-meta-text {
    margin-left: auto;
}

.sports-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.sports-stat-box {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px 12px;
    border-radius: 12px;
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}

.tw-dark .sports-stat-box {
    background: #1f2937;
    border-color: #334155;
    color: #e5e7eb;
}

.sports-stat-box-accent {
    background: var(--color-secondary);
    border-color: var(--color-primary);
    color: #0f172a;
}

.tw-dark .sports-stat-box-accent {
    background: rgba(21, 94, 239, 0.12);
    color: #e5e7eb;
}

.sports-stat-label {
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #475569;
}

.tw-dark .sports-stat-label {
    color: #cbd5e1;
}

.sports-stat-value {
    font-size: 18px;
    font-weight: 700;
}

.sports-footnote {
    margin: 0;
    font-size: 12px;
    color: #475569;
}

.tw-dark .sports-footnote {
    color: #cbd5e1;
}

@media (max-width: 1024px) {
    .sports-section {
        padding: 4%;
    }

    .sports-event-summary {
        flex-direction: column;
        align-items: flex-start;
    }

    .sports-event-time {
        align-items: flex-start;
    }
}

@media (max-width: 640px) {
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .hero-highlight-grid {
        grid-template-columns: 1fr;
    }

    .sports-section {
        padding: 16px;
        gap: 18px;
    }

    .sports-title {
        font-size: 28px;
    }

    .sports-gallery-inline {
        grid-template-columns: 1fr;
    }

    .sports-year-block {
        border-left-width: 1px;
        padding-left: 14px;
    }

    .sports-stat-grid {
        grid-template-columns: 1fr;
    }
}
