/* ============================================
   KULTSE - Cultural Search Engine Styles
   Light, Elegant & Sophisticated Design
   ============================================ */

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

/* Prevent horizontal scroll on all devices */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

* {
    max-width: 100%;
}

:root {
    /* Light Theme Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #f1f3f5;

    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-tertiary: #7a7a7a;

    --accent-primary: #4a7c7e;
    --accent-secondary: #7fb8a6;
    --accent-gradient: linear-gradient(135deg, #4a7c7e 0%, #7fb8a6 100%);

    --border-light: #e5e7eb;
    --border-medium: #d1d5db;

    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    font-family: var(--font-primary);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-weight: 300;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: var(--font-primary);
    border: none;
    cursor: pointer;
    outline: none;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

/* Progress Indicator */
.progress-indicator {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--bg-tertiary);
    z-index: 1000;
}

.progress-fill {
    height: 100%;
    background: var(--accent-gradient);
    transition: width 0.3s ease;
}

/* Navigation Header */
.navigation-header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-light);
    z-index: 100;
    transition: all 0.3s ease;
}

.navigation-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
}

.top-bar {
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-mark {
    width: 42px;
    height: 42px;
    background: transparent;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: visible;
    padding: 4px;
    color: #4a7c7e;
}

.logo-mark svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(1px 1px 2px rgba(74, 124, 126, 0.3));
}

.logo-section:hover .logo-mark {
    transform: scale(1.08);
}

.logo-section:hover .logo-mark svg {
    filter: drop-shadow(2px 2px 4px rgba(74, 124, 126, 0.5));
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #4a7c7e 0%, #7fb8a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 8px;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 400;
    padding: 12px 16px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
    background: transparent;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}

.nav-link:hover {
    color: var(--accent-primary);
}

.nav-link.active {
    color: var(--accent-primary);
    border-bottom-color: var(--accent-primary);
}

/* Dropdown Navigation */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-trigger {
    cursor: pointer;
}

.dropdown-trigger svg {
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.nav-dropdown:hover .dropdown-trigger svg {
    transform: rotate(180deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: block;
    padding: 12px 20px;
    color: var(--text-secondary);
    font-size: 14px;
    transition: all 0.2s ease;
}

.dropdown-item:first-child {
    border-radius: 12px 12px 0 0;
}

.dropdown-item:last-child {
    border-radius: 0 0 12px 12px;
}

.dropdown-item:hover {
    background: var(--bg-secondary);
    color: var(--accent-primary);
}

.header-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--bg-secondary);
    border-radius: 8px;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 300;
    transition: all 0.3s ease;
}

.language-selector:hover {
    background: var(--bg-tertiary);
}

.user-button {
    padding: 10px 24px;
    background: var(--accent-gradient);
    color: white;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.user-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Hero Section */
.hero-section {
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    padding: 100px 32px 80px;
    position: relative;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(37, 99, 235, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 900px;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Hero Main Title - KULTSE - Style Rupestre */
.hero-main-title {
    font-size: 72px;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: 16px;
    text-transform: uppercase;
    animation: fadeInScale 1s ease-out;
    position: relative;
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Chaque lettre comme un pictogramme rupestre */
.hero-main-title .letter {
    display: inline-block;
    color: var(--accent-primary);
    position: relative;
    transition: all 0.3s ease;

    /* Effet rupestre - texture */
    text-shadow:
        2px 2px 0px rgba(74, 124, 126, 0.3),
        -1px -1px 0px rgba(127, 184, 166, 0.2),
        1px -1px 0px rgba(74, 124, 126, 0.15),
        -1px 1px 0px rgba(127, 184, 166, 0.15);

    filter: drop-shadow(0 2px 4px rgba(74, 124, 126, 0.3));
}

/* Animation hover sur chaque lettre */
.hero-main-title .letter:hover {
    transform: translateY(-5px) rotate(2deg);
    color: var(--accent-secondary);
}

/* Animation pulse pour les points rupestres */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

/* Figures rupestres en arrière-plan */
.cave-art {
    position: absolute;
    width: 280px;
    height: 380px;
    color: var(--accent-primary);
    z-index: 0;
    pointer-events: none;
}

.cave-art-left {
    left: 5%;
    top: 45%;
    transform: translateY(-50%) rotate(-8deg);
    animation: floatLeft 20s ease-in-out infinite;
}

.cave-art-right {
    right: 8%;
    top: 55%;
    transform: translateY(-50%) rotate(8deg);
    animation: floatRight 22s ease-in-out infinite;
}

@keyframes floatLeft {
    0%, 100% {
        transform: translateY(-50%) rotate(-8deg) translateX(0);
    }
    50% {
        transform: translateY(-55%) rotate(-5deg) translateX(-12px);
    }
}

@keyframes floatRight {
    0%, 100% {
        transform: translateY(-50%) rotate(8deg) translateX(0);
    }
    50% {
        transform: translateY(-55%) rotate(5deg) translateX(12px);
    }
}

/* Figures rupestres supplémentaires distribuées */
.cave-art-top-left {
    width: 150px;
    height: 150px;
    left: 15%;
    top: 10%;
    transform: rotate(-12deg);
    animation: floatTopLeft 18s ease-in-out infinite;
}

.cave-art-top-right {
    width: 120px;
    height: 120px;
    right: 20%;
    top: 8%;
    transform: rotate(10deg);
    animation: floatTopRight 19s ease-in-out infinite;
}

.cave-art-middle-left {
    width: 180px;
    height: 180px;
    left: 10%;
    top: 70%;
    transform: rotate(-6deg);
    animation: floatMiddleLeft 21s ease-in-out infinite;
}

.cave-art-middle-right {
    width: 100px;
    height: 100px;
    right: 15%;
    top: 30%;
    transform: rotate(15deg);
    animation: floatMiddleRight 17s ease-in-out infinite;
}

.cave-art-bottom-left {
    width: 200px;
    height: 140px;
    left: 25%;
    bottom: 12%;
    transform: rotate(-10deg);
    animation: floatBottomLeft 23s ease-in-out infinite;
}

.cave-art-bottom-right {
    width: 160px;
    height: 160px;
    right: 12%;
    bottom: 15%;
    transform: rotate(8deg);
    animation: floatBottomRight 20s ease-in-out infinite;
}

@keyframes floatTopLeft {
    0%, 100% {
        transform: rotate(-12deg) translateY(0);
    }
    50% {
        transform: rotate(-8deg) translateY(-8px);
    }
}

@keyframes floatTopRight {
    0%, 100% {
        transform: rotate(10deg) translateX(0);
    }
    50% {
        transform: rotate(14deg) translateX(10px);
    }
}

@keyframes floatMiddleLeft {
    0%, 100% {
        transform: rotate(-6deg) translateX(0);
    }
    50% {
        transform: rotate(-2deg) translateX(-10px);
    }
}

@keyframes floatMiddleRight {
    0%, 100% {
        transform: rotate(15deg) translateY(0);
    }
    50% {
        transform: rotate(12deg) translateY(8px);
    }
}

@keyframes floatBottomLeft {
    0%, 100% {
        transform: rotate(-10deg) translateX(0) translateY(0);
    }
    50% {
        transform: rotate(-6deg) translateX(-8px) translateY(-6px);
    }
}

@keyframes floatBottomRight {
    0%, 100% {
        transform: rotate(8deg) translateX(0);
    }
    50% {
        transform: rotate(5deg) translateX(8px);
    }
}

.hero-title {
    font-size: 56px;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text-primary);
}

.hero-title .text-colorful {
    font-weight: 400;
    letter-spacing: inherit;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.15),
                 0 0 20px rgba(255, 255, 255, 0.3);
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 300;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 300;
    color: var(--text-secondary);
    margin-bottom: 48px;
    line-height: 1.8;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Search Container */
.search-container {
    margin-bottom: 32px;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 24px;
    background: white;
    border: 2px solid var(--border-light);
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
}

.search-box:focus-within {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1), var(--shadow-lg);
}

.search-icon {
    width: 24px;
    height: 24px;
    color: var(--text-tertiary);
    flex-shrink: 0;
}

.search-input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 300;
    color: var(--text-primary);
}

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

.search-button {
    padding: 10px 24px;
    background: var(--accent-gradient);
    color: white;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.search-button:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Autocomplete Suggestions Dropdown */
.suggestions-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    z-index: 50;
    animation: slideDown 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

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

.suggestion-item:hover,
.suggestion-item.selected {
    background: linear-gradient(135deg, rgba(74, 124, 126, 0.08) 0%, rgba(127, 184, 166, 0.08) 100%);
}

.suggestion-item.selected {
    background: linear-gradient(135deg, rgba(74, 124, 126, 0.12) 0%, rgba(127, 184, 166, 0.12) 100%);
}

.suggestion-icon {
    width: 16px;
    height: 16px;
    color: var(--accent-primary);
    flex-shrink: 0;
    stroke-width: 2;
}

.suggestion-text {
    flex: 1;
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 400;
}

.suggestion-count {
    font-size: 12px;
    color: var(--text-tertiary);
    font-weight: 300;
}

.search-container {
    position: relative;
}

/* Quick Searches */
.quick-searches {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

.quick-label {
    font-size: 14px;
    color: var(--text-tertiary);
    font-weight: 300;
}

.quick-tag {
    padding: 8px 16px;
    background: var(--bg-secondary);
    border-radius: 20px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 300;
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
}

.quick-tag:hover {
    background: white;
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Stats Section */
.stats-section {
    padding: 60px 0;
    background: white;
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 48px;
}

.stat-card {
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 200;
    color: var(--accent-primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-tertiary);
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Content Sections */
.content-section {
    padding: 100px 0;
}

.section-light {
    background: var(--bg-secondary);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 40px;
    font-weight: 200;
    color: var(--text-primary);
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Simple Categories Grid */
.simple-categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 24px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.simple-category-card {
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 48px 24px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.simple-category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-primary);
}

.category-icon-large {
    font-size: 48px;
    margin-bottom: 16px;
    display: block;
}

.category-icon-svg {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    stroke-width: 1.5;
    transition: all 0.3s ease;
    color: var(--accent-primary);
}

/* Style peinture rupestre */
.category-icon-svg.rupestre {
    filter: drop-shadow(2px 2px 3px rgba(74, 124, 126, 0.3));
    opacity: 0.85;
}

.category-icon-svg.rupestre path,
.category-icon-svg.rupestre circle,
.category-icon-svg.rupestre rect {
    stroke-linecap: round;
    stroke-linejoin: round;
}

.simple-category-card:nth-child(1) .category-icon-svg {
    color: #4a7c7e;
}

.simple-category-card:nth-child(2) .category-icon-svg {
    color: #5a8c8e;
}

.simple-category-card:nth-child(3) .category-icon-svg {
    color: #6a9c9e;
}

.simple-category-card:nth-child(4) .category-icon-svg {
    color: #7fb8a6;
}

.simple-category-card:hover .category-icon-svg {
    transform: scale(1.1);
    opacity: 1;
}

.simple-category-card:hover .category-icon-svg.rupestre {
    filter: drop-shadow(3px 3px 6px rgba(74, 124, 126, 0.5));
}

.category-title {
    font-size: 18px;
    font-weight: 400;
    color: var(--text-primary);
}

/* Regions Grid */
.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.region-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.region-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--accent-primary);
}

.region-icon {
    font-size: 48px;
    margin-bottom: 16px;
}

.region-name {
    font-size: 24px;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.region-description {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
}

.region-count {
    font-size: 13px;
    color: var(--accent-primary);
    font-weight: 400;
}

/* Expressions Container */
.expressions-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.expression-category {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.expression-category:hover {
    box-shadow: var(--shadow-md);
}

.category-header {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-header:hover {
    background: var(--bg-secondary);
}

.category-icon {
    font-size: 28px;
}

.category-name {
    flex: 1;
    font-size: 18px;
    font-weight: 300;
    color: var(--text-primary);
    text-align: left;
}

.category-arrow {
    transition: transform 0.3s ease;
    color: var(--text-tertiary);
}

.expression-category.active .category-arrow {
    transform: rotate(180deg);
}

.category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.expression-category.active .category-content {
    max-height: 1000px;
}

.subcategories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
    padding: 24px;
    border-top: 1px solid var(--border-light);
    background: var(--bg-secondary);
}

.subcategory-card {
    padding: 12px 16px;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 300;
    transition: all 0.3s ease;
    text-align: center;
}

.subcategory-card:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

/* Collections Grid */
.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.collection-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-light);
    transition: all 0.3s ease;
}

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

.collection-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.collection-content {
    padding: 24px;
}

.collection-title {
    font-size: 22px;
    font-weight: 300;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.collection-description {
    font-size: 15px;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 20px;
}

.collection-button {
    width: 100%;
    padding: 12px 24px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.collection-button:hover {
    background: var(--accent-gradient);
    color: white;
    border-color: transparent;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-light);
    padding: 60px 0 32px;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo .logo-mark {
    width: 40px;
    height: 40px;
    background: transparent;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    color: #4a7c7e;
}

.footer-logo .logo-mark svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(1px 1px 2px rgba(74, 124, 126, 0.25));
}

.footer-logo .logo-text {
    font-size: 20px;
    font-weight: 600;
    background: linear-gradient(135deg, #4a7c7e 0%, #7fb8a6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 0.5px;
}

.footer-description {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 300;
    line-height: 1.6;
}

.footer-title {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-primary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 300;
    transition: color 0.3s ease;
}

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

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

.footer-copyright {
    font-size: 13px;
    color: var(--text-tertiary);
    font-weight: 300;
}

.footer-stats {
    display: flex;
    gap: 12px;
    font-size: 13px;
    color: var(--text-tertiary);
    font-weight: 300;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 32px;
    }

    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .navigation-content {
        padding: 0 16px;
    }

    .top-bar {
        height: 60px;
    }

    .logo-mark {
        width: 36px;
        height: 36px;
    }

    .logo-text {
        font-size: 20px;
        letter-spacing: 0.5px;
    }

    .nav-links {
        display: none;
    }

    .hero-section {
        padding: 80px 0 60px;
    }

    .hero-main-title {
        font-size: 36px;
        letter-spacing: 6px;
        line-height: 1.1;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }

    .hero-title {
        font-size: 28px;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 15px;
        line-height: 1.5;
        padding: 0 10px;
    }

    .search-container {
        max-width: 100%;
        padding: 0;
    }

    .search-box {
        flex-direction: column;
        gap: 12px;
    }

    .search-input {
        font-size: 16px;
        padding: 14px 20px;
    }

    .search-button {
        width: 100%;
        padding: 14px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .stat-card {
        padding: 24px 20px;
    }

    .stat-number {
        font-size: 32px;
    }

    .regions-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .region-card {
        padding: 20px;
    }

    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .category-card {
        padding: 16px 12px;
    }

    .category-name {
        font-size: 13px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }

    /* Typography fixes */
    h1, h2, h3 {
        word-wrap: break-word;
        overflow-wrap: break-word;
        hyphens: auto;
    }

    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
    }

    .kultse-app {
        overflow-x: hidden;
    }
}

/* Extra small devices */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .navigation-content {
        padding: 0 12px;
    }

    .top-bar {
        height: 56px;
    }

    .logo-mark {
        width: 32px;
        height: 32px;
    }

    .logo-text {
        font-size: 18px;
        letter-spacing: 0.3px;
    }

    .hero-section {
        padding: 60px 0 40px;
    }

    .hero-main-title {
        font-size: 28px;
        letter-spacing: 4px;
    }

    .hero-title {
        font-size: 22px;
    }

    .hero-subtitle {
        font-size: 14px;
        padding: 0 5px;
    }

    .search-input {
        font-size: 15px;
        padding: 12px 16px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 12px;
    }

    .region-card-title {
        font-size: 15px;
    }

    .category-name {
        font-size: 12px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(30px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.hero-content {
    animation: fadeIn 0.8s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection */
::selection {
    background: rgba(37, 99, 235, 0.2);
    color: var(--text-primary);
}

/* ============================================
   PAGINATION PREMIUM STYLES
   ============================================ */

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    padding: 20px 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(74, 124, 126, 0.02) 100%);
    border-radius: 16px;
}

.page-btn {
    padding: 8px 18px;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    color: #4a7c7e;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    letter-spacing: 0.3px;
}

.page-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #4a7c7e 0%, #7fb8a6 100%);
    color: white;
    border-color: #4a7c7e;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 124, 126, 0.25);
}

.page-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: #f5f5f5;
    color: #999;
    border-color: #e0e0e0;
}

.page-number {
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    background: white;
    border: 2px solid #e5e5e5;
    border-radius: 10px;
    color: #333;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-number:hover {
    background: #f8fafb;
    border-color: #4a7c7e;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(74, 124, 126, 0.15);
}

.page-number.active {
    background: linear-gradient(135deg, #4a7c7e 0%, #7fb8a6 100%);
    color: white;
    border-color: #4a7c7e;
    font-weight: 700;
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(74, 124, 126, 0.3);
    z-index: 2;
}

.page-number.active::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 14px;
    background: linear-gradient(135deg, #4a7c7e 0%, #7fb8a6 100%);
    opacity: 0.2;
    z-index: -1;
}

.ellipsis {
    padding: 0 8px;
    color: #999;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
}
