*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

:root {
    --bg-deep: #080c18;
    --bg-surface: #0d1120;
    --bg-card: #111827;
    --bg-hover: #161e30;
    --border: rgba(255, 255, 255, 0.07);
    --border-md: rgba(255, 255, 255, 0.12);
    --accent: #3b82f6;
    --accent-dim: rgba(59, 130, 246, 0.15);
    --accent-glow: rgba(59, 130, 246, 0.08);
    --text-1: #eef2f8;
    --text-2: rgba(238, 242, 248, 0.6);
    --text-3: rgba(238, 242, 248, 0.35);
    --font: 'Inter', system-ui, sans-serif;
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px
}

html {
    scroll-behavior: smooth
}

body {
    font-family: var(--font);
    background: var(--bg-deep);
    color: var(--text-1);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased
}

.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(8, 12, 24, .92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: .5px solid var(--border);
    height: 64px;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    gap: 2rem
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0
}

.nav-logo-mark {
    width: 34px;
    height: 34px;
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center
}

.nav-logo-mark svg {
    width: 18px;
    height: 18px;
    fill: #fff
}

.nav-logo-text {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-1);
    letter-spacing: -0.01em
}

.nav-logo-text span {
    color: var(--accent)
}

.nav-links {
    display: flex;
    gap: 1.75rem;
    align-items: center;
    margin-left: 1rem;
    list-style: none
}

.nav-links a {
    font-size: 13.5px;
    color: var(--text-2);
    text-decoration: none;
    transition: color .15s
}

.nav-links a:hover {
    color: var(--text-1)
}

.nav-links a.active {
    color: var(--text-1)
}

.nav-links a.active::after {
    content: "";
    display: block;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
    margin-top: 3px
}

.nav-cta {
    margin-left: auto;
    background: var(--accent);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    flex-shrink: 0;
    transition: background .15s
}

.nav-cta:hover {
    background: #2563eb
}

.hero {
    background: var(--bg-surface);
    border-bottom: .5px solid var(--border);
    padding: 3.5rem 2rem 2.25rem
}

.hero-inner {
    max-width: 1080px;
    margin: 0 auto
}

.eyebrow {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: .75rem;
    display: flex;
    align-items: center;
    gap: 8px
}

.eyebrow::before {
    content: "";
    display: inline-block;
    width: 20px;
    height: 1.5px;
    background: var(--accent);
    border-radius: 2px
}

.hero h1 {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-1);
    letter-spacing: -0.025em;
    line-height: 1.2;
    margin-bottom: .625rem
}

.hero-desc {
    font-size: 14.5px;
    color: var(--text-2);
    max-width: 520px;
    line-height: 1.65;
    margin-bottom: 1.75rem
}

.filter-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center
}

.filter-label {
    font-size: 12px;
    color: var(--text-3);
    margin-right: 2px
}

.chip {
    font-size: 12.5px;
    padding: 5px 14px;
    border-radius: 20px;
    border: .5px solid var(--border-md);
    color: var(--text-2);
    background: hsla(0, 0%, 100%, .035);
    cursor: pointer;
    text-decoration: none;
    transition: all .15s;
    user-select: none
}

.chip:hover {
    border-color: var(--accent);
    color: var(--text-1);
    background: var(--accent-dim)
}

.chip.active {
    background: var(--accent-dim);
    border-color: var(--accent);
    color: #93c5fd
}

.sort-group {
    margin-left: auto;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: var(--text-3)
}

.sort-group select {
    background: hsla(0, 0%, 100%, .05);
    border: .5px solid var(--border-md);
    color: var(--text-2);
    font-family: var(--font);
    font-size: 12.5px;
    padding: 5px 10px;
    border-radius: var(--radius-sm);
    outline: none;
    cursor: pointer;
    transition: border-color .15s
}

.sort-group select:focus {
    border-color: var(--accent)
}

.main {
    max-width: 1080px;
    margin: 0 auto;
    padding: 2.5rem 2rem 3rem
}

.section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1.5rem
}

.section-label {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--text-3);
    white-space: nowrap
}

.section-rule {
    flex: 1;
    height: .5px;
    background: var(--border)
}

.section-count {
    font-size: 12px;
    color: var(--text-3);
    background: hsla(0, 0%, 100%, .04);
    border: .5px solid var(--border);
    padding: 2px 10px;
    border-radius: 20px
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
    gap: 16px;
    margin-bottom: 2.5rem
}

.video-card {
    background: var(--bg-card);
    border: .5px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    transition: border-color .2s, transform .2s, background .2s;
    cursor: pointer
}

.video-card:hover {
    border-color: rgba(59, 130, 246, .5);
    background: var(--bg-hover);
    transform: translateY(-3px)
}

.video-card:hover .play-ring {
    opacity: 1;
    transform: scale(1.08)
}

.video-card:hover .thumb-overlay {
    opacity: 1
}

.thumb {
    padding-top: 25%;
    aspect-ratio: 16/9;
    background: #0c1428;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden
}

.thumb-icon {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: .12
}

.thumb-icon svg {
    width: 72px;
    height: 72px;
    fill: var(--accent)
}

.thumb-overlay {
    position: absolute;
    inset: 0;
    background: rgba(59, 130, 246, .06);
    opacity: .6;
    transition: opacity .2s
}

.play-ring {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    opacity: .88;
    transition: opacity .2s, transform .2s;
    box-shadow: 0 0 0 8px rgba(59, 130, 246, .15)
}

.play-ring svg {
    width: 18px;
    height: 18px;
    fill: #fff;
    margin-left: 3px
}

.thumb-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 3;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: 3px 9px;
    border-radius: 4px;
    background: rgba(10, 15, 30, .82);
    border: .5px solid rgba(59, 130, 246, .4);
    color: #93c5fd;
    backdrop-filter: blur(4px)
}

.thumb-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    z-index: 3;
    font-size: 11px;
    background: rgba(0, 0, 0, .75);
    color: rgba(238, 242, 248, .85);
    padding: 2px 8px;
    border-radius: 4px;
    backdrop-filter: blur(4px)
}

.card-body {
    padding: 15px 17px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 7px
}

.card-title {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-1);
    line-height: 1.4
}

.card-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap
}

.card-tag {
    font-size: 11px;
    padding: 2px 9px;
    border-radius: 20px;
    background: hsla(0, 0%, 100%, .04);
    border: .5px solid var(--border);
    color: var(--text-3)
}

.card-tag.specialty {
    background: rgba(59, 130, 246, .08);
    border-color: rgba(59, 130, 246, .2);
    color: #7ab3f7
}

.card-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    color: var(--text-3);
    margin-top: 2px
}

.card-meta svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0
}

.meta-sep {
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: var(--text-3)
}

.card-footer {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 10px 17px 13px;
    border-top: .5px solid var(--border)
}

.avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(59, 130, 246, .18);
    border: .5px solid rgba(59, 130, 246, .25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 600;
    color: #93c5fd;
    flex-shrink: 0;
    letter-spacing: .02em
}

.surgeon-name {
    font-size: 12.5px;
    color: var(--text-2)
}

.load-more {
    text-align: center;
    padding-top: .5rem
}

.btn-load {
    font-family: var(--font);
    font-size: 13.5px;
    color: var(--text-2);
    background: hsla(0, 0%, 100%, .04);
    border: .5px solid var(--border-md);
    padding: 10px 32px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all .15s
}

.btn-load:hover {
    background: hsla(0, 0%, 100%, .07);
    color: var(--text-1);
    border-color: hsla(0, 0%, 100%, .2)
}

.promo-banner {
    background: var(--bg-surface);
    border: .5px solid var(--border);
    border-left: 3px solid var(--accent);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 2.5rem
}

.promo-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: var(--accent-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.promo-icon svg {
    width: 20px;
    height: 20px;
    fill: var(--accent)
}

.promo-text p {
    font-size: 13.5px;
    color: var(--text-2);
    line-height: 1.5
}

.promo-text strong {
    color: var(--text-1);
    font-weight: 500
}

.promo-cta {
    margin-left: auto;
    flex-shrink: 0;
    font-family: var(--font);
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent-dim);
    border: .5px solid rgba(59, 130, 246, .35);
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
    transition: background .15s
}

.promo-cta:hover {
    background: rgba(59, 130, 246, .22)
}



.footer-brand {
    display: flex;
    align-items: center;
    gap: 8px
}

.footer-brand-mark {
    width: 24px;
    height: 24px;
    background: var(--accent);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center
}

.footer-brand-mark svg {
    width: 12px;
    height: 12px;
    fill: #fff
}

.footer-brand-text {
    font-size: 13px;
    font-weight: 500;
    color: var(--text-2)
}

.footer-copy {
    font-size: 12px;
    color: var(--text-3)
}

.footer-links {
    display: flex;
    gap: 1.25rem
}

.footer-links a {
    font-size: 12px;
    color: var(--text-3);
    text-decoration: none;
    transition: color .15s
}

.footer-links a:hover {
    color: var(--text-2)
}

@media(max-width: 680px) {
    .nav-links {
        display: none
    }

    .hero h1 {
        font-size: 24px
    }

    .video-grid {
        grid-template-columns: 1fr
    }

    .sort-group {
        display: none
    }

    .promo-banner {
        flex-direction: column;
        align-items: flex-start
    }

    .promo-cta {
        margin-left: 0
    }

    .footer {
        flex-direction: column;
        align-items: flex-start
    }
}

a:focus-visible,
button:focus-visible,
select:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px
}

@media(prefers-reduced-motion: reduce) {

    .video-card,
    .play-ring,
    .thumb-overlay {
        transition: none
    }
}