:root {
    --bg:      #000000;
    --card:    #0f0f0f;
    --card2:   #161616;
    --border:  rgba(255,255,255,0.07);
    --accent:  #C8FF00;
    --adim:    rgba(200,255,0,0.10);
    --text:    #ffffff;
    --muted:   rgba(255,255,255,0.42);
    --danger:  #ff4545;
    --eth:     #627EEA;
    --eth-dim: rgba(98,126,234,0.12);
}
*, *::before, *::after { margin:0; padding:0; box-sizing:border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100dvh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
body::before {
    content: '';
    position: fixed; inset: 0;
    background-image:
        linear-gradient(rgba(200,255,0,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200,255,0,0.025) 1px, transparent 1px);
    background-size: 56px 56px;
    pointer-events: none; z-index: 0;
}
body::after {
    content: '';
    position: fixed; top: -180px; left: 50%; transform: translateX(-50%);
    width: 500px; height: 360px;
    background: radial-gradient(ellipse, rgba(200,255,0,0.07) 0%, transparent 70%);
    pointer-events: none; z-index: 0;
}
.page { position: relative; z-index: 1; min-height: 100dvh; display: flex; flex-direction: column; }

nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 36px;
    border-bottom: 1px solid var(--border);
}
.logo {
    font-family: 'Syne', sans-serif; font-size: 22px;
    font-weight: 800; letter-spacing: -0.5px;
}
.logo span { color: var(--accent); }
.nav-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--adim); border: 1px solid rgba(200,255,0,0.22);
    color: var(--accent); font-size: 11px; font-weight: 600;
    padding: 6px 14px; border-radius: 100px; letter-spacing: 0.6px;
    text-transform: uppercase; white-space: nowrap;
}

.hero {
    flex: 1; display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 52px 20px 40px; text-align: center;
}
.hero-tag {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--adim); border: 1px solid rgba(200,255,0,0.2);
    color: var(--accent); font-size: 11px; font-weight: 600;
    padding: 7px 16px; border-radius: 100px;
    margin-bottom: 28px; letter-spacing: 1px; text-transform: uppercase;
    animation: fadeDown .6s ease both;
}
.hero-tag::before {
    content: ''; width: 6px; height: 6px;
    background: var(--accent); border-radius: 50%;
    animation: pulse 1.8s infinite;
}
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.35;transform:scale(.75)} }

h1 {
    font-family: 'Syne', sans-serif;
    font-size: clamp(40px, 9vw, 82px);
    font-weight: 800; line-height: 1.0;
    letter-spacing: -3px; margin-bottom: 22px;
    animation: fadeDown .6s .1s ease both;
}
h1 .accent-line { color: var(--accent); display: block; }
.hero-desc {
    font-size: 16px; color: var(--muted); line-height: 1.72;
    max-width: 460px; margin-bottom: 40px; font-weight: 300;
    animation: fadeDown .6s .2s ease both;
}

.action-card {
    background: var(--card); border: 1px solid var(--border);
    border-radius: 24px; padding: 32px; width: 100%; max-width: 400px;
    animation: fadeDown .6s .3s ease both;
    position: relative; overflow: hidden;
}
.action-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200,255,0,.45), transparent);
}
.btn-primary {
    width: 100%; padding: 17px;
    background: var(--accent); color: #000;
    border: none; border-radius: 14px;
    font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700;
    cursor: pointer; letter-spacing: .2px;
    transition: transform .15s, box-shadow .2s;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}
.btn-primary:hover { box-shadow: 0 0 30px rgba(200,255,0,.3); }
.btn-primary:active { transform: scale(.97); }

.divider {
    display: flex; align-items: center; gap: 12px;
    color: var(--muted); font-size: 11px; letter-spacing: 1px;
    text-transform: uppercase; margin: 22px 0;
}
.divider::before, .divider::after { content:''; flex:1; height:1px; background:var(--border); }

.pin-input {
    width: 100%; padding: 17px;
    background: #080808; border: 1px solid var(--border);
    border-radius: 14px; color: #fff;
    font-size: 26px; font-family: 'Syne', sans-serif;
    font-weight: 700; letter-spacing: 14px; text-align: center;
    margin-bottom: 14px; outline: none;
    transition: border-color .3s, box-shadow .3s;
    -webkit-appearance: none;
}
.pin-input:focus {
    border-color: rgba(200,255,0,.4);
    box-shadow: 0 0 0 3px rgba(200,255,0,.06);
}
.pin-input::placeholder { letter-spacing: 8px; color: rgba(255,255,255,.15); font-size: 18px; }
input, textarea, select { font-size: 16px !important; }

.btn-secondary {
    width: 100%; padding: 17px; background: transparent;
    color: var(--text); border: 1px solid var(--border);
    border-radius: 14px; font-family: 'Syne', sans-serif;
    font-size: 15px; font-weight: 600; cursor: pointer;
    transition: border-color .2s, background .2s;
    -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.btn-secondary:hover { border-color: rgba(200,255,0,.3); background: var(--adim); }
.btn-secondary:active { transform: scale(.98); }

.error-box {
    background: rgba(255,69,69,.1); border: 1px solid rgba(255,69,69,.25);
    color: #ff7070; padding: 13px 16px; border-radius: 12px;
    margin-bottom: 18px; font-size: 14px;
}

.features {
    display: flex; justify-content: center; gap: 28px;
    padding: 32px 20px; flex-wrap: wrap;
    border-top: 1px solid var(--border);
    animation: fadeUp .6s .5s ease both;
}
.feat { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--muted); }
.feat i { color: var(--accent); font-size: 13px; }

.offer-banner {
    margin: 0 20px 28px; max-width: 820px;
    margin-left: auto; margin-right: auto;
    background: linear-gradient(135deg, #0d0d0d, #111);
    border: 1px solid rgba(200,255,0,0.2);
    border-radius: 20px; padding: 24px 28px;
    display: flex; align-items: center;
    justify-content: space-between; gap: 18px;
    animation: fadeUp .6s .6s ease both;
    position: relative; overflow: hidden;
}
.offer-banner::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
}
.offer-text h3 { font-family: 'Syne', sans-serif; font-size: 17px; font-weight: 700; margin-bottom: 5px; }
.offer-text p  { font-size: 13px; color: var(--muted); line-height: 1.5; }
.offer-badge {
    background: var(--accent); color: #000;
    font-family: 'Syne', sans-serif; font-size: 13px; font-weight: 800;
    padding: 10px 18px; border-radius: 10px; white-space: nowrap;
}

.eth-section {
    padding: 0 20px 40px;
    display: flex; justify-content: center;
    animation: fadeUp .6s .7s ease both;
}
.eth-card {
    background: var(--card); border: 1px solid rgba(98,126,234,0.25);
    border-radius: 20px; padding: 24px 28px;
    max-width: 480px; width: 100%;
    position: relative; overflow: hidden;
    transition: border-color .3s;
}
.eth-card:hover { border-color: rgba(98,126,234,0.45); }
.eth-card::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, var(--eth), transparent);
    opacity: 0.5;
}
.eth-header { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.eth-icon {
    width: 40px; height: 40px;
    background: var(--eth-dim); border: 1px solid rgba(98,126,234,0.3);
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 18px; flex-shrink: 0;
}
.eth-title { font-family: 'Syne', sans-serif; font-size: 15px; font-weight: 700; }
.eth-sub   { font-size: 12px; color: var(--muted); margin-top: 2px; }

.eth-address-wrap {
    background: #080808; border: 1px solid rgba(98,126,234,0.2);
    border-radius: 12px; padding: 14px 16px;
    display: flex; align-items: center; gap: 12px;
    cursor: pointer; transition: border-color .25s, background .25s;
    -webkit-tap-highlight-color: transparent; touch-action: manipulation;
    user-select: none; -webkit-user-select: none;
}
.eth-address-wrap:hover { border-color: rgba(98,126,234,0.5); background: rgba(98,126,234,0.05); }
.eth-address-wrap:active { transform: scale(.99); }
.eth-addr-text {
    font-family: 'DM Sans', monospace; font-size: 12px;
    color: #8a9fff; word-break: break-all; flex: 1; line-height: 1.5;
}
.eth-copy-btn {
    flex-shrink: 0; width: 34px; height: 34px;
    background: rgba(98,126,234,0.15); border: 1px solid rgba(98,126,234,0.3);
    border-radius: 8px; color: var(--eth); font-size: 13px;
    display: flex; align-items: center; justify-content: center;
    transition: background .2s;
}
.eth-copy-btn.copied { background: rgba(200,255,0,0.15); border-color: rgba(200,255,0,0.3); color: var(--accent); }
.eth-hint { margin-top: 10px; font-size: 11px; color: var(--muted); text-align: center; letter-spacing: 0.3px; }
.eth-hint i { color: var(--eth); margin-right: 4px; }

footer {
    padding: 18px 20px;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 11px; color: var(--muted);
}
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--accent); }

.toast {
    position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(80px);
    background: var(--card2); border: 1px solid var(--border);
    color: var(--accent); font-size: 13px; font-weight: 600;
    padding: 12px 22px; border-radius: 100px;
    transition: transform .3s cubic-bezier(.34,1.56,.64,1), opacity .3s;
    opacity: 0; z-index: 9999; white-space: nowrap; pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }

@keyframes fadeDown { from{opacity:0;transform:translateY(-14px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeUp   { from{opacity:0;transform:translateY(14px)}  to{opacity:1;transform:translateY(0)} }

button, input, .eth-address-wrap {
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
}
@media (max-width: 600px) {
    nav { padding: 16px 18px; }
    h1  { letter-spacing: -2px; }
    .features { gap: 16px; }
    .offer-banner { flex-direction: column; text-align: center; }
    .eth-addr-text { font-size: 11px; }
}
