/* EMD Brand - Adult Cam Site Styles */
/* MOBILE-FIRST APPROACH */

:root {
    --primary: #e94560;
    --secondary: #00d4ff;
    --bg-dark: #0f0f1a;
    --bg-darker: #0a0a12;
    --text: #ffffff;
    --text-muted: #a0a0b0;
    --success: #00ff88;
    --danger: #ff4444;
    --sticky-height: 80px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    padding-bottom: var(--sticky-height);
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* ==========================================
   HEADER - Mobile First
   ========================================== */
.header {
    background: var(--bg-darker);
    padding: 12px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.logo img {
    height: 32px;
    width: auto;
}

.header-stats {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
}

.live-indicator {
    width: 8px;
    height: 8px;
    background: var(--danger);
    border-radius: 50%;
    animation: pulse-live 1.5s infinite;
}

@keyframes pulse-live {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.lang-switch select {
    background: var(--bg-dark);
    color: var(--text);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 6px 10px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
    min-height: 44px; /* Touch target */
}

/* ==========================================
   HERO SECTION - Mobile First
   ========================================== */
.hero {
    padding: 20px 0;
}

.hero-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Webcam Area */
.webcam-area {
    position: relative;
}

.webcam-frame {
    background: var(--bg-darker);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

.webcam-header {
    display: flex;
    justify-content: space-between;
    padding: 10px 12px;
    background: rgba(0,0,0,0.5);
}

.webcam-live {
    color: var(--danger);
    font-weight: bold;
    font-size: 13px;
    animation: pulse-live 1.5s infinite;
}

.webcam-viewers {
    color: var(--text-muted);
    font-size: 13px;
}

.webcam-video {
    aspect-ratio: 4/3;
    background-size: cover;
    background-position: center 25%;
    position: relative;
}

.webcam-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
}

.model-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.model-name {
    font-size: 20px;
    font-weight: bold;
}

.model-location {
    font-size: 13px;
    color: var(--secondary);
}

.webcam-footer {
    display: flex;
    justify-content: space-between;
    padding: 10px 12px;
    background: rgba(0,0,0,0.3);
    font-size: 13px;
    color: var(--text-muted);
}

/* ==========================================
   ACTION AREA - Mobile First
   ========================================== */
.action-area {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.action-area h1 {
    font-size: 22px;
    line-height: 1.3;
    color: var(--text);
    text-align: center;
}

/* Quiz Container */
.quiz-container {
    background: var(--bg-darker);
    border-radius: 12px;
    padding: 20px;
}

.quiz-step {
    display: none;
}

.quiz-step.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.quiz-question {
    font-size: 16px;
    margin-bottom: 15px;
    color: var(--text);
    text-align: center;
}

.quiz-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.quiz-option {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--text);
    padding: 14px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 48px; /* Touch target */
}

.quiz-option:hover, .quiz-option:active {
    background: var(--primary);
}

.quiz-match {
    font-size: 18px;
    text-align: center;
    color: var(--success);
    margin-bottom: 15px;
}

/* Chat Container - Mobile: show only CTA */
.chat-container {
    background: transparent;
    padding: 0;
}

.fake-chat {
    display: none; /* Hidden on mobile */
    height: 150px;
    overflow-y: auto;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(0,0,0,0.2);
    border-radius: 8px;
}

.chat-message {
    margin-bottom: 8px;
    padding: 8px 10px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.chat-message .user {
    color: var(--secondary);
    font-weight: bold;
    font-size: 11px;
}

.chat-message .text {
    color: var(--text);
    font-size: 13px;
    margin-top: 2px;
}

.cta-area {
    text-align: center;
}

/* Hidden on mobile */
.near-you,
.price-label,
.trust-badges,
.cta-area {
    display: none;
}

.near-you span {
    color: var(--secondary);
    font-weight: bold;
}

/* ==========================================
   CTA BUTTON - Mobile First
   ========================================== */
.cta-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), #ff2d55);
    color: white !important;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s;
    box-shadow: 0 5px 25px rgba(233, 69, 96, 0.4);
    min-height: 44px;
    width: 100%;
    max-width: 320px;
    text-align: center;
}

.cta-btn:hover, .cta-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 8px 35px rgba(233, 69, 96, 0.6);
}

.cta-btn.pulse {
    animation: pulse-btn 2s infinite;
}

@keyframes pulse-btn {
    0%, 100% { box-shadow: 0 5px 25px rgba(233, 69, 96, 0.4); }
    50% { box-shadow: 0 5px 35px rgba(233, 69, 96, 0.7); }
}

.price-label {
    margin-top: 10px;
    font-size: 13px;
    color: var(--success);
    font-weight: bold;
}

/* ==========================================
   STICKY CTA BAR - Mobile Only
   ========================================== */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, var(--bg-darker) 80%, transparent);
    padding: 12px 15px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
    z-index: 99;
    text-align: center;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sticky-cta.visible {
    transform: translateY(0);
}

.sticky-cta .cta-btn {
    width: 100%;
    max-width: 400px;
    padding: 12px 20px;
    font-size: 14px;
}

.sticky-cta .trust-line {
    font-size: 11px;
    color: var(--success);
    margin-top: 8px;
}

/* Trust Badges */
.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.05);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--success);
}

/* ==========================================
   REVIEWS SECTION
   ========================================== */
.reviews-section {
    padding: 40px 0;
    background: var(--bg-darker);
}

.reviews-section h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 22px;
}

.reviews-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.review-card {
    background: var(--bg-dark);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.review-stars {
    color: #ffc107;
    font-size: 16px;
    margin-bottom: 10px;
}

.review-text {
    font-size: 14px;
    color: var(--text);
    margin-bottom: 12px;
    font-style: italic;
    line-height: 1.5;
}

.review-author {
    font-size: 12px;
    color: var(--text-muted);
}

/* ==========================================
   SEO CONTENT
   ========================================== */
.seo-content {
    padding: 40px 0;
}

.seo-content h2 {
    font-size: 20px;
    margin: 25px 0 12px;
    color: var(--text);
}

.seo-content p {
    color: var(--text-muted);
    margin-bottom: 12px;
    font-size: 14px;
}

.seo-content ul, .seo-content ol {
    margin: 12px 0 12px 20px;
    color: var(--text-muted);
    font-size: 14px;
}

.seo-content li {
    margin-bottom: 6px;
}

.seo-content strong {
    color: var(--text);
}

.seo-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.seo-content a:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* ==========================================
   FAQ SECTION
   ========================================== */
.faq-section {
    padding: 40px 0;
    background: var(--bg-darker);
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 22px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-dark);
    border-radius: 8px;
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-item summary {
    padding: 15px 18px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 48px; /* Touch target */
}

.faq-item summary::after {
    content: '+';
    font-size: 18px;
    color: var(--primary);
    flex-shrink: 0;
    margin-left: 10px;
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item p {
    padding: 0 18px 15px;
    color: var(--text-muted);
    line-height: 1.6;
    font-size: 13px;
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    padding: 30px 0;
    padding-bottom: calc(30px + var(--sticky-height));
    background: var(--bg-darker);
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.footer .disclaimer {
    font-size: 11px;
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 15px;
    line-height: 1.7;
}

.footer .links {
    margin-bottom: 12px;
}

.footer .links a {
    color: var(--text-muted);
    text-decoration: none;
    margin: 0 8px;
    font-size: 13px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}

.footer .links a:hover {
    color: var(--primary);
}

.footer .lang-links {
    margin-bottom: 12px;
    font-size: 10px;
    color: var(--text-muted);
    line-height: 2;
}

.footer .lang-links a {
    color: rgba(255,255,255,0.3);
    text-decoration: none;
    margin: 0 2px;
}

.footer .lang-links a:hover {
    color: var(--primary);
}

.footer .copy {
    font-size: 12px;
    color: rgba(255,255,255,0.3);
}

/* ==========================================
   POPUP
   ========================================== */
.popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    padding: 15px;
}

.popup-overlay.active {
    display: flex;
}

.popup {
    background: linear-gradient(145deg, var(--bg-darker), var(--bg-dark));
    border-radius: 16px;
    padding: 30px 20px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    position: relative;
    border: 1px solid var(--primary);
    animation: popIn 0.3s ease;
}

@keyframes popIn {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
}

.popup-title {
    font-size: 20px;
    font-weight: bold;
    color: var(--primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.popup-subtitle {
    font-size: 16px;
    color: var(--text);
    margin-bottom: 20px;
}

.popup-cta {
    display: block;
    margin: 0 auto 15px;
    width: 100%;
}

.popup-trust {
    font-size: 12px;
    color: var(--success);
}

/* ==========================================
   DESKTOP STYLES (min-width: 768px)
   ========================================== */
@media (min-width: 768px) {
    body {
        padding-bottom: var(--sticky-height);
    }

    .container {
        padding: 0 20px;
    }

    .header {
        padding: 15px 0;
    }

    .logo img {
        height: 40px;
    }

    .header-stats {
        font-size: 14px;
        gap: 8px;
    }

    .live-indicator {
        width: 10px;
        height: 10px;
    }

    .lang-switch select {
        padding: 8px 12px;
        font-size: 14px;
    }

    .hero {
        padding: 40px 0;
    }

    .hero-grid {
        display: grid;
        grid-template-columns: 1.2fr 1fr;
        gap: 40px;
        align-items: start;
    }

    .webcam-video {
        aspect-ratio: 16/9;
    }

    .webcam-header, .webcam-footer {
        padding: 12px 15px;
    }

    .model-name {
        font-size: 24px;
    }

    .action-area h1 {
        font-size: 28px;
        text-align: left;
    }

    .quiz-options {
        grid-template-columns: 1fr 1fr;
    }

    .chat-container {
        display: block;
        background: var(--bg-darker);
        border-radius: 12px;
        padding: 15px;
    }

    .fake-chat {
        display: block;
        height: 250px;
    }

    .near-you,
    .price-label,
    .trust-badges,
    .cta-area {
        display: block;
    }

    .cta-area .cta-btn {
        padding: 14px 35px;
        font-size: 16px;
        width: auto;
        max-width: 320px;
    }

    .trust-badges {
        display: flex;
    }

    .near-you {
        font-size: 15px;
        color: var(--text-muted);
        margin-bottom: 12px;
    }

    .cta-btn {
        padding: 14px 35px;
        font-size: 16px;
        width: auto;
    }

    .sticky-cta .cta-btn {
        max-width: 350px;
    }

    .footer {
        padding: 40px 0;
    }

    .reviews-section {
        padding: 60px 0;
    }

    .reviews-section h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .reviews-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }

    .seo-content {
        padding: 50px 0;
    }

    .seo-content h2 {
        font-size: 24px;
    }

    .seo-content p, .seo-content ul, .seo-content ol {
        font-size: 15px;
    }

    .faq-section {
        padding: 60px 0;
    }

    .faq-section h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .faq-item summary {
        padding: 18px 25px;
        font-size: 16px;
    }

    .faq-item p {
        padding: 0 25px 20px;
        font-size: 14px;
    }

    .popup {
        padding: 40px;
    }

    .popup-title {
        font-size: 24px;
    }

    .popup-subtitle {
        font-size: 18px;
    }
}

/* ==========================================
   LARGE DESKTOP (min-width: 1024px)
   ========================================== */
@media (min-width: 1024px) {
    .trust-badges {
        justify-content: flex-start;
    }
}