.lion-cup-page {
    --lion-nav-offset: 60px;
    --lion-mint: #49beb2;
    --lion-mint-light: #dceae6;
    --lion-mint-pale: #cae9ea;
    --lion-ink: #17353f;
    --lion-dark: #06090d;
    --lion-accent: #c6d66e;
    --lion-card: #f5f8f7;
    --lion-white: #ffffff;
    --lion-radius: 22px;
    --lion-shadow: 0 14px 34px rgba(6, 9, 13, 0.14);
    background: var(--lion-dark);
    color: #ecf8f3;
    font-family: "Chiron GoRound TC", "Noto Sans TC", sans-serif;
    padding-top: var(--lion-nav-offset);
}

.lion-cup-page :is(h1, h2, h3, h4, h5, h6, p, a, span, strong, li, label, button, input, select, textarea) {
    font-family: inherit;
}

.lion-cup-page .container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding-left: 28px;
    padding-right: 28px;
}

.lion-section {
    position: relative;
    padding: 88px 0;
    overflow: hidden;
}

.section__title,
.lion-section__title {
    font-size: clamp(2.3rem, 4.6vw, 3.5rem);
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 24px;
    text-align: center;
}

.lion-section__title span {
    display: block;
    color: var(--lion-accent);
    font-size: 0.45em;
    letter-spacing: 0.15em;
    font-weight: 800;
    margin-bottom: 6px;
}

.lion-eyebrow {
    color: var(--lion-accent);
    font-size: 0.95rem;
    letter-spacing: 0.12em;
    font-weight: 700;
}

.lion-hero {
    position: relative;
    padding: 26px 0 0;
    background: #f2f4f3;
    min-height: clamp(560px, 58vw, 900px);
}

.lion-hero__bg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    opacity: 0.92;
    z-index: 0;
    pointer-events: none;
}

.lion-cup-page .lion-hero__stage {
    position: relative;
    z-index: 1;
    min-height: clamp(560px, 58vw, 900px);
    max-width: 100%;
    margin: 0;
    padding-left: 0;
    padding-right: 0;
    --lion-hero-stage-offset: 24px;
}

.lion-hero__title {
    position: relative;
    font-size: clamp(2.2rem, 5.3vw, 5.2rem);
    font-weight: 900;
    color: #fff;
    margin: 0;
    display: inline-flex;
    align-items: center;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 999px;
    border-bottom-right-radius: 999px;
    background: #274f52;
    padding: 20px 56px 20px 28px;
    width: fit-content;
    max-width: none;
    white-space: nowrap;
    line-height: 1.2;
    letter-spacing: 0.01em;
    top: var(--lion-hero-stage-offset);
    text-align: left;
}

.lion-hero__visual {
    position: relative;
    min-height: clamp(400px, 45vw, 700px);
    margin-top: 36px;
    top: var(--lion-hero-stage-offset);
}

.lion-hero__main-img {
    position: absolute;
    display: block;
    left: 5.8%;
    bottom: 0;
    width: min(58vw, 940px);
    max-width: 74%;
    height: auto;
    object-fit: contain;
    z-index: 2;
}

.lion-hero__gear-img {
    position: absolute;
    right: 29%;
    top: 9%;
    width: min(14vw, 230px);
    z-index: 2;
}

.lion-hero__cta {
    position: absolute;
    right: clamp(24px, 12vw, 160px);
    bottom: clamp(70px, 30%, 200px);
    background: #bdd469;
    color: #274f52;
    font-size: clamp(1.3rem, 2.8vw, 3rem);
    font-weight: 900;
    padding: 20px 56px;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(25, 59, 63, 0.24);
    z-index: 3;
    animation: lion-cta-float 2.8s ease-in-out infinite, lion-cta-glow 2.8s ease-in-out infinite;
    will-change: transform, box-shadow;
}

.lion-hero__cta:hover {
    color: #274f52;
    background: #c9de79;
    animation-play-state: paused;
}

.lion-hero__cta::before {
    content: "";
    width: clamp(34px, 4vw, 58px);
    height: clamp(34px, 4vw, 58px);
    background: url('/static/img/lion_cup/大獅盃_按鈕符號.webp') center / contain no-repeat;
    filter: none;
}

.anim-fade-up,
.anim-fade-right {
    opacity: 0;
}

.anim-fade-up {
    transform: translate3d(0, 28px, 0);
}

.anim-fade-right {
    transform: translate3d(24px, 0, 0);
}

.anim-fade-up.in-view,
.anim-fade-right.in-view {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: opacity 780ms ease, transform 780ms cubic-bezier(0.22, 1, 0.36, 1);
}

.anim-fade-right.in-view {
    transition-delay: 120ms;
}

@keyframes lion-cta-float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes lion-cta-glow {

    0%,
    100% {
        box-shadow: 0 10px 30px rgba(25, 59, 63, 0.24);
    }

    50% {
        box-shadow: 0 18px 36px rgba(25, 59, 63, 0.36);
    }
}

@keyframes lion-soft-float {

    0%,
    100% {
        transform: translate3d(0, 0, 0);
    }

    50% {
        transform: translate3d(0, -8px, 0);
    }
}

@keyframes lion-mascot-bounce-in {
    0% {
        opacity: 0;
        transform: translate3d(0, 70px, 0) scale(0.74);
    }

    55% {
        opacity: 1;
        transform: translate3d(0, -18px, 0) scale(1.06);
    }

    78% {
        transform: translate3d(0, 8px, 0) scale(0.98);
    }

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

@keyframes lion-mascot-hop {

    0%,
    100% {
        transform: translate3d(0, 0, 0) rotate(0deg);
    }

    40% {
        transform: translate3d(0, -10px, 0) rotate(-1.1deg);
    }

    65% {
        transform: translate3d(0, -6px, 0) rotate(0.8deg);
    }
}

.lion-js .lion-reveal {
    --lion-delay: 0ms;
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition: opacity 760ms ease, transform 760ms cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--lion-delay);
    will-change: transform, opacity;
}

.lion-js .lion-reveal--left {
    transform: translate3d(-26px, 0, 0);
}

.lion-js .lion-reveal--right {
    transform: translate3d(26px, 0, 0);
}

.lion-js .lion-reveal.is-in {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.lion-section--mint {
    background: var(--lion-mint);
}

.lion-section--light {
    background: var(--lion-white);
    color: var(--lion-ink);
}

.lion-section--light .lion-section__title {
    color: var(--lion-ink);
}

.lion-section--white {
    background: var(--lion-white);
    color: var(--lion-ink);
}

.lion-section--white .lion-section__title {
    color: var(--lion-ink);
}

.lion-section__subtitle {
    text-align: center;
    font-size: clamp(1.3rem, 1.8vw, 1.55rem);
    font-weight: 600;
    color: inherit;
    margin: -12px auto 28px;
    opacity: 0.85;
}

.lion-section__lead {
    text-align: center;
    max-width: 900px;
    font-size: clamp(1.25rem, 1.7vw, 1.55rem);
    line-height: 1.7;
    margin: 0 auto 6px;
}

.lion-section__lead:last-of-type {
    margin-bottom: 36px;
}

.lion-intro-deco {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
}

.lion-intro-deco--1 {
    width: clamp(80px, 10vw, 130px);
    height: clamp(80px, 10vw, 130px);
    background: #3a8a82;
    left: 8%;
    bottom: 10%;
}

.lion-intro-deco--2 {
    width: clamp(50px, 6vw, 80px);
    height: clamp(50px, 6vw, 80px);
    background: rgba(255, 255, 255, 0.18);
    left: 14%;
    bottom: 6%;
}

#introduction .container {
    position: relative;
    z-index: 1;
}

#introduction {
    overflow: visible;
    z-index: 2;
}

.lion-intro__mascot {
    position: absolute;
    right: 5%;
    bottom: -200px;
    width: clamp(230px, 24vw, 380px);
    z-index: 3;
    pointer-events: none;
    transform-origin: 50% 100%;
    filter: drop-shadow(0 12px 20px rgba(23, 53, 63, 0.22));
}

.lion-js .lion-intro__mascot {
    opacity: 0;
    transform: translate3d(0, 46px, 0) scale(0.82);
}

.lion-js .lion-intro__mascot.is-bounced {
    animation: lion-mascot-bounce-in 920ms cubic-bezier(0.17, 0.84, 0.42, 1.15) both,
        lion-mascot-hop 4.8s ease-in-out 1.1s infinite;
}

.lion-tool-card {
    position: relative;
    background: #fff;
    border-radius: 32px;
    color: var(--lion-ink);
    padding: 32px;
    display: grid;
    gap: 24px;
    box-shadow: var(--lion-shadow);
    max-width: 90%;
    margin: 0 auto;
    overflow: visible;
}

.lion-tool-card__media {
    position: relative;
    min-height: 280px;
}

.lion-tool-card__photo {
    position: absolute;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 10px 26px rgba(21, 52, 62, 0.2);
}

.lion-tool-card__photo--1 {
    width: min(210px, 62%);
    aspect-ratio: 1;
    left: -10%;
    top: 0;
    z-index: 2;
}

.lion-tool-card__photo--2 {
    width: min(170px, 52%);
    aspect-ratio: 1;
    left: 18%;
    bottom: -8%;
    z-index: 1;
}


.lion-tool-card__label {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 6px;
    color: var(--lion-ink);
}

.lion-tool-card__brand {
    display: inline-block;
    background: var(--lion-accent);
    color: var(--lion-ink);
    font-size: 1.8rem;
    font-weight: 900;
    padding: 6px 22px;
    border-radius: 8px;
    margin: 0 0 12px;
}

.lion-tool-card__desc {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.5;
    margin: 0 0 10px;
    color: var(--lion-ink);
}

.lion-tool-card__body ul {
    margin: 0;
    padding-left: 0;
    list-style: none;
}

.lion-tool-card__body ul li {
    position: relative;
    padding-left: 18px;
    margin-bottom: 3px;
    font-size: 1.05rem;
    line-height: 1.5;
    color: #3a5a5e;
}

.lion-tool-card__body ul li::before {
    content: "・";
    position: absolute;
    left: 0;
}

.lion-object__grid {
    display: grid;
    gap: 28px;
    align-items: center;
    margin-bottom: clamp(52px, 6vw, 86px);
}

.lion-object__grid h3 {
    display: inline-block;
    font-size: clamp(1.8rem, 2.2vw, 2.2rem);
    font-weight: 800;
    margin-bottom: 12px;
    padding: 2px 10px 4px;
    background: var(--lion-accent);
    color: var(--lion-ink);
}

.lion-object__grid p {
    font-size: clamp(1.3rem, 1.75vw, 1.6rem);
    line-height: 1.6;
    color: #3a5a5e;
    margin-bottom: 20px;
}

.lion-object__image {
    width: 100%;
    display: block;
    min-height: 260px;
    object-fit: cover;
    border-radius: var(--lion-radius);
    border: #1d5d63 2px solid;
    box-shadow: 0 10px 22px rgba(23, 53, 63, 0.12);
}

.lion-object__divider {
    width: calc(100% - 56px);
    margin: 0 auto clamp(34px, 4vw, 52px);
    border-top: 7px dotted #1d5d63;
    opacity: 0.9;
}

.lion-section__shape {
    position: absolute;
    left: 0;
    width: 100%;
    pointer-events: none;
    z-index: 0;
}

.lion-section__shape--top {
    top: -170px;
}

.lion-section__shape--timeline {
    top: -220px;
    opacity: 0.8;
}

#object .container,
#group .container,
#timeline .container {
    position: relative;
    z-index: 2;
}

#object,
#group,
#timeline {
    --lion-shape-connector-gap: 34px;
}

#group {
    background: var(--lion-mint-pale);
}

#object::before,
#group::before,
#timeline::before {
    content: "";
    position: absolute;
    left: 0;
    top: calc(-1 * var(--lion-shape-connector-gap) - 2px);
    width: 100%;
    height: calc(var(--lion-shape-connector-gap) + 4px);
    z-index: 1;
    pointer-events: none;
}

#object::before {
    background: var(--lion-mint);
}

#group::before {
    background: var(--lion-mint);
}

#timeline::before {
    background: var(--lion-white);
}

#object .lion-section__shape--top {
    top: -20px;
    height: 100%;
    width: 100%;
    left: 0;
}

#group .lion-section__shape--group {
    top: -128px;
    opacity: 0.98;
}

#object {
    margin-top: -1px;
    background: linear-gradient(to bottom,
            var(--lion-mint) 0,
            var(--lion-mint) clamp(170px, 18vw, 250px),
            var(--lion-white) clamp(170px, 18vw, 250px),
            var(--lion-white) 100%);
    overflow: visible;
    padding-bottom: clamp(112px, 12vw, 168px);
}

#object .lion-object {
    padding-top: clamp(12px, 2vw, 24px);
}

#object .lion-section__subtitle {
    display: block;
    width: fit-content;
    padding: 4px 12px 6px;
    background: var(--lion-accent);
    color: var(--lion-ink);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: clamp(36px, 4vw, 54px);
    opacity: 1;
}

#timeline {
    background:
        url('/static/img/lion_cup/大獅盃_底圖2.webp') top center / 100% auto no-repeat,
        var(--lion-white);
    padding-top: clamp(118px, 14vw, 150px);
}

#group .container {
    position: relative;
    padding-top: 88px;
}

#group .container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    right: 28px;
    border-top: 7px dotted #1d5d63;
    opacity: 0.9;
}

.lion-group-grid {
    display: grid;
    gap: 34px;
    margin-top: 34px;
    align-items: start;
}

.lion-group-card {
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 12px 18px 0;
    box-shadow: none;
    text-align: center;
}

.lion-group-card__icon {
    width: clamp(150px, 16vw, 220px);
    height: clamp(150px, 16vw, 220px);
    object-fit: contain;
    margin: 0 auto 20px;
    animation: lion-soft-float 5s ease-in-out infinite;
}

.lion-group-card:nth-child(2) .lion-group-card__icon {
    animation-delay: 240ms;
}

.lion-group-card:nth-child(3) .lion-group-card__icon {
    animation-delay: 480ms;
}

.lion-group-card h3 {
    display: inline-block;
    font-size: clamp(2rem, 3.2vw, 3rem);
    font-weight: 800;
    line-height: 1.05;
    color: #1b555b;
    margin: 0 0 28px;
    padding: 0 10px;
    background: linear-gradient(transparent 58%, var(--lion-accent) 58%);
}

.lion-group-card p {
    font-size: clamp(1.7rem, 2vw, 2.25rem);
    font-weight: 500;
    line-height: 1.35;
    color: #1b555b;
    margin: 0 0 28px;
    white-space: nowrap;
}

.lion-group-card__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    margin-top: 0;
}

.lion-group-card__actions .lion-btn {
    position: relative;
    width: min(100%, 286px);
    justify-content: center;
    padding: 14px 28px 14px 18px;
    font-size: clamp(1.1rem, 1.5vw, 1.35rem);
    font-weight: 800;
    line-height: 1.2;
    box-shadow: 0 10px 20px rgba(25, 71, 76, 0.14);
}

.lion-group-card__actions .lion-btn__icon {
    position: absolute;
    left: 18px;
    width: 36px;
    height: 36px;
    background:
        url('/static/img/lion_cup/大獅盃_按鈕符號.webp') center / 36px 36px no-repeat;
}

.lion-group-card__actions .lion-btn__label {
    display: block;
    width: 100%;
    text-align: center;
}

.lion-group-card__actions .lion-btn--dark {
    background: #1d5d63;
    color: #ffffff;
}

.lion-group-card__actions .lion-btn--dark:hover {
    background: #174b50;
}

.lion-group-card__actions .lion-btn--ghost {
    background: #47c6bc;
    border-color: transparent;
    color: #ffffff;
}

.lion-group-card__actions .lion-btn--ghost:hover {
    background: #39b6ad;
    color: #ffffff;
}

.lion-center {
    text-align: center;
}

.lion-center p {
    margin: 0;
    color: #d9e7e1;
    font-size: clamp(1.5rem, 2vw, 2rem);
    font-weight: 600;
    line-height: 1.6;
}

#place .lion-center p {
    color: var(--lion-ink);
}

.lion-timeline {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    margin-top: 44px;
}

.lion-timeline__item {
    position: relative;
    display: grid;
    justify-items: center;
    align-content: start;
    text-align: center;
    gap: 18px;
    min-height: 100%;
}

.lion-timeline__icon {
    width: clamp(132px, 14vw, 180px);
    height: clamp(132px, 14vw, 180px);
    object-fit: contain;
    animation: lion-soft-float 4.6s ease-in-out infinite;
}

.lion-timeline__item:nth-child(even) .lion-timeline__icon {
    animation-delay: 300ms;
}

.lion-timeline__label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 60px;
    padding: 10px 28px;
    border-radius: 999px;
    background: #1d5d63;
    box-shadow: 0 6px 12px rgba(29, 93, 99, 0.18);
    font-size: clamp(1.05rem, 1.7vw, 1.55rem);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
    white-space: nowrap;
}

.lion-timeline__date {
    font-size: clamp(1.1rem, 2vw, 1.75rem);
    font-weight: 500;
    line-height: 1.35;
    color: #101418;
}

.lion-timeline__item::after {
    display: none;
    content: "";
    position: absolute;
    top: 52px;
    right: -25px;
    width: 30px;
    height: 30px;
    background: var(--lion-mint);
    clip-path: polygon(0 20%, 0 80%, 100% 50%);
    filter: drop-shadow(0 4px 8px rgba(29, 93, 99, 0.12));
}

.lion-timeline__item:last-child::after {
    display: none;
}

.lion-workshop-grid,
.lion-cost-grid {
    display: grid;
    gap: 22px;
}

.lion-workshop-card {
    display: grid;
    gap: 26px;
    align-items: center;
    background: transparent;
    border: 0;
    border-radius: 0;
    padding: 0;
}

.lion-workshop-card__media,
.lion-workshop-card__body {
    min-width: 0;
}

.lion-workshop-card__image {
    width: 100%;
    border-radius: 30px;
    object-fit: cover;
    display: block;
    box-shadow: 0 10px 26px rgba(23, 53, 63, 0.18);
    transition: transform 360ms ease, box-shadow 360ms ease;
}

.lion-workshop-card:hover .lion-workshop-card__image {
    transform: translate3d(0, -5px, 0) scale(1.01);
    box-shadow: 0 16px 32px rgba(23, 53, 63, 0.2);
}

.lion-workshop-card__body {
    color: #ffffff;
}

.lion-workshop-card__heading {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 14px;
}

.lion-workshop-card h3 {
    display: inline-flex;
    align-items: center;
    color: var(--lion-ink);
    font-size: clamp(1.9rem, 3vw, 2.85rem);
    font-weight: 800;
    line-height: 1.08;
    margin: 0;
    padding: 4px 16px;
    background: var(--lion-accent);
}

.lion-workshop-card p {
    margin: 0;
    font-size: clamp(1.5rem, 2.1vw, 2.2rem);
    line-height: 1.55;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.96);
}

.lion-workshop-card__logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    flex: 0 0 44px;
}

.lion-cost-grid article {
    background: transparent;
    color: var(--lion-ink);
    border-radius: 0;
    padding: 0;
    text-align: center;
    overflow: hidden;
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.lion-cost-grid article:hover {
    transform: translate3d(0, -4px, 0);
    box-shadow: 0 12px 24px rgba(23, 53, 63, 0.12);
}

.lion-cost-grid h3 {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 78px;
    margin: 0 0 12px;
    padding: 12px 16px;
    background: #53aab6;
    color: #ffffff;
    font-size: clamp(1.6rem, 2.2vw, 2.25rem);
    font-weight: 800;
}

.lion-cost-grid p {
    display: flex;
    align-items: baseline;
    justify-content: center;
    min-height: 96px;
    margin: 0;
    padding: 16px 20px;
    background: #ece1bf;
    font-size: clamp(2.1rem, 3vw, 3rem);
    font-weight: 900;
    color: #3faab5;
    gap: 8px;
}

.lion-cost-note {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-top: 22px;
    font-size: clamp(1.35rem, 1.9vw, 1.9rem);
    font-weight: 700;
    color: var(--lion-ink);
}

.lion-cost-note img {
    width: 42px;
    height: 42px;
}

.lion-carousel {
    position: relative;
    border-radius: 20px;
    border: 2px solid rgba(73, 190, 178, 0.22);
    background: #eef7f4;
    box-shadow: 0 12px 28px rgba(23, 53, 63, 0.08);
    overflow: hidden;
}

.lion-carousel__viewport {
    overflow: hidden;
    border-radius: 18px;
}

.lion-carousel__track {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    transition: transform 520ms cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
}

.lion-carousel__slide {
    flex: 0 0 100%;
    min-width: 0;
    position: relative;
    aspect-ratio: 16 / 9;
    background: #d8ece8;
}

.lion-carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.lion-carousel__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.92);
    color: #274f52;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 18px rgba(23, 53, 63, 0.18);
    transition: transform 0.2s ease, background 0.2s ease;
    z-index: 2;
}

.lion-carousel__arrow:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.06);
}

.lion-carousel__arrow:focus-visible {
    outline: 2px solid #49beb2;
    outline-offset: 2px;
}

.lion-carousel__arrow--prev {
    left: 14px;
}

.lion-carousel__arrow--next {
    right: 14px;
}

.lion-carousel__dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 14px;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 2;
}

.lion-carousel__dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.65);
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.lion-carousel__dot.is-active {
    background: #49beb2;
    transform: scale(1.2);
}

.lion-carousel__dot:focus-visible {
    outline: 2px solid #49beb2;
    outline-offset: 2px;
}

.lion-form__hint {
    color: var(--lion-ink);
    font-size: 1.15rem;
    text-align: center;
    margin-bottom: 18px;
}

.lion-section--form .lion-section__title {
    font-size: clamp(2.3rem, 4.6vw, 3.5rem);
}

.lion-alert-wrap {
    margin-bottom: 16px;
}

.lion-alert {
    padding: 12px 14px;
    border-radius: 10px;
    margin-bottom: 10px;
    font-weight: 600;
}

.lion-alert--success {
    background: rgba(125, 215, 171, 0.25);
    border: 1px solid rgba(125, 215, 171, 0.5);
}

.lion-alert--error {
    background: rgba(255, 129, 129, 0.18);
    border: 1px solid rgba(255, 129, 129, 0.45);
}

.lion-form {
    background: #f7fbfa;
    border: 1px solid rgba(73, 190, 178, 0.22);
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 14px 30px rgba(23, 53, 63, 0.08);
}

.lion-form__grid {
    display: grid;
    gap: 14px;
}

.lion-form__field label {
    display: block;
    margin-bottom: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--lion-ink);
}

.lion-form__input {
    width: 100%;
    border-radius: 999px;
    border: 2px solid rgba(99, 181, 166, 0.45);
    background: #ffffff;
    color: var(--lion-ink);
    padding: 10px 14px;
    outline: none;
}

.lion-form__input:focus {
    border-color: var(--lion-accent);
    box-shadow: 0 0 0 3px rgba(198, 214, 110, 0.2);
}

.lion-form__textarea {
    border-radius: 18px;
    resize: vertical;
    min-height: 100px;
}

.lion-form__field .errorlist {
    list-style: none;
    margin: 6px 0 0;
    padding: 0;
    color: #b94747;
    font-size: 0.9rem;
}

#record .container {
    position: relative;
    padding-top: 66px;
}

#record .container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 28px;
    right: 28px;
    border-top: 7px dotted #1d5d63;
    opacity: 0.9;
}

.lion-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 10px 22px;
    border: 1px solid transparent;
    font-size: 0.95rem;
    font-weight: 700;
    transition: all 0.25s ease;
}

.lion-btn:hover {
    transform: translateY(-1px);
}

.lion-btn--primary {
    background: var(--lion-accent);
    color: #1b2e35;
}

.lion-btn--primary:hover {
    color: #1b2e35;
    background: #d4e57b;
}

.lion-btn--dark {
    background: #1d4e54;
    color: #fff;
}

.lion-btn--dark:hover {
    color: #fff;
    background: #245f66;
}

.lion-btn--ghost {
    background: transparent;
    color: #1d4e54;
    border-color: #1d4e54;
}

.lion-btn--ghost:hover {
    color: #fff;
    background: #1d4e54;
}

.lion-form__submit {
    margin: 24px auto 0;
    width: fit-content;
    min-width: min(100%, 320px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    padding: 12px 34px 12px 18px;
    background: var(--lion-mint);
    color: #ffffff;
    font-size: clamp(1.9rem, 2.8vw, 2.5rem);
    font-weight: 800;
    line-height: 1;
    box-shadow: 0 12px 24px rgba(51, 160, 152, 0.2);
}

.lion-form__submit:hover {
    background: #44b7ac;
    color: #ffffff;
}

.lion-form__submit .lion-btn__icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    border-radius: 50%;
    background:
        url('/static/img/lion_cup/大獅盃_按鈕符號.webp') center / 36px 36px no-repeat;
}

.lion-form__submit .lion-btn__label {
    line-height: 1;
}

@media (min-width: 768px) {

    .lion-object__grid {
        grid-template-columns: 1.15fr 1fr;
    }

    .lion-tool-card {
        grid-template-columns: 0.75fr 1.25fr;
        padding: 28px 36px 40px;
        gap: 20px;
    }

    .lion-group-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lion-workshop-grid,
    .lion-cost-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lion-workshop-grid {
        gap: 36px;
    }

    .lion-workshop-card {
        grid-column: 1 / -1;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 34px;
    }

    .lion-workshop-card--reverse .lion-workshop-card__media {
        order: 2;
    }

    .lion-workshop-card--reverse .lion-workshop-card__body {
        order: 1;
    }

    .lion-cost-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lion-timeline {
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 18px;
    }

    .lion-timeline__item::after {
        display: block;
    }

    .lion-form__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .lion-form__field--full {
        margin-top: 8px;
    }
}

@media (max-width: 1200px) {
    .lion-hero__title {
        max-width: 90%;
        padding: 16px 34px 16px 38px;
    }

    .lion-hero__main-img {
        left: 3.5%;
        width: min(66vw, 820px);
        max-width: 77%;
    }

    .lion-hero__gear-img {
        right: 24%;
        width: min(16vw, 200px);
    }
}

@media (max-width: 1023px) {
    .lion-timeline {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .lion-timeline__item::after {
        display: none;
    }
}

@media (max-width: 767px) {
    #group .container {
        padding-top: 58px;
    }

    #group .container::before {
        left: 20px;
        right: 20px;
        border-top-width: 5px;
    }

    .lion-section__title {
        font-size: clamp(2rem, 8vw, 2.9rem);
    }

    .lion-hero {
        padding: 16px 0 18px;
        min-height: auto;
        display: flex;
        align-items: flex-start;
    }

    .lion-cup-page .lion-hero__stage {
        min-height: auto;
    }

    .lion-hero__bg {
        height: 100%;
        object-fit: cover;
        object-position: center bottom;
    }

    .lion-hero__title {
        font-size: clamp(1.6rem, 9vw, 2.4rem);
        padding: 12px 20px 12px 20px;
        white-space: normal;
        max-width: 96%;
    }

    .lion-hero__visual {
        min-height: auto;
        margin-top: 14px;
    }

    .lion-hero__main-img {
        position: relative;
        left: 0;
        bottom: auto;
        width: 95%;
        max-width: none;
        margin: 0 auto;
    }

    .lion-hero__gear-img {
        right: 7%;
        top: 6%;
        width: 98px;
    }

    .lion-hero__cta {
        position: absolute;
        right: clamp(18px, 8vw, 48px);
        bottom: clamp(8px, 4vw, 28px);
        margin: 0;
        padding: 14px 24px;
        font-size: 1.5rem;
    }

    .lion-tool-card {
        max-width: 95%;
    }

    .lion-tool-card__media {
        min-height: 220px;
    }

    .lion-tool-card__photo--1 {
        width: 55%;
        left: 2%;
    }

    .lion-tool-card__photo--2 {
        width: 45%;
        left: 25%;
    }

    .lion-tool-card__brand {
        font-size: 1.2rem;
    }

    .lion-intro__mascot {
        width: 150px;
        right: 4%;
        bottom: -52px;
        padding: 8px;
        border-width: 3px;
        border-radius: 24px;
    }

    .lion-group-grid {
        gap: 24px;
    }

    .lion-object__grid {
        margin-bottom: 42px;
    }

    .lion-object__divider {
        width: calc(100% - 40px);
        margin-bottom: 28px;
        border-top-width: 5px;
    }

    .lion-group-card {
        padding-left: 0;
        padding-right: 0;
    }

    .lion-group-card__icon {
        width: 132px;
        height: 132px;
        margin-bottom: 16px;
    }

    .lion-group-card h3 {
        font-size: 2.05rem;
        margin-bottom: 20px;
    }

    .lion-group-card p {
        font-size: 1.45rem;
        margin-bottom: 20px;
        white-space: normal;
    }

    .lion-group-card__actions .lion-btn {
        width: min(100%, 300px);
        gap: 12px;
        padding: 13px 22px 13px 16px;
        font-size: 1.05rem;
    }

    .lion-group-card__actions .lion-btn__icon {
        width: 46px;
        height: 46px;
        flex-basis: 46px;
        background-size: 20px 20px;
    }

    #object,
    #group,
    #timeline {
        --lion-shape-connector-gap: 24px;
    }

    #object .lion-section__shape--top {
        top: -20px;
    }

    #group .lion-section__shape--group {
        top: -84px;
    }

    #timeline .lion-section__shape--timeline {
        top: -82px;
    }

    #timeline {
        background-size: 180% auto;
        padding-top: 96px;
    }

    .lion-timeline {
        gap: 22px;
        margin-top: 36px;
    }

    .lion-timeline__item {
        gap: 14px;
    }

    .lion-timeline__label {
        min-height: 54px;
        padding: 10px 22px;
        white-space: normal;
    }

    .lion-timeline__date {
        font-size: 1.5rem;
    }

    .lion-timeline__item::after {
        display: none;
    }

    .lion-workshop-card__image {
        aspect-ratio: 16 / 10;
    }

    .lion-workshop-card {
        gap: 18px;
    }

    .lion-workshop-card__heading {
        gap: 12px;
        margin-bottom: 10px;
    }

    .lion-workshop-card__logo {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
    }

    .lion-workshop-card h3 {
        font-size: 1.95rem;
        padding: 3px 10px;
    }

    .lion-workshop-card p {
        font-size: 1.35rem;
    }

    /* Mobile final overrides: stabilize layout and spacing section by section */
    .lion-cup-page .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .lion-section {
        padding: 64px 0;
    }

    .lion-section__title {
        font-size: clamp(1.95rem, 8vw, 2.6rem);
        margin-bottom: 16px;
    }

    .lion-section__title span {
        letter-spacing: 0.12em;
        margin-bottom: 4px;
    }

    .lion-section--form .lion-section__title {
        font-size: clamp(1.72rem, 7vw, 2.25rem);
    }

    .lion-section__subtitle {
        font-size: 1.1rem;
        margin-bottom: 24px;
    }

    .lion-section__lead {
        font-size: 1.02rem;
        line-height: 1.65;
    }

    .lion-cup-page .lion-hero__stage {
        --lion-hero-stage-offset: 0;
        padding-left: 16px;
        padding-right: 16px;
    }

    .lion-hero__title {
        font-size: clamp(1.35rem, 7vw, 2rem);
        border-radius: 0 999px 999px 0;
        margin-left: -16px;
        margin-right: auto;
        text-align: left;
        padding: 10px 18px;
    }

    .lion-hero__visual {
        width: min(100%, 430px);
        margin: 12px auto 0;
    }

    .lion-hero__main-img {
        width: 100%;
        margin: 0 auto;
    }

    .lion-hero__gear-img {
        display: none;
    }

    .lion-hero__cta {
        right: 8px;
        bottom: 10px;
        padding: 12px 20px;
        font-size: clamp(1.12rem, 5vw, 1.35rem);
    }

    #introduction {
        padding-bottom: 74px;
    }

    .lion-intro-deco,
    .lion-intro__mascot {
        display: none;
    }

    .lion-tool-card {
        max-width: 100%;
        border-radius: 20px;
        padding: 20px 18px;
    }

    .lion-tool-card__media {
        min-height: auto;
        display: grid;
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .lion-tool-card__photo {
        position: relative;
        left: auto;
        top: auto;
        bottom: auto;
        width: 100%;
        aspect-ratio: 4 / 3;
        border-radius: 18px;
    }

    .lion-tool-card__photo--2 {
        display: none;
    }

    .lion-tool-card__brand {
        font-size: 1.35rem;
        padding: 5px 14px;
    }

    .lion-tool-card__desc {
        font-size: 1rem;
    }

    .lion-tool-card__body ul li {
        font-size: 0.95rem;
    }

    #object {
        padding-bottom: 84px;
    }

    #object .lion-object {
        padding-top: 4px;
    }

    #object .lion-section__shape--top {
        top: -8px;
        height: auto;
    }

    .lion-object__grid {
        grid-template-columns: 1fr;
        gap: 18px;
        margin-bottom: 34px;
    }

    .lion-object__grid h3 {
        font-size: 1.7rem;
    }

    .lion-object__grid p {
        font-size: 1.28rem;
        line-height: 1.55;
        margin-bottom: 16px;
    }

    .lion-object__image {
        min-height: 0;
    }

    .lion-object__divider {
        width: 100%;
        margin-bottom: 26px;
    }

    .lion-group-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 22px;
    }

    .lion-group-card__icon {
        width: 110px;
        height: 110px;
    }

    .lion-group-card h3 {
        font-size: 1.8rem;
        margin-bottom: 14px;
    }

    .lion-group-card p {
        font-size: 1.25rem;
        margin-bottom: 14px;
    }

    .lion-group-card__actions .lion-btn {
        width: 100%;
        max-width: 320px;
        font-size: 1rem;
        padding: 11px 16px;
    }

    #place .lion-center p {
        font-size: 1.25rem;
        line-height: 1.5;
    }

    #timeline {
        background-size: 150% 120%;
        background-position: center -34px;
        padding-top: 74px;
    }

    .lion-timeline {
        gap: 18px;
        margin-top: 24px;
    }

    .lion-timeline__icon {
        width: 106px;
        height: 106px;
    }

    .lion-timeline__label {
        font-size: 1.2rem;
        min-height: 48px;
        padding: 8px 16px;
    }

    .lion-timeline__date {
        font-size: 1.15rem;
    }

    .lion-workshop-grid {
        gap: 24px;
    }

    .lion-workshop-card {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .lion-workshop-card--reverse .lion-workshop-card__media,
    .lion-workshop-card--reverse .lion-workshop-card__body {
        order: initial;
    }

    .lion-workshop-card__body {
        text-align: center;
    }

    .lion-workshop-card__heading {
        gap: 10px;
        justify-content: center;
    }

    .lion-workshop-card__logo {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
    }

    .lion-workshop-card h3 {
        font-size: 1.6rem;
        padding: 2px 8px;
    }

    .lion-workshop-card p {
        font-size: 1.15rem;
        line-height: 1.5;
    }

    .lion-workshop-card__image {
        border-radius: 20px;
    }

    .lion-cost-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .lion-cost-grid h3 {
        min-height: 58px;
        font-size: 1.5rem;
        margin-bottom: 8px;
    }

    .lion-cost-grid p {
        min-height: 72px;
        font-size: 2rem;
        padding: 12px;
    }

    .lion-cost-note {
        font-size: 1.05rem;
        text-align: left;
        justify-content: flex-start;
        gap: 6px;
    }

    .lion-cost-note img {
        width: 28px;
        height: 28px;
    }

    #record .container {
        padding-top: 42px;
    }

    #record .container::before {
        left: 16px;
        right: 16px;
        border-top-width: 5px;
    }

    .lion-carousel {
        border-radius: 16px;
    }

    .lion-carousel__arrow {
        width: 38px;
        height: 38px;
    }

    .lion-carousel__arrow--prev {
        left: 8px;
    }

    .lion-carousel__arrow--next {
        right: 8px;
    }

    .lion-carousel__dots {
        bottom: 10px;
    }

    #signup-form .lion-form {
        padding: 16px;
    }

    #signup-form .lion-form__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    #signup-form .lion-form__field label {
        font-size: 1.05rem;
    }

    #signup-form .lion-form__hint {
        font-size: 1.05rem;
        margin-bottom: 14px;
    }

    #signup-form .lion-form__submit {
        width: 100%;
        max-width: 320px;
        margin-top: 18px;
        font-size: 1.75rem;
        padding: 10px 16px;
        gap: 10px;
    }

    #signup-form .lion-form__submit .lion-btn__icon {
        width: 34px;
        height: 34px;
        flex-basis: 34px;
        background-size: 34px 34px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lion-hero__cta {
        animation: none;
    }

    .anim-fade-up,
    .anim-fade-right,
    .lion-reveal,
    .lion-group-card__icon,
    .lion-timeline__icon,
    .lion-intro__mascot,
    .lion-workshop-card__image,
    .lion-cost-grid article,
    .lion-carousel,
    .lion-carousel__track {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }

    .lion-js .lion-reveal {
        opacity: 1 !important;
    }

    .lion-js .lion-intro__mascot {
        opacity: 1 !important;
    }
}
