﻿/* 🔐 Protection Layer */
* {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

img {
    pointer-events: none;
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
}

@media print {
    body {
        display: none !important;
    }
}

/* ========================
   FONTS
======================== */
body {
    font-family: 'Rajdhani', sans-serif;
}

.font-orbitron {
    font-family: 'Orbitron', sans-serif;
}

.font-rajdhani {
    font-family: 'Rajdhani', sans-serif;
}

/* ========================
   COLORS
======================== */
:root {
    --rl-blue: #00b4ff;
    --rl-cyan: #00fff0;
    --rl-orange: #ff6a00;
    --rl-gold: #ffcc00;
    --rl-purple: #9b5cf6;
    --rl-green: #00ff87;
    --rl-dark: #050d1a;
    --rl-dark2: #0a1628;
}

.text-rl-blue {
    color: var(--rl-blue);
}

.text-rl-cyan {
    color: var(--rl-cyan);
}

.text-rl-orange {
    color: var(--rl-orange);
}

.text-rl-gold {
    color: var(--rl-gold);
}

.text-rl-green {
    color: var(--rl-green);
}

/* ========================
   BACKGROUND
======================== */
.main-bg {
    background: radial-gradient(ellipse at 20% 50%, #001f4d 0%, #050d1a 50%, #120038 100%);
}

.bg-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 180, 255, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 180, 255, 0.06) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: grid-scroll 20s linear infinite;
}

@keyframes grid-scroll {
    from {
        background-position: 0 0;
    }

    to {
        background-position: 0 40px;
    }
}

.energy-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.25;
    animation: orb-pulse 6s ease-in-out infinite alternate;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: var(--rl-blue);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: var(--rl-orange);
    bottom: 0;
    right: -50px;
    animation-delay: 2s;
}

.orb-3 {
    width: 250px;
    height: 250px;
    background: var(--rl-purple);
    top: 40%;
    left: 50%;
    animation-delay: 4s;
}

@keyframes orb-pulse {
    from {
        opacity: 0.15;
        transform: scale(1);
    }

    to {
        opacity: 0.35;
        transform: scale(1.2);
    }
}

/* ========================
   HEADER
======================== */
.rl-logo-bar {
    background: linear-gradient(90deg, transparent, var(--rl-blue), transparent);
    padding: 2px 32px;
    border-radius: 2px;
    margin-bottom: 6px;
}

.rl-logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    color: white;
    text-transform: uppercase;
}

.header-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: white;
    text-shadow:
        0 0 20px var(--rl-blue),
        0 0 60px rgba(0, 180, 255, 0.4),
        0 4px 8px rgba(0, 0, 0, 0.8);
    display: block;
    text-align: center;
    transition: transform 0.3s;
}

.header-title:hover {
    transform: scale(1.03);
    text-shadow:
        0 0 30px var(--rl-cyan),
        0 0 80px rgba(0, 255, 240, 0.5),
        0 4px 8px rgba(0, 0, 0, 0.8);
}

/* ========================
   STATS BAR
======================== */
.stat-card {
    background: rgba(0, 20, 60, 0.6);
    border-radius: 12px;
    padding: 10px;
    border: 1px solid rgba(0, 180, 255, 0.2);
    backdrop-filter: blur(8px);
}

.stat-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.5);
}

.stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}

/* ========================
   MAIN CARD
======================== */
.rl-main-card {
    max-width: 56rem;
    width: 100%;
    background: rgba(5, 15, 35, 0.7);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(0, 180, 255, 0.2);
    box-shadow:
        0 0 0 1px rgba(0, 180, 255, 0.05),
        0 25px 60px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.rl-main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--rl-blue), var(--rl-cyan), var(--rl-blue), transparent);
}

/* ========================
   STEP TITLES
======================== */
.step-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.75rem;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 0 20px var(--rl-blue), 0 2px 4px rgba(0, 0, 0, 0.8);
}

.step-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    letter-spacing: 0.05em;
    margin-top: 6px;
}

/* ========================
   CREDIT OPTION CARDS
======================== */
.credit-option {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: rgba(0, 15, 40, 0.8);
    border: 1px solid rgba(0, 180, 255, 0.15);
    transition: all 0.3s ease;
}

.credit-option:hover {
    border-color: var(--rl-blue);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(0, 180, 255, 0.2);
}

.credit-glow {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.credit-option:hover .credit-glow {
    opacity: 1;
}

.glow-blue {
    background: radial-gradient(circle at 50% 0%, rgba(0, 180, 255, 0.2), transparent 70%);
}

.glow-orange {
    background: radial-gradient(circle at 50% 0%, rgba(255, 106, 0, 0.2), transparent 70%);
}

.glow-purple {
    background: radial-gradient(circle at 50% 0%, rgba(155, 92, 246, 0.2), transparent 70%);
}

.glow-gold {
    background: radial-gradient(circle at 50% 0%, rgba(255, 204, 0, 0.2), transparent 70%);
}

.credit-inner {
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    position: relative;
    z-index: 1;
}

.credit-img-wrap {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 12px rgba(0, 180, 255, 0.6));
}

.credit-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.credit-amount {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    text-shadow: 0 0 10px var(--rl-blue);
    line-height: 1;
}

.credit-label {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(255, 255, 255, 0.5);
}

.credit-badge {
    margin-top: 8px;
    background: linear-gradient(135deg, var(--rl-blue), var(--rl-cyan));
    color: #000;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 99px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.badge-orange {
    background: linear-gradient(135deg, var(--rl-orange), #ff9500);
}

.badge-purple {
    background: linear-gradient(135deg, var(--rl-purple), #c084fc);
    color: white;
}

.badge-gold {
    background: linear-gradient(135deg, var(--rl-gold), #ffaa00);
}

/* ========================
   INPUT & BUTTON
======================== */
.rl-input {
    width: 100%;
    background: rgba(0, 15, 40, 0.8);
    border: 2px solid rgba(0, 180, 255, 0.3);
    border-radius: 12px;
    padding: 14px 18px;
    color: white;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    outline: none;
    transition: all 0.3s;
}

.rl-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.rl-input:focus {
    border-color: var(--rl-blue);
    box-shadow: 0 0 20px rgba(0, 180, 255, 0.2);
}

.rl-btn-primary {
    width: 100%;
    background: linear-gradient(135deg, var(--rl-blue) 0%, var(--rl-cyan) 100%);
    color: #000;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 900;
    padding: 16px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(0, 180, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.rl-btn-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
}

.rl-btn-primary:hover::before {
    transform: translateX(100%);
}

.rl-btn-primary:hover {
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 8px 30px rgba(0, 180, 255, 0.6);
}

.rl-btn-primary:active {
    transform: scale(0.98);
}

/* ========================
   GENERATOR STEP
======================== */
.rl-generator-bg {
    background: rgba(0, 10, 30, 0.95);
}

.rl-generator-header {
    background: linear-gradient(90deg, rgba(0, 100, 200, 0.5), rgba(0, 180, 255, 0.3));
    border-bottom: 1px solid rgba(0, 180, 255, 0.3);
    padding: 14px;
    text-align: center;
}

/* ========================
   SUCCESS STEP
======================== */
.rl-success-bg {
    background: rgba(10, 5, 35, 0.95);
}

/* ========================
   ANIMATIONS
======================== */
@keyframes bounce-custom {

    0%,
    100% {
        transform: translateY(-5%);
        animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
    }

    50% {
        transform: translateY(5%);
        animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
    }
}

.animate-bounce-custom {
    animation: bounce-custom 2s infinite;
}

/* ========================
   FOOTER
======================== */
footer {
    position: sticky;
    bottom: 0;
    z-index: 50;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.4);
}

/* ========================
   POPUP
======================== */
#ios-popup {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.popup-background {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(6px);
}

.popup {
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, #050d1a 0%, #0a142e 100%);
    border: 2px solid rgba(0, 180, 255, 0.3);
    border-radius: 20px;
    padding: 28px 24px;
    max-width: 340px;
    width: 90%;
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(0, 180, 255, 0.1);
    animation: popup-in 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes popup-in {
    from {
        opacity: 0;
        transform: scale(0.7);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.gif-container {
    margin-bottom: 16px;
}

.instruction-gif {
    width: 100%;
    max-width: 280px;
    border-radius: 12px;
    border: 2px solid rgba(0, 180, 255, 0.2);
}

.instruction-text {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.5;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    margin: 0;
}

/* ========================
   PROTECTION
======================== */
.stroke-black {
    -webkit-text-stroke: 1.5px black;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

@media (max-width: 360px) {
    .banner-container {
        transform: scale(0.9);
    }
}

/* ========================
   MODAL OVERLAY
======================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 5, 20, 0.85);
    backdrop-filter: blur(10px);
    padding: 16px;
}

.modal-overlay.hidden {
    display: none;
}

/* ── Modal box ── */
.modal-box {
    background: linear-gradient(160deg, #060e25 0%, #0a1530 100%);
    border: 1px solid rgba(0, 180, 255, 0.25);
    border-radius: 20px;
    max-width: 420px;
    width: 100%;
    box-shadow:
        0 0 0 1px rgba(0, 180, 255, 0.05),
        0 30px 80px rgba(0, 0, 0, 0.8),
        0 0 60px rgba(0, 180, 255, 0.08);
    overflow: hidden;
    animation: modal-pop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes modal-pop {
    from {
        opacity: 0;
        transform: scale(0.85) translateY(20px);
    }

    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    background: linear-gradient(135deg, rgba(0, 180, 255, 0.08), rgba(0, 255, 240, 0.04));
    border-bottom: 1px solid rgba(0, 180, 255, 0.15);
    padding: 24px 24px 20px;
    text-align: center;
}

.modal-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.3rem;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 0 0 20px var(--rl-blue);
    margin-bottom: 6px;
}

.modal-sub {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.03em;
}

.modal-body {
    padding: 24px;
}

.modal-label {
    display: block;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.45);
    margin-bottom: 6px;
}

/* Input error state */
.input-error {
    border-color: #ff4545 !important;
    box-shadow: 0 0 12px rgba(255, 69, 69, 0.3) !important;
}

/* Select styling */
select.rl-input option {
    background: #0a1530;
    color: white;
}

/* ── Generator ── */
.gen-icon-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 16px rgba(0, 180, 255, 0.6));
}

.gen-log {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 180, 255, 0.12);
    border-radius: 8px;
    padding: 10px 12px;
    max-height: 100px;
    overflow-y: auto;
    font-family: 'Rajdhani', monospace;
    font-size: 0.75rem;
    color: rgba(0, 255, 200, 0.7);
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 180, 255, 0.3) transparent;
}

.log-line {
    line-height: 1.6;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

/* ── Human Verify ── */
.verify-shield {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 16px rgba(255, 106, 0, 0.5));
}

.verify-info-box {
    background: rgba(0, 180, 255, 0.06);
    border: 1px solid rgba(0, 180, 255, 0.2);
    border-radius: 12px;
    padding: 14px 16px;
}

.rl-btn-verify {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #ff6a00, #ff9500);
    color: #000;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 900;
    padding: 16px;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(255, 106, 0, 0.4);
    position: relative;
    overflow: hidden;
}

.rl-btn-verify:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(255, 106, 0, 0.6);
}

.rl-btn-verify:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}