@import url('https://fonts.googleapis.com/css2?family=Sora:wght@300;400;600;700&family=DM+Sans:wght@400;500;600&display=swap');

:root {
    --hotact-bg:         #ffffff;
    --hotact-card:       #ffffff;
    --hotact-card-inner: #f7f8fc;
    --hotact-border:     #e4e7f0;
    --hotact-accent:     #FFC439;
    --hotact-accent-h:   #CC9500;
    --hotact-accent2:    #E6A800;
    --hotact-text:       #1a1f3c;
    --hotact-muted:      #363940;
    --hotact-muted-lt:   #050404;
    --hotact-success:    #10b981;
    --hotact-error:      #ef4444;
    --hotact-radius:     12px;
    --hotact-shadow:     0 4px 24px rgba(0,0,0,0.07), 0 1px 3px rgba(0,0,0,0.05);
}

#hotact-form-wrapper {
    font-family: 'Sora', sans-serif;
    background: var(--hotact-card);
    border: 1px solid var(--hotact-border);
    border-radius: 20px;
    max-width: 520px;
    margin: 40px auto;
    padding: 44px 40px;
    color: var(--hotact-text);
    box-shadow: var(--hotact-shadow);
    position: relative;
    overflow: hidden;
}

/* Yellow top accent bar matching Hot Player branding */
#hotact-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--hotact-accent), var(--hotact-accent2));
    border-radius: 20px 20px 0 0;
}

/* Progress */
.hotact-progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 36px;
}

.hotact-progress-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    opacity: 0.38;
    transition: opacity 0.3s;
}

.hotact-progress-step.active,
.hotact-progress-step.done { opacity: 1; }

.step-number {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: #f3f4f6;
    border: 2px solid var(--hotact-border);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 14px; color: var(--hotact-muted-lt);
    transition: all 0.3s;
}

.hotact-progress-step.active .step-number {
    background: var(--hotact-accent);
    border-color: var(--hotact-accent);
    color: #fff;
    box-shadow: 0 0 0 4px rgba(245,166,35,0.18);
}

.hotact-progress-step.done .step-number {
    background: var(--hotact-success);
    border-color: var(--hotact-success);
    color: #fff;
}

.step-label {
    font-size: 11px; color: var(--hotact-muted-lt);
    white-space: nowrap; letter-spacing: 0.03em;
}

.hotact-progress-step.active .step-label {
    color: var(--hotact-accent);
    font-weight: 700;
}

.hotact-progress-step.done .step-label {
    color: var(--hotact-success);
}

.hotact-progress-line {
    flex: 1; height: 2px;
    background: var(--hotact-border);
    margin: 0 10px; margin-bottom: 22px;
    max-width: 60px; border-radius: 2px;
}

/* Step title */
.hotact-step-title {
    font-size: 21px; font-weight: 700;
    margin: 0 0 24px; color: var(--hotact-text);
    padding-bottom: 12px;
    border-bottom: 2px solid #f3f4f6;
}

/* Form groups */
.hotact-form-group { margin-bottom: 20px; }

.hotact-form-group label {
    display: block; font-size: 11px; font-weight: 700;
    color: var(--hotact-muted); margin-bottom: 8px;
    letter-spacing: 0.08em; text-transform: uppercase;
}

.required { color: var(--hotact-accent); }

.hotact-form-group input[type="text"],
.hotact-form-group input[type="email"],
.hotact-form-group input[type="tel"] {
    width: 100%;
    background: var(--hotact-card-inner);
    border: 1.5px solid var(--hotact-border);
    border-radius: var(--hotact-radius);
    padding: 13px 16px;
    color: var(--hotact-text);
    font-family: 'Sora', sans-serif;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}

.hotact-form-group input:focus {
    outline: none;
    border-color: var(--hotact-accent);
    box-shadow: 0 0 0 3px rgba(245,166,35,0.15);
    background: #fff;
}

.hotact-form-group input::placeholder { color: #c4c9d9; }

.hotact-error {
    display: block; color: var(--hotact-error);
    font-size: 12px; margin-top: 6px; min-height: 16px;
}

/* Buttons */
.hotact-btn-row {
    display: flex; gap: 12px; margin-top: 28px; justify-content: flex-end;
}

.hotact-btn {
    padding: 13px 28px;
    border-radius: var(--hotact-radius);
    font-family: 'Sora', sans-serif;
    font-weight: 700; font-size: 15px;
    cursor: pointer; border: none;
    transition: all 0.2s; letter-spacing: 0.02em;
}

.hotact-btn-primary {
    background: linear-gradient(135deg, var(--hotact-accent), var(--hotact-accent2));
    color: #fff;
    box-shadow: 0 4px 16px rgba(245,166,35,0.35);
}

.hotact-btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 22px rgba(245,166,35,0.5);
}

.hotact-btn-secondary {
    background: #f3f4f6;
    color: var(--hotact-muted);
    border: 1px solid var(--hotact-border);
}

.hotact-btn-secondary:hover {
    background: #e9ebf0;
    color: var(--hotact-text);
}

/* Payment */
.hotact-amount-box {
    background: linear-gradient(135deg, #fffbf0, #fff3cc);
    border: 1.5px solid rgba(245,166,35,0.4);
    border-radius: var(--hotact-radius);
    padding: 20px 24px;
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 24px;
}

.hotact-amount-label { font-size: 14px; color: var(--hotact-muted); font-weight: 600; }
.hotact-amount-value { font-size: 32px; font-weight: 700; color: var(--hotact-accent2); }

.hotact-payment-btn-wrap { text-align: center; margin-bottom: 28px; }

.hotact-btn-payment {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: #FFC439;
    color: #003087;
    padding: 14px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-family: 'Sora', sans-serif;
    font-weight: 700; font-size: 16px;
    box-shadow: 0 4px 20px rgba(255,196,57,0.45), 0 2px 6px rgba(0,0,0,0.1);
    transition: all 0.25s;
    border: none;
}

.hotact-btn-payment:hover {
    transform: translateY(-2px);
    background: #f0b429;
    box-shadow: 0 8px 28px rgba(255,196,57,0.55), 0 3px 8px rgba(0,0,0,0.12);
    color: #003087;
    text-decoration: none;
}

.hotact-payment-hint { font-size: 12px; color: var(--hotact-muted-lt); margin-top: 10px; }

/* File upload */
.hotact-file-drop {
    position: relative;
    border: 2px dashed var(--hotact-border);
    border-radius: var(--hotact-radius);
    padding: 28px; text-align: center;
    cursor: pointer; transition: all 0.2s;
    background: var(--hotact-card-inner);
}

.hotact-file-drop:hover,
.hotact-file-drop.dragover {
    border-color: var(--hotact-accent);
    background: #fff8ec;
}

.hotact-file-drop input[type="file"] {
    position: absolute; inset: 0; opacity: 0;
    cursor: pointer; width: 100%; height: 100%;
}

.hotact-file-label {
    display: flex; flex-direction: column;
    align-items: center; gap: 8px; pointer-events: none;
}

.hotact-file-icon { font-size: 28px; }
#hotact-file-name { font-size: 14px; color: var(--hotact-muted); }

/* Summary */
.hotact-summary {
    background: var(--hotact-card-inner);
    border: 1px solid var(--hotact-border);
    border-radius: var(--hotact-radius);
    padding: 20px; margin-bottom: 4px;
}

.hotact-summary-row {
    display: flex; justify-content: space-between;
    padding: 9px 0;
    border-bottom: 1px solid var(--hotact-border);
    font-size: 14px;
}

.hotact-summary-row:last-child { border-bottom: none; }
.hotact-summary-row span:first-child { color: var(--hotact-muted); }
.hotact-summary-row span:last-child  { font-weight: 600; color: var(--hotact-text); }

/* Waiting / Success */
#hotact-waiting,
#hotact-success { text-align: center; padding: 20px 0; }

.hotact-spinner {
    width: 60px; height: 60px;
    border: 3px solid var(--hotact-border);
    border-top-color: var(--hotact-accent);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 24px;
}

@keyframes spin { to { transform: rotate(360deg); } }

.hotact-countdown {
    font-size: 52px; font-weight: 700;
    color: var(--hotact-accent2);
    letter-spacing: 0.05em; margin-top: 16px;
}

.hotact-waiting-text,
.hotact-success-text { color: var(--hotact-muted); font-size: 15px; margin-top: 8px; line-height: 1.6; }

.hotact-success-icon {
    width: 76px; height: 76px;
    background: linear-gradient(135deg, var(--hotact-success), #059669);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 34px; color: #fff;
    margin: 0 auto 24px;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 0 0 8px rgba(16,185,129,0.12);
}

@keyframes popIn {
    0%   { transform: scale(0); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Responsive */
@media (max-width: 560px) {
    #hotact-form-wrapper { padding: 28px 18px; margin: 20px 12px; }
    .hotact-amount-value  { font-size: 26px; }
    .hotact-step-title    { font-size: 18px; }
}

/* ── WhatsApp Button ─────────────────────────────────────────────────────── */

.wa-btn-wrap {
    max-width: 520px;
    margin: 48px auto 0;
    display: flex;
    justify-content: center;
    padding-top: 32px;
    border-top: 1.5px dashed #e4e7f0;
    position: relative;
}

.wa-btn-wrap::before {
    content: '— Need help? —';
    position: absolute;
    top: -11px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 0 12px;
    font-family: 'Sora', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #9ca3af;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.wa-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
    border-radius: 999px;
    padding: 4px;
    background: conic-gradient(from 0deg, #25d366, #00e5ff, #7c3aed, #ff4ecd, #25d366);
    animation: wa-border-hue 3s linear infinite;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.35s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.18);
    width: 100%;
    max-width: 460px;
    box-sizing: border-box;
}

@keyframes wa-border-hue {
    to { filter: hue-rotate(360deg); }
}

.wa-button:hover {
    transform: scale(1.03) translateY(-3px);
    box-shadow: 0 12px 36px rgba(37,211,102,0.3), 0 4px 16px rgba(0,0,0,0.15);
    text-decoration: none;
}

.wa-inner {
    display: flex;
    align-items: center;
    background: #0d0d0d;
    border-radius: 999px;
    overflow: hidden;
    width: 100%;
}

.wa-logo-wrap {
    position: relative;
    width: 76px;
    height: 76px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wa-logo-wrap::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: conic-gradient(#25d366, #00e5ff, #7c3aed, #ff4ecd, #25d366);
    animation: wa-ring-spin 2s linear infinite;
}

@keyframes wa-ring-spin {
    to { transform: rotate(360deg); }
}

.wa-logo-bg {
    position: relative;
    z-index: 1;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #2ecc71, #1a8a42);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: wa-logo-pulse 2s ease-in-out infinite;
}

@keyframes wa-logo-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.6), 0 0 20px rgba(37,211,102,0.3); }
    50%       { box-shadow: 0 0 0 8px rgba(37,211,102,0), 0 0 40px rgba(37,211,102,0.5); }
}

.wa-logo-bg svg {
    width: 38px;
    height: 38px;
    fill: white;
    animation: wa-phone-ring 2.5s ease-in-out infinite;
}

@keyframes wa-phone-ring {
    0%, 80%, 100% { transform: rotate(0deg); }
    85%  { transform: rotate(-15deg); }
    90%  { transform: rotate(15deg); }
    95%  { transform: rotate(-10deg); }
}

.wa-text {
    padding: 14px 24px 14px 12px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
}

.wa-title {
    font-family: 'Arial Black', 'Sora', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -0.03em;
    line-height: 1;
    background: linear-gradient(90deg, #25d366, #00e5ff, #a855f7, #ff4ecd, #25d366);
    background-size: 300% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: wa-text-flow 3s linear infinite;
    white-space: nowrap;
}

@keyframes wa-text-flow {
    0%   { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

.wa-sub {
    font-family: 'Sora', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.wa-sub-plain { color: rgba(255,255,255,0.45); }

.wa-sub-cta {
    color: #25d366;
    font-weight: 600;
    position: relative;
}

.wa-sub-cta::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0;
    width: 100%; height: 1.5px;
    background: #25d366;
    animation: wa-cta-blink 1.8s ease-in-out infinite;
}

@keyframes wa-cta-blink {
    0%, 100% { opacity: 1; } 50% { opacity: 0; }
}

.wa-dot {
    width: 8px; height: 8px;
    background: #ff4ecd;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff4ecd;
    animation: wa-dot-pop 1.2s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes wa-dot-pop {
    0%, 100% { transform: scale(1);   box-shadow: 0 0 8px #ff4ecd; }
    50%       { transform: scale(1.4); box-shadow: 0 0 16px #ff4ecd; }
}

.wa-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    border-radius: 999px;
    overflow: hidden;
}

.wa-p {
    position: absolute;
    border-radius: 50%;
    animation: wa-float-up linear infinite;
    opacity: 0;
}

@keyframes wa-float-up {
    0%   { transform: translateY(0) scale(0); opacity: 0.9; }
    100% { transform: translateY(-80px) scale(1.5); opacity: 0; }
}

.wa-p:nth-child(1) { width:5px; height:5px; background:#25d366; left:15%; bottom:0; animation-duration:2.4s; animation-delay:0s; }
.wa-p:nth-child(2) { width:4px; height:4px; background:#00e5ff; left:30%; bottom:0; animation-duration:1.8s; animation-delay:0.4s; }
.wa-p:nth-child(3) { width:5px; height:5px; background:#a855f7; left:50%; bottom:0; animation-duration:2.1s; animation-delay:0.8s; }
.wa-p:nth-child(4) { width:3px; height:3px; background:#ff4ecd; left:70%; bottom:0; animation-duration:1.6s; animation-delay:0.2s; }
.wa-p:nth-child(5) { width:5px; height:5px; background:#fbbf24; left:85%; bottom:0; animation-duration:2.7s; animation-delay:1.1s; }
.wa-p:nth-child(6) { width:4px; height:4px; background:#25d366; left:42%; bottom:0; animation-duration:2.0s; animation-delay:1.5s; }
.wa-p:nth-child(7) { width:4px; height:4px; background:#00e5ff; left:60%; bottom:0; animation-duration:1.9s; animation-delay:0.6s; }

.wa-tooltip {
    position: absolute;
    top: -46px; left: 50%;
    transform: translateX(-50%) translateY(5px);
    background: #25d366;
    color: #fff;
    font-family: 'Sora', sans-serif;
    font-size: 0.75rem; font-weight: 600;
    padding: 6px 14px;
    border-radius: 20px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s, transform 0.2s;
    z-index: 10;
    letter-spacing: 0.04em;
}

.wa-tooltip::after {
    content: '';
    position: absolute;
    bottom: -5px; left: 50%;
    transform: translateX(-50%);
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid #25d366;
}

.wa-button:hover .wa-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

@media (max-width: 560px) {
    .wa-btn-wrap { margin: 40px 12px 0; padding-top: 28px; }
    .wa-logo-wrap { width: 60px; height: 60px; }
    .wa-logo-bg   { width: 54px; height: 54px; }
    .wa-logo-bg svg { width: 30px; height: 30px; }
    .wa-title     { font-size: 1.15rem; }
    .wa-text      { padding: 10px 16px 10px 10px; }
}

/* 12M badge on amount box */
.hotact-amount-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFC439, #E6A800);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 8px;
    letter-spacing: 0.05em;
    vertical-align: middle;
    text-transform: uppercase;
}

/* Plan badge on amount box */
.hotact-amount-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FFC439, #E6A800);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    margin-left: 8px;
    letter-spacing: 0.05em;
    vertical-align: middle;
    text-transform: uppercase;
}
