/* =============================================================================
   SEXUAL PROFILE SCORER - MAIN STYLESHEET
   Hlavní CSS pro všechny stránky

   Struktura:
   1. Variables & Reset
   2. Layout & Common Components (header, footer, buttons, forms)
   3. Dashboard Styles
   4. Answers Page Styles
   5. Chat Styles
   6. Dating Profile Styles
   7. Question Editor Styles
   8. Questionnaire Styles
   9. Profile Display Styles
   10. Admin Styles
   ============================================================================= */

/* =============================================================================
   1. VARIABLES & RESET
   ============================================================================= */

:root {
    /* ==========================================
       DESIGN PALETTE - otevri.se
       Based on: intimate, calm, confident,
       emotionally intelligent, slightly mysterious
       ========================================== */

    /* Primary - Burgundy (depth, sensuality, intimacy) */
    --primary-color: #a8384a;
    --primary-dark: #8a2a3a;
    --primary-light: #c45a6a;

    /* Secondary - Terra cotta (warm accents) */
    --secondary-color: #d4745f;
    --secondary-dark: #c25a45;
    --secondary-light: #e8a090;

    /* Accent - Dusty Rose (softness, intimacy) */
    --dusty-rose: #c4a4a4;
    --dusty-rose-light: #d8c4c4;
    --dusty-rose-dark: #a08080;

    /* Dark Plum (mystery, sophistication) */
    --dark-plum: #3d2a3d;
    --dark-plum-light: #5a4058;

    /* Status colors - muted versions */
    --success-color: #6b9080;         /* Sage green - místo křiklavé zelené */
    --success-light: #8fb0a0;
    --danger-color: #c27070;          /* Tlumená červená */
    --warning-color: #c4a060;         /* Tlumená žlutá/gold */
    --info-color: #7090a8;            /* Tlumená modrá */

    /* Background - Dark warm theme */
    --bg-dark: #1a1816;               /* Teplá černá (ne studená) */
    --bg-dark-lighter: #2a2624;       /* Teplá tmavě šedá */
    --card-bg: #242220;               /* Teplá karta */

    /* Glass effect */
    --glass-bg: rgba(36, 34, 32, 0.85);
    --glass-border: rgba(212, 116, 95, 0.15);

    /* Text - Warm light on dark */
    --text-primary: #faf8f5;          /* Teplá bílá */
    --text-secondary: #b8b0a8;        /* Teplá šedá */
    --text-muted: #787068;            /* Teplá tmavší šedá */

    /* Aliases pro kompatibilitu */
    --color-text-primary: var(--text-primary);
    --color-text-secondary: var(--text-secondary);
    --color-text-muted: var(--text-muted);

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;

    /* Border radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.1);
}

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

/* Import Inter font - humanist sans-serif */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400&display=swap');

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: var(--text-primary);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
    background: var(--bg-dark);
    letter-spacing: -0.01em;
}

/* Soft serif accent pro speciální nadpisy */
.serif-accent {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-weight: 400;
    letter-spacing: 0.02em;
}

/* =============================================================================
   2. LAYOUT & COMMON COMPONENTS
   ============================================================================= */

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-lg);
}

.container-narrow {
    max-width: 800px;
}

/* Header (společná hlavička pro layout) */
.site-header {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    padding: var(--space-md) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
}

.logo-rainbow {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 50%, #ec4899 100%);
    border-radius: 50%;
}

.header-logo-img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 8px;
}

/* Navigation */
.site-nav {
    display: flex;
    gap: var(--space-md);
    align-items: center;
}

.site-nav a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color 0.2s;
}

.site-nav a:hover {
    color: var(--secondary-color);
}

/* Footer */
.site-footer {
    background: var(--card-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: var(--space-lg) 0;
    margin-top: var(--space-xl);
    text-align: center;
    color: var(--text-secondary);
}

/* SVG Icons */
.icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    stroke-width: 2;
    stroke: currentColor;
    fill: none;
    vertical-align: middle;
}

.icon-sm {
    width: 16px;
    height: 16px;
}

.icon-lg {
    width: 32px;
    height: 32px;
}

.icon-xl {
    width: 48px;
    height: 48px;
}

/* =============================================================================
   SERVICE HEADER - Jednotná hlavička služeb (Seznamka, Chat, Fórum, Blog...)
   ============================================================================= */
.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}

.service-header .service-info {
    flex: 1;
    min-width: 250px;
}

.service-header .service-title {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.75rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    color: var(--text-primary);
}

.service-header .service-icon {
    width: 1.2em;
    height: 1.2em;
    color: var(--primary-color);
    flex-shrink: 0;
    transform: translateY(0.25em);
}

.service-header .service-description {
    color: var(--text-muted);
    font-size: 1rem;
    margin: 0;
    line-height: 1.5;
    white-space: nowrap;
}

.service-header .service-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

/* Responzivita pro menší obrazovky */
@media (max-width: 640px) {
    .service-header {
        flex-direction: column;
        align-items: stretch;
    }

    .service-header .service-actions {
        width: 100%;
    }

    .service-header .service-actions .btn {
        flex: 1;
        justify-content: center;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 2px solid var(--glass-border);
}

.btn-logout {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    border: none;
}

/* Forms */
.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--space-xs);
    font-weight: 600;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--glass-border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Cards */
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: var(--shadow);
}

/* Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid rgba(99, 102, 241, 0.2);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Screens */
.screen {
    display: none;
    min-height: 100vh;
}

.screen.active {
    display: block;
}

/* =============================================================================
   3. DASHBOARD STYLES
   Styly pro /dashboard.html
   ============================================================================= */

/* Dashboard header */
.app-header {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--glass-border);
    padding: var(--space-md) var(--space-lg);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
}

.header-divider {
    width: 2px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--glass-border), transparent);
}

.header-user-block p {
    margin: 0;
    line-height: 1.4;
}

.header-welcome {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.header-access-code {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.access-code-badge {
    font-family: 'Courier New', monospace;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 600;
    color: var(--secondary-color);
}

/* Questionnaire quick links - terakotová pro čitelnost na tmavém pozadí */
.questionnaire-quick-links a {
    color: var(--secondary-color);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.questionnaire-quick-links a:hover {
    color: var(--secondary-light);
}

/* Dashboard grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: var(--space-lg);
    max-width: 1400px;
    margin: var(--space-lg) auto;
    padding: 0 var(--space-lg);
}

.dashboard-main {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

/* Section titles */
.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-md);
}

/* Service cards */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    cursor: pointer;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Admin section */
.admin-section {
    background: transparent;
    border: none;
}

.admin-box {
    background: linear-gradient(180deg, rgba(15, 10, 10, 0.95) 0%, rgba(10, 5, 5, 0.98) 100%);
    border: 1px solid rgba(184, 92, 92, 0.2);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
}

.admin-actions {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

/* Sidebar */
.sidebar-box {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
}

.sidebar-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-dot.green {
    background: var(--success-color);
}

.status-dot.orange {
    background: var(--warning-color);
}

.count-badge {
    margin-left: auto;
    font-size: 0.85rem;
    padding: 2px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.count-badge.green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
}

.count-badge.orange {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning-color);
}

/* Online users */
.online-user-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    transition: background 0.2s;
}

.online-user-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

.online-user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Rooms */
.room-item {
    padding: var(--space-sm);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.room-item:hover {
    background: rgba(99, 102, 241, 0.05);
}

.room-name {
    font-weight: 600;
}

.room-users {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Modal */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.modal-content {
    background: var(--card-bg);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    max-width: 500px;
    width: 90%;
    box-shadow: var(--shadow-lg);
}

/* Responsive */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================================================
   4. ANSWERS PAGE STYLES
   Styly pro /answers.html
   ============================================================================= */

.answers-container {
    max-width: 1000px;
    margin: var(--space-lg) auto;
    padding: 0 var(--space-sm);
}

.answers-header {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: var(--shadow);
    margin-bottom: var(--space-lg);
}

.answers-header h1 {
    margin: 0 0 var(--space-xs) 0;
    font-size: 2rem;
    color: var(--text-primary);
    font-weight: 700;
}

.answers-header p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
}

.answers-content {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: var(--space-lg);
    box-shadow: var(--shadow);
}

.section-block {
    margin-bottom: var(--space-lg);
}

.section-header {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: var(--space-md);
}

.question-block {
    margin-bottom: var(--space-md);
    padding: var(--space-md);
    background: #fafafa;
    border-radius: var(--radius-sm);
}

.question-text {
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

.answer-item {
    padding: var(--space-xs) var(--space-sm);
    margin: var(--space-xs) 0;
}

.answer-role {
    font-weight: 600;
    color: var(--primary-color);
    margin-right: var(--space-xs);
}

.answer-value {
    color: var(--text-primary);
}

/* =============================================================================
   5. LANDING PAGE STYLES
   Styly pro úvodní stránku /
   ============================================================================= */

/* Hero section */
.hero-header {
    text-align: center;
    padding: var(--space-xl) var(--space-sm) var(--space-lg);
    color: white;
}

.hero-logo-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.hero-logo-img {
    width: 8rem;
    height: 8rem;
    object-fit: contain;
    border-radius: 24px;
    box-shadow: 0 0 20px rgba(212, 116, 95, 0.3);
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    font-weight: 800;
    margin: 0 0 var(--space-xs) 0;
    text-shadow: 0 2px 20px rgba(0,0,0,0.2);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    opacity: 0.95;
    margin: 0;
    font-weight: 400;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-tagline {
    font-size: clamp(0.95rem, 2.5vw, 1.1rem);
    opacity: 0.85;
    margin: var(--space-md) 0 0 0;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Trust badges */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: var(--space-lg);
    margin-top: var(--space-lg);
    flex-wrap: wrap;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.9rem;
    background: var(--card-bg);
    padding: var(--space-xs) var(--space-md);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.trust-badge svg {
    width: 16px;
    height: 16px;
    stroke: var(--primary-color);
}

/* Landing content */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-lg) var(--space-sm);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

/* Landing page cards - hover effects */
.card {
    transition: all 0.3s ease;
    background: var(--card-bg);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    border-color: var(--primary-color);
}

.card-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-md);
    display: inline-block;
    stroke: var(--primary-color);
}

.card-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 var(--space-md) 0;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.card-text {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-md);
    font-size: 0.98rem;
}

/* Landing page buttons - enhanced styles */
.landing-page .btn,
.hero .btn {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.landing-page .btn::after,
.hero .btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.landing-page .btn:active::after,
.hero .btn:active::after {
    width: 300px;
    height: 300px;
}

.btn-demo {
    background: var(--secondary-color);
    color: white;
}

.btn-demo:hover {
    background: #8b2c3d;
    transform: translateY(-2px);
}

.btn-success {
    background: var(--success-color);
    color: white;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.4);
}

/* Form inputs - landing page style */
.form-input {
    padding: 1rem 1.25rem;
    font-size: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    width: 100%;
    margin-bottom: var(--space-md);
    background: var(--bg-dark-lighter);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background: var(--card-bg);
}

.form-input.access-code {
    font-family: 'Monaco', 'Courier New', monospace;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Footer - landing page */
.footer {
    text-align: center;
    padding: var(--space-xl) var(--space-sm);
    color: white;
    font-size: 0.9rem;
}

.footer-content {
    opacity: 0.85;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    align-items: center;
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
    justify-content: center;
}

.footer-link {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-link:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Visually hidden (accessibility) */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Responsive - landing page */
@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }

    .trust-badges {
        flex-direction: column;
        gap: var(--space-sm);
    }
}

/* Accessibility - reduced motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   FOOTER - Kompaktní s plným obsahem
======================================== */

.app-footer {
    background: linear-gradient(180deg, rgba(15, 10, 10, 0.95) 0%, rgba(10, 5, 5, 0.98) 100%);
    border-top: 1px solid rgba(184, 92, 92, 0.2);
    margin-top: var(--space-lg);
    padding: 2rem 0 1rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem 1.5rem;
    display: grid;
    grid-template-columns: 1.2fr 3fr;
    gap: 3rem;
    align-items: start;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.footer-logo-img {
    width: 220px;
    height: auto;
    object-fit: contain;
}

.footer-brand-name {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #f5f0eb;
    letter-spacing: 0.5px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(245, 240, 235, 0.6);
    line-height: 1.5;
    margin: 0;
    max-width: 220px;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-section h4 {
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(212, 165, 116, 0.9);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 0.75rem 0;
}

.footer-section a {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: rgba(245, 240, 235, 0.7);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: all 0.2s ease;
}

.footer-section a:hover {
    color: #f5f0eb;
    transform: translateX(3px);
}

.footer-icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.footer-section a:hover .footer-icon {
    opacity: 1;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem 0;
    border-top: 1px solid rgba(184, 92, 92, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(245, 240, 235, 0.4);
}

/* Footer Responsive */
@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-links {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 640px) {
    .app-footer {
        padding: 1.5rem 0 1rem;
    }

    .footer-content {
        padding: 0 1.5rem 1.25rem;
    }

    .footer-links {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .footer-bottom {
        padding: 1rem 1.5rem 0;
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

/* App main content */
.app-main {
    min-height: calc(100vh - 200px);
}

/* =============================================================================
   11. PROFILE MATRIX TOOLTIP - Tooltips pro zobrazení profilů
   ============================================================================= */

/* Tooltip wrapper - Warm Minimalism Dark Theme */
.user-profile-tooltip {
    position: absolute;
    z-index: 10000;
    background: linear-gradient(145deg, #2a2520 0%, #1e1a17 100%);
    border-radius: 16px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(212, 116, 95, 0.2);
    padding: 18px;
    min-width: 280px;
    max-width: 320px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    border: 1px solid rgba(212, 116, 95, 0.15);
}

.user-profile-tooltip.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Tooltip header */
.tooltip-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(212, 116, 95, 0.2);
}

.tooltip-header .profile-icons {
    display: flex;
    align-items: center;
    gap: 4px;
}

.tooltip-header .profile-name {
    font-weight: 600;
    font-size: 1.15em;
    color: #faf8f6;
}

/* Tooltip body */
.tooltip-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Profile main - hlavní profil */
.profile-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 12px;
    background: rgba(212, 116, 95, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(212, 116, 95, 0.15);
}

.profile-main strong {
    font-size: 1.05em;
    color: #faf8f6;
}

.profile-main .score {
    font-weight: 700;
    font-size: 1.15em;
    color: #d4745f;
}

/* Profile bars - progress bary */
.profile-bars {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bar-item {
    display: grid;
    grid-template-columns: 90px 1fr 45px;
    align-items: center;
    gap: 8px;
    font-size: 0.9em;
}

.bar-item > span:first-child {
    color: #a8a8a8;
    font-weight: 500;
}

.progress-bar {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar .fill {
    height: 100%;
    background: linear-gradient(90deg, #d4745f 0%, #e8a090 100%);
    border-radius: 10px;
    transition: width 0.3s ease;
}

.bar-item .value {
    text-align: right;
    font-weight: 600;
    color: #faf8f6;
    font-size: 0.95em;
}

/* Star rating */
.star-rating {
    display: flex;
    align-items: center;
    gap: 2px;
    grid-column: 2 / 4;
}

/* Top interests - top tagy */
.top-interests {
    padding: 10px 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    font-size: 0.9em;
    color: #a8a8a8;
    line-height: 1.6;
    text-align: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
}

/* Tooltip SVG ikony */
.tooltip-profile-icon {
    width: 1.4rem;
    height: 1.4rem;
    stroke: #d4745f;
    stroke-width: 2;
    vertical-align: middle;
}

.tooltip-tag-icon {
    width: 1rem;
    height: 1rem;
    stroke: #d4745f;
    stroke-width: 2;
    vertical-align: middle;
}

.tooltip-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.tooltip-tag .tag-name {
    color: #c8c8c8;
}

.tag-separator {
    color: rgba(212, 116, 95, 0.4);
    margin: 0 0.25rem;
}

.tooltip-emoji {
    font-size: 1.2em;
    vertical-align: middle;
}

/* SVG hvězdičky pro zkušenost */
.tooltip-star {
    width: 1rem;
    height: 1rem;
    stroke-width: 2;
    vertical-align: middle;
}

.tooltip-star.filled {
    stroke: #f59e0b;
    fill: #fbbf24;
}

.tooltip-star.empty {
    stroke: rgba(255, 255, 255, 0.2);
    fill: none;
}

/* Tooltip zpráva pro neúplný profil */
.tooltip-message.incomplete {
    padding: 12px;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 8px;
    color: #fbbf24;
    font-size: 0.9em;
    text-align: center;
    line-height: 1.5;
}

/* Tooltip zpráva pro skryté preference */
.tooltip-message.private {
    padding: 12px;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 8px;
    color: #a78bfa;
    font-size: 0.9em;
    text-align: center;
    line-height: 1.5;
}

/* Compatibility - shoda */
.compatibility {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px;
    background: linear-gradient(135deg, #fef3f8 0%, #fff0f0 100%);
    border-radius: 8px;
    margin-top: 4px;
}

.compatibility .match-icon {
    font-size: 1.3em;
}

.compatibility .match-score {
    font-weight: 700;
    color: #dc2626;
    font-size: 1.05em;
}

/* Profile icon colors - barvy pro ikony */
.profile-vanilla { color: #FFB6C1; }
.profile-bdsm { color: #8B0000; }
.profile-submisivni { color: #9370DB; }
.profile-dominantni { color: #8B0000; }
.profile-exhibicionista { color: #FF6B9D; }
.profile-voyeur { color: #9370DB; }
.profile-experimentalni { color: #FF8C00; }
.profile-romanticky { color: #FF1493; }
.profile-kinky { color: #DC143C; }
.profile-brat { color: #FF69B4; }
.profile-sadista { color: #8B0000; }
.profile-masochista { color: #9370DB; }
.profile-switcher { color: #FFB6C1; }
.profile-primal { color: #8B4513; }

/* Profile icons ve výpisu - pro seznamku a aktivní uživatele */
.profile-icons {
    display: inline-block;
    font-size: 1.2em;
    line-height: 1;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.15));
    margin-right: 6px;
}

/* Mini profil badge pro seznamku */
.profile-summary-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(139, 92, 246, 0.08);
    border-radius: 12px;
    font-size: 0.85em;
    color: var(--text-secondary, #6b7280);
    margin-top: 4px;
}

.profile-summary-badge .icons {
    font-size: 1.1em;
    display: flex;
    align-items: center;
    gap: 2px;
}

/* SVG ikony pro profily (browse/seznam) */
.profile-icon-small {
    width: 1.1rem;
    height: 1.1rem;
    stroke: #8b5cf6;
    fill: none;
    vertical-align: middle;
}

.profile-emoji-small {
    font-size: 1.1em;
}

/* =============================================================================
   @MENTIONS (Chat)
   ============================================================================= */

.mention {
    color: #3b82f6;
    font-weight: 600;
    background: rgba(59, 130, 246, 0.1);
    padding: 2px 4px;
    border-radius: 3px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.mention:hover {
    background: rgba(59, 130, 246, 0.2);
    text-decoration: underline;
}

/* =============================================================================
   Dávající role - burgundská barva místo terakotové
   ============================================================================= */
.giving-role .answer-option:hover {
    border-color: var(--secondary-color) !important;
}

.giving-role .answer-option.selected {
    background: var(--secondary-color) !important;
    border-color: var(--secondary-color) !important;
}

/* =============================================================================
   PREMIUM BADGE - Přesunuto do avatar.css
   ============================================================================= */

/* =============================================================================
   POLL WIDGET - Widget ankety na dashboard
   ============================================================================= */

.poll-widget-section {
    margin-bottom: var(--space-lg);
}

.poll-widget-section .section-title {
    display: flex;
    align-items: center;
}

.poll-widget-content {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    padding: 1.25rem;
}

.poll-widget-card {
    /* Kontejner karty */
}

.poll-widget-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: var(--color-text-primary);
}

.poll-widget-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin: 0 0 1rem 0;
}

.poll-widget-options {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.poll-widget-option {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-md);
    padding: 0.6rem 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    overflow: hidden;
}

.poll-widget-option:hover:not(.disabled) {
    border-color: var(--primary-color);
    background: rgba(196, 164, 164, 0.05);
}

.poll-widget-option.selected {
    border-color: var(--primary-color);
    background: rgba(196, 164, 164, 0.1);
}

.poll-widget-option.disabled {
    cursor: default;
    opacity: 0.85;
}

.poll-widget-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: rgba(196, 164, 164, 0.15);
    transition: width 0.5s ease;
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.poll-widget-option-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
}

.poll-widget-option-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.poll-widget-checkbox {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.poll-widget-option.selected .poll-widget-checkbox {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.poll-widget-option.selected .poll-widget-checkbox::after {
    content: '';
    width: 5px;
    height: 5px;
    background: white;
    border-radius: 50%;
}

.poll-widget-percent {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.85rem;
    min-width: 40px;
    text-align: right;
}

.poll-widget-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* =============================================================================
   POLL WIDGET SIDEBAR - Kompaktní verze pro sidebar
   ============================================================================= */

.poll-widget-sidebar {
    margin-top: var(--space-md);
}

.poll-widget-sidebar-content {
    /* Kontejner pro obsah */
}

.poll-widget-sidebar .poll-sidebar-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
    color: var(--color-text-primary);
}

.poll-widget-sidebar .poll-sidebar-options {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.poll-widget-sidebar .poll-sidebar-option {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-sm);
    padding: 0.5rem 0.65rem;
    cursor: pointer;
    transition: all 0.2s;
    overflow: hidden;
    font-size: 0.85rem;
}

.poll-widget-sidebar .poll-sidebar-option:hover:not(.disabled) {
    border-color: var(--primary-color);
    background: rgba(196, 164, 164, 0.05);
}

.poll-widget-sidebar .poll-sidebar-option.selected {
    border-color: var(--primary-color);
    background: rgba(196, 164, 164, 0.1);
}

.poll-widget-sidebar .poll-sidebar-option.disabled {
    cursor: default;
    opacity: 0.85;
}

.poll-widget-sidebar .poll-sidebar-bar {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    background: rgba(196, 164, 164, 0.15);
    transition: width 0.5s ease;
    border-radius: var(--radius-sm) 0 0 var(--radius-sm);
}

.poll-widget-sidebar .poll-sidebar-option-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1;
    gap: 0.5rem;
}

.poll-widget-sidebar .poll-sidebar-option-text {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex: 1;
    min-width: 0;
}

.poll-widget-sidebar .poll-sidebar-option-text span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.poll-widget-sidebar .poll-sidebar-checkbox {
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.poll-widget-sidebar .poll-sidebar-option.selected .poll-sidebar-checkbox {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.poll-widget-sidebar .poll-sidebar-option.selected .poll-sidebar-checkbox::after {
    content: '';
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
}

.poll-widget-sidebar .poll-sidebar-percent {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.8rem;
    flex-shrink: 0;
}

.poll-widget-sidebar .poll-sidebar-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 0.75rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8rem;
}

.poll-widget-sidebar .poll-sidebar-actions .btn {
    font-size: 0.8rem;
    padding: 0.35rem 0.65rem;
}
