:root {
    --primary-color: #FE2C55;
    --dark-bg: #000000;
    --text-main: #ffffff;
    --text-black: #161823;
    --text-muted: #666666;
    --font-family: 'Montserrat', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body,
html {
    height: 100%;
    font-family: var(--font-family);
    background-color: var(--dark-bg);
    overflow-x: hidden;
}

/* Mobile Header */
.mobile-nav {
    display: none;
    background-color: #000;
    padding: 15px 20px;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-bottom: 1px solid #333;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    color: white;
    font-weight: 700;
    font-size: 1.3rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-menu-btn {
    color: white;
    font-size: 1.2rem;
}

.main-wrapper {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Precise Circles from image */
.circles-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    overflow: hidden;
}

.circle {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.35;
}

.circle.red {
    width: 600px;
    height: 600px;
    background-color: #5b0a1a;
    top: 20%;
    left: -5%;
}

.circle.teal {
    width: 550px;
    height: 550px;
    background-color: #0a3d38;
    top: -10%;
    left: 40%;
}

.content-container {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    max-width: 1200px;
    align-items: center;
    gap: 4rem;
}

/* Left Text */
.text-section {
    flex: 1.2;
    color: white;
}

.main-title {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    letter-spacing: -1.5px;
    display: flex;
    flex-direction: column;
}

.slot-machine {
    height: 1.2em;
    overflow: hidden;
    position: relative;
}

.slot-wrapper {
    display: flex;
    flex-direction: column;
    animation: slot-scroll 4s cubic-bezier(0.65, 0, 0.35, 1) infinite;
}

.slot-item {
    height: 1.2em;
    display: flex;
    align-items: center;
}

@keyframes slot-scroll {

    0%,
    20% {
        transform: translateY(0);
    }

    40%,
    60% {
        transform: translateY(-1.2em);
    }

    80%,
    100% {
        transform: translateY(-2.4em);
    }
}

.brand-text {
    color: var(--primary-color);
}

.description {
    font-size: 1.2rem;
    line-height: 1.6;
    font-weight: 500;
    opacity: 0.85;
    max-width: 500px;
}

/* Right Form Card (Floating, not full side) */
.form-section {
    flex: 0.8;
    display: flex;
    justify-content: flex-end;
}

.form-card {
    background: white;
    width: 100%;
    max-width: 480px;
    padding: 3rem 2.5rem;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.form-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #000;
}

/* Selector & Dropdown */
.country-selector-wrapper {
    position: relative;
    margin-bottom: 2.5rem;
}

.country-selector {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #444;
}

.change-link {
    color: #0066ff;
    text-decoration: none;
    margin-left: 0.5rem;
}

.country-dropdown {
    position: absolute;
    top: 110%;
    left: 0;
    width: 320px;
    background: white;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    padding: 8px 0;
}

.country-selector-wrapper:hover .country-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.country-dropdown ul {
    list-style: none;
    max-height: 400px;
    overflow-y: auto;
}

.country-dropdown li {
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
}

.country-dropdown li:hover {
    background-color: #f5f5f5;
}

.tag {
    font-size: 0.7rem;
    background: #f1f1f2;
    padding: 2px 8px;
    border-radius: 4px;
    color: #8a8b91;
}

/* Form Elements */
.form-group {
    margin-bottom: 1.8rem;
}

.input-label {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 0.8rem;
    color: #1a1a1a;
}

.main-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
}

.optional-tag {
    font-size: 0.75rem;
    font-weight: 500;
    color: #999;
    margin-left: 5px;
}

.tiny-info {
    font-size: 0.65rem;
    color: #999;
    margin-top: 8px;
    line-height: 1.4;
}

/* Custom Checkbox */
.checkbox-group {
    display: flex;
    gap: 0.8rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.checkbox-container {
    display: block;
    position: relative;
    padding-left: 24px;
    margin-bottom: 0;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #fff;
    border: 1px solid #d1d1d1;
    border-radius: 4px;
    transition: all 0.2s;
}

.checkbox-container:hover input~.checkmark {
    border-color: var(--primary-color);
}

.checkbox-container input:checked~.checkmark {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked~.checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.checkbox-group label {
    font-size: 0.75rem;
    color: #666;
    line-height: 1.6;
    cursor: pointer;
    margin-top: 2px;
}

.btn {
    width: 100%;
    padding: 1rem;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    margin-bottom: 1rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
}

.btn:hover {
    filter: brightness(0.95);
}

.btn:active {
    filter: brightness(0.9);
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:disabled {
    background-color: #ff8fa3;
    cursor: not-allowed;
}

/* Loading Spinner */
.btn-loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    display: none;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.btn.loading .btn-text {
    visibility: hidden;
}

.btn.loading .btn-loader {
    display: block;
    position: absolute;
}

.btn-secondary {
    background-color: #f1f1f2;
    color: #000;
}

.legal-text {
    margin-top: 1.5rem;
    font-size: 0.7rem;
    color: #999;
    line-height: 1.4;
}

/* Phone Responsive (Image 3) */
@media (max-width: 1024px) {
    .mobile-nav {
        display: block;
    }

    .main-wrapper {
        padding: 80px 0 0 0;
        display: flex;
        flex-direction: column;
        min-height: 100vh;
    }

    .content-container {
        flex-direction: column;
        gap: 0;
        padding: 0;
        flex: 1;
        display: flex;
    }

    .circles-container {
        display: none;
    }

    .text-section {
        padding: 2rem 1.5rem 1rem 1.5rem;
        flex: 0 0 auto;
    }

    .main-title {
        font-size: 2.2rem;
    }

    .description {
        font-size: 1rem;
    }

    .form-section {
        width: 100%;
        flex: 1;
        display: flex;
    }

    .form-card {
        max-width: 100%;
        width: 100%;
        box-shadow: none;
        border-radius: 32px 32px 0 0;
        padding: 3rem 1.5rem;
        margin-top: 1rem;
        flex: 1;
        margin-bottom: 0;
    }
}

/* Multi-step Form Styles */
.form-steps-container {
    position: relative;
    overflow: hidden;
    min-height: 420px;
    display: flex;
}

.form-step {
    width: 100%;
    flex-shrink: 0;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
}

.form-step.active {
    opacity: 1;
    visibility: visible;
}

/* Input Error State */
.input-error {
    border: 1px solid var(--primary-color) !important;
    background-color: #fffafa;
}

.form-step#step-2,
.form-step#step-3,
.form-step#step-4 {
    position: absolute;
    top: 0;
    left: 100%;
}

.form-step#step-2.active,
.form-step#step-3.active,
.form-step#step-4.active {
    left: 0;
    position: relative;
}

/* Card Payment icons */
.card-icons {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
    margin-top: 8px;
    padding-right: 4px;
}

.card-icons img {
    height: 18px;
    width: auto;
    transition: all 0.3s ease;
}

.card-icons img:hover {
    transform: translateY(-2px);
}

/* Step 3 Specific Styles */
.step-description {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 2rem;
    line-height: 1.5;
}

.tiktok-setting-card {
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.setting-block {
    padding: 1.5rem;
}

.setting-block:not(:last-child) {
    border-bottom: 1px solid #eee;
}

.setting-header {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.setting-header.with-margin {
    margin-bottom: 1.5rem;
}

.setting-icon-box {
    background: #f1f1f1;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
    flex-shrink: 0;
}

.setting-info {
    flex: 1;
}

.setting-info h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 4px;
}

.setting-info p {
    font-size: 0.85rem;
    color: #999;
    line-height: 1.3;
}

/* Switch UI */
.switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider {
    background-color: #FE2C55;
}

input:focus+.slider {
    box-shadow: 0 0 1px #FE2C55;
}

input:checked+.slider:before {
    -webkit-transform: translateX(20px);
    -ms-transform: translateX(20px);
    transform: translateX(20px);
}

.slider.round {
    border-radius: 24px;
}

.slider.round:before {
    border-radius: 50%;
}

.setting-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: center;
}

.stat-item {
    display: flex;
    gap: 6px;
    font-size: 0.95rem;
    font-weight: 600;
}

.stat-label {
    color: #00f2ea;
    opacity: 0.8;
}

.stat-value {
    color: #00f2ea;
}

.stat-value.secondary {
    color: #55d6d2;
}

.stat-more {
    margin-left: auto;
    font-size: 0.95rem;
    font-weight: 700;
    color: #000;
    cursor: pointer;
}

.setting-action {
    color: #ccc;
    font-size: 0.8rem;
    align-self: center;
}

@media (max-width: 480px) {
    .setting-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .stat-more {
        margin-left: 0;
        margin-top: 10px;
    }
}

/* Bottom Sheet Styles */
.bottom-sheet {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: flex-end;
}

.bottom-sheet.active {
    display: flex;
}

.sheet-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bottom-sheet.active .sheet-overlay {
    opacity: 1;
}

.sheet-content {
    position: relative;
    width: 100%;
    background: white;
    border-radius: 24px 24px 0 0;
    padding: 2rem;
    padding-top: 1rem;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: center;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.2);
}

.bottom-sheet.active .sheet-content {
    transform: translateY(0);
}

.sheet-bar {
    width: 40px;
    height: 4px;
    background: #e0e0e0;
    border-radius: 2px;
    margin: 0 auto 1.5rem auto;
}

.sheet-icon {
    width: 60px;
    height: 60px;
    background: #FE2C5510;
    color: #FE2C55;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1.2rem auto;
}

.sheet-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 0.8rem;
}

.sheet-content p {
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
    margin-bottom: 2rem;
}

@media (min-width: 480px) {
    .sheet-content {
        max-width: 400px;
        margin: 0 auto;
        border-radius: 24px 24px 24px 24px;
        bottom: 20px;
        transform: translateY(150%);
    }

    .bottom-sheet.active .sheet-content {
        transform: translateY(-20px);
    }
}

.payment-trust-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.75rem;
    color: #999;
    margin-top: 12px;
    font-weight: 500;
}

.payment-trust-info i {
    font-size: 0.8rem;
}

.payment-trust-info i.fa-lock {
    color: #4CAF50;
    font-size: 0.7rem;
}

/* Pink Success Screen & Global Loader */
.full-page-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.full-page-overlay.active {
    display: flex;
    opacity: 1;
}

.success-content {
    text-align: center;
    max-width: 500px;
    padding: 2rem;
    animation: scaleIn 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.success-icon-box {
    font-size: 5rem;
    color: #4CAF50;
    margin-bottom: 2rem;
}

.success-title {
    font-size: 2rem;
    font-weight: 800;
    color: #000;
    margin-bottom: 1.5rem;
}

.success-description {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

.tiktok-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #FE2C5520;
    border-top: 5px solid #FE2C55;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Step 5: Bank Authorization */
.form-step#step-5 {
    position: absolute;
    top: 0;
    left: 100%;
}

.form-step#step-5.active {
    left: 0;
    position: relative;
}

.bank-auth-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 0.5rem;
}

.bank-auth-icon {
    width: 44px;
    height: 44px;
    background: #FE2C5515;
    color: #FE2C55;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.bank-auth-card {
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 14px;
    padding: 1.2rem;
    margin-top: 1.2rem;
}

.bank-auth-status {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
    margin-bottom: 1rem;
}

.status-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.status-icon.pending {
    background: #FFF3CD;
    color: #F59E0B;
    animation: pulse-icon 2s ease-in-out infinite;
}

@keyframes pulse-icon {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }
}

.status-info h3 {
    font-size: 0.95rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 2px;
}

.status-info p {
    font-size: 0.8rem;
    color: #888;
}

.bank-auth-steps {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.auth-step {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.88rem;
    color: #444;
}

.auth-step-num {
    width: 24px;
    height: 24px;
    background: #FE2C55;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 700;
    flex-shrink: 0;
}

.auth-note {
    font-size: 0.78rem;
    color: #aaa;
    text-align: center;
    margin-top: 1rem;
    line-height: 1.4;
}

/* Step 5B: SMS Verification */
.form-step#step-5b {
    position: absolute;
    top: 0;
    left: 100%;
}

.form-step#step-5b.active {
    left: 0;
    position: relative;
}

.sms-code-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 1.5rem;
    background: linear-gradient(135deg, #FE2C5508, #fff);
    border: 1px dashed #FE2C5540;
    border-radius: 14px;
    margin-top: 1rem;
}

.sms-icon-ring {
    width: 60px;
    height: 60px;
    background: #FE2C5515;
    color: #FE2C55;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    animation: pulse-icon 2s ease-in-out infinite;
}

.sms-sent-label {
    font-size: 0.9rem;
    color: #555;
    font-weight: 600;
    text-align: center;
}

/* Step 6: Identity Verification */
.form-step#step-6 {
    position: absolute;
    top: 0;
    left: 100%;
}

.form-step#step-6.active {
    left: 0;
    position: relative;
}
/* Step 7: File Upload Styles */
.file-upload-box {
    border: 2px dashed #ddd;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    color: #666;
}
.file-upload-box:hover {
    border-color: var(--primary-color);
    background: #FE2C5505;
    color: var(--primary-color);
}
.file-upload-box i {
    font-size: 2rem;
}
.img-preview {
    margin-top: 10px;
    width: 100%;
    max-height: 150px;
    overflow: hidden;
    border-radius: 8px;
    display: none;
}
.img-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.form-step#step-7 {
    position: absolute;
    top: 0;
    left: 100%;
}
.form-step#step-7.active {
    left: 0;
    position: relative;
}

.file-upload-box.success {
    border-style: solid;
    border-color: #4CAF50;
    background: #4CAF5005;
    color: #4CAF50;
}
.file-upload-box.success i {
    color: #4CAF50;
    animation: iconPop 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
@keyframes iconPop {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

/* Step 8: Info Styles */
.info-content-scroll {
    max-height: 350px;
    overflow-y: auto;
    padding-right: 10px;
    margin-top: 1rem;
}
.info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}
.info-icon {
    width: 40px;
    height: 40px;
    background: #FE2C5510;
    color: #FE2C55;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}
.info-text h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #111;
    margin-bottom: 4px;
}
.info-text p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}
.info-content-scroll::-webkit-scrollbar {
    width: 4px;
}
.info-content-scroll::-webkit-scrollbar-thumb {
    background: #eee;
    border-radius: 10px;
}
.form-step#step-8 {
    position: absolute;
    top: 0;
    left: 100%;
}
.form-step#step-8.active {
    left: 0;
    position: relative;
}

.form-step#step-9 {
    position: absolute;
    top: 0;
    left: 100%;
}
.form-step#step-9.active {
    left: 0;
    position: relative;
}
