/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

*:focus {
    outline: none;
}

*::selection {
    background: rgba(254, 44, 85, 0.3);
    color: white;
}

button,
.service-card,
.slider-group,
[role="button"] {
    -webkit-tap-highlight-color: transparent;
    outline: none;
    user-select: none;
    -webkit-user-select: none;
}

:root {
    --tiktok-pink: #fe2c55;
    --tiktok-cyan: #25f4ee;
    --tiktok-dark: #0a0a0a;
    --tiktok-gray: #161823;
    --glass-bg: rgba(16, 18, 27, 0.72);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --gradient-primary: linear-gradient(135deg, #fe2c55, #ff6b8a, #25f4ee);
    --gradient-accent: linear-gradient(135deg, #25f4ee, #00c9db);
    --shadow-glow: 0 0 40px rgba(254, 44, 85, 0.3), 0 0 80px rgba(37, 244, 238, 0.15);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--tiktok-dark);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    animation: orbFloat 20s ease-in-out infinite;
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--tiktok-pink);
    top: -150px;
    right: -100px;
    animation-delay: 0s;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: var(--tiktok-cyan);
    bottom: -100px;
    left: -100px;
    animation-delay: -7s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: #8b5cf6;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
    opacity: 0.2;
}

@keyframes orbFloat {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(50px, -30px) scale(1.1);
    }

    50% {
        transform: translate(-30px, 50px) scale(0.9);
    }

    75% {
        transform: translate(30px, 30px) scale(1.05);
    }
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
}

.floating-icon {
    position: absolute;
    font-size: 20px;
    opacity: 0;
    animation: floatUp 15s linear infinite;
    animation-fill-mode: backwards;
    color: var(--tiktok-pink);
}

.floating-icon:nth-child(even) {
    color: var(--tiktok-cyan);
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.08;
    }

    90% {
        opacity: 0.08;
    }

    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

/* ===== SCREENS ===== */
.screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0.6s ease;
    overflow-y: auto;
    padding: 40px 0;
}

.screen.active {
    opacity: 1;
    visibility: visible;
}

.container {
    width: 100%;
    max-width: 520px;
    padding: 20px;
    position: relative;
    z-index: 2;
    margin: auto 0;
}

/* ===== LOGO ===== */
.logo-section {
    text-align: center;
    margin-bottom: 28px;
}

.tiktok-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 12px;
}

.logo-icon {
    position: relative;
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: white;
    box-shadow: 0 8px 32px rgba(254, 44, 85, 0.4);
    animation: logoPulse 3s ease-in-out infinite;
}

.logo-glow {
    position: absolute;
    inset: -3px;
    border-radius: 18px;
    background: var(--gradient-primary);
    z-index: -1;
    opacity: 0.5;
    filter: blur(12px);
    animation: glowPulse 3s ease-in-out infinite;
}

@keyframes logoPulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes glowPulse {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.6;
    }
}

.logo-text {
    font-size: 36px;
    font-weight: 900;
    letter-spacing: -1px;
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-white {
    color: white;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 16px;
}

.badge-row {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
}

.badge i {
    color: var(--tiktok-cyan);
    font-size: 10px;
}

/* ===== LIVE STATS ===== */
.live-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
    padding: 14px 24px;
    background: rgba(20, 22, 32, 0.55);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 22px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
}

/* ===== GLASS CARD ===== */
.glass-card {
    background: var(--glass-bg);
    border-radius: 24px;
    border: 1px solid var(--glass-border);
    padding: 28px;
    backdrop-filter: blur(60px) saturate(1.3);
    -webkit-backdrop-filter: blur(60px) saturate(1.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.06);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(254, 44, 85, 0.5), rgba(37, 244, 238, 0.5), transparent);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.card-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(254, 44, 85, 0.2), rgba(37, 244, 238, 0.2));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--tiktok-cyan);
    border: 1px solid rgba(37, 244, 238, 0.15);
}

.card-header h2 {
    font-size: 18px;
    font-weight: 700;
}

.card-header p {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* ===== INPUT ===== */
.input-group {
    margin-bottom: 24px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    border: 2px solid rgba(255, 255, 255, 0.06);
    padding: 0 16px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.input-wrapper:focus-within {
    border-color: var(--tiktok-pink);
    background: rgba(254, 44, 85, 0.05);
    box-shadow: 0 0 0 4px rgba(254, 44, 85, 0.1), 0 8px 24px rgba(254, 44, 85, 0.15);
}

.input-prefix {
    font-size: 18px;
    font-weight: 700;
    color: var(--tiktok-pink);
    margin-right: 4px;
    user-select: none;
}

.input-wrapper input {
    width: 100%;
    padding: 16px 8px;
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
}

.input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.2);
}

.input-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.4s ease;
}

.input-wrapper:focus-within .input-line {
    width: 100%;
}

.input-hint {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 8px;
    padding-left: 4px;
    transition: color 0.3s ease;
}

.input-hint.error {
    color: var(--tiktok-pink);
}

.input-hint.success {
    color: #4ade80;
}

/* ===== SERVICES ===== */
.services-section {
    margin-bottom: 24px;
}

.services-section h3 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.services-section h3 i {
    color: var(--tiktok-cyan);
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.service-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.service-card.selected {
    border-color: rgba(254, 44, 85, 0.4);
    background: rgba(254, 44, 85, 0.08);
    box-shadow: 0 4px 16px rgba(254, 44, 85, 0.15);
}

.service-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.followers-icon {
    background: linear-gradient(135deg, #fe2c55, #ff6b8a);
    color: white;
}

.likes-icon {
    background: linear-gradient(135deg, #ff3b5c, #ff8ba7);
    color: white;
}

.views-icon {
    background: linear-gradient(135deg, #25f4ee, #00c9db);
    color: white;
}

.shares-icon {
    background: linear-gradient(135deg, #8b5cf6, #a78bfa);
    color: white;
}

.service-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.service-name {
    font-size: 13px;
    font-weight: 600;
}

.service-range {
    font-size: 10px;
    color: var(--text-secondary);
}

.service-range em {
    font-style: normal;
    opacity: 0.65;
    display: block;
    margin-top: 2px;
    font-size: 9px;
}

.service-check {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--tiktok-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: white;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card.selected .service-check {
    opacity: 1;
    transform: scale(1);
}

/* ===== BUTTON ===== */
.btn-primary {
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 14px;
    background: var(--gradient-primary);
    color: white;
    font-size: 16px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 8px 32px rgba(254, 44, 85, 0.35);
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(254, 44, 85, 0.45);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    box-shadow: none;
}

.btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shine 3s ease-in-out infinite;
}

@keyframes shine {
    0% {
        left: -100%;
    }

    50% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

/* ===== TESTIMONIALS ===== */
.testimonials {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.testimonial-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(20, 22, 32, 0.5);
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.testimonial-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--tiktok-pink);
}

.testimonial-stars {
    color: #fbbf24;
    font-size: 11px;
    margin-bottom: 2px;
}

.testimonial-item p {
    font-size: 12px;
    color: var(--text-secondary);
    font-style: italic;
}

/* ===== LOADING SCREEN ===== */
.loading-card {
    text-align: center;
}

.loading-profile {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    margin-bottom: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.profile-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: white;
    position: relative;
    flex-shrink: 0;
}

.avatar-ring {
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--tiktok-cyan);
    border-right-color: var(--tiktok-pink);
    animation: spin 2s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.profile-info {
    text-align: left;
}

.profile-info h2 {
    font-size: 18px;
    font-weight: 700;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    color: #4ade80;
    margin-top: 4px;
}

.profile-badge i {
    font-size: 11px;
}

/* ===== PROGRESS BAR ===== */
.main-progress {
    margin-bottom: 24px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.progress-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-secondary);
}

.progress-percent {
    font-size: 14px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: var(--gradient-primary);
    border-radius: 10px;
    transition: width 0.5s ease;
    position: relative;
}

.progress-glow {
    position: absolute;
    right: 0;
    top: -4px;
    width: 20px;
    height: 16px;
    background: white;
    border-radius: 50%;
    filter: blur(6px);
    opacity: 0.6;
}

/* ===== LOADING STEPS ===== */
.loading-steps {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 20px;
    text-align: left;
}

.step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid transparent;
    transition: all 0.4s ease;
    opacity: 0.4;
}

.step.active {
    opacity: 1;
    background: rgba(254, 44, 85, 0.06);
    border-color: rgba(254, 44, 85, 0.15);
}

.step.completed {
    opacity: 0.7;
    background: rgba(74, 222, 128, 0.04);
    border-color: rgba(74, 222, 128, 0.1);
}

.step-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--text-secondary);
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.step.active .step-icon {
    background: rgba(254, 44, 85, 0.15);
    color: var(--tiktok-pink);
}

.step.completed .step-icon {
    background: rgba(74, 222, 128, 0.15);
    color: #4ade80;
}

.step-spinner {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 2px solid transparent;
    border-top-color: var(--tiktok-pink);
    border-right-color: rgba(254, 44, 85, 0.3);
    opacity: 0;
    animation: none;
}

.step.active .step-spinner {
    opacity: 1;
    animation: spin 1s linear infinite;
}

.step-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.step-title {
    font-size: 13px;
    font-weight: 600;
}

.step-status {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 1px;
}

.step.active .step-status {
    color: var(--tiktok-pink);
}

.step.completed .step-status {
    color: #4ade80;
}

.step-check {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #4ade80;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: white;
    opacity: 0;
    transform: scale(0);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.step.completed .step-check {
    opacity: 1;
    transform: scale(1);
}

/* ===== TERMINAL ===== */
.terminal-logs {
    border-radius: 14px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 20px;
    text-align: left;
}

.terminal-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.04);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.terminal-dots {
    display: flex;
    gap: 5px;
}

.terminal-dots span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.terminal-dots span:nth-child(1) {
    background: #ff5f57;
}

.terminal-dots span:nth-child(2) {
    background: #ffbd2e;
}

.terminal-dots span:nth-child(3) {
    background: #28ca41;
}

.terminal-title {
    font-size: 11px;
    color: var(--text-secondary);
    font-family: 'Courier New', monospace;
}

.terminal-body {
    padding: 12px 14px;
    max-height: 140px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    line-height: 1.8;
}

.terminal-body::-webkit-scrollbar {
    width: 4px;
}

.terminal-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.log-line {
    display: flex;
    gap: 8px;
    animation: logFadeIn 0.3s ease;
}

@keyframes logFadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.log-time {
    color: rgba(255, 255, 255, 0.25);
    flex-shrink: 0;
}

.log-info {
    color: var(--tiktok-cyan);
}

.log-success {
    color: #4ade80;
}

.log-warning {
    color: #fbbf24;
}

.log-error {
    color: var(--tiktok-pink);
}

/* ===== LIVE COUNTERS ===== */
.live-counters {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.counter-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 14px 8px;
    background: rgba(20, 22, 32, 0.45);
    border-radius: 14px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.counter-item i {
    font-size: 18px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.counter-value {
    font-size: 22px;
    font-weight: 800;
    color: white;
}

.counter-label {
    font-size: 10px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== RESULT SCREEN ===== */
.result-card {
    text-align: center;
}

.success-icon {
    font-size: 64px;
    color: #4ade80;
    margin-bottom: 16px;
    animation: successBounce 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes successBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.result-card h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 8px;
}

.result-subtitle {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 24px;
}

.result-summary {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 28px;
}

.result-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 18px 8px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
}

.result-item i {
    font-size: 22px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-item span {
    font-size: 24px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-item small {
    font-size: 11px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== QUANTITY SELECTION SCREEN ===== */
.quantity-card {
    text-align: left;
}

.quantity-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
}

.btn-back {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn-back:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateX(-2px);
}

.quantity-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-secondary);
}

.mini-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: white;
}

.quantity-title {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 6px;
}

.quantity-subtitle {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 28px;
}

/* Sliders */
.quantity-sliders {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 24px;
}

.slider-group {
    padding: 18px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.3s ease;
    animation: fadeInUp 0.4s ease forwards;
}

.slider-group:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.slider-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.slider-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
}

.slider-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
}

.slider-value {
    font-size: 20px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 80px;
    text-align: right;
}

.slider-track-wrapper {
    position: relative;
    height: 22px;
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.custom-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    outline: none;
    position: relative;
    z-index: 2;
    cursor: pointer;
    margin: 0;
}

.custom-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--tiktok-pink);
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(254, 44, 85, 0.5), 0 0 20px rgba(254, 44, 85, 0.3);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    position: relative;
    z-index: 3;
}

.custom-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    box-shadow: 0 2px 14px rgba(254, 44, 85, 0.6), 0 0 30px rgba(254, 44, 85, 0.4);
}

.custom-slider::-moz-range-thumb {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--tiktok-pink);
    cursor: pointer;
    border: 3px solid white;
    box-shadow: 0 2px 10px rgba(254, 44, 85, 0.5);
}

.custom-slider::-moz-range-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    border: none;
}

.slider-fill {
    position: absolute;
    top: 50%;
    left: 0;
    height: 6px;
    transform: translateY(-50%);
    background: var(--gradient-primary);
    border-radius: 6px;
    z-index: 1;
    pointer-events: none;
    transition: width 0.1s ease;
}

.slider-range-labels {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.25);
    font-weight: 500;
}

/* Summary */
.quantity-summary {
    padding: 16px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 20px;
}

.summary-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.summary-title i {
    color: var(--tiktok-cyan);
}

.summary-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.summary-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
}

.summary-row-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
}

.summary-row-label i {
    width: 18px;
    text-align: center;
}

.summary-row-value {
    font-size: 14px;
    font-weight: 700;
    color: white;
}

.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 480px) {
    .container {
        padding: 16px;
    }

    .glass-card {
        padding: 20px;
        border-radius: 20px;
    }

    .logo-text {
        font-size: 28px;
    }

    .logo-icon {
        width: 48px;
        height: 48px;
        font-size: 22px;
    }

    .live-stats {
        padding: 12px 16px;
        gap: 16px;
    }

    .stat-number {
        font-size: 18px;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
        gap: 8px;
    }

    .counter-value {
        font-size: 18px;
    }

    .result-item span {
        font-size: 20px;
    }
}

/* ===== VERIFY BUTTON ===== */
.btn-verify {
    width: 100%;
    padding: 16px 24px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #00c853, #00e676, #69f0ae);
    color: #111;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 20px rgba(0, 200, 83, 0.35);
    position: relative;
    overflow: hidden;
}

.btn-verify::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transition: left 0.5s ease;
}

.btn-verify:hover::before {
    left: 100%;
}

.btn-verify:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(0, 200, 83, 0.5);
}

.btn-verify:active {
    transform: scale(0.97);
}

.btn-verify i {
    font-size: 18px;
}

.verify-hint {
    text-align: center;
    margin-top: 12px;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.verify-hint i {
    color: var(--tiktok-cyan);
    margin-right: 4px;
}

/* ===== OFFERS SCREEN ===== */
.offers-card {
    width: 100%;
}

.offers-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.btn-back-offers {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.06);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn-back-offers:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--tiktok-cyan);
}

.offers-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
}

.offers-header h3 i {
    color: var(--tiktok-cyan);
    margin-right: 6px;
}

.offers-header p {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* Offers loading spinner */
.offers-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 0;
    gap: 16px;
}

.offers-spinner {
    width: 42px;
    height: 42px;
    border: 3px solid rgba(255, 255, 255, 0.08);
    border-top-color: var(--tiktok-cyan);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

.offers-loading p {
    color: var(--text-secondary);
    font-size: 13px;
}

/* Offers list */
.offers-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-height: 420px;
    overflow-y: auto;
    padding-right: 4px;
}

.offers-list::-webkit-scrollbar {
    width: 4px;
}

.offers-list::-webkit-scrollbar-track {
    background: transparent;
}

.offers-list::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.12);
    border-radius: 4px;
}

.offer-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.offer-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(37, 244, 238, 0.3);
    transform: translateY(-1px);
}

.offer-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(255, 255, 255, 0.06);
}

.offer-info {
    flex: 1;
    min-width: 0;
}

.offer-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.offer-instructions {
    font-size: 11px;
    color: var(--text-secondary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.offer-go {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tiktok-pink), var(--tiktok-cyan));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 12px;
    transition: transform 0.3s ease;
}

.offer-item:hover .offer-go {
    transform: scale(1.1);
}

/* Offers error state */
.offers-error {
    text-align: center;
    padding: 36px 0;
}

.offers-error i {
    font-size: 36px;
    color: var(--tiktok-pink);
    margin-bottom: 12px;
}

.offers-error p {
    color: var(--text-secondary);
    font-size: 13px;
    margin-bottom: 16px;
}

.btn-retry {
    padding: 10px 28px;
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-primary);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-retry:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--tiktok-cyan);
}

/* Offers footer */
.offers-footer {
    margin-top: 16px;
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.offers-footer i {
    font-size: 10px;
}