:root {
    --primary-color: #ff4b2b;
    --primary-gradient: linear-gradient(to right, #ff416c, #ff4b2b);
    --secondary-color: #8E2DE2;
    --secondary-gradient: linear-gradient(to right, #4A00E0, #8E2DE2);
    --dark-bg: #121212;
    --card-bg: #1e1e1e;
    --text-color: #ffffff;
    --text-muted: #aaaaaa;
    --success: #00b894;
    --font-main: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: var(--font-main);
    background-color: var(--dark-bg);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Updated Logo Sizing and Container */
.app-logo-container {
    text-align: center;
    margin-bottom: 20px;
    z-index: 10;
    position: relative;
    width: 100%;
}

.logo-img {
    height: 60px;
    object-fit: contain;
    display: inline-block;
    background: #ffffff;
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 8px;
    box-shadow: 0 5px 15px rgba(255, 75, 43, 0.3);
}

.header-badge {
    display: inline-block;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    border-radius: 12px 12px 12px 0;
    padding: 2px 8px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 5px;
    background: rgba(255, 75, 43, 0.1);
}

.header-progress-container {
    height: 4px;
    background: #333;
    width: 100%;
    margin-bottom: 20px;
    border-radius: 2px;
    overflow: hidden;
    display: none;
}

.header-progress-bar {
    height: 100%;
    background: var(--primary-gradient);
    width: 0%;
    transition: width 0.5s ease;
}

main#app {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    position: relative;
    min-height: 100vh;
    justify-content: flex-start;
    padding-top: 40px;
}

/* Steps System */
.step {
    display: none;
    width: 100%;
    animation: fadeIn 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.step.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Containers */
.content-box {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
}

/* Typography */
h1 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 15px;
    line-height: 1.2;
    background: linear-gradient(to bottom right, #fff, #ccc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

h2 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #fff;
}

.subtitle,
.copy-result {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

.highlight {
    color: var(--primary-color);
}

.badge {
    display: inline-block;
    background: rgba(255, 75, 43, 0.15);
    color: #ff4b2b;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

/* Buttons */
.btn {
    display: block;
    width: 100%;
    padding: 16px;
    border: none;
    border-radius: 30px;
    /* Pill shape */
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 15px;
    text-decoration: none;
    text-align: center;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 5px 20px rgba(255, 75, 43, 0.4);
}

.btn-primary:active {
    transform: scale(0.98);
}

.btn-primary.pulsate {
    animation: pulseBtn 2s infinite;
}

.btn-large {
    font-size: 1.1rem;
    padding: 18px;
}

.btn-text {
    background: transparent;
    color: #666;
    font-size: 0.8rem;
    padding: 10px;
    margin-top: 5px;
    text-decoration: underline;
}

@keyframes pulseBtn {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 75, 43, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(255, 75, 43, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 75, 43, 0);
    }
}

/* Inputs */
.input-group {
    margin-bottom: 20px;
    text-align: left;
}

input[type="text"],
select {
    width: 100%;
    padding: 15px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #333;
    font-size: 1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.3s;
}

input[type="text"]::placeholder {
    color: #999;
}

input[type="text"]:focus,
select:focus {
    border-color: #ff4b2b;
}

/* Social Proof */
.social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 0.9rem;
    color: #00E676;
}

.online-indicator {
    width: 10px;
    height: 10px;
    background: #00E676;
    border-radius: 50%;
    box-shadow: 0 0 10px #00E676;
}

/* Quiz Specifics */
.quiz-header {
    margin-bottom: 20px;
}

.step-indicator {
    display: block;
    margin-bottom: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    text-align: left;
}

.progress-track {
    background: #333;
    height: 6px;
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    background: var(--secondary-gradient);
    height: 100%;
    transition: width 0.4s ease;
}

.dots-indicator {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
}

.dot.active {
    background: #fff;
}

/* Options Grid/List */
.options-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    /* 2 cols */
    gap: 15px;
}

.options-grid .option-card:last-child {
    grid-column: span 2;
}

.option-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    border-radius: 16px;
    padding: 20px;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.option-card .icon {
    font-size: 1.5rem;
}

.option-card:hover {
    border-color: var(--primary-color);
    background: rgba(255, 75, 43, 0.1);
}

.options-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-list-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    /* No border default */
    border-radius: 12px;
    padding: 18px;
    text-align: left;
    color: #ddd;
    font-size: 1rem;
    cursor: pointer;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 15px;
}

.option-list-item .icon {
    font-size: 1.2rem;
    min-width: 25px;
    text-align: center;
}

.option-list-item:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

/* Loading Result */
.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(255, 255, 255, 0.1);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px auto;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.success-icon {
    font-size: 4rem;
    color: var(--success);
    margin-bottom: 20px;
    animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes popIn {
    from {
        transform: scale(0);
    }

    to {
        transform: scale(1);
    }
}

.badges-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.badge-pill {
    background: #333;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.7rem;
    text-transform: uppercase;
    color: #fff;
    border: 1px solid #444;
}

.warning-box {
    background: rgba(255, 193, 7, 0.1);
    border: 1px solid rgba(255, 193, 7, 0.3);
    color: #FFC107;
    padding: 10px;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 25px;
}

/* SWIPE PAGE */
.full-screen {
    position: fixed;
    /* Take over full screen */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    background: #000;
    display: none;
}

.full-screen.active {
    display: flex;
    flex-direction: column;
}

.swipe-container {
    flex: 1;
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 0 auto;
    overflow: hidden;
    padding-bottom: 80px;
}

.card-stack {
    width: 100%;
    height: 100%;
    position: relative;
    margin-top: 80px;
}

.tinder-card {
    position: absolute;
    top: 0;
    left: 10px;
    right: 10px;
    bottom: 100px;
    background-size: cover;
    background-position: center;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    background-color: #333;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    transition: transform 0.3s ease;
}

.card-info {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 20px;
    margin: -20px;
    border-radius: 0 0 20px 20px;
}

.card-info h3 {
    margin: 0;
    font-size: 1.8rem;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.card-info p {
    color: #eee;
    font-size: 0.9rem;
    margin-top: 5px;
}

.action-buttons {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
    z-index: 10;
}

.action-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: #222;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn.reject {
    color: #ff4b2b;
    border: 2px solid #ff4b2b;
}

.action-btn.like {
    color: #00E676;
    border: 2px solid #00E676;
}

.action-btn:active {
    transform: scale(1.1);
}

/* INBOX */
.app-header {
    display: flex;
    border-bottom: 1px solid #333;
    margin: -30px -30px 20px -30px;
    padding: 0 10px;
    background: #000;
    /* Added bg */
}

.tab {
    flex: 1;
    text-align: center;
    padding: 15px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    position: relative;
}

.tab.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.counter {
    background: var(--primary-color);
    color: #fff;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 0.7rem;
    margin-left: 5px;
}

.chat-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.chat-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    cursor: pointer;
    transition: background 0.2s;
}

.chat-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-size: cover;
    margin-right: 15px;
    position: relative;
    background-position: center;
}

.avatar-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: var(--primary-color);
    color: #fff;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--card-bg);
}

.chat-details {
    flex: 1;
}

.chat-name {
    font-weight: 700;
    color: #fff;
    margin-bottom: 4px;
}

.chat-preview {
    color: #aaa;
    font-size: 0.85rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

/* CHAT INDIVIDUAL */
.chat-header {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.back-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    padding-right: 15px;
}

.avatar-small {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    margin-right: 10px;
    object-fit: cover;
}

.chat-body {
    height: 350px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-bottom: 20px;
}

.system-msg {
    text-align: center;
    color: #666;
    font-size: 0.8rem;
    margin: 10px 0;
}

.msg-bubble {
    background: #333;
    padding: 10px 15px;
    border-radius: 15px;
    max-width: 80%;
    align-self: flex-start;
    font-size: 0.9rem;
    position: relative;
    line-height: 1.4;
}

.msg-bubble.me {
    background: var(--primary-color);
    align-self: flex-end;
}

.audio-msg {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #aaa;
    cursor: pointer;
}

.audio-msg i {
    font-size: 1.2rem;
    color: #fff;
}

.chat-option-btn {
    background: rgba(255, 75, 43, 0.1);
    color: white;
    border: 1px solid var(--primary-color);
    padding: 10px;
    border-radius: 20px;
    margin-top: 5px;
    font-size: 0.85rem;
    cursor: pointer;
    text-align: left;
    display: block;
    width: 100%;
}

.chat-input-area {
    margin-top: 15px;
    position: relative;
    opacity: 0.5;
    pointer-events: none;
    /* Disabled by default */
    display: flex;
    gap: 10px;
    transition: opacity 0.3s;
}

.chat-input-area.enabled {
    opacity: 1;
    pointer-events: all;
}

.chat-input-area input {
    flex: 1;
    background: #333;
    color: white;
    border: none;
}

.chat-input-area button {
    background: var(--primary-color);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    color: white;
    cursor: pointer;
}

/* BLOCKED CONTENT */
.blocked-media-container {
    position: relative;
    width: 200px;
    height: 250px;
    margin: 10px 0;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}

.blocked-media-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(15px);
    opacity: 0.6;
}

.lock-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
    color: #fff;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

/* INLINE PAYWALL (New) - replaces Modal */
.inline-paywall-container {
    background: linear-gradient(135deg, #1a1a1a, #0d0d0d);
    border: 1px solid rgba(255, 75, 43, 0.4);
    border-radius: 15px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.inline-paywall-header {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.inline-paywall-header i {
    color: #ff4b2b;
}

.inline-benefits {
    list-style: none;
    text-align: left;
    margin-bottom: 20px;
    padding: 0 10px;
}

.inline-benefits li {
    margin-bottom: 12px;
    font-size: 0.85rem;
    color: #ccc;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.inline-benefits li i {
    color: #00E676;
    margin-top: 3px;
}

.inline-benefits li strong {
    color: #fff;
    display: block;
}

/* CHECKOUT */
.live-badge {
    background: red;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
    padding: 2px 8px;
    border-radius: 4px;
    display: inline-block;
    animation: blink 1s infinite alternate;
}

@keyframes blink {
    from {
        opacity: 1;
    }

    to {
        opacity: 0.7;
    }
}

.timer {
    font-family: monospace;
    font-size: 1.5rem;
    color: #FFD700;
    margin-top: 5px;
    font-weight: 700;
}

.price-box {
    margin: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.old-price {
    text-decoration: line-through;
    color: #666;
    font-size: 1.2rem;
}

.new-price {
    color: #00E676;
    font-size: 2.5rem;
    font-weight: 800;
}

.avatars-row {
    display: flex;
    gap: -10px;
    justify-content: center;
    margin: 10px 0;
}

.scarcity-alert {
    background: rgba(255, 75, 43, 0.1);
    color: #ff4b2b;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 600;
}

.checkout-proof {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

/* Locked Gallery Grid */
.locked-gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin: 20px 0;
}

.locked-item {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 1;
}

.locked-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(10px);
}

.locked-item i {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 1.5rem;
    z-index: 2;
}

/* Testimonials */
.testimonials {
    margin-top: 30px;
    text-align: left;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
}

.verified {
    color: #00E676;
    font-size: 0.75rem;
    margin-bottom: 5px;
    display: block;
}

.t-text {
    font-style: italic;
    font-size: 0.9rem;
    color: #ddd;
    margin-bottom: 8px;
    display: block;
}

.t-author {
    font-weight: bold;
    font-size: 0.8rem;
    color: #fff;
    text-align: right;
    display: block;
}

/* Hot result */
.hot-result {
    background: linear-gradient(to right, #2c0b0e, #1a0505);
    border: 1px solid #ff4b2b;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.hot-result-header {
    font-weight: 800;
    color: #ff4b2b;
    text-transform: uppercase;
    margin-bottom: 5px;
}

/* FIX IMAGE CUTOFF */
.chat-image {
    width: 100% !important;
    height: auto !important;
    border-radius: 10px;
    display: block;
    object-fit: contain;
    margin: 5px 0;
}