/* Film Atölyesi - Premium Cinema Design for Google Ads */

:root {
    /* Premium Color Palette */
    --primary-dark: #0a0a0f;
    --secondary-dark: #14141f;
    --accent-primary: #ff6b35;
    --accent-secondary: #4ecdc4;
    --text-primary: #ffffff;
    --text-secondary: #b8b8c8;
    --text-muted: #6b6b7f;
    --gradient-main: linear-gradient(135deg, #ff6b35 0%, #f7931e 50%, #ff6b35 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(10, 10, 15, 0) 0%, rgba(10, 10, 15, 0.7) 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 16px 64px rgba(0, 0, 0, 0.8);
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 3rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--primary-dark);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    max-width: 100vw;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 107, 53, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(78, 205, 196, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* Header - Premium Fixed */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--space-sm) 0;
    z-index: 1000;
    transition: all 0.3s ease;
    min-height: 70px;
    display: flex;
    align-items: center;
    overflow: visible;
    max-width: 100vw;
    width: 100%;
}

@media (max-width: 768px) {
    .site-header {
        min-height: 60px;
        height: 60px;
    }
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(10, 10, 15, 0.98);
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    overflow: visible;
    position: relative;
    gap: var(--space-sm);
    min-width: 0;
    flex-wrap: wrap;
}

.header-content > * {
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .header-content {
        padding: 0 var(--space-sm);
        gap: var(--space-xs);
    }
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
    transition: transform 0.3s ease;
    margin-left: 0;
    margin-right: var(--space-sm);
    flex-shrink: 0;
    white-space: nowrap;
    overflow: visible;
    text-overflow: ellipsis;
    position: relative;
    z-index: 10;
    display: inline-block;
}

@media (max-width: 768px) {
    .header-content {
        gap: var(--space-xs);
    }
    
    .logo {
        margin-right: auto;
        font-size: 1.25rem;
        max-width: calc(100vw - 120px);
        order: 1;
        z-index: 1002;
    }
    
    .main-nav {
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.1rem;
        max-width: calc(100vw - 100px);
        margin-right: var(--space-xs);
    }
}

.logo:hover {
    transform: scale(1.05);
}

.main-nav {
    flex: 1 1 auto;
    overflow: visible;
    min-width: 0;
    max-width: 100%;
    position: relative;
    z-index: 1;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: var(--space-md);
    align-items: center;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    min-width: 0;
    max-width: 100%;
    justify-content: flex-end;
}

/* Adaptive menu - элементы будут автоматически переноситься при нехватке места */

.main-nav a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: var(--space-xs) var(--space-sm);
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    display: inline-block;
    flex-shrink: 1;
    min-width: fit-content;
}

/* Desktop menu - always visible */
@media (min-width: 769px) {
    .header-content {
        flex-wrap: nowrap;
        align-items: center;
    }
    
    .main-nav {
        display: block !important;
        position: static;
        max-height: none;
        opacity: 1;
        pointer-events: auto;
        background: transparent;
        border: none;
        box-shadow: none;
        flex: 1 1 auto;
        min-width: 0;
        width: auto;
        max-width: none;
        order: 3;
    }
    
    .main-nav ul {
        flex-direction: row;
        padding: 0;
        justify-content: flex-end;
        flex-wrap: wrap;
        gap: var(--space-sm);
    }
    
    .main-nav li {
        border-bottom: none;
        flex-shrink: 1;
    }
    
    .logo {
        order: 1;
        margin-right: var(--space-md);
    }
    
    .menu-toggle {
        order: 2;
    }
}

/* Если элементы не помещаются - уменьшаем размеры и разрешаем перенос */
@media (min-width: 769px) and (max-width: 1400px) {
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: var(--space-xs);
        row-gap: var(--space-xs);
    }
    
    .main-nav a {
        font-size: clamp(0.7rem, 1.5vw, 0.9rem);
        padding: var(--space-xs) clamp(0.3rem, 1vw, 0.8rem);
    }
}

/* Для очень узких экранов делаем элементы более компактными */
@media (min-width: 769px) and (max-width: 900px) {
    .main-nav ul {
        gap: 0.25rem;
        row-gap: 0.25rem;
    }
    
    .main-nav a {
        font-size: 0.7rem;
        padding: 0.3rem 0.4rem;
    }
}

@media (min-width: 1401px) {
    .main-nav ul {
        gap: var(--space-sm);
    }
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--accent-primary);
    transition: transform 0.3s ease;
}

.main-nav a:hover {
    color: var(--text-primary);
}

.main-nav a:hover::after {
    transform: translateX(-50%) scaleX(1);
}

.main-nav a.active {
    color: var(--accent-primary);
    background: rgba(255, 107, 53, 0.1);
}

.main-nav a.active::after {
    transform: translateX(-50%) scaleX(1);
    background: var(--accent-primary);
}


/* Menu Toggle - Minimalist */
.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    cursor: pointer;
    padding: 0;
    position: relative;
    z-index: 1001;
    margin-left: var(--space-xs);
    flex-shrink: 0;
    min-width: 40px;
    order: 2;
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
        order: 2;
    }
}

.menu-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
    left: 0;
}

.menu-icon::before {
    top: -8px;
}

.menu-icon::after {
    bottom: -8px;
}

.menu-toggle.active .menu-icon {
    background: transparent;
}

.menu-toggle.active .menu-icon::before {
    top: 0;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
}

.menu-toggle.active .menu-icon::after {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) rotate(-45deg);
}

body {
    padding-top: 70px;
}

/* Автоматическая высота header при переносе элементов */
@media (min-width: 769px) {
    .site-header {
        min-height: 70px;
        height: auto;
    }
    
    .header-content {
        min-height: 50px;
    }
    
    /* Если элементы переносятся - увеличиваем padding-top для body */
    body {
        padding-top: 70px;
    }
}

@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    position: relative;
    z-index: 1;
}

/* Hero Section - Cinematic */
.hero {
    position: relative;
    padding: var(--space-2xl) 0 var(--space-xl);
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(80px);
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-md);
    background: linear-gradient(135deg, #ffffff 0%, #b8b8c8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -2px;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

/* Selection Tiles - Premium Cards */
.moodboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.selection-tile {
    position: relative;
    background: var(--secondary-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: var(--space-lg);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    min-height: 280px;
}

.selection-tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.selection-tile::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(255, 107, 53, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
}

.selection-tile:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 107, 53, 0.3);
    box-shadow: var(--shadow-xl);
}

.selection-tile:hover::before {
    transform: scaleX(1);
}

.selection-tile:hover::after {
    width: 300px;
    height: 300px;
}

.selection-tile h2 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
    position: relative;
    z-index: 1;
    color: var(--text-primary);
}

.selection-tile p {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.selection-tile.theme-mood {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.1) 0%, rgba(103, 58, 183, 0.1) 100%);
}

.selection-tile.theme-time {
    background: linear-gradient(135deg, rgba(244, 67, 54, 0.1) 0%, rgba(233, 30, 99, 0.1) 100%);
}

.selection-tile.theme-family {
    background: linear-gradient(135deg, rgba(255, 152, 0, 0.1) 0%, rgba(255, 193, 7, 0.1) 100%);
}

.selection-tile.theme-friends {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(3, 169, 244, 0.1) 100%);
}

.selection-tile.theme-alone {
    background: linear-gradient(135deg, rgba(96, 125, 139, 0.1) 0%, rgba(69, 90, 100, 0.1) 100%);
}

/* Film Cards - Cinematic */
.film-card {
    background: var(--secondary-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.film-card:hover {
    transform: translateY(-12px);
    border-color: rgba(255, 107, 53, 0.4);
    box-shadow: var(--shadow-xl);
}

.film-card img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.film-card:hover img {
    transform: scale(1.1);
}

.film-card-content {
    padding: var(--space-md);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.film-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    color: var(--text-primary);
    line-height: 1.3;
}

.film-card .meta {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
    font-weight: 500;
}

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

.film-card .tags {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
    margin-top: var(--space-sm);
    padding-top: var(--space-xs);
}

.film-card-content {
    padding: var(--space-md);
    position: relative;
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.tag {
    background: rgba(255, 107, 53, 0.15);
    border: 1px solid rgba(255, 107, 53, 0.3);
    color: var(--accent-primary);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Content Sections */
.content-section {
    background: var(--secondary-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
    position: relative;
}

.content-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-main);
    border-radius: 16px 16px 0 0;
}

.content-section h1,
.content-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
    line-height: 1.2;
    letter-spacing: -1px;
}

.content-section h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.content-section p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.content-section ul,
.content-section ol {
    margin-left: 0;
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
    color: var(--text-secondary);
    list-style-position: outside;
}

.content-section ul li,
.content-section ol li {
    margin-bottom: var(--space-sm);
    padding-left: var(--space-xs);
    line-height: 1.8;
}

.content-section ul {
    list-style-type: disc;
}

.content-section ol {
    list-style-type: decimal;
}

.content-section a {
    color: var(--accent-primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s ease;
}

.content-section a:hover {
    border-bottom-color: var(--accent-primary);
}

/* Filter Panel - Premium */
.filter-panel {
    position: relative;
    width: 100%;
    background: var(--secondary-dark);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-left: 4px solid var(--accent-primary);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--space-lg);
    padding: var(--space-xl);
    display: block;
}

.filter-panel.active {
    display: block;
}

@media (max-width: 768px) {
    .filter-panel {
        position: fixed;
        top: 0;
        right: -100%;
        width: 85%;
        max-width: 400px;
        height: 100vh;
        margin-bottom: 0;
        padding: var(--space-lg);
        padding-top: calc(60px + var(--space-lg));
        overflow-y: auto;
        backdrop-filter: blur(20px);
        z-index: 1000;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        background: var(--primary-dark);
        border-left: 1px solid rgba(255, 255, 255, 0.08);
        border-top: none;
        border-right: none;
        border-bottom: none;
    }
    
    .filter-panel.active {
        right: 0;
    }
}

.filter-panel h3 {
    color: var(--text-primary);
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid rgba(255, 107, 53, 0.3);
}

@media (max-width: 768px) {
    .filter-panel h3 {
        margin-top: 0;
        padding-top: 0;
    }
}

.filter-toggle {
    display: none;
    position: fixed;
    bottom: var(--space-lg);
    right: var(--space-lg);
    background: var(--gradient-main);
    color: white;
    border: none;
    border-radius: 50px;
    padding: var(--space-sm) var(--space-md);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    z-index: 1001;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
}

@media (max-width: 768px) {
    .filter-toggle {
        display: block;
        bottom: 20px;
        right: 20px;
        padding: 14px 24px;
        font-size: 1rem;
        box-shadow: 0 4px 20px rgba(255, 107, 53, 0.4);
    }
}

.filter-toggle:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(255, 107, 53, 0.5);
}

.filter-toggle:active {
    transform: translateY(-2px);
}

.close-filter {
    width: 100%;
    margin-bottom: var(--space-md);
    padding: var(--space-sm);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.close-filter:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: var(--accent-primary);
}

.filter-group {
    margin-bottom: var(--space-lg);
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

.filter-group label {
    display: block;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.filter-group select,
.filter-group input {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    background: var(--secondary-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.filter-reset {
    width: 100%;
    margin-top: var(--space-md);
    padding: var(--space-sm) var(--space-md);
    background: rgba(244, 67, 54, 0.15);
    border: 2px solid rgba(244, 67, 54, 0.5);
    color: #ff6b6b;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(244, 67, 54, 0.2);
}

.filter-reset:hover {
    background: rgba(244, 67, 54, 0.25);
    border-color: rgba(244, 67, 54, 0.7);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(244, 67, 54, 0.3);
}

.filter-reset:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(244, 67, 54, 0.25);
}

.filter-results-count {
    display: none;
    color: var(--accent-primary);
    font-size: 1rem;
    font-weight: 600;
    margin-top: var(--space-md);
    text-align: center;
    padding: var(--space-md) var(--space-lg);
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.15) 0%, rgba(255, 107, 53, 0.1) 100%);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.15);
    letter-spacing: 0.5px;
}

.filter-results-count:not(:empty) {
    display: block;
}

.filter-actions {
    margin-top: var(--space-lg);
    margin-bottom: var(--space-xl);
}

/* Hide mobile versions on desktop */
.filter-reset-mobile,
.filter-results-count-mobile {
    display: none;
}

/* Show mobile versions on mobile, hide desktop versions */
@media (max-width: 768px) {
    .filter-reset-mobile,
    .filter-results-count-mobile {
        display: block;
        width: 100%;
    }
    
    .filter-reset-mobile {
        margin-top: var(--space-md);
    }
    
    .filter-results-count-mobile {
        margin-top: var(--space-sm);
    }
    
    .filter-actions {
        display: none !important;
    }
}

/* Show desktop versions on desktop, hide mobile versions */
@media (min-width: 769px) {
    .filter-reset-mobile,
    .filter-results-count-mobile {
        display: none !important;
    }
    
    .filter-actions {
        display: flex;
    }
}

.film-card.hidden {
    display: none;
}

/* Cookie Banner - Elegant */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--secondary-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-xl);
    padding: var(--space-md);
    z-index: 1000;
    display: block;
    backdrop-filter: blur(20px);
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
    pointer-events: none;
}

.cookie-banner.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.cookie-banner.hiding {
    transform: translateY(100%);
    opacity: 0;
}

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

.cookie-banner-content p {
    flex: 1;
    color: var(--text-secondary);
    margin: 0;
}

.cookie-banner-content a {
    color: var(--accent-primary);
    text-decoration: underline;
}

.cookie-buttons {
    display: flex;
    gap: var(--space-sm);
    flex-shrink: 0;
}

.btn {
    padding: var(--space-sm) var(--space-md);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.95rem;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0;
}

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

.btn-accept {
    background: var(--gradient-main);
    color: white;
}

.btn-accept:hover {
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.4);
}

.btn-reject {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.btn-reject:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-secondary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

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

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    background: var(--secondary-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.form-group .checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-top: 0.3rem;
    accent-color: var(--accent-primary);
}

/* Toast */
.toast {
    position: fixed;
    top: var(--space-lg);
    right: var(--space-lg);
    background: var(--secondary-dark);
    color: white;
    padding: var(--space-md) var(--space-lg);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-lg);
    z-index: 2000;
    display: none;
    font-weight: 500;
}

.toast.active {
    display: block;
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.error {
    border-color: rgba(244, 67, 54, 0.3);
    background: rgba(244, 67, 54, 0.1);
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Footer */
.site-footer {
    background: var(--secondary-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: var(--space-xl) var(--space-md);
    margin-top: var(--space-2xl);
    text-align: center;
}

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

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

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

/* Responsive */
@media (min-width: 769px) {
    .filter-panel h3 {
        margin-top: 0;
    }
    
    .close-filter {
        display: none;
    }
    
    .filter-group {
        display: inline-block;
        width: calc(25% - var(--space-md));
        margin-right: var(--space-md);
        vertical-align: top;
    }
    
    .filter-group:last-of-type {
        margin-right: 0;
    }
    
    .filter-actions {
        margin-top: var(--space-md);
        margin-bottom: var(--space-lg);
        display: flex;
        align-items: center;
        gap: var(--space-md);
        flex-wrap: wrap;
    }
    
    .filter-reset {
        width: auto;
        display: inline-block;
        margin-left: 0;
        margin-top: 0;
        min-width: 180px;
    }
    
    .filter-results-count {
        flex: 1;
        margin-top: 0;
        text-align: left;
        padding: var(--space-sm) var(--space-md);
    }
}

@media (max-width: 768px) {
    .filter-panel h3 {
        margin-top: 0;
        font-size: 1.3rem;
        padding-top: 0;
    }
    
    .close-filter {
        display: block;
    }
    
    .filter-group {
        display: block;
        width: 100%;
        margin-right: 0;
        margin-bottom: var(--space-md);
    }
    
}

@media (max-width: 768px) {
    .site-header {
        padding: var(--space-xs) 0;
        min-height: 60px;
        height: 60px;
    }
    
    .header-content {
        padding: var(--space-xs) var(--space-sm);
        flex-wrap: nowrap;
    }
    
    .main-nav {
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        width: 100%;
        max-width: 100vw;
        background: var(--primary-dark);
        border-top: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s;
        opacity: 0;
        box-shadow: var(--shadow-lg);
        z-index: 998;
        pointer-events: none;
        backdrop-filter: blur(20px);
        margin-top: 0;
    }
    
    .main-nav.active {
        max-height: 600px;
        opacity: 1;
        pointer-events: auto;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: var(--space-md) 0;
    }
    
    .main-nav li {
        border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .main-nav li:last-child {
        border-bottom: none;
    }
    
    .main-nav a {
        display: block;
        padding: var(--space-sm) var(--space-md);
        border-bottom: none;
    }
    
    .main-nav a::after {
        display: none;
    }
    
    .main-nav a:hover {
        background: rgba(255, 107, 53, 0.1);
        padding-left: calc(var(--space-md) + 8px);
    }
    
    .main-nav a.active {
        color: var(--accent-primary);
        background: rgba(255, 107, 53, 0.15);
        font-weight: 600;
        padding-left: calc(var(--space-md) + 8px);
    }
    
    .hero {
        padding: var(--space-xl) 0 var(--space-lg);
    }
    
    .moodboard-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-banner-content {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }
    
    .cookie-banner-content p {
        width: 100%;
    }
    
    .cookie-buttons {
        justify-content: center;
        width: 100%;
        gap: var(--space-xs);
    }
    
    .cookie-buttons .btn {
        flex: 1;
        min-width: 80px;
        font-size: 0.85rem;
        padding: var(--space-xs) var(--space-sm);
    }
    
    .film-card img {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-sm);
    }
    
    .hero {
        padding: var(--space-lg) 0;
    }
    
    .selection-tile {
        min-height: 240px;
        padding: var(--space-md);
    }
    
    .content-section {
        padding: var(--space-md);
        margin-left: 0;
        margin-right: 0;
    }
    
    .content-section h1,
    .content-section h2 {
        font-size: 2rem;
    }
    
    .content-section ul,
    .content-section ol {
        padding-left: var(--space-md);
    }
    
    .film-card-content {
        padding: var(--space-sm);
        gap: var(--space-xs);
    }
    
    .cookie-buttons {
        flex-direction: column;
    }
    
    .cookie-buttons .btn {
        width: 100%;
        min-width: auto;
    }
}
