/* ============================================================
   PSN Code Generator – style.css
   Dark PlayStation-inspired design with SVG symbols
   ============================================================ */

/* ===== CSS VARIABLES ===== */
:root {
    --ps-blue: #003087;
    --ps-blue-light: #0070d1;
    --ps-blue-bright: #00a2ff;
    --ps-dark: #0a0e17;
    --ps-dark-card: #111827;
    --ps-dark-surface: #1a2332;
    --ps-dark-border: #1e2a3a;
    --ps-text: #e8edf3;
    --ps-text-dim: #8899aa;
    --ps-accent: #00a2ff;
    --ps-green: #00d26a;
    --ps-yellow: #ffc107;
    --ps-red: #ff4757;
    --ps-gold: #c9a84c;
    --ps-triangle: #00d9a6;
    --ps-circle: #ff6b81;
    --ps-cross: #5b9bf5;
    --ps-square: #c78dff;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --radius: 12px;
    --radius-lg: 16px;
    --shadow: 0 4px 24px rgba(0, 0, 0, .4);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, .5);
    --transition: .25s cubic-bezier(.4, 0, .2, 1);
}

/* ===== RESET ===== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

* {
    -webkit-tap-highlight-color: transparent;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--ps-dark);
    color: var(--ps-text);
    min-height: 100dvh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-world {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 0%, rgba(0, 48, 135, .4) 0%, transparent 60%),
        radial-gradient(ellipse 60% 50% at 80% 100%, rgba(0, 112, 209, .2) 0%, transparent 50%),
        var(--ps-dark);
}

/* Floating PS symbols (SVG) */
.ps-particles {
    position: absolute;
    inset: 0;
}

.ps-symbol {
    position: absolute;
    opacity: 0;
    animation: psFloat linear infinite;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ps-s1 {
    left: 5%;
    width: 24px;
    height: 24px;
    color: var(--ps-triangle);
    animation-duration: 18s;
    animation-delay: 0s;
}

.ps-s2 {
    left: 15%;
    width: 20px;
    height: 20px;
    color: var(--ps-circle);
    animation-duration: 22s;
    animation-delay: 2s;
}

.ps-s3 {
    left: 25%;
    width: 26px;
    height: 26px;
    color: var(--ps-cross);
    animation-duration: 20s;
    animation-delay: 4s;
}

.ps-s4 {
    left: 35%;
    width: 18px;
    height: 18px;
    color: var(--ps-square);
    animation-duration: 24s;
    animation-delay: 1s;
}

.ps-s5 {
    left: 45%;
    width: 22px;
    height: 22px;
    color: var(--ps-triangle);
    animation-duration: 19s;
    animation-delay: 6s;
}

.ps-s6 {
    left: 55%;
    width: 28px;
    height: 28px;
    color: var(--ps-circle);
    animation-duration: 21s;
    animation-delay: 3s;
}

.ps-s7 {
    left: 65%;
    width: 20px;
    height: 20px;
    color: var(--ps-cross);
    animation-duration: 23s;
    animation-delay: 5s;
}

.ps-s8 {
    left: 75%;
    width: 24px;
    height: 24px;
    color: var(--ps-square);
    animation-duration: 17s;
    animation-delay: 7s;
}

.ps-s9 {
    left: 85%;
    width: 18px;
    height: 18px;
    color: var(--ps-triangle);
    animation-duration: 25s;
    animation-delay: 2.5s;
}

.ps-s10 {
    left: 92%;
    width: 26px;
    height: 26px;
    color: var(--ps-circle);
    animation-duration: 20s;
    animation-delay: 4.5s;
}

.ps-s11 {
    left: 8%;
    width: 22px;
    height: 22px;
    color: var(--ps-cross);
    animation-duration: 22s;
    animation-delay: 8s;
}

.ps-s12 {
    left: 50%;
    width: 16px;
    height: 16px;
    color: var(--ps-square);
    animation-duration: 19s;
    animation-delay: 6.5s;
}

@keyframes psFloat {
    0% {
        transform: translateY(110vh) rotate(0deg);
        opacity: 0;
    }

    5% {
        opacity: .15;
    }

    50% {
        opacity: .08;
    }

    95% {
        opacity: .12;
    }

    100% {
        transform: translateY(-10vh) rotate(360deg);
        opacity: 0;
    }
}

/* ===== NAV ===== */
.ps-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(10, 14, 23, .85);
    backdrop-filter: blur(20px) saturate(1.4);
    -webkit-backdrop-filter: blur(20px) saturate(1.4);
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}

.nav-inner {
    max-width: 520px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.ps-logo-icon {
    font-size: 28px;
    color: var(--ps-blue-bright);
}

.nav-brand {
    font-weight: 800;
    font-size: 17px;
    letter-spacing: .5px;
    background: linear-gradient(135deg, #fff 40%, var(--ps-blue-bright));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-stat {
    font-size: 12px;
    color: var(--ps-text-dim);
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-stat i {
    color: var(--ps-green);
    font-size: 9px;
}

.nav-badge {
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-sym {
    opacity: .7;
}

/* ===== LAYOUT ===== */
.screen {
    display: none;
    position: relative;
    z-index: 1;
    padding: 20px 0 40px;
}

.screen.active {
    display: block;
    animation: screenIn .4s ease;
}

@keyframes screenIn {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container {
    max-width: 520px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ===== HERO ===== */
.hero {
    text-align: center;
    padding: 30px 0 24px;
}

.hero-symbols {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 20px;
}

.hs {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: transparent;
    animation: hsFloat 3s ease-in-out infinite;
}

.hs-triangle {
    color: var(--ps-triangle);
    filter: drop-shadow(0 0 10px rgba(0, 217, 166, .5)) drop-shadow(0 0 20px rgba(0, 217, 166, .2));
    animation-delay: 0s;
}

.hs-circle {
    color: var(--ps-circle);
    filter: drop-shadow(0 0 10px rgba(255, 107, 129, .5)) drop-shadow(0 0 20px rgba(255, 107, 129, .2));
    animation-delay: .4s;
}

.hs-cross {
    color: var(--ps-cross);
    filter: drop-shadow(0 0 10px rgba(91, 155, 245, .5)) drop-shadow(0 0 20px rgba(91, 155, 245, .2));
    animation-delay: .8s;
}

.hs-square {
    color: var(--ps-square);
    filter: drop-shadow(0 0 10px rgba(199, 141, 255, .5)) drop-shadow(0 0 20px rgba(199, 141, 255, .2));
    animation-delay: 1.2s;
}

@keyframes hsFloat {

    0% {
        transform: translateY(0) rotate(0deg);
    }

    25% {
        transform: translateY(-4px) rotate(5deg);
    }

    50% {
        transform: translateY(-6px) rotate(0deg);
    }

    75% {
        transform: translateY(-4px) rotate(-5deg);
    }

    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.hero h1 {
    font-size: 26px;
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 10px;
}

.ps-accent {
    background: linear-gradient(135deg, var(--ps-blue-bright), var(--ps-blue-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 14px;
    color: var(--ps-text-dim);
    line-height: 1.5;
    max-width: 380px;
    margin: 0 auto 16px;
}

/* Tags */
.hero-tags {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    background: var(--ps-dark-surface);
    border: 1px solid var(--ps-dark-border);
    color: var(--ps-text-dim);
}

.tag i {
    font-size: 10px;
    color: var(--ps-blue-bright);
}

/* ===== CARD ===== */
.ps-card {
    background: var(--ps-dark-card);
    border: 1px solid var(--ps-dark-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.card-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    background: var(--ps-dark-surface);
    border-bottom: 1px solid var(--ps-dark-border);
    font-weight: 700;
    font-size: 14px;
}

.card-bar i {
    color: var(--ps-blue-bright);
}

.card-bar-back {
    gap: 8px;
}

.card-bar-success {
    background: linear-gradient(135deg, rgba(0, 210, 106, .12), rgba(0, 162, 255, .08));
}

.card-bar-success i {
    color: var(--ps-green);
}

.card-content {
    padding: 20px 18px;
}

/* ===== INPUT ===== */
.field-label {
    display: block;
    font-size: 12px;
    font-weight: 700;
    color: var(--ps-text-dim);
    text-transform: uppercase;
    letter-spacing: .8px;
    margin-bottom: 8px;
}

/* ===== PSN CARDS GRID ===== */
.psn-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 4px;
}

.psn-card-option {
    position: relative;
    border: 2px solid transparent;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    transition: all .3s cubic-bezier(.4, 0, .2, 1);
    background: transparent;
}

.psn-card-option:hover {
    transform: scale(1.03);
}

.psn-card-option.selected {
    border-color: var(--ps-blue-bright);
    transform: scale(1.05);
    box-shadow: 0 0 0 1px var(--ps-blue-bright), 0 6px 28px rgba(0, 162, 255, .35);
}

/* Card visual (mini PSN card look) */
.psn-card-img {
    padding: 8px;
}

.psn-card-visual {
    position: relative;
    background: linear-gradient(135deg, #003087 0%, #0050a0 40%, #0070d1 100%);
    border-radius: 10px;
    padding: 12px 14px;
    aspect-ratio: 16/10;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

.psn-card-v2 {
    background: linear-gradient(135deg, #002868 0%, #004090 40%, #0060b8 100%);
}

.psn-card-v3 {
    background: linear-gradient(135deg, #001854 0%, #003480 40%, #0055aa 100%);
}

.psn-card-gold {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1f3d 40%, #4a2c6e 100%);
}

.pcv-header {
    display: flex;
    align-items: center;
    gap: 6px;
}

.pcv-ps-logo {
    font-size: 16px;
    color: rgba(255, 255, 255, .85);
    flex-shrink: 0;
}

.pcv-store-label {
    font-size: 7px;
    font-weight: 600;
    color: rgba(255, 255, 255, .7);
    letter-spacing: .3px;
}

.pcv-amount {
    font-size: 28px;
    font-weight: 900;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, .3);
    line-height: 1;
}

.pcv-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pcv-type {
    font-size: 7px;
    color: rgba(255, 255, 255, .5);
    font-weight: 500;
    letter-spacing: .5px;
}

.pcv-region {
    font-size: 7px;
    color: rgba(255, 255, 255, .35);
    font-weight: 700;
    padding: 1px 5px;
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 3px;
    letter-spacing: .5px;
}

.pcv-bg-sym {
    position: absolute;
    right: 6px;
    bottom: 2px;
    width: 50px;
    height: 50px;
    opacity: .5;
}

.pcv-shine {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .06) 50%, transparent 70%);
    pointer-events: none;
}



/* ===== SERVICE EXTRAS ===== */
.svc-extras {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 18px;
}

.svc-extra {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--ps-dark-surface);
    border: 1.5px solid var(--ps-dark-border);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all var(--transition);
}

.svc-extra:hover {
    border-color: rgba(0, 162, 255, .3);
}

.svc-extra.selected {
    border-color: var(--ps-blue-bright);
    background: rgba(0, 162, 255, .06);
}

.svc-ico {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.svc-psplus {
    background: linear-gradient(135deg, #c9a84c, #daa520);
    color: #1a1a2e;
}

.svc-psnow {
    background: linear-gradient(135deg, #003087, #0070d1);
    color: white;
}

.svc-txt {
    flex: 1;
}

.svc-txt strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
}

.svc-txt small {
    font-size: 11px;
    color: var(--ps-text-dim);
}

.svc-chk {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    background: var(--ps-dark-border);
    color: transparent;
    transition: all var(--transition);
}

.svc-extra.selected .svc-chk {
    background: var(--ps-blue-bright);
    color: white;
}

/* ===== BUTTONS ===== */
.ps-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px;
    border: none;
    border-radius: var(--radius);
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    background: linear-gradient(135deg, var(--ps-blue) 0%, var(--ps-blue-light) 100%);
    color: white;
    box-shadow: 0 4px 16px rgba(0, 48, 135, .4);
    transition: all var(--transition);
    margin-top: 8px;
}

.ps-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px rgba(0, 48, 135, .5);
}

.ps-btn:active {
    transform: translateY(0);
}

.ps-btn:disabled {
    opacity: .4;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

.ps-btn.outline {
    background: transparent;
    color: var(--ps-blue-bright);
    border: 1.5px solid var(--ps-blue-bright);
    box-shadow: none;
}

.btn-verify {
    background: linear-gradient(135deg, var(--ps-blue), #0060c0);
    font-size: 16px;
    padding: 16px;
}

.btn-back {
    background: none;
    border: none;
    color: var(--ps-text);
    font-size: 16px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 8px;
    transition: background var(--transition);
}

.btn-back:hover {
    background: rgba(255, 255, 255, .06);
}

.bar-user {
    margin-left: auto;
    font-size: 12px;
    color: var(--ps-text-dim);
    display: flex;
    align-items: center;
    gap: 5px;
}

/* ===== TESTIMONIALS ===== */
.testi-section {
    margin-top: 28px;
}

.testi-label {
    font-size: 13px;
    font-weight: 700;
    color: var(--ps-text-dim);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.testi-label i {
    color: var(--ps-gold);
}

.testi-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.testi {
    display: flex;
    gap: 12px;
    padding: 14px;
    background: var(--ps-dark-card);
    border: 1px solid var(--ps-dark-border);
    border-radius: var(--radius);
}

.testi-av {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--ps-dark-surface);
    padding: 3px;
    flex-shrink: 0;
}

.testi-body {
    flex: 1;
    min-width: 0;
}

.testi-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 4px;
}

.testi-name {
    font-size: 13px;
    font-weight: 700;
}

.testi-stars {
    font-size: 11px;
    color: var(--ps-gold);
    letter-spacing: 1px;
}

.testi p {
    font-size: 12px;
    color: var(--ps-text-dim);
    line-height: 1.4;
}

/* ===== SLIDERS ===== */
.slider-group {
    margin-bottom: 18px;
}

.slider-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.slider-lbl {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
}

.slider-ico {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.slider-ico.svc-card-ico {
    background: linear-gradient(135deg, #003087, #0070d1);
    color: white;
}

.slider-ico.svc-psplus {
    background: linear-gradient(135deg, #c9a84c, #daa520);
    color: #1a1a2e;
}

.slider-ico.svc-psnow {
    background: linear-gradient(135deg, #003087, #0070d1);
    color: white;
}

.slider-val {
    font-size: 14px;
    font-weight: 800;
    color: var(--ps-blue-bright);
    background: rgba(0, 162, 255, .1);
    padding: 3px 10px;
    border-radius: 6px;
}

.slider-track {
    position: relative;
    height: 44px;
    display: flex;
    align-items: center;
}

.slider-bg {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 8px;
    border-radius: 4px;
    background: var(--ps-dark-border);
    pointer-events: none;
    z-index: 0;
}

.slider-fill {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(90deg, #002d7a 0%, #0055c4 35%, #0080e8 65%, #00aaff 100%);
    pointer-events: none;
    box-shadow: 0 0 12px rgba(0, 130, 255, .35), inset 0 1px 0 rgba(255, 255, 255, .15);
    overflow: hidden;
    z-index: 1;
}

/* Diagonal striped texture overlay on fill */
.slider-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 4px;
    background: repeating-linear-gradient(-45deg,
            rgba(255, 255, 255, .12),
            rgba(255, 255, 255, .12) 4px,
            transparent 4px,
            transparent 8px);
    animation: sliderStripes 1.5s linear infinite;
}

@keyframes sliderStripes {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 11.3px 0;
    }
}

.ps-range {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 4px;
    background: transparent;
    outline: none;
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 0;
    display: block;
}

.ps-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00a2ff, #0070d1);
    border: 3px solid var(--ps-dark-card);
    box-shadow: 0 2px 10px rgba(0, 162, 255, .5);
    cursor: pointer;
    transition: box-shadow .2s ease;
    margin-top: -8px;
}

.ps-range::-webkit-slider-thumb:hover {
    box-shadow: 0 2px 16px rgba(0, 162, 255, .7);
}

.ps-range::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00a2ff, #0070d1);
    border: 3px solid var(--ps-dark-card);
    box-shadow: 0 2px 10px rgba(0, 162, 255, .5);
    cursor: pointer;
}

.ps-range::-moz-range-track {
    background: transparent;
    border: none;
    height: 8px;
}

.ps-range::-webkit-slider-runnable-track {
    background: transparent;
    height: 8px;
    border-radius: 4px;
}

.slider-marks {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: var(--ps-text-dim);
    margin-top: 2px;
}

/* ===== SUMMARY ===== */
.summary-block {
    background: var(--ps-dark-surface);
    border: 1px solid var(--ps-dark-border);
    border-radius: var(--radius);
    padding: 14px;
    margin-bottom: 16px;
}

.summary-head {
    font-size: 13px;
    font-weight: 700;
    color: var(--ps-text-dim);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 13px;
}

.sum-label {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--ps-text-dim);
}

.sum-label i {
    color: var(--ps-blue-bright);
    width: 16px;
    text-align: center;
}

.sum-value {
    font-weight: 700;
    color: var(--ps-text);
}

/* ===== LOADING SCREEN ===== */

/* Progress */
.progress-section {
    margin-bottom: 18px;
}

.progress-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    margin-bottom: 6px;
}

.progress-row span:first-child {
    color: var(--ps-text-dim);
}

.progress-row span:last-child {
    font-weight: 700;
    color: var(--ps-blue-bright);
}

.ps-progress {
    height: 8px;
    border-radius: 4px;
    background: var(--ps-dark-border);
    overflow: hidden;
}

.ps-progress-fill {
    height: 100%;
    width: 0;
    border-radius: 4px;
    background: linear-gradient(90deg, #002d7a 0%, #0055c4 35%, #0080e8 65%, #00aaff 100%);
    transition: width .4s ease;
    position: relative;
    overflow: hidden;
}

.ps-progress-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 4px;
    background: repeating-linear-gradient(-45deg,
            rgba(255, 255, 255, .12),
            rgba(255, 255, 255, .12) 4px,
            transparent 4px,
            transparent 8px);
    animation: sliderStripes 1.5s linear infinite;
}

/* Steps */
.steps-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 16px;
}

.step {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .04);
}

.step:last-child {
    border-bottom: none;
}

.step-dot {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--ps-dark-surface);
    border: 1px solid var(--ps-dark-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    color: var(--ps-text-dim);
    transition: all var(--transition);
    flex-shrink: 0;
}

.step.active .step-dot {
    background: rgba(0, 162, 255, .15);
    border-color: var(--ps-blue-bright);
    color: var(--ps-blue-bright);
    animation: stepPulse 1.5s ease infinite;
}

.step.completed .step-dot {
    background: rgba(0, 210, 106, .12);
    border-color: var(--ps-green);
    color: var(--ps-green);
}

@keyframes stepPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(0, 162, 255, .3);
    }

    50% {
        box-shadow: 0 0 0 6px rgba(0, 162, 255, 0);
    }
}

.step-text {
    flex: 1;
}

.step-title {
    display: block;
    font-size: 13px;
    font-weight: 600;
}

.step-status {
    display: block;
    font-size: 11px;
    color: var(--ps-text-dim);
}

.step.active .step-status {
    color: var(--ps-blue-bright);
}

.step.completed .step-status {
    color: var(--ps-green);
}

.step-ok {
    color: var(--ps-green);
    font-size: 14px;
    opacity: 0;
    transition: opacity .3s;
}

.step.completed .step-ok {
    opacity: 1;
}

/* Terminal */
.terminal {
    background: #0d1117;
    border: 1px solid var(--ps-dark-border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 16px;
}

.term-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: rgba(255, 255, 255, .03);
    border-bottom: 1px solid var(--ps-dark-border);
}

.term-dots {
    display: flex;
    gap: 5px;
}

.term-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.term-dots span:nth-child(1) {
    background: #ff5f57;
}

.term-dots span:nth-child(2) {
    background: #febc2e;
}

.term-dots span:nth-child(3) {
    background: #28c840;
}

.term-title {
    font-size: 11px;
    color: var(--ps-text-dim);
}

.term-body {
    padding: 10px 12px;
    max-height: 150px;
    overflow-y: auto;
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 11px;
    line-height: 1.7;
}

.log-line {
    display: flex;
    gap: 8px;
}

.log-ts {
    color: var(--ps-text-dim);
    white-space: nowrap;
}

.log-info {
    color: var(--ps-blue-bright);
}

.log-success {
    color: var(--ps-green);
}

.log-warning {
    color: var(--ps-yellow);
}

/* Counters */
.counters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.cnt {
    text-align: center;
    padding: 12px 6px;
    background: var(--ps-dark-surface);
    border: 1px solid var(--ps-dark-border);
    border-radius: var(--radius);
}

.cnt i {
    font-size: 16px;
    color: var(--ps-blue-bright);
    margin-bottom: 4px;
    display: block;
}

.cnt-val {
    display: block;
    font-size: 18px;
    font-weight: 900;
    margin-bottom: 2px;
}

.cnt-lbl {
    font-size: 10px;
    color: var(--ps-text-dim);
}

/* ===== RESULT SCREEN ===== */
.result-content {
    text-align: center;
}

.result-desc {
    font-size: 14px;
    color: var(--ps-text-dim);
    margin-bottom: 20px;
    line-height: 1.5;
}

/* Code card display */
.code-display {
    margin-bottom: 16px;
}

.code-card-visual {
    background: linear-gradient(135deg, #003087 0%, #0050a0 40%, #0070d1 100%);
    border-radius: 14px;
    padding: 18px 20px;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.code-card-visual .pcv-header {
    margin-bottom: 6px;
}

.code-card-visual .pcv-ps-logo {
    font-size: 20px;
}

.code-card-visual .pcv-amount {
    font-size: 36px;
    font-weight: 900;
    color: white;
    margin-bottom: 8px;
}

.code-value {
    font-family: 'SF Mono', 'Fira Code', monospace;
    font-size: 18px;
    font-weight: 700;
    color: rgba(255, 255, 255, .7);
    letter-spacing: 3px;
    padding: 8px 14px;
    background: rgba(0, 0, 0, .2);
    border-radius: 8px;
    display: inline-block;
    margin-bottom: 8px;
}

/* Hidden code notice */
.code-hidden-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: rgba(255, 193, 7, .08);
    border: 1px solid rgba(255, 193, 7, .2);
    border-radius: var(--radius);
    font-size: 12px;
    color: var(--ps-yellow);
    margin-bottom: 16px;
    text-align: left;
    line-height: 1.4;
}

.code-hidden-notice i {
    font-size: 16px;
    flex-shrink: 0;
}

.result-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 20px;
}

.result-box {
    text-align: center;
    padding: 14px 8px;
    background: var(--ps-dark-surface);
    border: 1px solid var(--ps-dark-border);
    border-radius: var(--radius);
}

.result-box i {
    font-size: 18px;
    color: var(--ps-blue-bright);
    margin-bottom: 6px;
    display: block;
}

.result-val {
    display: block;
    font-size: 20px;
    font-weight: 900;
    color: var(--ps-green);
    margin-bottom: 2px;
}

.result-lbl {
    font-size: 10px;
    color: var(--ps-text-dim);
}

.verify-note {
    font-size: 12px;
    color: var(--ps-text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 12px;
}

/* ===== OFFERS SCREEN ===== */
.offers-desc {
    font-size: 14px;
    color: var(--ps-text-dim);
    margin-bottom: 16px;
    line-height: 1.5;
}

.offers-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    gap: 14px;
}

.ps-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--ps-dark-border);
    border-top-color: var(--ps-blue-bright);
    border-radius: 50%;
    animation: spin .8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.offers-loading p {
    font-size: 13px;
    color: var(--ps-text-dim);
}

.offers-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 3px;
}

.offer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: var(--ps-dark-surface);
    border: 1px solid var(--ps-dark-border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--ps-text);
    transition: all var(--transition);
}

.offer-item:hover {
    border-color: var(--ps-blue-bright);
    background: rgba(0, 162, 255, .05);
}

.offer-icon {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: var(--ps-dark-card);
}

.offer-info {
    flex: 1;
    min-width: 0;
}

.offer-name {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 2px;
}

.offer-desc {
    font-size: 11px;
    color: var(--ps-text-dim);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.offer-go {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--ps-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 13px;
    flex-shrink: 0;
    transition: background var(--transition);
}

.offer-item:hover .offer-go {
    background: var(--ps-blue-light);
}

.offers-error {
    text-align: center;
    padding: 30px 0;
    color: var(--ps-text-dim);
}

.offers-error i {
    font-size: 32px;
    color: var(--ps-yellow);
    margin-bottom: 10px;
    display: block;
}

.offers-error p {
    margin-bottom: 14px;
}

.offers-foot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 11px;
    color: var(--ps-text-dim);
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid var(--ps-dark-border);
}

.offers-foot i {
    color: var(--ps-blue-bright);
}

/* ===== POPUP ===== */
.ps-popup {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(-120%);
    z-index: 9999;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 600;
    backdrop-filter: blur(16px);
    box-shadow: var(--shadow-lg);
    transition: transform .4s cubic-bezier(.4, 0, .2, 1);
    max-width: 90vw;
}

.ps-popup.show {
    transform: translateX(-50%) translateY(0);
}

.ps-popup-error {
    background: linear-gradient(135deg, rgba(255, 71, 87, .9), rgba(200, 40, 50, .9));
    color: white;
}

.ps-popup-success {
    background: linear-gradient(135deg, rgba(0, 210, 106, .9), rgba(0, 170, 80, .9));
    color: white;
}

.ps-popup-icon {
    font-size: 16px;
}

.ps-popup-icon i {
    animation: popPulse .6s ease;
}

@keyframes popPulse {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.ps-popup-text {
    flex: 1;
}

.ps-popup-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, .7);
    cursor: pointer;
    font-size: 14px;
    padding: 2px 4px;
}

/* ===== SCROLLBAR ===== */
::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--ps-dark-border);
    border-radius: 2px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 380px) {
    .hero h1 {
        font-size: 22px;
    }

    .psn-cards-grid {
        gap: 8px;
    }

    .pcv-amount {
        font-size: 22px;
    }

    .hero-symbols {
        gap: 10px;
    }

    .hs {
        width: 48px;
        height: 48px;
    }

    .hs svg {
        width: 24px;
        height: 24px;
    }
}