/* ============================================
   FolkAsk Modern Design System
   Inspired by TikTok, Instagram, Pinterest, Discord
   ============================================ */

/* === CSS VARIABLES === */
:root {
    /* Colors - Light Mode */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f0f2f5;
    --bg-glass: rgba(255, 255, 255, 0.8);
    --bg-glass-strong: rgba(255, 255, 255, 0.95);

    --text-primary: #1a1a2e;
    --text-secondary: #4a4a68;
    --text-tertiary: #8b8b9e;
    --text-inverse: #ffffff;

    /* Brand Gradient */
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-success: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    --gradient-warning: linear-gradient(135deg, #f2994a 0%, #f2c94c 100%);
    --gradient-danger: linear-gradient(135deg, #eb3349 0%, #f45c43 100%);
    --gradient-dark: linear-gradient(135deg, #232526 0%, #414345 100%);

    /* Accent Colors */
    --accent-primary: #667eea;
    --accent-secondary: #764ba2;
    --accent-success: #10b981;
    --accent-warning: #f59e0b;
    --accent-danger: #ef4444;
    --accent-info: #3b82f6;

    /* Surfaces */
    --surface-elevated: #ffffff;
    --surface-card: #ffffff;
    --surface-overlay: rgba(0, 0, 0, 0.5);

    /* Borders */
    --border-light: rgba(0, 0, 0, 0.06);
    --border-medium: rgba(0, 0, 0, 0.12);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.16);
    --shadow-glow: 0 0 20px rgba(102, 126, 234, 0.3);

    /* Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
    --transition-slow: 0.4s ease;
    --transition-bounce: 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);

    /* Z-Index Scale */
    --z-base: 1;
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-toast: 600;

    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
}

/* === DARK MODE === */
[data-theme="dark"] {
    --bg-primary: #0f0f23;
    --bg-secondary: #16162a;
    --bg-tertiary: #1e1e3f;
    --bg-glass: rgba(15, 15, 35, 0.85);
    --bg-glass-strong: rgba(15, 15, 35, 0.95);

    --text-primary: #f0f0f5;
    --text-secondary: #b8b8cc;
    --text-tertiary: #6c6c88;

    --surface-elevated: #1e1e3f;
    --surface-card: #16162a;

    --border-light: rgba(255, 255, 255, 0.06);
    --border-medium: rgba(255, 255, 255, 0.12);

    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.4);
}

/* === BASE RESET === */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg-secondary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background var(--transition-normal), color var(--transition-normal);
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.5rem); }

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === NAVIGATION === */
.navbar-modern {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    padding: var(--space-md) 0;
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
    transition: all var(--transition-normal);
}

.navbar-modern.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    transition: transform var(--transition-fast);
}

.nav-brand:hover {
    transform: scale(1.02);
    color: var(--text-primary);
}

.nav-brand-icon {
    width: 36px;
    height: 36px;
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.nav-link-modern {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.nav-link-modern:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.nav-link-modern.active {
    background: var(--gradient-primary);
    color: white;
}

/* Акцентная кнопка в навигации */
.nav-link-accent {
    background: var(--gradient-primary);
    color: white !important;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.nav-link-accent:hover {
    background: linear-gradient(135deg, #5a6fd6 0%, #6b4f9e 100%);
    color: white !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Theme Toggle */
.theme-toggle {
    width: 40px;
    height: 40px;
    border: none;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.theme-toggle:hover {
    background: var(--bg-glass);
    transform: rotate(15deg);
}

/* === CARDS === */
.card-modern {
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: all var(--transition-normal);
}

.card-modern:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--border-medium);
}

.card-modern.interactive {
    cursor: pointer;
}

.card-modern.interactive:active {
    transform: translateY(-2px) scale(0.99);
}

.card-glass {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
}

.card-gradient {
    background: var(--gradient-primary);
    color: white;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.card-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.2) 100%);
    pointer-events: none;
}

/* === BUTTONS === */
.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: var(--radius-full);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn-modern:active {
    transform: scale(0.96);
}

.btn-primary-modern {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary-modern:hover {
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
    color: white;
}

.btn-secondary-modern {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.btn-secondary-modern:hover {
    background: var(--border-medium);
    color: var(--text-primary);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    background: var(--bg-tertiary);
    color: var(--text-primary);
}

.btn-icon {
    width: 44px;
    height: 44px;
    padding: 0;
    border-radius: var(--radius-full);
}

/* Floating Action Button */
.fab {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    width: 56px;
    height: 56px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all var(--transition-normal);
    z-index: var(--z-fixed);
}

.fab:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: var(--shadow-glow);
}

/* === BADGES & TAGS === */
.badge-modern {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    transition: all var(--transition-fast);
}

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

.badge-success {
    background: rgba(16, 185, 129, 0.15);
    color: var(--accent-success);
}

.badge-warning {
    background: rgba(245, 158, 11, 0.15);
    color: var(--accent-warning);
}

.badge-danger {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-danger);
}

/* Rating Badge */
.rating-display {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.rating-number {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.rating-number.excellent { color: var(--accent-success); }
.rating-number.good { color: #84cc16; }
.rating-number.average { color: var(--accent-warning); }
.rating-number.poor { color: var(--accent-danger); }

/* === INPUTS === */
.input-modern {
    width: 100%;
    padding: var(--space-md);
    background: var(--bg-primary);
    border: 2px solid var(--border-light);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    color: var(--text-primary);
    transition: all var(--transition-fast);
}

.input-modern:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.15);
}

.input-modern::placeholder {
    color: var(--text-tertiary);
}

.input-search {
    padding-left: 48px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%238b8b9e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cpath d='M21 21l-4.35-4.35'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 16px center;
}

.textarea-modern {
    min-height: 120px;
    resize: vertical;
}

/* === HERO SECTIONS === */
.hero-modern {
    background: var(--gradient-primary);
    color: white;
    padding: var(--space-3xl) 0;
    margin: calc(-1 * var(--space-md));
    margin-bottom: var(--space-xl);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
    position: relative;
    overflow: hidden;
}

.hero-modern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    pointer-events: none;
}

.hero-modern::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 50%;
    height: 150%;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    opacity: 0.9;
    margin-bottom: var(--space-lg);
}

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

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
}

/* === FEATURE CARDS === */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-lg);
}

.feature-card {
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    border: 1px solid var(--border-light);
    transition: all var(--transition-normal);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.feature-icon.success { background: var(--gradient-success); color: white; }
.feature-icon.danger { background: var(--gradient-danger); color: white; }
.feature-icon.warning { background: var(--gradient-warning); color: white; }
.feature-icon.info { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); color: white; }

/* === STEPS / HOW IT WORKS === */
.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
    counter-reset: step;
}

.step-item {
    text-align: center;
    position: relative;
}

.step-number {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-md);
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    box-shadow: var(--shadow-md);
}

.step-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

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

/* === CITY CARDS === */
.city-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: var(--space-md);
}

.city-card {
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid var(--border-light);
    text-align: center;
    text-decoration: none;
    color: var(--text-primary);
    transition: all var(--transition-normal);
}

.city-card:hover {
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-primary);
    color: var(--text-primary);
}

.city-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-sm);
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.city-name {
    font-weight: 700;
    font-size: 1.1rem;
}

.city-country {
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

/* === PLACE CARDS === */
.place-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
    align-items: stretch;
}

.place-item {
    display: flex;
    width: 100%;
    min-width: 0;
}

.place-item > a {
    width: 100%;
}

.place-card {
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-light);
    overflow: hidden;
    text-decoration: none;
    color: var(--text-primary);
    display: flex;
    flex-direction: column;
    transition: all var(--transition-normal);
    width: 100%;
    height: 220px;
}

.place-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    color: var(--text-primary);
}

.place-card-body {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.place-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-sm);
}

.place-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 0;
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.place-card-rating {
    background: var(--gradient-success);
    color: white;
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-md);
    font-weight: 700;
    font-size: 0.9rem;
    margin-left: var(--space-sm);
}

.place-card-meta {
    color: var(--text-tertiary);
    font-size: 0.85rem;
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-bottom: var(--space-sm);
    overflow: hidden;
    max-height: 60px;
}

.place-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: auto;
    overflow: hidden;
    max-height: 32px;
}

/* === MAP === */
.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-lg);
}

.map-container iframe,
.map-container > div {
    width: 100%;
    height: 400px;
}

/* === REVIEW CARDS === */
.review-card {
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border: 1px solid var(--border-light);
    margin-bottom: var(--space-md);
    transition: all var(--transition-fast);
}

.review-card:hover {
    box-shadow: var(--shadow-md);
}

.review-text {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

.review-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    align-items: center;
}

.review-date {
    color: var(--text-tertiary);
    font-size: 0.85rem;
}

.sentiment-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
}

.sentiment-positive { background: rgba(16, 185, 129, 0.15); color: var(--accent-success); }
.sentiment-negative { background: rgba(239, 68, 68, 0.15); color: var(--accent-danger); }
.sentiment-neutral { background: var(--bg-tertiary); color: var(--text-tertiary); }

/* === ASPECT RATINGS === */
.aspects-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.aspect-row {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.aspect-icon {
    width: 28px;
    color: var(--text-tertiary);
    text-align: center;
}

.aspect-label {
    flex: 1;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.aspect-bar {
    width: 100px;
    height: 8px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.aspect-bar-fill {
    height: 100%;
    border-radius: var(--radius-full);
    transition: width var(--transition-slow);
}

.aspect-bar-fill.excellent { background: var(--gradient-success); }
.aspect-bar-fill.good { background: linear-gradient(135deg, #84cc16 0%, #a3e635 100%); }
.aspect-bar-fill.average { background: var(--gradient-warning); }
.aspect-bar-fill.poor { background: var(--gradient-danger); }

.aspect-value {
    width: 36px;
    text-align: right;
    font-weight: 600;
    font-size: 0.9rem;
}

/* === AI SUMMARY CARDS === */
.ai-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.ai-summary-card {
    background: var(--surface-card);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    border-left: 4px solid;
}

.ai-summary-card.positive {
    border-left-color: var(--accent-success);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, transparent 100%);
}

.ai-summary-card.negative {
    border-left-color: var(--accent-danger);
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.05) 0%, transparent 100%);
}

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

.ai-summary-title.positive { color: var(--accent-success); }
.ai-summary-title.negative { color: var(--accent-danger); }

.highlight-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border-light);
    font-size: 0.9rem;
}

.highlight-item:last-child {
    border-bottom: none;
}

/* === AI TAGS === */
.ai-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.ai-tag {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.ai-tag:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.ai-tag.success { background: rgba(16, 185, 129, 0.15); color: var(--accent-success); }
.ai-tag.danger { background: rgba(239, 68, 68, 0.15); color: var(--accent-danger); }
.ai-tag.warning { background: rgba(245, 158, 11, 0.15); color: var(--accent-warning); }
.ai-tag.info { background: rgba(59, 130, 246, 0.15); color: var(--accent-info); }
.ai-tag.primary { background: rgba(102, 126, 234, 0.15); color: var(--accent-primary); }

/* === ALERTS === */
.alert-modern {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-md);
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-info);
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--accent-success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    color: var(--accent-warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

/* === FOOTER === */
.footer-modern {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-light);
    padding: var(--space-2xl) 0;
    margin-top: var(--space-3xl);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-grid-2col {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.footer-grid-3col {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

@media (max-width: 992px) {
    .footer-grid-3col {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .footer-grid,
    .footer-grid-2col,
    .footer-grid-3col {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.footer-section h4 {
    color: var(--text-primary);
    margin-bottom: var(--space-md);
    font-size: 1rem;
}

.footer-section p {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    padding: var(--space-xs) 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

@media (max-width: 768px) {
    .footer-list li {
        justify-content: center;
    }
}

.footer-list li i {
    color: var(--accent-primary);
}

.footer-list a {
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

.footer-custom-text {
    grid-column: 1 / -1;
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border-light);
}

.footer-custom-text ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-custom-text ul li {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    padding: var(--space-xs) 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-custom-text ul li i {
    color: var(--accent-primary);
}

.footer-custom-text a {
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.footer-custom-text a:hover {
    color: var(--accent-primary);
}

@media (max-width: 768px) {
    .footer-custom-text {
        text-align: center;
    }
    .footer-custom-text ul li {
        justify-content: center;
    }
}

.footer-bottom {
    border-top: 1px solid var(--border-light);
    padding-top: var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

.footer-bottom p {
    color: var(--text-tertiary);
    font-size: 0.85rem;
    margin: 0;
}

.footer-badges {
    display: flex;
    gap: var(--space-sm);
}

.footer-counters {
    margin-top: var(--space-md);
}

.footer-content {
    text-align: center;
    color: var(--text-tertiary);
}

.footer-brand {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-sm);
}

/* === FLOATING PRIVACY BANNER === */
.privacy-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--gradient-dark);
    color: white;
    padding: var(--space-md) var(--space-lg);
    z-index: var(--z-toast);
    transform: translateY(100%);
    transition: transform var(--transition-normal);
}

.privacy-banner.show {
    transform: translateY(0);
}

.privacy-banner-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

.privacy-banner-content > i {
    font-size: 1.5rem;
    color: var(--accent-success);
    flex-shrink: 0;
}

.privacy-banner-content span {
    flex: 1;
    font-size: 0.9rem;
}

.privacy-banner-close {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: var(--space-sm);
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.privacy-banner-close:hover {
    opacity: 1;
}

@media (max-width: 600px) {
    .privacy-banner-content {
        flex-wrap: wrap;
    }
    .privacy-banner-content span {
        font-size: 0.8rem;
    }
}

/* === FEEDBACK MODAL === */
.feedback-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: var(--z-modal-backdrop);
    display: none;
    align-items: center;
    justify-content: center;
    padding: var(--space-md);
}

.feedback-modal-overlay.show {
    display: flex;
    animation: fadeIn 0.2s ease;
}

.feedback-modal {
    background: var(--surface-card);
    border-radius: var(--radius-xl);
    max-width: 480px;
    width: 100%;
    box-shadow: var(--shadow-xl);
    animation: slideUp 0.3s ease;
}

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

.feedback-modal-header {
    padding: var(--space-lg);
    border-bottom: 1px solid var(--border-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.feedback-modal-header h3 {
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.feedback-modal-header h3 i {
    color: var(--accent-primary);
}

.feedback-modal-close {
    background: none;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    padding: var(--space-sm);
    transition: color var(--transition-fast);
}

.feedback-modal-close:hover {
    color: var(--accent-danger);
}

.feedback-modal-body {
    padding: var(--space-lg);
}

.feedback-modal-body p {
    color: var(--text-secondary);
    margin: 0 0 var(--space-lg);
}

.feedback-success {
    text-align: center;
    padding: var(--space-xl);
}

.feedback-success h4 {
    color: var(--text-primary);
    margin: var(--space-md) 0 var(--space-sm);
}

.feedback-success p {
    color: var(--text-tertiary);
    margin: 0;
}

/* === OLD PRIVACY BLOCK STYLE (for home page) === */
.privacy-block {
    background: var(--gradient-dark);
    color: white;
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
}

.privacy-icon {
    font-size: 4rem;
    opacity: 0.3;
    flex-shrink: 0;
}

.privacy-content h3 {
    color: white;
    margin-bottom: var(--space-sm);
}

.privacy-content p {
    opacity: 0.85;
    margin: 0;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.animate-fade-in {
    animation: fadeIn var(--transition-slow) ease-out;
}

.animate-fade-in-up {
    animation: fadeInUp var(--transition-slow) ease-out;
}

.animate-slide-in {
    animation: slideIn var(--transition-slow) ease-out;
}

/* Staggered animations */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }

/* Skeleton loading */
.skeleton {
    background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--bg-secondary) 50%, var(--bg-tertiary) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-md);
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    :root {
        --space-xl: 24px;
        --space-2xl: 32px;
        --space-3xl: 48px;
    }

    .hero-modern {
        padding: var(--space-2xl) 0;
    }

    .nav-links {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .privacy-block {
        flex-direction: column;
        text-align: center;
    }

    .privacy-icon {
        font-size: 3rem;
    }

    .fab {
        bottom: var(--space-lg);
        right: var(--space-lg);
    }
}

/* === CATEGORY FILTERS === */
.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.filter-tab {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-primary);
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-full);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.filter-tab:hover {
    background: var(--bg-tertiary);
    border-color: var(--border-medium);
}

.filter-tab.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

/* === BREADCRUMBS === */
.breadcrumbs-modern {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9rem;
    margin-bottom: var(--space-lg);
}

.breadcrumb-item {
    color: var(--text-tertiary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

.breadcrumb-item:hover {
    color: var(--accent-primary);
}

.breadcrumb-separator {
    color: var(--text-tertiary);
}

.breadcrumb-current {
    color: var(--text-primary);
    font-weight: 500;
}

/* === SECTION HEADERS === */
.section-header {
    margin-bottom: var(--space-xl);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: var(--radius-full);
}

.section-subtitle {
    color: var(--text-secondary);
    margin-top: var(--space-md);
}

/* === UTILITY CLASSES === */
.container-modern {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.bg-section {
    background: var(--bg-tertiary);
    padding: var(--space-2xl) 0;
    margin: var(--space-xl) calc(-1 * var(--space-md));
    padding-left: var(--space-md);
    padding-right: var(--space-md);
}

.text-center { text-align: center; }
.text-muted { color: var(--text-secondary); }
.text-small { font-size: 0.85rem; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-xs); }
.mb-2 { margin-bottom: var(--space-sm); }
.mb-3 { margin-bottom: var(--space-md); }
.mb-4 { margin-bottom: var(--space-lg); }
.mb-5 { margin-bottom: var(--space-xl); }

.mt-auto { margin-top: auto; }
.gap-1 { gap: var(--space-xs); }
.gap-2 { gap: var(--space-sm); }
.gap-3 { gap: var(--space-md); }

/* === GLOBAL SEARCH === */
.global-search-wrapper {
    position: relative;
    flex: 1;
    max-width: 400px;
    margin: 0 var(--space-lg);
}

.global-search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--bg-tertiary);
    border-radius: var(--radius-full);
    padding: var(--space-sm) var(--space-md);
    transition: var(--transition-normal);
    border: 1px solid transparent;
}

.global-search-input-wrapper:focus-within {
    background: var(--bg-primary);
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
}

.global-search-input-wrapper i {
    color: var(--text-tertiary);
    font-size: 14px;
    margin-right: var(--space-sm);
}

.global-search-input-wrapper input {
    flex: 1;
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
}

.global-search-input-wrapper input::placeholder {
    color: var(--text-tertiary);
}

.global-search-clear {
    background: none;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    transition: var(--transition-fast);
}

.global-search-clear:hover {
    background: var(--border-medium);
    color: var(--text-primary);
}

.global-search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--surface-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--border-light);
    max-height: 400px;
    overflow-y: auto;
    z-index: var(--z-dropdown);
    display: none;
}

.global-search-results.show {
    display: block;
}

.global-search-section {
    padding: var(--space-sm) 0;
}

.global-search-section:not(:last-child) {
    border-bottom: 1px solid var(--border-light);
}

.global-search-section-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: var(--space-xs) var(--space-md);
}

.global-search-item {
    display: flex;
    align-items: center;
    padding: var(--space-sm) var(--space-md);
    text-decoration: none;
    color: var(--text-primary);
    transition: var(--transition-fast);
    gap: var(--space-sm);
}

.global-search-item:hover {
    background: var(--bg-tertiary);
}

.global-search-item-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.global-search-item-icon.city {
    background: var(--gradient-success);
}

.global-search-item-info {
    flex: 1;
    min-width: 0;
}

.global-search-item-name {
    font-weight: 500;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.global-search-item-meta {
    font-size: 12px;
    color: var(--text-tertiary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.global-search-item-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: var(--accent-warning);
    font-weight: 600;
}

.global-search-empty {
    padding: var(--space-lg);
    text-align: center;
    color: var(--text-tertiary);
}

.global-search-loading {
    padding: var(--space-md);
    text-align: center;
    color: var(--text-tertiary);
}

@media (max-width: 768px) {
    .global-search-wrapper {
        display: none;
    }
}
