body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    color: #252525;
    background: linear-gradient(180deg, #fcfcfd 0%, #ffffff 100%);
    line-height: 1.6;
}

.container {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 24px;
}

/* =========================
   Hero
   ========================= */

.hero {
    padding: 14px 18px 20px;
}

.hero-shell {
    position: relative;
    overflow: hidden;
    max-width: 1360px;
    margin: 0 auto;
    border-radius: 26px;
    border: 1px solid rgba(15, 23, 42, 0.07);
    background:
        radial-gradient(circle at 12% 18%, rgba(37, 99, 235, 0.055), rgba(255, 255, 255, 0) 24%),
        radial-gradient(circle at 88% 18%, rgba(249, 115, 22, 0.050), rgba(255, 255, 255, 0) 25%),
        linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
    box-shadow:
        0 12px 34px rgba(15, 23, 42, 0.065),
        inset 0 1px 0 rgba(255, 255, 255, 0.75);
}

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 54px;
    padding-bottom: 54px;
}

.hero-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(58px);
    opacity: 0.22;
    z-index: 0;
    pointer-events: none;
}

.hero-orb-a {
    width: 300px;
    height: 300px;
    left: -80px;
    top: -70px;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.20) 0%, rgba(37, 99, 235, 0.06) 48%, rgba(37, 99, 235, 0) 72%);
    animation: floatA 18s ease-in-out infinite;
}

.hero-orb-b {
    width: 320px;
    height: 320px;
    right: -95px;
    top: -75px;
    background: radial-gradient(circle, rgba(249, 115, 22, 0.18) 0%, rgba(249, 115, 22, 0.05) 48%, rgba(249, 115, 22, 0) 72%);
    animation: floatB 22s ease-in-out infinite;
}

.hero-orb-c {
    width: 260px;
    height: 260px;
    left: 45%;
    bottom: -70px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.12) 0%, rgba(20, 184, 166, 0.04) 48%, rgba(20, 184, 166, 0) 72%);
    animation: floatC 24s ease-in-out infinite;
}

.hero-ribbon {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 78px;
    z-index: 1;
    pointer-events: none;
    opacity: 0.42;
}

.hero-ribbon::before,
.hero-ribbon::after {
    content: "";
    position: absolute;
    left: -8%;
    right: -8%;
    border-radius: 50%;
}

.hero-ribbon::before {
    height: 74px;
    bottom: -38px;
    background: linear-gradient(90deg,
            rgba(37, 99, 235, 0.10),
            rgba(20, 184, 166, 0.08),
            rgba(255, 255, 255, 0),
            rgba(249, 115, 22, 0.10));
    transform: skewY(-2deg);
    animation: ribbonWave1 26s ease-in-out infinite;
}

.hero-ribbon::after {
    height: 62px;
    bottom: -46px;
    background: linear-gradient(90deg,
            rgba(249, 115, 22, 0.09),
            rgba(255, 255, 255, 0),
            rgba(37, 99, 235, 0.08));
    transform: skewY(2deg);
    animation: ribbonWave2 30s ease-in-out infinite;
}

h1 {
    font-size: 48px;
    line-height: 1.12;
    margin: 0 auto 28px;
    font-weight: 740;
    letter-spacing: -0.85px;
    max-width: 1180px;
}

.title-accent {
    color: #ec5c03;
    background: none;
    -webkit-text-fill-color: initial;
}

.authors {
    font-size: 20px;
    line-height: 1.55;
    margin: 0 auto 8px;
    color: #222;
    max-width: 1000px;
}

.authors sup {
    font-size: 65%;
    color: #333;
    margin-left: 1px;
}

.affiliations {
    font-size: 17px;
    line-height: 1.45;
    margin: 6px auto;
    color: #4b5563;
    max-width: 980px;
    text-align: center !important;
}

.emails {
    font-size: 15px;
    margin: 8px auto 20px;
    color: #5b6472;
    text-align: center !important;
}

.links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 18px;
}

.button {
    display: inline-block;
    padding: 8px 19px;
    border-radius: 999px;
    background: rgba(31, 41, 55, 0.94);
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.25;
    box-shadow: 0 5px 13px rgba(15, 23, 42, 0.10);
    transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.button i {
    margin-right: 7px;
}

.button:hover {
    transform: translateY(-1px);
    box-shadow: 0 7px 16px rgba(15, 23, 42, 0.13);
    opacity: 0.95;
}

.button.disabled {
    background: rgba(100, 116, 139, 0.88);
    cursor: default;
    opacity: 0.95;
}

.button.disabled:hover {
    transform: none;
    box-shadow: 0 5px 13px rgba(15, 23, 42, 0.10);
}

/* =========================
   Sections
   ========================= */

.section {
    padding: 34px 0;
    text-align: center;
}

.first-figure {
    padding-top: 22px;
}

.section h2 {
    font-size: 32px;
    margin: 0 0 20px;
    font-weight: 650;
}

.section h3 {
    font-size: 22px;
    margin: 30px 0 14px;
    font-weight: 600;
}

.section p {
    text-align: left;
    font-size: 17px;
    max-width: 920px;
    margin: 12px auto;
}

.abstract-section h2 {
    margin-bottom: 24px;
}

.abstract-section p {
    max-width: 820px;
    font-size: 18px;
    line-height: 1.65;
    text-align: justify;
}

.main-figure {
    width: 100%;
    max-width: 980px;
    border-radius: 10px;
}

.result-figure {
    width: 100%;
    max-width: 960px;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    margin-bottom: 12px;
}

.caption {
    text-align: left !important;
    color: #666;
    font-size: 16px !important;
    line-height: 1.55;
    max-width: 980px;
    margin: 12px auto 0 !important;
}

.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    align-items: start;
}

.two-col .main-figure {
    width: 100%;
}

.video-placeholder {
    border: 1px dashed #bbb;
    border-radius: 14px;
    padding: 60px 20px;
    color: #777;
    background: #fafafa;
    font-size: 18px;
    margin-top: 20px;
}

.video-task {
    margin-top: 34px;
}

.video-task:first-of-type {
    margin-top: 8px;
}

.video-task h3 {
    margin-top: 10px;
    margin-bottom: 16px;
}

.task-meta {
    font-size: 0.78em;
    font-weight: 500;
    color: #6b7280;
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    align-items: start;
}

.video-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    padding: 10px 10px 12px;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.video-card video {
    width: 100%;
    display: block;
    border-radius: 10px;
    background: #000;
}

.video-card p {
    text-align: center;
    font-size: 15px;
    font-weight: 600;
    color: #374151;
    margin: 9px auto 0;
}

pre {
    text-align: left;
    background: #f6f6f6;
    border: 1px solid #e6e6e6;
    border-radius: 12px;
    padding: 18px;
    overflow-x: auto;
    font-size: 14px;
}

footer {
    text-align: center;
    color: #777;
    padding: 30px 0 50px;
    font-size: 14px;
}

/* =========================
   Animations
   ========================= */

@keyframes floatA {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(14px, 8px) scale(1.025);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes floatB {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-12px, 10px) scale(1.025);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes floatC {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(8px, -8px) scale(1.02);
    }

    100% {
        transform: translate(0, 0) scale(1);
    }
}

@keyframes ribbonWave1 {
    0% {
        transform: translateX(0) skewY(-2deg);
    }

    50% {
        transform: translateX(10px) skewY(-1deg);
    }

    100% {
        transform: translateX(0) skewY(-2deg);
    }
}

@keyframes ribbonWave2 {
    0% {
        transform: translateX(0) skewY(2deg);
    }

    50% {
        transform: translateX(-10px) skewY(3deg);
    }

    100% {
        transform: translateX(0) skewY(2deg);
    }
}

/* =========================
   Responsive
   ========================= */

@media (max-width: 800px) {
    .hero {
        padding: 10px 10px 22px;
    }

    .hero-shell {
        border-radius: 22px;
    }

    .hero-inner {
        padding-top: 38px;
        padding-bottom: 46px;
    }

    h1 {
        font-size: 34px;
    }

    .authors {
        font-size: 17px;
    }

    .affiliations {
        font-size: 15px;
    }

    .two-col {
        grid-template-columns: 1fr;
    }

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