@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@400;500;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Huninn&display=swap');

/* ===========================
   字型設定
=========================== */
@font-face {
    font-family: '宇文天穹';
    src: url('../fonts/otf/UoqMunThenKhung-Regular.otf') format('opentype');
}

/* ------全域設定------ */
* {
    margin: 0;
    padding: 0;
    font-family: "Noto Sans TC", sans-serif;
    font-optical-sizing: auto;
    font-weight: 550;
    font-style: normal;
}

/* ===========================
   主題顏色與背景
=========================== */
:root {
    /* 全站內容基準寬度；寬螢幕時由下方媒體查詢同步放大 */
    --layout-width: 800px;
    --primary-bg: rgb(33, 42, 90);
    --secondary-bg-page1: #811e9f;
    --secondary-bg-page2: #1878F3;
    --secondary-bg-page3: rgb(6, 199, 85);
    --bg-footer-color: #000;
    --page-btn-hover-bg: linear-gradient(313deg, rgb(133, 208, 213) 0%, rgb(82, 237, 152) 30%, rgb(36, 218, 60) 68%, rgb(143, 240, 134) 100%);
    --page-btn-box-bg: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
}

/* 超過 BN 基準寬度後，讓版面與 rem 尺寸依視窗等比例成長 */
@media (min-width: 801px) {
    :root {
        --layout-width: clamp(800px, 92vw, 1200px);
    }

    html {
        font-size: clamp(16px, calc(16px + (100vw - 800px) * 0.01), 20px);
    }
}

.primary-color {
    background-color: var(--primary-bg);
    background-attachment: fixed;
}

@media (max-width: 768px) {
    .primary-color {
        background-image: none;
    }
}

.secondary-color {
    background-color: rgb(93, 26, 188);
}

.secondary-color-page1{
    background-color: var(--secondary-bg-page1);
}

@media (max-width: 768px) {
    /* No overrides needed at this breakpoint for .secondary-color-page1 */
}

.secondary-color-page2 {
    background-color: var(--secondary-bg-page2);
}

.secondary-color-page3 {
    background-color: var(--secondary-bg-page3);
}

.bg-pageBtn-box {
    background: var(--page-btn-box-bg);
    animation: gradient 15s ease infinite;
    background-size: 400% 400%;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

body {
    /* background.png 圖檔保留於 images 資料夾，目前暫不顯示 */
    background-image: linear-gradient(180deg, #3a1a12 0%, #291522 55%, #14182f 100%);
    background-repeat: no-repeat;
    background-position: center top;
    background-attachment: fixed;
    background-size: cover;
    background-color: #14182f;
    overflow-x: hidden;
}

strong {
    color: yellow;
    font-weight: bold;
}

/* ===========================
   按鈕樣式
=========================== */
.activity-nav {
    position: relative;
    z-index: 1;
    width: min(100%, var(--layout-width));
    margin: 0 auto 1rem;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
}

.activity-nav-row {
    margin-right: calc(-0.5 * var(--bs-gutter-x));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
}

.glass-btn {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 76px;
    padding: 0 clamp(0.75rem, 4.75vw, 2.375rem);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 28px;
    font-family: "Huninn", "Noto Sans TC", sans-serif;
    font-size: clamp(1.1rem, 3.3vw, 1.65rem);
    font-weight: 700;
    letter-spacing: 0;
    color: #667d9b;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.7) 0 8%, transparent 30%),
        linear-gradient(115deg, rgba(242, 188, 255, 0.88), rgba(160, 204, 255, 0.9) 35%, rgba(120, 234, 244, 0.85) 65%, rgba(255, 211, 234, 0.88));
    background-size: 100% 100%, 220% 220%;
    box-shadow:
        inset 0 2px 8px rgba(255, 255, 255, 0.95),
        inset 0 -8px 16px rgba(117, 160, 255, 0.18),
        0 6px 14px rgba(92, 123, 196, 0.25),
        0 0 14px rgba(174, 225, 255, 0.55);
    text-shadow:
        0 0 3px rgba(255, 255, 255, 0.9),
        0 0 6px rgba(255, 255, 255, 0.55);
    transition: transform 0.22s ease, box-shadow 0.22s ease, filter 0.22s ease;
    text-decoration: none;
    line-height: 1.25;
    animation: jelly-iridescence 8s ease-in-out infinite;
}

.glass-btn::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 4px;
    padding: 5px;
    border-radius: 24px;
    background: linear-gradient(175deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0) 28%, rgba(255, 255, 255, 0.1) 100%);
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.glass-btn.active {
    color: #4800ba;
    background:
        radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.8) 0 8%, transparent 30%),
        linear-gradient(115deg, #f054ff 0%, #4f95ff 32%, #1ce5ef 64%, #ff68ba 92%, #ffb15a 97%, #ffe66d 100%);
    background-size: 100% 100%, 220% 220%;
    border-color: rgba(255, 255, 255, 0.98);
    box-shadow:
        inset 0 2px 8px rgba(255, 255, 255, 0.98),
        inset 0 -8px 16px rgba(99, 142, 255, 0.22),
        0 6px 14px rgba(92, 123, 196, 0.28),
        0 0 16px rgba(153, 224, 255, 0.62);
    transform: none;
}

@media (max-width: 768px) {
    .glass-btn {
        font-size: clamp(1.18rem, 3.6vw, 1.7rem);
    }
}

.glass-btn:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 2px 8px rgba(255, 255, 255, 0.95),
        inset 0 -8px 16px rgba(117, 160, 255, 0.15),
        0 9px 20px rgba(92, 123, 196, 0.28),
        0 0 22px rgba(174, 225, 255, 0.75);
    animation:
        jelly-iridescence 8s ease-in-out infinite,
        jelly-glow 1.8s ease-in-out infinite;
}

.glass-btn:active {
    transform: translateY(1px) scale(0.99);
    box-shadow:
        inset 0 3px 10px rgba(96, 122, 191, 0.24),
        inset 0 1px 4px rgba(255, 255, 255, 0.82),
        0 4px 9px rgba(92, 123, 196, 0.22);
}

@keyframes jelly-iridescence {
    0%,
    100% {
        background-position: 0 0, 0% 50%;
    }

    50% {
        background-position: 0 0, 100% 50%;
    }
}

@keyframes jelly-glow {
    0%,
    100% {
        filter:
            saturate(1.08)
            brightness(1.06)
            drop-shadow(0 0 4px rgba(255, 255, 255, 0.72))
            drop-shadow(0 0 7px rgba(92, 229, 255, 0.62));
    }

    50% {
        filter:
            saturate(1.14)
            brightness(1.1)
            drop-shadow(0 0 5px rgba(255, 225, 118, 0.72))
            drop-shadow(0 0 9px rgba(255, 110, 208, 0.62));
    }
}

@media (prefers-reduced-motion: reduce) {
    .glass-btn,
    .glass-btn:hover {
        animation: none;
        transition: none;
    }
}

/* ===========================
   主視覺區塊
=========================== */
.top-img {
    position: relative;
    z-index: 0;
    overflow: visible;
    width: 100%;
}

.top-img-box {
    overflow: visible;
    width: 100%;
}

.top-img-bottom {
    position: relative;
    width: 100%;
    max-width: var(--layout-width);
    aspect-ratio: 4 / 3;
    margin: 0 auto;
    overflow: visible;
    box-shadow: 0 0.6rem 1.4rem rgba(0, 0, 0, 0.24);
}

.top-img-bottom img {
    width: auto;
    max-width: none;
    height: 100%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%) scale(1.32);
    transform-origin: center top;
}

/* ===========================
   主內容區塊
=========================== */
.main-box {
    margin-top: 1.2rem;
    border-radius: 0.5rem;
    box-shadow: 0rem 0.1rem 0.5rem rgb(58, 46, 58);
    border: white 0.2rem solid;

}

.main-box p {
    background-color: #212323;
    /* font-weight: bold; */
    font-size: 1.5rem;
    padding: 1rem;
    text-align: center;
    /* letter-spacing: 2px; */
    max-width: 100%;
    border-radius: 0.5rem;

}

@media (max-width: 768px) {
    .main-box {
        margin-top: 1rem;
        border-radius: 0rem;
        border: none;
        /* background-color: none; */

    }

    .main-box p {
        text-align: center;
        font-size: 1.3rem;
        line-height: 2rem;
        border: none;
        max-width: 100%;
        margin: 0;
        border: #ffffff solid 0.2rem;

    }
}

.main-box img,
.content-img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.box ul li p {
    border: plum 5px solid;
}

.border-plum {
    border: plum 5px solid;

}


/* ===========================
   注意事項列表
=========================== */
.list-box ul li {
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    column-gap: 0.65rem;
    align-items: start;
    font-size: 1.5rem;
    list-style: none;
    line-height: 2rem;
    padding: 1rem 0rem;
}

/* 首頁桌面版注意事項：取消預設縮排並收緊段落間距 */
@media (min-width: 769px) {
    #page1 .notice-section .list-box,
    #page3 .notice-section .list-box {
        padding-right: clamp(0.75rem, 1.5vw, 1.25rem);
        padding-left: clamp(0.75rem, 1.5vw, 1.25rem);
    }

    #page1 .notice-section .list-box ul,
    #page3 .notice-section .list-box ul {
        margin-left: 0;
        padding-left: 0;
    }

    #page1 .notice-section .list-box ul li,
    #page3 .notice-section .list-box ul li {
        padding: 0.4rem 0;
    }
}

@media (max-width: 768px) {
    .list-box {
        padding-top: 1rem;
        padding-right: 0.4rem;
    }

    .list-box ul li {
        grid-template-columns: 14px minmax(0, 1fr);
        column-gap: 0.5rem;
        font-size: 1rem;
        padding: 0rem 0rem 1rem 0rem;
        line-height: 1.5rem;
        letter-spacing: 0.2rem;
    }

    .box ul {
        padding-left: 0;
    }

    .list-box ul {
        padding-left: 0;
    }
}

.list-box ul li img {
    width: 16px;
    max-width: 16px;
    height: auto;
    margin-top: calc((2rem - 16px) / 2);
    margin-bottom: 0;
    margin-right: 0;
    grid-column: 1;
    align-self: start;
}

@media (max-width: 768px) {
    .list-box ul li img {
        width: 14px;
        max-width: 14px;
        margin-top: calc((1.5rem - 14px) / 2);
    }
}

/* ===========================
   Footer & 社交圖示
=========================== */
footer,
.footer {
    background-color: var(--bg-footer-color);
    color: #777;
    font-size: 0.9rem;
    border-top: #e95413 solid 0.5rem;
}

.footer-logo {
    height: 60px;
    width: auto;
}

.footer-divider {
    width: 2px;
    height: 50px;
    background-color: rgb(158, 158, 158);
}

.social-links a,
.social-icon {
    display: inline-block;
    margin: 0 10px;
    font-size: 1.8rem;
    color: #bbb;
    transition: color 0.3s ease, transform 0.3s ease;
}

.social-links a:hover {
    color: white;
    transform: scale(1.2);
}

/* ===========================
   回到頂部 & 跑馬燈
=========================== */
#backToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, transform 0.3s ease, visibility 0.5s;
}

#backToTop.show {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

#backToTop:hover {
    transform: scale(1.1);
}

.marquee {
    width: 100%;
    background: #111;
    color: #fff;
    padding: 8px 0;
    overflow: hidden;
    position: relative;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 1px;
}

.marquee-content {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    animation: marquee 10s linear infinite;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* ===========================
   標題樣式
=========================== */
.title-box {
    margin: auto;
    width: 90%;
    min-height: 10dvh;
    display: flex;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: top center;
}

.title {
    text-align: center;
    margin: auto;
    width: max-content;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    font-size: 2rem;
    min-height: 3rem;
    padding: 0 0.5rem;
}

.title h2 {
    font-size: 2.5rem;
    color: aliceblue;
    font-weight: bold;
    text-shadow: 0px 2px 3px black;
    margin: 0;
    line-height: 1.1;
    white-space: nowrap;
    display: inline-block;
    /* font-family: '宇文天穹', sans-serif; */
}

@media (max-width: 768px) {
    .title-box {
        margin: auto;
        width: 90%;
        min-height: 8dvh;
        display: flex;
        justify-content: center;
        align-items: center;
        background-size: cover;
        background-repeat: no-repeat;
    }

    .title {
        text-align: center;
        margin: auto;
        width: max-content;
        max-width: 100%;
        font-size: 1.8rem;
        min-height: 3rem;
        background-image: none;
        padding: 0 0.25rem;
    }

    .title h2 {
        font-size: 2rem;
        color: aliceblue;
        text-shadow: 3px 3px 2px black;
        white-space: nowrap;
    }
}

/* ===========================
   內文底色框樣式
=========================== */
.content-bg {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    /* padding: 20px; */
}

.page-section {
    display: none;
    max-width: var(--layout-width);
    margin-right: auto;
    margin-left: auto;
}

.page-section.active {
    display: block;
}

.vip-section {
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    padding-right: 1rem;
    padding-left: 1rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.16) 0%, rgba(255,255,255,0.06) 100%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    border-radius: 1rem;
    color: #fff;
}

.vip-section h2 {
    font-weight: bold;
    color: #fff;
}

.vip-section .row {
    align-items: stretch;
}

.vip-section .row > [class*="col-"] {
    display: flex;
}

.vip-card {
    background: linear-gradient(135deg, #30445f 0%, #1f2e44 100%);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 1rem;
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.vip-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.vip-card .card-header {
    background-color: transparent !important;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    font-weight: 700;
    font-size: 1.2rem !important;
    letter-spacing: 0.04em;
}

.vip-card.border-gold {
    border-color: #d6a63a !important;
    box-shadow: 0 0 0 1px rgba(214, 166, 58, 0.45), 0 8px 20px rgba(0, 0, 0, 0.2);
}

.vip-card-black {
    background: linear-gradient(135deg, #111111 0%, #000000 100%);
}

.vip-card-purple {
    background: linear-gradient(135deg, #29133a 0%, #11061b 100%);
}

.vip-card-brown {
    background: linear-gradient(135deg, #3a2218 0%, #1a0e0a 100%);
}

.vip-card-blue {
    background: linear-gradient(135deg, #13233d 0%, #07101f 100%);
}

.vip-card .card-body {
    padding-top: 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.vip-card img {
    max-height: 180px;
    width: auto;
    object-fit: contain;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(255, 214, 102, 0.55));
}

.vip-card .bonus-line {
    margin-top: auto;
}

.vip-card .bonus-line .original,
.vip-card .bonus-line .arrow,
.vip-card small {
    color: #fff;
    font-family: 'Noto Serif TC', serif;
    font-weight: 700;
}

.vip-card .bonus-line {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.vip-card .bonus-line .bonus {
    background: linear-gradient(180deg, rgba(255, 230, 156, 1) 36%, rgba(176, 132, 0, 1) 51%, rgba(230, 193, 115, 1) 94%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
    font-size: 1.6rem !important;
    font-family: 'Noto Serif TC', serif;
    font-weight: 700;
}

.vip-card .bonus-line .original {
    font-size: 1.2rem !important;
}

.vip-card .bonus-line .arrow {
    font-size: 1.25rem !important;
}

.bonus-line {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.bonus-line .original {
    color: #555;
    font-weight: 600;
}

.bonus-line .arrow {
    margin: 0 0.5rem;
    font-size: 1.5rem;
    color: #888;
}

.bonus-line .bonus {
    color: #d9534f;
    /* 紅色強調 */
    font-weight: bold;
}

/* ===========================
   區塊重排與閱讀動線
=========================== */
.event-time-section,
.activity-content-section,
.reward-section,
.social-overview,
.example-section,
.prize-section,
.notice-section {
    overflow: hidden;
}

.event-time-section p,
.activity-content-section p,
.reward-card p,
.example-grid p {
    margin: 0;
    max-width: none;
}

/* 各活動內部的黑色文字區塊不使用白色邊框 */
.event-time-section p,
.activity-content-section p,
.example-grid p {
    border: 0;
}

/* 一般長段落採兩端對齊；時間、標題與短句維持原本置中 */
.activity-content-section p,
.example-grid p,
#user1-Fb,
#user2-Fb,
.notice-section .list-box ul li {
    text-align: justify;
    text-justify: inter-character;
}

.event-time-section p {
    white-space: nowrap;
    font-size: clamp(1rem, 4vw, 1.5rem);
}

.reward-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.reward-card {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    padding: 1rem;
    text-align: center;
}

.reward-card h3 {
    min-height: 4.6rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    line-height: 1.35;
}

/* 每個獲券項目的圖片與說明共用同一個黑色內容框 */
.reward-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    padding: 0.75rem;
    border-radius: 0.5rem;
    background-color: #212323;
}

.reward-media {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 210px;
    margin-bottom: 0.75rem;
}

.reward-media img {
    max-width: 250px;
    max-height: 210px;
    object-fit: contain;
}

.reward-card p {
    height: 9.5rem;
    min-height: 9.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.75rem;
    border: 0;
    border-radius: 0;
    background: transparent;
    line-height: 1.45;
}

.reward-card p span,
.reward-card p strong {
    display: block;
}

.reward-card p span {
    color: #fff;
    font-size: clamp(1.05rem, 1.9vw, 1.18rem);
    line-height: 1.45;
}

.reward-card p strong {
    font-size: clamp(1.22rem, 2.3vw, 1.38rem);
    line-height: 1.45;
}

@media (min-width: 769px) {
    .reward-grid {
        grid-template-columns: 1fr;
        gap: 0.85rem;
    }

    .reward-card {
        display: flex;
        flex-direction: column;
        padding: 1.15rem 1.25rem;
    }

    .reward-card h3 {
        min-height: auto;
        margin-bottom: 0.85rem;
        font-size: clamp(1.5rem, 2.4vw, 1.9rem);
    }

    .reward-content {
        display: grid;
        grid-template-columns: minmax(250px, 0.92fr) minmax(0, 1.08fr);
        align-items: center;
        column-gap: 1.15rem;
        padding: 1rem 1.25rem;
    }

    .reward-media {
        min-height: 300px;
        margin-bottom: 0;
    }

    .reward-media img {
        max-width: min(100%, 350px);
        max-height: 300px;
    }

    .reward-card p {
        height: auto;
        min-height: 300px;
        padding: 0.75rem 1rem;
    }

    .reward-card p span {
        font-size: clamp(1.32rem, 2.15vw, 1.55rem);
    }

    .reward-card p strong {
        font-size: clamp(1.6rem, 2.65vw, 1.95rem);
    }

    .reward-card p span,
    .reward-card p strong {
        white-space: nowrap;
    }
}

.prize-section img {
    display: block;
    width: 100%;
    border-radius: 0.6rem;
}

.social-grid {
    display: grid;
    grid-template-columns: minmax(280px, 0.92fr) minmax(360px, 1.08fr);
    gap: 1rem;
    align-items: stretch;
}

.social-copy {
    display: grid;
    align-content: center;
    gap: 0.75rem;
}

.social-copy h3 {
    margin: 0;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 700;
    text-align: center;
}

.social-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0;
}

.line-content-section .social-banner {
    margin-top: 1rem;
}

.social-banner img {
    border-radius: 0.75rem;
}

.example-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

.notice-section .list-box ul {
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .social-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .reward-grid {
        grid-template-columns: 1fr;
    }

    .reward-card {
        padding: 1rem;
        border-radius: 0.5rem;
    }

    .event-time-section,
    .activity-content-section,
    .reward-section,
    .social-overview,
    .example-section,
    .prize-section,
    .notice-section {
        box-sizing: border-box;
        border: 0.2rem solid #fff;
        border-radius: 0.5rem;
    }

    .reward-card h3 {
        font-size: clamp(1.45rem, 5.4vw, 1.9rem);
        line-height: 1.3;
    }

    .reward-media {
        min-height: 280px;
    }

    .reward-media img {
        max-width: min(86vw, 380px);
        max-height: 280px;
    }

    .reward-card p {
        height: 10rem;
        min-height: 10rem;
    }

    .reward-card p span {
        font-size: clamp(1.15rem, 4.6vw, 1.45rem);
    }

    .reward-card p strong {
        font-size: clamp(1.35rem, 5.4vw, 1.7rem);
    }
}
