:root {
    --bg: #031823;
    --bg-2: #05111b;
    --panel: rgba(5, 26, 38, 0.88);
    --green: #07c97f;
    --green-2: #00e8ff;
    --lime: #8fe62a;
    --yellow: #ffcb05;
    --yellow-2: #ffad00;
    --white: #f5f7fb;
    --muted: #b9c6d3;
    --line: rgba(255, 204, 0, 0.75);
}

* {
    box-sizing: border-box;
}

html, body {
    margin: 0;
    min-height: 100%;
    font-family: 'Poppins', sans-serif;
    background: radial-gradient(circle at 50% 20%, rgba(0, 255, 179, 0.18), transparent 26%),
                radial-gradient(circle at 50% 80%, rgba(255, 190, 0, 0.08), transparent 30%),
                linear-gradient(180deg, #02131d 0%, #05131d 40%, #021019 100%);
    color: var(--white);
}

body {
    position: relative;
    overflow-x: hidden;
}

.page-bg {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 18% 20%, rgba(0, 255, 208, 0.18), transparent 18%),
        radial-gradient(circle at 78% 30%, rgba(0, 255, 153, 0.14), transparent 16%),
        radial-gradient(circle at 70% 84%, rgba(255, 196, 0, 0.12), transparent 14%);
    filter: blur(8px);
    pointer-events: none;
}

.wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 22px 14px 34px;
}

.hero-card {
    width: 100%;
    max-width: 520px;
    position: relative;
    padding: 18px 16px 24px;
}

.brand-area {
    display: flex;
    justify-content: center;
    margin-bottom: 14px;
}

.brand-mark {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mini-wallet {
    position: relative;
    width: 72px;
    height: 58px;
    border-radius: 16px;
    background: linear-gradient(145deg, #0bda8f, #057b61 72%);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), inset 0 2px 0 rgba(255,255,255,0.18);
}

.mini-wallet::before {
    content: '';
    position: absolute;
    right: -8px;
    top: 16px;
    width: 28px;
    height: 26px;
    border-radius: 10px;
    background: linear-gradient(180deg, #ffc80d, #f3a500);
    box-shadow: inset 0 2px 0 rgba(255,255,255,0.3);
}

.mini-wallet::after {
    content: '';
    position: absolute;
    right: 2px;
    top: 24px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #0f8571;
    z-index: 2;
}

.coin {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #fff0a5, #ffc400 55%, #f19a00 100%);
    color: #f06b00;
    display: grid;
    place-items: center;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 4px 10px rgba(255, 187, 0, 0.45);
}

.coin-a { top: -10px; left: 8px; }
.coin-b { top: -16px; left: 28px; }
.coin-c { top: 2px; left: 46px; }

.wallet-arrow {
    position: absolute;
    left: -10px;
    bottom: -8px;
    color: #ffbd00;
    font-size: 34px;
    transform: rotate(-22deg);
    text-shadow: 0 0 14px rgba(255,196,0,0.38);
}

.brand-title {
    margin: 0;
    font-size: 3rem;
    line-height: 0.95;
    letter-spacing: -1px;
    font-weight: 800;
}

.brand-title span {
    color: #11d377;
    text-shadow: 0 0 18px rgba(17, 211, 119, 0.25);
}

.brand-title strong {
    color: #ffbd00;
    font-weight: 800;
    text-shadow: 0 0 18px rgba(255, 189, 0, 0.22);
}

.brand-tagline {
    margin: 6px 0 0;
    font-size: 1rem;
    font-weight: 600;
    color: #f5f7fb;
    text-align: center;
}

.brand-tagline span { color: #ffc400; }

.cashback-pill {
    width: min(100%, 400px);
    margin: 18px auto 18px;
    padding: 14px 18px;
    background: linear-gradient(90deg, #06bf7d, #0cc47e);
    color: #ffffff;
    font-weight: 700;
    font-size: 1.2rem;
    border-radius: 999px;
    text-align: center;
    box-shadow: 0 0 0 2px rgba(0,0,0,0.05), 0 10px 30px rgba(0, 219, 142, 0.22);
}

.cashback-pill span {
    color: #ffcd00;
    font-size: 1.45rem;
}

.amount-area {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.amount-copy {
    width: 100%;
    text-align: center;
    z-index: 2;
}

.amount-main {
    color: var(--yellow);
    font-weight: 800;
    font-size: clamp(4rem, 14vw, 7rem);
    letter-spacing: -3px;
    line-height: 1;
    text-shadow: 0 0 30px rgba(255, 192, 0, 0.18);
}

.amount-sub {
    margin-top: 4px;
    font-size: 1.9rem;
    font-weight: 700;
    color: #eef4ff;
}

.loot-box {
    width: min(100%, 420px);
    margin: 18px auto 10px;
    padding: 12px 18px;
    border-radius: 24px;
    border: 2px dashed rgba(255, 212, 0, 0.85);
    background: linear-gradient(180deg, rgba(5, 29, 41, 0.86), rgba(8, 21, 33, 0.95));
    font-size: 1.15rem;
    font-weight: 700;
    color: #edf4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 0 28px rgba(0, 245, 208, 0.08);
}

.loot-box strong,
.step-card span,
.input-label span { color: var(--yellow); }

.loot-chip {
    margin: 0 auto;
    width: fit-content;
    padding: 8px 18px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(11, 34, 52, 0.95), rgba(9, 23, 35, 0.95));
    border: 2px solid rgba(255,255,255,0.15);
    color: var(--yellow);
    font-size: 1.15rem;
    font-weight: 700;
    display: flex;
    gap: 10px;
    align-items: center;
    box-shadow: 0 10px 24px rgba(0,0,0,0.32);
}

.wallet-visual {
    position: absolute;
    right: 2px;
    top: 70px;
    width: 126px;
    height: 140px;
    pointer-events: none;
}

.wallet-glow {
    position: absolute;
    inset: 12px;
    background: radial-gradient(circle, rgba(0,255,170,0.35), transparent 66%);
    filter: blur(16px);
}

.wallet-body {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 108px;
    height: 84px;
    border-radius: 18px;
    background: linear-gradient(145deg, #0ddc8c, #023b41 70%);
    transform: rotate(-14deg);
    box-shadow: 0 18px 30px rgba(0,0,0,0.35);
}

.wallet-flap {
    position: absolute;
    right: -4px;
    top: 20px;
    width: 34px;
    height: 28px;
    border-radius: 11px;
    background: linear-gradient(180deg, #ffd54f, #f0a400);
}

.wallet-button {
    position: absolute;
    right: 10px;
    top: 30px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #06766b;
    z-index: 1;
}

.wallet-note {
    position: absolute;
    width: 36px;
    height: 48px;
    border-radius: 8px;
    background: linear-gradient(180deg, #85f4a3, #37b56a);
    top: -22px;
    left: 18px;
    transform: rotate(10deg);
}

.wallet-note::after {
    content: '';
    position: absolute;
    inset: 11px;
    border-radius: 50%;
    background: rgba(0, 255, 102, 0.18);
}

.note-2 {
    left: 42px;
    top: -15px;
    transform: rotate(22deg);
}

.wallet-coin {
    position: absolute;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 14px;
    font-weight: 700;
    color: #e27d00;
    background: radial-gradient(circle at 30% 30%, #fff0b1, #ffcc1a 58%, #f29e00);
    box-shadow: 0 6px 12px rgba(255, 190, 0, 0.28);
}

.wc-1 { top: -32px; right: 16px; }
.wc-2 { top: 6px; right: -10px; }
.wc-3 { bottom: -14px; right: 18px; }
.wc-4 { top: 40px; left: -12px; }

.success-box {
    margin: 16px auto 10px;
    max-width: 430px;
    padding: 12px 16px;
    border-radius: 16px;
    background: rgba(8, 96, 62, 0.28);
    border: 1px solid rgba(56, 255, 159, 0.38);
    color: #ddffec;
    font-weight: 500;
    text-align: center;
}

.form-section {
    margin-top: 10px;
}

.input-label {
    display: block;
    margin: 0 0 12px;
    font-size: 1.45rem;
    font-weight: 700;
}

.upi-input-wrap {
    height: 72px;
    display: flex;
    align-items: center;
    border-radius: 22px;
    padding: 0 18px;
    background: linear-gradient(180deg, rgba(5, 18, 30, 0.95), rgba(4, 19, 32, 0.92));
    border: 2px solid transparent;
    background-image: linear-gradient(rgba(4, 19, 32, 0.96), rgba(4, 19, 32, 0.96)), linear-gradient(90deg, #00f0df, #ffcc00);
    background-origin: border-box;
    background-clip: padding-box, border-box;
    box-shadow: 0 10px 24px rgba(0,0,0,0.28), 0 0 22px rgba(0, 255, 213, 0.1);
}

.upi-badge {
    flex: 0 0 auto;
    min-width: 92px;
    color: #ffffff;
    font-size: 1.55rem;
    font-style: italic;
    font-weight: 700;
    letter-spacing: 1px;
    padding-right: 16px;
    border-right: 2px solid rgba(154, 179, 194, 0.28);
}

.upi-input-wrap input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: #dfeaf4;
    padding-left: 18px;
    font-size: 1.05rem;
    font-family: inherit;
}

.upi-input-wrap input::placeholder { color: #7c8b97; }

.claim-btn {
    width: 100%;
    margin-top: 20px;
    border: 0;
    border-radius: 999px;
    padding: 18px 20px;
    font-family: inherit;
    font-size: 1.1rem;
    font-weight: 800;
    color: #ffffff;
    cursor: pointer;
    background: linear-gradient(90deg, #0cc47e 0%, #06bf80 42%, #d0d91b 68%, #ffc700 100%);
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.34), 0 0 22px rgba(255, 205, 0, 0.12);
    transition: transform .18s ease, box-shadow .18s ease;
}

.claim-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.38), 0 0 30px rgba(255, 205, 0, 0.18);
}

.steps-grid {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.step-card {
    position: relative;
    min-height: 130px;
    padding: 22px 18px 18px 92px;
    border-radius: 28px;
    background: linear-gradient(180deg, rgba(6, 25, 38, 0.95), rgba(7, 20, 33, 0.95));
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.05), 0 12px 26px rgba(0,0,0,0.28);
    overflow: hidden;
}

.step-card::after {
    content: '';
    position: absolute;
    left: 40px;
    bottom: 8px;
    width: 2px;
    height: 40px;
    border-left: 3px dashed rgba(4, 226, 152, 0.9);
}

.step-card-mid::after {
    border-left-color: rgba(255, 205, 0, 0.9);
}

.step-number {
    position: absolute;
    left: 20px;
    top: 18px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    color: var(--yellow);
    font-size: 1.8rem;
    font-weight: 800;
    border: 2px solid rgba(255, 201, 0, 0.92);
    box-shadow: 0 0 0 6px rgba(255, 196, 0, 0.05);
}

.step-card h3 {
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.45;
    font-weight: 700;
    color: #f2f6fb;
}

.frame-line {
    position: absolute;
    border: 3px solid rgba(255, 200, 0, 0.78);
    border-right: 0;
    border-bottom: 0;
    border-radius: 28px 0 0 0;
    opacity: 0.9;
    filter: drop-shadow(0 0 10px rgba(0,255,200,0.18));
}

.frame-left {
    top: 180px;
    left: 10px;
    width: 95px;
    height: 310px;
    border-right: 0;
    border-bottom: 0;
    border-top-color: rgba(255,200,0,0.86);
    border-left-color: rgba(0,255,225,0.72);
}

.frame-right {
    top: 206px;
    right: 20px;
    width: 84px;
    height: 190px;
    transform: rotate(180deg);
    border-top-color: rgba(255,200,0,0.86);
    border-left-color: rgba(255,200,0,0.86);
}

.floating-star {
    position: absolute;
    color: #ffcb05;
    font-size: 1.8rem;
    text-shadow: 0 0 18px rgba(255, 208, 0, 0.28);
    opacity: 0.95;
}

.star-1 { left: 86px; top: 344px; }
.star-2 { right: 120px; top: 456px; }
.star-3 { right: 52px; top: 212px; }

@media (min-width: 460px) {
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps-grid .step-card:last-child {
        grid-column: 1 / -1;
    }
}

@media (max-width: 430px) {
    .brand-title { font-size: 2.4rem; }
    .brand-tagline { font-size: 0.92rem; }
    .amount-sub { font-size: 1.55rem; }
    .loot-box { font-size: 1rem; padding: 10px 14px; }
    .wallet-visual { width: 98px; height: 110px; top: 94px; }
    .wallet-body { transform: rotate(-14deg) scale(0.86); transform-origin: bottom right; }
    .input-label { font-size: 1.25rem; }
    .step-card h3 { font-size: 1.08rem; }
}
