/* ===========================================================
   Arc — style.css
   Dark premium theme with amber/orange accent
   =========================================================== */

/* ===== RESET ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

*:focus {
    outline: none;
}

::selection {
    background: rgba(251, 146, 60, .3);
    color: #fff;
}

button,
[role="button"] {
    -webkit-tap-highlight-color: transparent;
    outline: none;
    user-select: none;
    -webkit-user-select: none;
    cursor: pointer;
}

:root {
    --bg: #08080e;
    --glass: rgba(14, 16, 28, .75);
    --glass-border: rgba(255, 255, 255, .06);
    --glass-border-hover: rgba(255, 255, 255, .12);
    --accent: #4ade80;
    --accent-dim: #22c55e;
    --accent-glow: rgba(74, 222, 128, .25);
    --accent-bg: rgba(74, 222, 128, .08);
    --cyan: #22d3ee;
    --cyan-glow: rgba(34, 211, 238, .15);
    --purple: #a78bfa;
    --purple-glow: rgba(167, 139, 250, .15);
    --green: #34d399;
    --green-glow: rgba(52, 211, 153, .2);
    --red: #fb7185;
    --red-glow: rgba(251, 113, 133, .2);
    --yellow: #fbbf24;
    --text: #f1f5f9;
    --text2: rgba(255, 255, 255, .55);
    --text3: rgba(255, 255, 255, .28);
    --shadow: 0 8px 32px rgba(0, 0, 0, .5);
    --radius: 14px;
    --radius-lg: 20px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

#particleCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .3;
    animation: orbPulse 22s ease-in-out infinite;
}

.orb-1 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
    top: -180px;
    right: -120px;
}

.orb-2 {
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
    bottom: -120px;
    left: -120px;
    animation-delay: -8s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -15s;
    opacity: .12;
}

@keyframes orbPulse {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
        opacity: .28;
    }

    25% {
        transform: translate(35px, -20px) scale(1.06);
        opacity: .38;
    }

    50% {
        transform: translate(-20px, 35px) scale(.94);
        opacity: .22;
    }

    75% {
        transform: translate(20px, 15px) scale(1.02);
        opacity: .32;
    }
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .018) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 55% 55% at 50% 50%, black, transparent);
    -webkit-mask-image: radial-gradient(ellipse 55% 55% at 50% 50%, black, transparent);
}

.bg-noise {
    position: absolute;
    inset: 0;
    opacity: .025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== SCREENS ===== */
.screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s cubic-bezier(.4, 0, .2, 1), visibility .5s;
    overflow-y: auto;
    padding: 30px 0;
}

.screen.active {
    opacity: 1;
    visibility: visible;
}

.container {
    width: 100%;
    max-width: 520px;
    padding: 16px;
    position: relative;
    z-index: 2;
    margin: auto 0;
}

/* ===== STEP INDICATOR ===== */
.step-indicator {
    text-align: center;
    margin-bottom: 20px;
    animation: fadeSlideDown .5s ease both;
}

.step-dot-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.sd {
    width: 32px;
    height: 4px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .08);
    transition: all .3s;
}

.sd.filled {
    background: var(--accent-glow);
}

.sd.active {
    background: var(--accent);
    box-shadow: 0 0 12px var(--accent-glow);
}

.step-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text3);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== HERO ===== */
.hero-section {
    text-align: center;
    margin-bottom: 24px;
}

.lock-icon-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 18px;
    animation: fadeSlideDown .5s .1s ease both;
}

.lock-icon-wrap i {
    font-size: 28px;
    color: var(--accent);
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 12px var(--accent-glow));
}

.lock-ring {
    position: absolute;
    inset: -4px;
    border: 2px solid rgba(251, 146, 60, .2);
    border-radius: 50%;
    animation: lockPulse 2.5s ease-out infinite;
}

@keyframes lockPulse {
    0% {
        transform: scale(1);
        opacity: .5;
    }

    100% {
        transform: scale(1.5);
        opacity: 0;
    }
}

.main-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(3rem, 11vw, 5.5rem);
    font-weight: 700;
    letter-spacing: -2px;
    line-height: .95;
    margin-bottom: 12px;
    animation: titleReveal .7s .2s cubic-bezier(.34, 1.56, .64, 1) both;
}

.title-line {
    background: linear-gradient(135deg, var(--accent) 0%, #a7f3d0 40%, var(--accent) 80%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleShimmer 4s ease-in-out infinite;
    filter: drop-shadow(0 0 30px var(--accent-glow));
}

@keyframes titleShimmer {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(25px) scale(.92);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.main-subtitle {
    font-size: 15px;
    color: var(--text2);
    font-weight: 500;
    letter-spacing: -.2px;
    max-width: 360px;
    margin: 0 auto 16px;
    animation: fadeSlideDown .6s .3s ease both;
}

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    animation: fadeSlideDown .6s .4s ease both;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 100px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--glass-border);
    color: var(--text2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    letter-spacing: .3px;
}

.badge i {
    font-size: 10px;
    color: var(--accent);
}

.badge-live i {
    color: var(--red);
    font-size: 7px;
    animation: dotBlink 1.2s infinite;
}

@keyframes dotBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .3;
    }
}

@keyframes fadeSlideDown {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== GLASS CARD ===== */
.glass-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: border-color .3s ease;
}

.glass-card:hover {
    border-color: var(--glass-border-hover);
}

/* ===== USERNAME CARD ===== */
.arc-card {
    padding: 0;
    animation: cardReveal .6s .5s cubic-bezier(.34, 1.56, .64, 1) both;
}

@keyframes cardReveal {
    from {
        opacity: 0;
        transform: translateY(25px) scale(.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--glass-border);
}

.card-header-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: var(--accent-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 16px;
    box-shadow: 0 0 20px var(--accent-glow);
}

.card-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.card-header p {
    font-size: 13px;
    color: var(--text2);
    margin-top: 2px;
}

.input-section {
    padding: 16px 24px 0;
}

.input-label {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 12px;
    font-weight: 700;
    color: var(--text2);
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 8px;
}

.input-label i {
    color: var(--accent);
    font-size: 11px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 16px;
    background: rgba(255, 255, 255, .04);
    border: 1.5px solid var(--glass-border);
    border-radius: 12px;
    color: var(--text);
    font-size: 15px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    transition: border-color .3s, box-shadow .3s, background .3s;
}

.input-wrapper input::placeholder {
    color: var(--text3);
    font-weight: 400;
}

.input-wrapper input:focus {
    border-color: rgba(251, 146, 60, .4);
    background: rgba(251, 146, 60, .03);
    box-shadow: 0 0 0 3px rgba(251, 146, 60, .08), 0 0 20px rgba(251, 146, 60, .08);
}

.input-glow {
    position: absolute;
    bottom: -1px;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--accent), transparent);
    transform: translateX(-50%);
    transition: width .4s ease;
    border-radius: 2px;
}

.input-wrapper input:focus~.input-glow {
    width: 80%;
}

.input-hint {
    font-size: 12px;
    color: var(--text3);
    margin: 6px 0 4px 4px;
    transition: color .3s;
}

.input-hint.success {
    color: var(--green);
}

.input-hint.error {
    color: var(--red);
}

/* ===== MAIN BUTTON ===== */
.arc-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(100% - 48px);
    margin: 20px 24px 24px;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dim));
    border: none;
    border-radius: 14px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: transform .2s, box-shadow .3s, opacity .3s;
    box-shadow: 0 4px 20px var(--accent-glow), 0 0 40px rgba(74, 222, 128, .12);
}

.arc-btn:disabled {
    opacity: .35;
    cursor: not-allowed;
    box-shadow: none;
    filter: grayscale(.4);
}

.arc-btn:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px var(--accent-glow), 0 0 60px rgba(251, 146, 60, .18);
}

.arc-btn:not(:disabled):active {
    transform: translateY(0) scale(.98);
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
    letter-spacing: .8px;
    position: relative;
    z-index: 1;
}

.btn-content i {
    font-size: 15px;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .15), transparent);
    transform: skewX(-20deg);
    animation: btnShine 3s infinite;
}

.arc-btn:disabled .btn-shine {
    animation: none;
}

@keyframes btnShine {
    0% {
        left: -100%;
    }

    40%,
    100% {
        left: 150%;
    }
}

/* ===== RECENT FEED ===== */
.recent-section {
    margin-top: 24px;
    animation: fadeSlideDown .6s .7s ease both;
}

.recent-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--text2);
    margin-bottom: 12px;
    padding-left: 4px;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.recent-header i {
    color: var(--accent);
    font-size: 12px;
}

.recent-live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: dotBlink 1.5s infinite;
    margin-left: auto;
}

.recent-feed {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-height: 200px;
    overflow: hidden;
}

.recent-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .03);
    border: 1px solid var(--glass-border);
    animation: recentSlideIn .4s ease both;
    transition: background .3s;
}

.recent-item:hover {
    background: rgba(255, 255, 255, .05);
}

.recent-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--accent-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    flex-shrink: 0;
}

.recent-info {
    flex: 1;
    min-width: 0;
}

.recent-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.recent-amount {
    font-size: 11px;
    color: var(--accent);
    font-weight: 600;
}

.recent-time {
    font-size: 11px;
    color: var(--text3);
    flex-shrink: 0;
}

@keyframes recentSlideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ===== LOADING SCREEN ===== */
.loading-card {
    padding: 28px 24px;
    animation: cardReveal .5s ease both;
}

.avatar-section {
    text-align: center;
    margin-bottom: 24px;
}

.avatar-ring {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 16px;
}

.avatar-ring-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.ring-track {
    fill: none;
    stroke: rgba(255, 255, 255, .06);
    stroke-width: 4;
}

.ring-progress {
    fill: none;
    stroke: var(--accent);
    stroke-width: 4;
    stroke-linecap: round;
    stroke-dasharray: 339.292;
    stroke-dashoffset: 339.292;
    transition: stroke-dashoffset .5s ease;
    filter: drop-shadow(0 0 6px var(--accent-glow));
}

.avatar-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 76px;
    height: 76px;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, .04);
    border: 2px solid var(--glass-border);
}

.avatar-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-fallback {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text3);
    font-size: 28px;
    animation: avatarPulse 1.5s ease-in-out infinite;
}

@keyframes avatarPulse {

    0%,
    100% {
        opacity: .5;
    }

    50% {
        opacity: 1;
    }
}

.loading-username {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 20px;
    font-weight: 700;
}

.loading-status {
    font-size: 13px;
    color: var(--accent);
    margin-top: 4px;
    font-weight: 500;
}

.progress-section {
    margin-bottom: 20px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.progress-header span:first-child {
    font-size: 13px;
    font-weight: 600;
    color: var(--text2);
}

.progress-header span:last-child {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
    font-family: 'Space Grotesk', monospace;
}

.progress-track {
    position: relative;
    height: 6px;
    background: rgba(255, 255, 255, .06);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--accent), #fcd34d);
    border-radius: 10px;
    transition: width .6s cubic-bezier(.4, 0, .2, 1);
}

.terminal {
    background: rgba(0, 0, 0, .4);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.terminal-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, .03);
    border-bottom: 1px solid var(--glass-border);
}

.terminal-dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot-red {
    background: #ff5f57;
}

.dot-yellow {
    background: #febc2e;
}

.dot-green {
    background: #28c840;
}

.terminal-title {
    font-size: 11px;
    color: var(--text3);
    font-family: 'Space Grotesk', monospace;
}

.terminal-body {
    padding: 12px 14px;
    min-height: 100px;
    max-height: 150px;
    overflow-y: auto;
    font-family: 'Space Grotesk', monospace;
    font-size: 12px;
    line-height: 1.6;
}

.terminal-body::-webkit-scrollbar {
    width: 4px;
}

.terminal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .1);
    border-radius: 4px;
}

.log-line {
    animation: logFadeIn .3s ease both;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes logFadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.log-ts {
    color: var(--text3);
    margin-right: 8px;
}

.log-info {
    color: var(--text2);
}

.log-success {
    color: var(--green);
}

.log-warning {
    color: var(--yellow);
}

.log-error {
    color: var(--red);
}

.loading-steps {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.l-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .02);
    border: 1px solid transparent;
    transition: all .4s ease;
}

.l-step.active {
    background: var(--accent-bg);
    border-color: rgba(251, 146, 60, .15);
}

.l-step.completed {
    opacity: .6;
}

.step-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .04);
    color: var(--text3);
    font-size: 13px;
    transition: all .3s;
    flex-shrink: 0;
}

.l-step.active .step-icon {
    background: var(--accent-bg);
    color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
    animation: stepIconPulse 1s ease-in-out infinite;
}

.l-step.completed .step-icon {
    background: rgba(251, 146, 60, .1);
    color: var(--accent);
}

@keyframes stepIconPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.step-info {
    flex: 1;
}

.step-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
    display: block;
}

.step-status {
    font-size: 11px;
    color: var(--text3);
    display: block;
    margin-top: 1px;
    transition: color .3s;
}

.l-step.active .step-status {
    color: var(--accent);
}

.l-step.completed .step-status {
    color: var(--accent);
}

.l-step.completed .step-name::after {
    content: ' ✓';
    color: var(--accent);
    font-size: 12px;
}

/* ===== OFFERS SCREEN ===== */
.offers-card {
    padding: 0;
    animation: cardReveal .5s ease both;
}

.offers-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 24px;
    border-bottom: 1px solid var(--glass-border);
}

.offers-avatar-mini {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    background: rgba(255, 255, 255, .04);
    border: 1.5px solid var(--glass-border);
}

.offers-avatar-mini img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.avatar-fallback-mini {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text3);
    font-size: 18px;
}

.offers-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 18px;
    font-weight: 700;
}

.offers-header p {
    font-size: 13px;
    color: var(--text2);
    margin-top: 2px;
    line-height: 1.4;
}

.text-accent {
    color: var(--accent);
    font-weight: 700;
}

.offers-info-bar {
    display: flex;
    gap: 0;
    border-bottom: 1px solid var(--glass-border);
}

.info-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 12px 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--text2);
    border-right: 1px solid var(--glass-border);
}

.info-item:last-child {
    border-right: none;
}

.info-item i {
    font-size: 11px;
    color: var(--accent);
}

.info-pending {
    color: var(--yellow);
}

.info-pending i {
    color: var(--yellow);
}

.offers-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 40px 24px;
}

.offers-spinner {
    width: 36px;
    height: 36px;
    border: 3px solid rgba(255, 255, 255, .06);
    border-top-color: var(--accent);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.offers-loading p {
    font-size: 13px;
    color: var(--text2);
}

.offers-list {
    display: flex;
    flex-direction: column;
    padding: 12px;
}

.offer-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .02);
    border: 1px solid var(--glass-border);
    margin-bottom: 8px;
    text-decoration: none;
    color: inherit;
    transition: all .3s ease;
    cursor: pointer;
}

.offer-item:hover {
    background: rgba(251, 146, 60, .04);
    border-color: rgba(251, 146, 60, .15);
    transform: translateY(-1px);
}

.offer-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(255, 255, 255, .04);
}

.offer-info {
    flex: 1;
    min-width: 0;
}

.offer-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.offer-desc {
    font-size: 12px;
    color: var(--text2);
    margin-top: 2px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.offer-go {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--accent-bg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 14px;
    flex-shrink: 0;
    transition: all .3s;
}

.offer-item:hover .offer-go {
    background: var(--accent);
    color: #fff;
    box-shadow: 0 0 15px var(--accent-glow);
}

.offers-error {
    text-align: center;
    padding: 40px 24px;
}

.offers-error i {
    font-size: 36px;
    color: var(--yellow);
    margin-bottom: 12px;
}

.offers-error p {
    font-size: 14px;
    color: var(--text2);
    margin-bottom: 16px;
}

.retry-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid var(--glass-border);
    color: var(--text);
    font-size: 13px;
    font-weight: 600;
    transition: all .3s;
}

.retry-btn:hover {
    background: rgba(255, 255, 255, .1);
    border-color: var(--glass-border-hover);
}

/* Receive button in offers */
.receive-btn {
    width: calc(100% - 48px);
    margin: 16px 24px 8px;
}

.offers-foot {
    text-align: center;
    padding: 8px 24px 20px;
    font-size: 12px;
    color: var(--text3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.offers-foot i {
    font-size: 11px;
    color: var(--accent);
}

/* ===== POPUP ===== */
.arc-popup {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    z-index: 9999;
    padding: 14px 20px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    font-size: 13px;
    font-weight: 600;
    transition: transform .4s cubic-bezier(.34, 1.56, .64, 1);
    max-width: 90vw;
}

.arc-popup.show {
    transform: translateX(-50%) translateY(0);
}

.arc-popup-error {
    background: rgba(251, 113, 133, .15);
    border-color: rgba(251, 113, 133, .25);
    color: var(--red);
}

.arc-popup-success {
    background: rgba(52, 211, 153, .15);
    border-color: rgba(52, 211, 153, .25);
    color: var(--green);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .container {
        padding: 12px;
    }

    .main-title {
        font-size: 3.2rem;
    }

    .card-header {
        padding: 16px 18px;
    }

    .input-section {
        padding: 14px 18px 0;
    }

    .arc-btn {
        width: calc(100% - 36px);
        margin: 18px 18px 20px;
    }

    .receive-btn {
        width: calc(100% - 36px);
        margin: 16px 18px 8px;
    }

    .loading-card {
        padding: 20px 16px;
    }

    .offers-info-bar {
        flex-wrap: wrap;
    }

    .info-item {
        min-width: 33%;
        border-bottom: 1px solid var(--glass-border);
    }
}