body.coupon-page{background:linear-gradient(180deg,#e9f5df 0%,#f7f8f3 420px);color:var(--ink)}
.coupon-page .button{border-radius:999px}
.coupon-page .button svg{width:16px;height:16px}

.coupon-topbar{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:12px;padding:12px clamp(16px,4vw,40px);background:rgba(247,248,243,.92);backdrop-filter:blur(14px);border-bottom:1px solid var(--line);font-size:13px}
.coupon-brand{display:inline-flex;align-items:center;gap:8px;font-weight:700;letter-spacing:.02em}
.coupon-brand img{display:block}
.coupon-topbar-split{width:1px;height:16px;background:var(--line)}
.coupon-topbar-label{color:var(--muted)}
.coupon-back{margin-left:auto;display:inline-flex;align-items:center;gap:6px;color:var(--muted)}
.coupon-back svg{width:14px;height:14px}
.coupon-back:hover{color:var(--green-dark)}

.coupon-main{max-width:760px;margin:0 auto;padding:22px clamp(14px,4vw,28px) 72px}

.coupon-hero{position:relative;border-radius:26px;overflow:hidden;padding:clamp(24px,5vw,44px);background:linear-gradient(180deg,#bfe8f5 0%,#d6f0cf 55%,#a8dd8f 100%);border:1px solid rgba(88,196,60,.3);min-height:380px;display:flex;flex-direction:column;justify-content:flex-start}
.coupon-hero-copy{position:relative;z-index:2;max-width:420px}
.coupon-hero-kicker{margin:0 0 12px;font-family:var(--mono);font-size:10px;letter-spacing:.14em;color:#3f6b52;text-transform:uppercase}
.coupon-hero h1{margin:0 0 14px;font-size:clamp(30px,7vw,46px);line-height:1.14;letter-spacing:-.03em;color:#14351b}
.coupon-hero h1 em{font-style:normal;display:inline-block;padding:2px 10px;background:#14351b;color:#e9f5df;border-radius:8px;transform:rotate(-1.5deg)}
.coupon-hero-desc{margin:0;max-width:360px;font-size:14px;line-height:1.8;color:#2f4a36}
.coupon-hero-art{position:absolute;inset:auto 0 0 auto;width:min(62%,340px);height:78%;pointer-events:none}
.coupon-hero-art img{position:absolute;right:8%;bottom:6%;width:min(74%,230px);height:auto;filter:drop-shadow(0 18px 22px rgba(15,36,22,.2));animation:coupon-float 6s ease-in-out infinite}
.coupon-hero-sun{position:absolute;right:6%;top:0;width:74px;height:74px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#fff3c4,#f7d964)}
.coupon-hero-hill{position:absolute;left:-20%;bottom:-40%;width:120%;height:70%;border-radius:50% 50% 0 0;background:rgba(88,196,60,.34)}
.coupon-hero-tag{position:absolute;right:4%;bottom:12%;display:inline-flex;align-items:center;gap:6px;padding:8px 12px;border-radius:12px;background:#fff;font-size:12px;font-weight:700;color:#2f7d1f;box-shadow:0 10px 24px rgba(15,36,22,.14);transform:rotate(4deg)}
.coupon-hero-tag svg{width:14px;height:14px}
@keyframes coupon-float{0%,100%{translate:0 0}50%{translate:0 -10px}}

.coupon-card{background:#fff;border:1px solid rgba(16,23,18,.08);border-radius:22px;padding:clamp(20px,4vw,30px);margin-top:18px;box-shadow:0 16px 34px rgba(15,36,22,.07)}
.coupon-card h2{margin:0 0 12px;font-size:clamp(21px,4.4vw,26px);letter-spacing:-.02em}
.coupon-card h2 em{font-style:normal;color:#2f7d1f}
.coupon-card p{margin:0;font-size:14px;line-height:1.8;color:var(--muted)}

.coupon-intro{display:grid;grid-template-columns:minmax(0,180px) minmax(0,1fr);gap:22px;align-items:center}
.coupon-intro-art{display:grid;place-items:center}
.coupon-polaroid{position:relative;display:block;width:150px;padding:10px 10px 26px;background:#fff;border:1px solid rgba(16,23,18,.1);border-radius:10px;transform:rotate(-5deg);box-shadow:0 14px 26px rgba(15,36,22,.12)}
.coupon-polaroid img{display:block;width:100%;height:auto;border-radius:6px;background:#eef6e8}
.coupon-polaroid b{position:absolute;left:0;right:0;bottom:6px;text-align:center;font-size:12px;color:#2f7d1f}
.coupon-intro-copy .button{margin-top:18px}
.coupon-intro-copy p{margin-bottom:0}

.coupon-task-desc{margin-bottom:20px!important}
.coupon-task-desc strong{color:var(--green-dark)}

.coupon-ticket{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 108px;border-radius:16px;overflow:hidden;background:linear-gradient(120deg,#f4fadf,#e2f2c4);border:1px solid rgba(88,196,60,.4)}
.coupon-ticket-main{position:relative;padding:22px 20px;display:flex;flex-direction:column;gap:10px}
.coupon-ticket-main:after{content:'';position:absolute;right:-7px;top:0;bottom:0;border-right:2px dashed rgba(63,124,44,.35)}
.coupon-ticket-brand{font-size:14px;color:#2f7d1f}
.coupon-ticket-name{font-size:clamp(24px,5.6vw,32px);font-weight:800;letter-spacing:-.03em;color:#1f4d15}
.coupon-ticket-valid{font-size:12px;color:#5d7561}
.coupon-ticket-side{display:grid;place-items:center;background:rgba(255,255,255,.45)}
.coupon-seal{display:grid;place-items:center;width:74px;height:74px;border-radius:50%;border:2px solid rgba(63,124,44,.5);color:#5d7561;font-size:13px;font-weight:700;background:rgba(255,255,255,.7)}
.coupon-ticket[data-state="unlocked"]{background:linear-gradient(120deg,#e0f7cf,#b8e897);border-color:var(--green)}
.coupon-ticket[data-state="unlocked"] .coupon-seal{border-color:#1f4d15;color:#1f4d15;background:#eaffdd}
.coupon-ticket[data-state="pending"] .coupon-seal{border-style:dashed;color:#a5621c;border-color:rgba(165,98,28,.6)}

.coupon-form{display:flex;gap:12px;margin-top:20px}
.coupon-input{position:relative;flex:1;display:block}
.coupon-input-label{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.coupon-input input{width:100%;height:52px;border-radius:999px;border:1px solid rgba(16,23,18,.14);background:#f7f8f3;padding:0 20px;font-size:14px;font-family:inherit;color:var(--ink)}
.coupon-input input:focus{outline:2px solid rgba(88,196,60,.45);outline-offset:1px;background:#fff}
.coupon-submit{flex:none;padding:0 26px;height:52px;border-radius:999px;font-size:14px;font-weight:700}
.coupon-submit[disabled]{opacity:.6;cursor:not-allowed;transform:none}
.coupon-note{margin-top:12px!important;font-size:12px;color:var(--muted)}
.coupon-note[data-tone="error"]{color:#bd604e}
.coupon-note[data-tone="success"]{color:#2f7d1f}
.coupon-deadline{display:flex;align-items:center;gap:7px;margin-top:14px!important;font-size:12px;color:var(--muted)}
.coupon-deadline svg{width:14px;height:14px;flex:none}

.coupon-rules ol{margin:0;padding-left:20px;color:var(--muted);font-size:13px;line-height:2}
.coupon-rules-more{margin-top:14px!important;font-size:13px}
.coupon-rules-more a{color:var(--green-dark);font-weight:700}

.coupon-footer{display:flex;justify-content:center;align-items:center;gap:16px;flex-wrap:wrap;padding:26px 20px 40px;font-size:12px;color:var(--muted)}
.coupon-footer a:hover{color:var(--green-dark)}

@media (max-width:640px){
  .coupon-main{padding:16px 14px 56px}
  .coupon-hero{min-height:460px}
  .coupon-hero-art{width:100%;height:52%}
  .coupon-hero-art img{right:50%;translate:50% 0;width:min(46%,190px)}
  .coupon-hero-tag{right:8%;bottom:6%}
  .coupon-intro{grid-template-columns:1fr;gap:14px}
  .coupon-intro-art{order:-1;justify-items:start}
  .coupon-polaroid{width:126px;transform:rotate(-4deg)}
  .coupon-form{flex-direction:column}
  .coupon-submit{width:100%}
  .coupon-ticket{grid-template-columns:minmax(0,1fr) 84px}
  .coupon-seal{width:60px;height:60px;font-size:12px}
  .coupon-topbar-label,.coupon-topbar-split{display:none}
}
@media (prefers-reduced-motion:reduce){
  .coupon-hero-art img{animation:none}
}
