/* ============================================================
   Volume X – Cashless Design System
   CI: Yellow #ffed00 · Dark #12263a · White
   ============================================================ */

/* === Variables === */
:root {
    --vx-yellow:   #ffed00;
    --vx-dark-900: #070e16;
    --vx-dark-800: #0d1e2e;
    --vx-dark-700: #12263a;
    --vx-dark-600: #1a3050;
    --vx-dark-500: #24405e;
    --vx-border:   rgba(255, 255, 255, 0.08);
    --vx-border-y: rgba(255, 237, 0, 0.2);
    --vx-muted:    rgba(255, 255, 255, 0.48);
    --vx-r:        12px;
    --vx-r-lg:     20px;
}

/* === Base === */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    background-color: var(--vx-dark-800);
    color: #fff;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--vx-dark-800); }
::-webkit-scrollbar-thumb { background: var(--vx-dark-500); border-radius: 3px; }

/* === Utility === */
.vx-yellow { color: var(--vx-yellow); }

/* ============================================================
   NAVBAR
   ============================================================ */
.vx-navbar {
    background: rgba(7, 14, 22, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--vx-border);
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.vx-toggler {
    border: 1px solid rgba(255, 237, 0, 0.3) !important;
    background: transparent !important;
    padding: 5px 10px;
    line-height: 1;
}

.vx-nav-link {
    color: rgba(255, 255, 255, 0.65) !important;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 7px 14px !important;
    border-radius: 6px;
    transition: color 0.2s, background 0.2s;
}
.vx-nav-link:hover,
.vx-nav-link.active {
    color: var(--vx-yellow) !important;
    background: rgba(255, 237, 0, 0.07);
}

.vx-navbar-tickee { opacity: 0.7; transition: opacity 0.2s; }
.vx-navbar-tickee:hover { opacity: 1; }

/* ============================================================
   HERO
   ============================================================ */
.vx-hero {
    padding: 104px 0 88px;
    background:
        radial-gradient(ellipse 90% 70% at 15% 60%, rgba(255, 237, 0, 0.04) 0%, transparent 60%),
        radial-gradient(ellipse 70% 50% at 85% 25%, rgba(255, 237, 0, 0.03) 0%, transparent 55%),
        linear-gradient(155deg, #060d14 0%, #0f2136 45%, #0d1e2e 100%);
    position: relative;
    overflow: hidden;
}

.vx-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 237, 0, 0.055) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse 75% 85% at 50% 50%, black 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 75% 85% at 50% 50%, black 0%, transparent 80%);
    pointer-events: none;
}

.vx-pill {
    display: inline-block;
    background: rgba(255, 237, 0, 0.08);
    border: 1px solid rgba(255, 237, 0, 0.22);
    color: var(--vx-yellow);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 100px;
    margin-bottom: 28px;
}

.vx-display {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(3.8rem, 11vw, 7.5rem);
    font-weight: 800;
    line-height: 0.92;
    letter-spacing: -0.01em;
    color: #fff;
    margin-bottom: 28px;
}

.vx-hero-sub {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.55);
    max-width: 480px;
    line-height: 1.8;
    margin: 0 auto 44px;
}

.vx-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--vx-yellow);
    color: var(--vx-dark-700) !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none !important;
    transition: transform 0.2s, box-shadow 0.2s;
}
.vx-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(255, 237, 0, 0.28);
}

/* ============================================================
   INFO STRIP
   ============================================================ */
.vx-info-strip {
    background: var(--vx-dark-700);
    border-top: 1px solid var(--vx-border-y);
    border-bottom: 1px solid var(--vx-border-y);
}

.vx-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 28px 36px;
}

.vx-info-icon {
    font-size: 1.75rem;
    color: var(--vx-yellow);
    flex-shrink: 0;
}

.vx-info-value {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.vx-info-label {
    font-size: 0.74rem;
    color: var(--vx-muted);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    margin-top: 2px;
}

.vx-strip-border { border-right: 1px solid var(--vx-border); }

@media (max-width: 767px) {
    .vx-strip-border { border-right: none; border-bottom: 1px solid var(--vx-border); }
    .vx-info-item { padding: 20px 24px; }
}

/* ============================================================
   STEPS
   ============================================================ */
.vx-steps {
    padding: 96px 0;
    background: var(--vx-dark-800);
}

.vx-section-tag {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--vx-yellow);
    margin-bottom: 12px;
}

.vx-section-heading {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.05;
    color: #fff;
    margin-bottom: 0;
}

.vx-step-card {
    background: var(--vx-dark-600);
    border: 1px solid var(--vx-border);
    border-radius: var(--vx-r-lg);
    padding: 36px 28px;
    height: 100%;
    transition: border-color 0.25s, transform 0.25s;
}
.vx-step-card:hover {
    border-color: var(--vx-border-y);
    transform: translateY(-5px);
}

.vx-step-num {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--vx-yellow);
    background: rgba(255, 237, 0, 0.07);
    border: 1px solid rgba(255, 237, 0, 0.18);
    border-radius: 5px;
    padding: 3px 10px;
    display: inline-block;
    margin-bottom: 20px;
}

.vx-step-icon {
    display: block;
    font-size: 2rem;
    color: var(--vx-yellow);
    margin-bottom: 16px;
}

.vx-step-title {
    font-weight: 600;
    font-size: 1.05rem;
    color: #fff;
    margin-bottom: 10px;
}

.vx-step-desc {
    font-size: 0.875rem;
    color: var(--vx-muted);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ============================================================
   BALANCE SECTION
   ============================================================ */
.vx-balance {
    padding: 96px 0;
    background: linear-gradient(180deg, var(--vx-dark-800) 0%, var(--vx-dark-700) 100%);
}

.vx-form-card {
    background: var(--vx-dark-600);
    border: 1px solid var(--vx-border);
    border-radius: var(--vx-r-lg);
    padding: 40px;
}

.vx-form-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.vx-form-subtitle {
    font-size: 0.875rem;
    color: var(--vx-muted);
    margin-bottom: 28px;
}

/* === Form controls === */
.vx-form-group { margin-bottom: 20px; }

.vx-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 8px;
}

.vx-input {
    display: block;
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 1rem; /* min. 16px verhindert Auto-Zoom auf iOS */
    font-family: inherit;
    padding: 13px 16px;
    outline: none;
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
}
.vx-input::placeholder { color: rgba(255, 255, 255, 0.2); }
.vx-input:focus {
    border-color: rgba(255, 237, 0, 0.5);
    background: rgba(255, 237, 0, 0.03);
    box-shadow: 0 0 0 3px rgba(255, 237, 0, 0.1);
}

.vx-hint {
    display: block;
    font-size: 0.77rem;
    color: rgba(255, 255, 255, 0.3);
    margin-top: 7px;
    line-height: 1.5;
}

/* === Buttons === */
.vx-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: var(--vx-yellow);
    color: var(--vx-dark-700);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.01em;
    padding: 13px 24px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
    font-family: inherit;
    line-height: 1;
}
.vx-btn:hover:not(:disabled):not(.disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255, 237, 0, 0.28);
    color: var(--vx-dark-700);
}
.vx-btn:disabled,
.vx-btn.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    pointer-events: none;
}

.vx-btn-ghost {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}
.vx-btn-ghost:hover:not(:disabled):not(.disabled) {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 237, 0, 0.35);
    color: #fff;
    box-shadow: none;
    transform: none;
}

.vx-btn-donate {
    background: transparent;
    color: var(--vx-yellow);
    border: 1px solid rgba(255, 237, 0, 0.3);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    line-height: 1;
    font-family: inherit;
}
.vx-btn-donate:hover {
    background: rgba(255, 237, 0, 0.07);
    box-shadow: 0 0 0 3px rgba(255, 237, 0, 0.1);
}

/* === Divider === */
.vx-divider { border-color: var(--vx-border); margin: 28px 0; }

/* === Balance result === */
.vx-result-card {
    background: rgba(255, 237, 0, 0.06);
    border: 1px solid rgba(255, 237, 0, 0.2);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.vx-result-label {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 10px;
}

.vx-result-amount {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 3.2rem;
    font-weight: 800;
    color: var(--vx-yellow);
    line-height: 1;
}

/* === Alerts === */
.vx-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    line-height: 1.55;
}
.vx-alert i { flex-shrink: 0; margin-top: 1px; }

.vx-alert-error {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.25);
    color: #fca5a5;
}
.vx-alert-success {
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.25);
    color: #86efac;
}
.vx-alert-info {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.25);
    color: #93c5fd;
}

/* ============================================================
   MODAL
   ============================================================ */
.vx-modal {
    background: var(--vx-dark-700);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--vx-r-lg) !important;
    color: #fff;
}
.vx-modal-header {
    border-bottom: 1px solid var(--vx-border);
    padding: 20px 24px;
}
.vx-modal-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}
.vx-modal-body { padding: 24px; }
.vx-modal-text {
    font-size: 0.875rem;
    color: var(--vx-muted);
    margin-bottom: 20px;
    line-height: 1.65;
}

.vx-option-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--vx-border);
    border-radius: 12px;
    padding: 20px;
}
.vx-option-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}
.vx-option-title {
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
}
.vx-option-desc {
    font-size: 0.84rem;
    color: var(--vx-muted);
    line-height: 1.65;
    margin-bottom: 16px;
}

.vx-or {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 18px 0;
    color: rgba(255, 255, 255, 0.25);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.vx-or::before, .vx-or::after {
    content: '';
    flex: 1;
    border-top: 1px solid var(--vx-border);
}

.vx-link { color: var(--vx-yellow); text-decoration: none; }
.vx-link:hover { text-decoration: underline; color: var(--vx-yellow); }

/* ============================================================
   FOOTER
   ============================================================ */
.vx-footer {
    background: var(--vx-dark-900);
    border-top: 1px solid var(--vx-border);
    padding: 56px 0 28px;
}

.vx-footer-logo { max-width: 150px; display: block; margin-bottom: 16px; }

.vx-footer-address {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.3);
    line-height: 1.65;
    margin-bottom: 12px;
}

.vx-footer-heading {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.13em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.28);
    margin-bottom: 16px;
}

.vx-footer-list { display: flex; flex-direction: column; gap: 10px; }

.vx-footer-link {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.48);
    text-decoration: none;
    transition: color 0.2s;
    display: inline-block;
}
.vx-footer-link:hover { color: var(--vx-yellow); }

.vx-footer-hr { border-color: var(--vx-border); margin: 40px 0 24px; }

.vx-footer-copy {
    font-size: 0.77rem;
    color: rgba(255, 255, 255, 0.22);
    margin-bottom: 0;
}
.vx-footer-copy a { color: rgba(255, 255, 255, 0.35); text-decoration: none; transition: color 0.2s; }
.vx-footer-copy a:hover { color: var(--vx-yellow); }

/* === Charge locked notice === */
.vx-charge-locked {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 12px;
}
.vx-charge-locked i {
    color: rgba(255, 237, 0, 0.55);
    font-size: 0.85rem;
}

/* === Legal notice (Pflichthinweise vor dem Aufladen-Button) === */
.vx-legal-notice {
    font-size: 0.79rem;
    color: rgba(255, 255, 255, 0.38);
    line-height: 1.65;
    margin-bottom: 16px;
}
.vx-legal-notice a {
    color: rgba(255, 255, 255, 0.5);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.vx-legal-notice a:hover {
    color: rgba(255, 255, 255, 0.75);
}

/* === Feature list === */
.vx-feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.vx-feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}
.vx-feature-list li i {
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* === Stripe Payment Element container === */
#payment-element {
    min-height: 120px;
    border-radius: 10px;
    overflow: hidden;
}

/* === Animated success checkmark === */
.vx-success-animated {
    text-align: center;
    padding: 16px 0 8px;
    animation: vx-fade-up 0.4s ease forwards;
}

@keyframes vx-fade-up {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

.vx-checkmark {
    width: 80px;
    height: 80px;
    display: block;
    margin: 0 auto 20px;
    border-radius: 50%;
}

.vx-checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 2;
    stroke: #22c55e;
    fill: rgba(34, 197, 94, 0.1);
    animation: vx-stroke 0.55s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.vx-checkmark-check {
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    stroke-width: 3.5;
    stroke: #22c55e;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    animation: vx-stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.55s forwards;
}

@keyframes vx-stroke {
    100% { stroke-dashoffset: 0; }
}

.vx-success-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.7rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.vx-success-sub {
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.65;
    margin-bottom: 0;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 575px) {
    .vx-hero { padding: 72px 0 64px; }
    .vx-form-card { padding: 28px 20px; }
    .vx-steps { padding: 64px 0; }
    .vx-balance { padding: 64px 0; }
}
