/* Third campaign tab and referral content, shared by the static and Next.js copies. */
.tabs { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tab { min-width: 0; }
.tab > span:last-child { min-width: 0; }
.tab strong { overflow-wrap: anywhere; }

.referral-tagline { display: block; margin-top: 8px; color: #f4db9b; font-size: clamp(16px, 2.5vw, 21px); font-weight: 700; line-height: 1.35; }
.referral-intro { max-width: 740px; margin: 24px 0 0; color: #e4d8e6; font-size: 17px; line-height: 1.65; }
.referral-rewards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.referral-reward { display: flex; align-items: center; gap: 15px; min-height: 112px; padding: 20px; border: 1px solid #dcb95d75; border-radius: 13px; box-shadow: inset 0 1px 0 #fff4c22a; }
.referral-reward > span { font-size: 25px; }
.referral-reward p { margin: 0 0 5px; color: #efe5ed; font-weight: 700; }
.referral-reward strong { color: #fff0bb; font-size: clamp(24px, 3vw, 33px); line-height: 1; }
.referral-reward-you { background: linear-gradient(125deg, #214738, #1b2529 70%); }
.referral-reward-friend { background: linear-gradient(125deg, #56351d, #2a1b29 70%); }
.referral-details { margin-top: 20px; padding: 21px 23px; border: 1px solid #dfb95452; border-radius: 12px; background: #1d0d25bd; }
.referral-details h3 { margin: 0 0 14px; color: #ffe49b; font-size: 21px; }
.referral-details ol, .referral-details ul { display: grid; gap: 12px; margin: 0; padding-left: 23px; }
.referral-details li { padding-left: 4px; color: #e4d8e6; line-height: 1.55; }
.referral-details li::marker { color: #e2bd56; font-weight: 800; }
.referral-details li strong { color: #fff1c9; }
.veteran-platform-note { display: flex; justify-content: center; align-items: flex-start; gap: 7px; margin: 18px 0 0; padding-top: 15px; border-top: 1px solid #dfb95438; color: #e4d8e6; font-size: 13px; line-height: 1.45; text-align: center; }
.veteran-platform-note > span:first-child { flex: none; color: #e2bd56; font-size: 17px; line-height: 1; }
.veteran-platform-note strong { color: #fff1c9; font-weight: 800; }
.referral-cta { display: flex; justify-content: center; align-items: center; gap: 12px; width: min(100%, 430px); min-height: 62px; margin: 28px auto 0; padding: 15px 25px; border: 1px solid #ffdc7c; border-radius: 12px; background: linear-gradient(135deg, #f7d981, #d99c36); box-shadow: 0 12px 25px #05010869, inset 0 1px 0 #fff6d6; color: #291909; font-size: 20px; font-weight: 800; text-align: center; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease; }
.referral-cta:hover { transform: translateY(-2px); box-shadow: 0 16px 30px #05010880, inset 0 1px 0 #fff6d6; }
.referral-cta:focus-visible { outline: 3px solid #fff1b6; outline-offset: 4px; }

html[data-theme="light"] .referral-tagline { color: #81530d; }
html[data-theme="light"] .referral-intro, html[data-theme="light"] .referral-details li { color: #554b5a; }
html[data-theme="light"] .referral-reward-you { border-color: #92bba1; background: linear-gradient(125deg, #e6f4e8, #f8fbf3); }
html[data-theme="light"] .referral-reward-friend { border-color: #d9af80; background: linear-gradient(125deg, #fff0d8, #fff9ee); }
html[data-theme="light"] .referral-reward p { color: #453a48; }
html[data-theme="light"] .referral-reward strong { color: #6d4409; }
html[data-theme="light"] .referral-details { border-color: #c49a4c6b; background: #fffdfa; }
html[data-theme="light"] .referral-details h3, html[data-theme="light"] .referral-details li strong { color: #493114; }
html[data-theme="light"] .veteran-platform-note { border-top-color: #c49a4c6b; color: #554b5a; }
html[data-theme="light"] .veteran-platform-note strong { color: #81530d; }
html[data-theme="light"] .referral-cta { color: #291909; }

html[data-theme="night"] .referral-reward-you { border-color: #806e50; background: linear-gradient(125deg, #283328, #20221e); }
html[data-theme="night"] .referral-reward-friend { border-color: #806e50; background: linear-gradient(125deg, #3b3025, #24221e); }
html[data-theme="night"] .referral-details { border-color: #80674770; background: #20211d; }
html[data-theme="night"] .veteran-platform-note { border-top-color: #80674770; color: #e3ddd2; }
html[data-theme="night"] .veteran-platform-note strong { color: #f0ddb0; }

@media (max-width: 760px) {
  .tabs { grid-template-columns: 1fr; }
  .referral-rewards { grid-template-columns: 1fr; }
  .referral-intro { font-size: 15px; }
  .referral-details { padding: 18px; }
  .referral-details li { font-size: 14px; }
  .referral-cta { width: 100%; }
}

/* The Veteran and Raffle panels use the same card rhythm as Referral. */
.campaign-overview { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; margin-top: 24px; }
.campaign-overview :is(.info-card, .example-card) { min-width: 0; min-height: 132px; margin: 0; padding: 22px; border: 1px solid #dfb95465; border-radius: 13px; background: linear-gradient(135deg, #2b1732, #1d0d25); box-shadow: inset 0 1px 0 #fff4c212; }
.campaign-overview :is(.info-card, .example-card) h3 { color: #ffe49b; }
.campaign-overview :is(.info-card, .example-card) p { color: #e4d8e6; }
.campaign-overview--raffle .enrollment { grid-column: 1 / -1; min-height: 0; }
.campaign-awards.veteran-prizes { gap: 13px; }
.campaign-awards.veteran-prizes li:nth-child(n) { min-height: 110px; padding: 20px; border: 1px solid #dfb95465; border-radius: 13px; background: linear-gradient(130deg, #332037, #1d0d25); box-shadow: inset 0 1px 0 #fff4c212; }
.campaign-awards.veteran-prizes li:first-child { border-color: #ebca6e; background: linear-gradient(130deg, #63411e, #2c1930 72%); }
.campaign-awards.veteran-prizes li:nth-child(2) { border-color: #bac0c5; background: linear-gradient(130deg, #414149, #201622 72%); }
.campaign-awards.veteran-prizes li:nth-child(3) { border-color: #ba856b; background: linear-gradient(130deg, #57382f, #251525 72%); }
.campaign-awards.veteran-prizes li > span { flex: none; font-size: 27px; }
.campaign-awards.veteran-prizes li b { color: #ffe49b; font-size: 18px; }
.campaign-awards.veteran-prizes li p { color: #e7dae7; }
.campaign-winners.raffle-winners { margin: 24px 0 0; padding: 22px; border: 1px solid #dfb95465; border-radius: 13px; background: linear-gradient(135deg, #352139, #1d0d25); }
.campaign-winners .section-title { margin-bottom: 6px; }
.campaign-winners .section-title h3 { font-size: 21px; }
.campaign-winners ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 11px; margin: 16px 0 0; padding: 0; list-style: none; }
.campaign-winners li { display: flex; align-items: center; gap: 10px; min-width: 0; padding: 14px; border: 1px solid #dfb95465; border-radius: 10px; background: #1d0d25; color: #fff0d4; font-weight: 700; overflow-wrap: anywhere; }
.campaign-winners li b { display: grid; place-items: center; flex: none; width: 27px; height: 27px; border: 1px solid #e7bf5f; border-radius: 50%; color: #f5d36f; font-size: 12px; }
.campaign-winners .raffle-winners-prize { margin: 15px 0 0; color: #ead7b5; }
.campaign-winners .raffle-winners-prize span { margin-right: 6px; color: #f4d270; font-size: 11px; font-weight: 800; letter-spacing: .7px; text-transform: uppercase; }
.campaign-winners .raffle-winners-prize strong { color: #fff0d4; }
.raffle-prize { padding: 22px; border-radius: 13px; }
.raffle-prize > p:first-child { margin: 0 0 16px; color: #eadce8; font-weight: 700; }
.raffle-prize > .raffle-prize-options { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 12px; }
.raffle-prize-options b { display: grid; place-items: center; min-height: 85px; padding: 16px; border: 1px solid #e7bf5f8c; border-radius: 11px; background: linear-gradient(135deg, #3e2b1c, #2d1733); color: #ffe49b; font-size: 19px; line-height: 1.3; }
.raffle-prize-options i { font-size: 13px; font-weight: 700; }
.raffle-prize > .raffle-discount-note { margin: 16px 0 0; padding: 13px 15px; border-left: 3px solid #e2bd56; border-radius: 0 8px 8px 0; background: #ffffff0b; color: #e4d8e6; font-size: 14px; line-height: 1.55; text-align: left; }

html[data-theme="light"] .campaign-overview :is(.info-card, .example-card), html[data-theme="light"] .campaign-winners.raffle-winners, html[data-theme="light"] .raffle-prize { border-color: #c49a4c80; background: linear-gradient(135deg, #fffdf9, #f6efe5); }
html[data-theme="light"] .campaign-overview :is(.info-card, .example-card) h3, html[data-theme="light"] .campaign-winners .section-title h3 { color: #493114; }
html[data-theme="light"] .campaign-overview :is(.info-card, .example-card) p, html[data-theme="light"] .campaign-winners .raffle-winners-prize, html[data-theme="light"] .raffle-prize > p:first-child { color: #554b5a; }
html[data-theme="light"] .campaign-awards.veteran-prizes li:nth-child(n) { border-color: #c49a4c80; background: linear-gradient(135deg, #fffaf0, #f0e2ca); }
html[data-theme="light"] .campaign-awards.veteran-prizes li:first-child { background: linear-gradient(135deg, #ffe9a7, #e7be66); }
html[data-theme="light"] .campaign-awards.veteran-prizes li:nth-child(2) { background: linear-gradient(135deg, #f7f8fa, #d6d9de); }
html[data-theme="light"] .campaign-awards.veteran-prizes li:nth-child(3) { background: linear-gradient(135deg, #f9e0cb, #ddb38f); }
html[data-theme="light"] .campaign-awards.veteran-prizes li:nth-child(n) :is(b, p) { color: #3f3142; }
html[data-theme="light"] .campaign-winners li { border-color: #c49a4c80; background: #fffaf0; color: #392909; }
html[data-theme="light"] .campaign-winners li b { color: #81530d; }
html[data-theme="light"] .campaign-winners .raffle-winners-prize :is(span, strong) { color: #503710; }
html[data-theme="light"] .raffle-prize-options b { border-color: #c49a4c80; background: linear-gradient(135deg, #ffefbd, #f2d999); color: #402b0c; }
html[data-theme="light"] .raffle-prize > .raffle-discount-note { background: #fff3cf; color: #503710; }

html[data-theme="night"] .campaign-overview :is(.info-card, .example-card), html[data-theme="night"] .campaign-winners.raffle-winners, html[data-theme="night"] .raffle-prize { border-color: #80674770; background: linear-gradient(135deg, #2b2b26, #1b1c19); }
html[data-theme="night"] .campaign-awards.veteran-prizes li:nth-child(n) { border-color: #80674770; background: linear-gradient(135deg, #35332c, #20211e); }
html[data-theme="night"] .campaign-winners li { border-color: #80674770; background: #20211e; color: #eeeae2; }
html[data-theme="night"] .raffle-prize-options b { border-color: #a9875b; background: linear-gradient(135deg, #41372b, #292620); color: #f0e4cf; }
html[data-theme="night"] .raffle-prize > .raffle-discount-note { background: #e6bc7530; color: #eee5d6; }

@media (max-width: 760px) {
  .campaign-overview, .campaign-winners ul { grid-template-columns: 1fr; }
  .campaign-overview--raffle .enrollment { grid-column: auto; }
  .campaign-overview :is(.info-card, .example-card) { min-height: 0; padding: 18px; }
  .campaign-awards.veteran-prizes li:nth-child(n) { min-height: 0; padding: 17px; }
  .campaign-winners.raffle-winners { padding: 18px; }
  .raffle-prize > .raffle-prize-options { grid-template-columns: 1fr; gap: 9px; }
  .raffle-prize-options b { min-height: 0; }
}

/* Raffle follows the same reward and steps rhythm as Referral. */
.raffle-prize-heading { display: flex; align-items: center; gap: 10px; }
.raffle-heading-arrow { color: #e8c267; font-size: 27px; font-weight: 700; line-height: 1; }
.raffle-rewards { position: relative; }
.raffle-or { position: absolute; z-index: 1; top: 50%; left: 50%; display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid #dcb95d; border-radius: 50%; background: #29172d; color: #ffe49b; font-size: 12px; font-weight: 800; transform: translate(-50%, -50%); }
.raffle-rewards .referral-reward { min-height: 150px; align-items: stretch; }
.raffle-reward-cash { background: linear-gradient(125deg, #47331d, #2b1930 75%); }
.raffle-reward-commission { background: linear-gradient(125deg, #35243a, #231627 75%); }
.raffle-rewards .raffle-reward-icon { display: grid; place-items: center; flex: none; width: 43px; height: 43px; border: 1px solid #f4d47480; border-radius: 12px; background: #e6bd6530; color: #ffe49b; font-size: 24px; font-weight: 800; }
.raffle-rewards .referral-reward > div { display: flex; flex-direction: column; justify-content: center; min-width: 0; }
.raffle-rewards .referral-reward strong { font-size: clamp(22px, 2.7vw, 30px); line-height: 1.2; }
.raffle-rewards .raffle-reward-commission > div { justify-content: space-between; gap: 18px; }
.raffle-reward-info { display: flex; align-items: flex-start; gap: 7px; color: #eadde8; font-size: 12px; font-weight: 600; line-height: 1.4; }
.raffle-reward-info > span:first-child { flex: none; color: #f2cf70; font-size: 16px; line-height: 1; }
html[data-theme="light"] .raffle-reward-cash { border-color: #d5ad62; background: linear-gradient(125deg, #fff0c8, #fff9ef); }
html[data-theme="light"] .raffle-reward-commission { border-color: #bca3c1; background: linear-gradient(125deg, #f4e9f5, #fff9f0); }
html[data-theme="light"] .raffle-rewards .raffle-reward-icon { border-color: #b48a3f; background: #f8e3ad; color: #68440b; }
html[data-theme="light"] .raffle-reward-info { color: #514657; }
html[data-theme="light"] .raffle-or { background: #fff9ec; color: #68440b; }
html[data-theme="light"] .raffle-reward-info > span:first-child { color: #7b530e; }
html[data-theme="night"] .raffle-reward-cash { border-color: #806e50; background: linear-gradient(125deg, #3a3326, #22221e); }
html[data-theme="night"] .raffle-reward-commission { border-color: #806e50; background: linear-gradient(125deg, #353027, #22211e); }
html[data-theme="night"] .raffle-reward-info { color: #e9e2d7; }
html[data-theme="night"] .raffle-or { background: #20211e; }
@media (max-width: 760px) {
  .raffle-rewards .referral-reward { min-height: 125px; }
  .raffle-or { position: relative; top: auto; left: auto; justify-self: center; margin: -18px 0; transform: none; }
  .raffle-prize-heading h3 { font-size: clamp(18px, 5vw, 22px); }
}
