/* ═══════════════════════════════════════════════════════════
   BANTERAS SCAMMER — main.css
   Global styles, shared components, utility classes
   ═══════════════════════════════════════════════════════════ */

/* ── ROOT & VARIABLES ── */
:root {
    --clr-void: #0d0302;
    --clr-deep: #280905;
    --clr-dark: #740A03;
    --clr-mid: #C3110C;
    --clr-hot: #E6501B;
    --clr-ash: #1a0604;
    --clr-text: #f5e6e3;
    --clr-muted: #b08878;
    --clr-border: rgba(195, 17, 12, 0.25);
    --font-display: 'Bebas Neue', sans-serif;
    --font-body: 'Syne', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html { scroll-behavior: smooth; }

body {
    background: var(--clr-void);
    color: var(--clr-text);
    font-family: var(--font-body);
    font-size: 1rem;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Noise overlay */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--clr-void); }
::-webkit-scrollbar-thumb { background: var(--clr-dark); border-radius: 2px; }

/* ══════════════════════════════════
    KEYFRAMES
══════════════════════════════════ */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes gridPan {
    from { background-position: 0 0; }
    to   { background-position: 60px 60px; }
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50%       { transform: translateY(-25px) scale(1.05); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.4; transform: scale(0.8); }
}

/* Reveal on scroll */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s, transform 0.7s;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ══════════════════════════════════
    BADGE DOT
══════════════════════════════════ */
.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--clr-hot);
    border-radius: 50%;
    animation: pulse 1.5s ease-in-out infinite;
}

/* ══════════════════════════════════
    NAVBAR
══════════════════════════════════ */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 1.2rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.4s, backdrop-filter 0.4s;
}

#navbar.scrolled {
    background: rgba(13, 3, 2, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--clr-border);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1rem;
    letter-spacing: 2px;
    color: var(--clr-text);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    line-height: 1;
}

.nav-logo .logo-icon {
    width: 32px; height: 32px;
    background: linear-gradient(135deg, var(--clr-dark), var(--clr-hot));
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.nav-logo span { color: var(--clr-hot); }

#menu-btn {
    width: 48px; height: 48px;
    background: rgba(195, 17, 12, 0.15);
    border: 1px solid var(--clr-border);
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 12px;
    transition: background 0.3s;
    z-index: 1001;
}

#menu-btn:hover { background: rgba(195, 17, 12, 0.3); }

#menu-btn span {
    display: block;
    width: 22px; height: 2px;
    background: var(--clr-text);
    transition: transform 0.35s, opacity 0.35s;
    border-radius: 2px;
}

#menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
#menu-btn.open span:nth-child(2) { opacity: 0; }
#menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

#side-drawer {
    position: fixed;
    top: 0; right: -360px;
    width: 340px; height: 100vh;
    background: rgba(13, 3, 2, 0.99);
    border-left: 1px solid var(--clr-border);
    z-index: 1000;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    padding: 6rem 2.5rem 3rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

#side-drawer.open { right: 0; }

.drawer-link {
    font-family: var(--font-display);
    font-size: 2.2rem;
    letter-spacing: 2px;
    color: var(--clr-muted);
    text-decoration: none;
    display: block;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(195, 17, 12, 0.1);
    transition: color 0.2s, padding-left 0.2s;
}

.drawer-link:hover { color: var(--clr-hot); padding-left: 0.5rem; }
.drawer-link.active { color: var(--clr-hot); }

.drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s;
}

.drawer-overlay.open { opacity: 1; pointer-events: all; }

/* ══════════════════════════════════
    FOOTER
══════════════════════════════════ */
footer {
    background: var(--clr-void);
    border-top: 1px solid var(--clr-border);
    padding: 3rem 0 2rem;
}

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: 2px;
    color: var(--clr-text);
    margin-bottom: 0.5rem;
}

.footer-logo span { color: var(--clr-hot); }

.footer-tagline {
    font-size: 0.85rem;
    color: var(--clr-muted);
    font-style: italic;
}

.footer-link {
    color: var(--clr-muted);
    text-decoration: none;
    font-size: 0.88rem;
    transition: color 0.2s;
}

.footer-link:hover { color: var(--clr-hot); }

.footer-copy {
    font-size: 0.8rem;
    color: rgba(176, 136, 120, 0.65);
    font-family: var(--font-mono);
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(195, 17, 12, 0.08);
}

/* ══════════════════════════════════
    SECTION LABELS (shared)
══════════════════════════════════ */
.section-label {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--clr-hot);
    margin-bottom: 1rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    line-height: 1;
    color: var(--clr-text);
    margin-bottom: 1.5rem;
}

.section-title span { color: var(--clr-hot); }

/* ══════════════════════════════════
    INNER PAGE HERO (shared)
══════════════════════════════════ */
#page-hero {
    position: relative;
    padding: 9rem 0 5rem;
    overflow: hidden;
}

#page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(195, 17, 12, 0.07) 1px, transparent 1px),
        linear-gradient(90deg, rgba(195, 17, 12, 0.07) 1px, transparent 1px);
    background-size: 60px 60px;
}

#page-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 50% 60%,
        rgba(116, 10, 3, 0.35) 0%,
        rgba(40, 9, 5, 0.5) 40%,
        transparent 75%);
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.18;
    animation: float 8s ease-in-out infinite;
    will-change: transform;
}

.orb-1 {
    width: 350px; height: 350px;
    background: radial-gradient(circle, #C3110C, transparent);
    top: -10%; left: -5%;
}

.orb-2 {
    width: 250px; height: 250px;
    background: radial-gradient(circle, #E6501B, transparent);
    bottom: 0%; right: -5%;
    animation-delay: -4s;
}

.page-hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--clr-hot);
    background: rgba(230, 80, 27, 0.12);
    border: 1px solid rgba(230, 80, 27, 0.3);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 1.5rem;
    animation: fadeDown 0.8s both;
}

.page-title {
    font-family: var(--font-display);
    font-size: clamp(3.5rem, 10vw, 7rem);
    line-height: 0.95;
    letter-spacing: -1px;
    background: linear-gradient(160deg, #f5e6e3 20%, #E6501B 60%, #C3110C 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: fadeUp 0.9s 0.15s both;
}

.page-subtitle {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    color: var(--clr-muted);
    font-style: italic;
    max-width: 520px;
    margin: 0 auto;
    line-height: 1.65;
    animation: fadeUp 0.9s 0.3s both;
}

.page-subtitle strong { color: var(--clr-text); font-style: normal; }

.breadcrumb-wrap {
    position: relative;
    z-index: 2;
    margin-top: 1.5rem;
    animation: fadeUp 0.9s 0.45s both;
}

.breadcrumb-wrap a {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    letter-spacing: 2px;
    color: var(--clr-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb-wrap a:hover { color: var(--clr-hot); }

.breadcrumb-wrap span {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: rgba(176, 136, 120, 0.65);
    margin: 0 0.5rem;
}

.breadcrumb-wrap .current {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--clr-hot);
}

/* ══════════════════════════════════
    FORM SECTION (shared)
══════════════════════════════════ */
#form-section { padding: 4rem 0 6rem; }

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 3rem;
    animation: fadeUp 0.8s 0.2s both;
}

.pstep {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    position: relative;
}

.pstep-circle {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(40, 9, 5, 0.8);
    border: 1px solid rgba(195, 17, 12, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    color: var(--clr-muted);
    transition: all 0.3s;
    position: relative;
    z-index: 1;
}

.pstep.active .pstep-circle {
    background: linear-gradient(135deg, var(--clr-dark), var(--clr-mid));
    border-color: var(--clr-mid);
    color: var(--clr-text);
    box-shadow: 0 0 20px rgba(195, 17, 12, 0.4);
}

.pstep.done .pstep-circle {
    background: rgba(116, 10, 3, 0.4);
    border-color: rgba(195, 17, 12, 0.5);
    color: var(--clr-hot);
}

.pstep-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--clr-muted);
    white-space: nowrap;
}

.pstep.active .pstep-label { color: var(--clr-text); }

.pstep-line {
    width: 80px; height: 1px;
    background: linear-gradient(90deg, rgba(195, 17, 12, 0.3), rgba(195, 17, 12, 0.1));
    margin-bottom: 1.2rem;
}

.form-card {
    background: rgba(26, 6, 4, 0.95);
    border: 1px solid var(--clr-border);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 0 80px rgba(195, 17, 12, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.04);
    animation: fadeUp 0.8s 0.4s both;
}

.form-section-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--clr-hot);
    margin-bottom: 0.5rem;
}

.form-section-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    letter-spacing: 1px;
    color: var(--clr-text);
    margin-bottom: 1.5rem;
}

.form-divider {
    height: 1px;
    background: linear-gradient(90deg, var(--clr-border), transparent);
    margin: 2rem 0;
}

.field-group { margin-bottom: 1.4rem; }

.field-label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--clr-muted);
    margin-bottom: 0.5rem;
}

.field-label .required { color: var(--clr-hot); margin-left: 3px; }

.field-wrap { position: relative; }

.field-wrap .field-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--clr-dark);
    font-size: 1rem;
    pointer-events: none;
    transition: color 0.3s;
}

.field-wrap textarea ~ .field-icon {
    top: 1.1rem;
    transform: none;
}

.form-control-custom {
    width: 100%;
    background: rgba(40, 9, 5, 0.7);
    border: 1px solid rgba(195, 17, 12, 0.2);
    border-radius: 10px;
    color: var(--clr-text);
    font-family: var(--font-mono);
    font-size: 0.95rem;
    padding: 0.85rem 1rem 0.85rem 2.8rem;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    appearance: none;
    -webkit-appearance: none;
}

.form-control-custom::placeholder { color: rgba(176, 136, 120, 0.55); }

.form-control-custom:focus {
    border-color: var(--clr-mid);
    box-shadow: 0 0 0 3px rgba(195, 17, 12, 0.12);
}

.form-control-custom:focus ~ .field-icon,
.field-wrap:focus-within .field-icon { color: var(--clr-hot); }

.form-control-custom.no-icon { padding-left: 1rem; }

select.form-control-custom {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23C3110C' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

select.form-control-custom option { background: #1a0604; color: var(--clr-text); }

textarea.form-control-custom {
    padding-top: 0.9rem;
    resize: vertical;
    min-height: 120px;
}

.field-hint {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(176, 136, 120, 0.7);
    margin-top: 0.4rem;
    letter-spacing: 0.5px;
}

/* Input group (RM prefix etc) */
.input-group-custom {
    display: flex;
    align-items: stretch;
}

.input-prefix {
    background: rgba(116, 10, 3, 0.25);
    border: 1px solid rgba(195, 17, 12, 0.2);
    border-right: none;
    border-radius: 10px 0 0 10px;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.88rem;
    color: var(--clr-muted);
    white-space: nowrap;
}

.input-group-custom .form-control-custom {
    border-radius: 0 10px 10px 0;
    padding-left: 1rem;
}

/* Submit button */
.btn-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--clr-mid) 0%, var(--clr-hot) 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: opacity 0.25s, transform 0.2s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    position: relative;
    overflow: hidden;
}

.btn-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-submit:hover { opacity: 0.92; transform: translateY(-2px); box-shadow: 0 8px 30px rgba(195, 17, 12, 0.45); }
.btn-submit:hover::before { opacity: 1; }
.btn-submit:active { transform: translateY(0); }
.btn-submit:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Outline button */
.btn-outline {
    width: 100%;
    padding: 0.8rem;
    background: transparent;
    border: 1px solid rgba(195, 17, 12, 0.3);
    border-radius: 10px;
    color: var(--clr-muted);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.25s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.btn-outline:hover { border-color: rgba(195, 17, 12, 0.6); color: var(--clr-text); }

/* Alert box */
#form-alert {
    display: none;
    border-radius: 10px;
    padding: 1rem 1.2rem;
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-mono);
    border: 1px solid;
}

#form-alert.success {
    background: rgba(6, 78, 30, 0.2);
    border-color: rgba(34, 197, 94, 0.3);
    color: #86efac;
}

#form-alert.error {
    background: rgba(116, 10, 3, 0.25);
    border-color: rgba(195, 17, 12, 0.4);
    color: #fca5a5;
}

/* Divider with text */
.divider-text {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: rgba(176, 136, 120, 0.65);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.divider-text::before, .divider-text::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--clr-border);
}

/* OTP countdown timer */
.otp-timer {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: var(--clr-muted);
    text-align: center;
    margin-top: 0.5rem;
}

.otp-timer span { color: var(--clr-hot); }

/* ══════════════════════════════════
    INFO PANEL (shared)
══════════════════════════════════ */
.info-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: fadeUp 0.8s 0.5s both;
}

.info-card {
    background: rgba(26, 6, 4, 0.95);
    border: 1px solid var(--clr-border);
    border-radius: 14px;
    padding: 1.5rem;
}

.info-card-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: var(--clr-text);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card-title i { color: var(--clr-hot); }

.info-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.info-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.9rem;
    color: var(--clr-muted);
    line-height: 1.6;
}

.info-list li::before {
    content: '';
    width: 6px; height: 6px;
    min-width: 6px;
    border-radius: 50%;
    background: var(--clr-hot);
    margin-top: 6px;
    box-shadow: 0 0 6px rgba(230, 80, 27, 0.5);
}

/* Warning box */
.warning-box {
    background: rgba(116, 10, 3, 0.2);
    border: 1px solid rgba(195, 17, 12, 0.35);
    border-radius: 10px;
    padding: 1rem 1.2rem;
    font-size: 0.88rem;
    color: rgba(252, 165, 165, 0.92);
    line-height: 1.65;
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
}

.warning-box i { color: var(--clr-hot); margin-top: 2px; flex-shrink: 0; }

/* Terminal card */
.terminal-card {
    background: rgba(26, 6, 4, 0.9);
    border: 1px solid var(--clr-border);
    border-radius: 14px;
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.terminal-bar { display: flex; gap: 0.5rem; margin-bottom: 1.2rem; }
.terminal-dot { width: 11px; height: 11px; border-radius: 50%; }
.t-red  { background: #C3110C; }
.t-dark { background: #740A03; }
.t-hot  { background: #E6501B; }
.terminal-line { color: var(--clr-muted); margin: 0.3rem 0; }
.terminal-line.accent { color: var(--clr-hot); }
.terminal-line.warn   { color: #fca5a5; }
.terminal-line.ok     { color: #86efac; }

/* ══════════════════════════════════
    RESPONSIVE (shared)
══════════════════════════════════ */
@media (max-width: 767px) {
    .form-card { padding: 1.5rem; }
    .pstep-line { width: 40px; }
    .pstep-label { display: none; }
}

/* ══════════════════════════════════
    REDUCED MOTION
══════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .orb { animation: none; }
    .reveal { opacity: 1; transform: none; transition: none; }
}
