/* ===== Ночная Библиотека - Темная Тема ===== */

:root {
    --color-bg-primary: #1a1d2e;
    --color-bg-secondary: #16213e;
    --color-bg-elevated: #0f3460;
    --color-accent-gold: #d4af37;
    --color-accent-warm: #e2b44f;
    --color-text-primary: #e8e6e3;
    --color-text-secondary: #b8b5b2;
    --color-text-muted: #8a8785;
    --color-border: #2d3748;
    --color-success: #48bb78;
    --color-error: #f56565;
    --shadow-glow: 0 0 20px rgba(212, 175, 55, 0.15);
    --shadow-card: 0 4px 6px rgba(0, 0, 0, 0.3);
    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 100%);
    background-attachment: fixed;
    color: var(--color-text-primary);
    line-height: 1.7;
    font-size: 16px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* ===== Typography ===== */

h1, h2, h3, h4, h5, h6 {
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--color-text-primary);
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--color-accent-gold), var(--color-accent-warm));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 2rem;
    color: var(--color-accent-gold);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.25rem;
    color: var(--color-text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.content-wrapper p {
    text-align: justify;
}

a {
    color: var(--color-accent-warm);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-accent-gold);
    text-decoration: underline;
}

a:focus {
    outline: none;
}

a:active {
    outline: none;
    border: none;
}

/* ===== Lists ===== */

.content-wrapper ul,
.content-wrapper ol {
    margin-bottom: 1.5rem;
    margin-left: 0;
    padding-left: 0;
}

.content-wrapper ul li {
    list-style: none;
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.content-wrapper ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.6em;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, var(--color-accent-gold), var(--color-accent-warm));
    border-radius: 2px;
    transform: rotate(45deg);
}

.content-wrapper ol {
    counter-reset: custom-counter;
}

.content-wrapper ol li {
    list-style: none;
    position: relative;
    padding-left: 2.5rem;
    margin-bottom: 0.75rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    counter-increment: custom-counter;
}

.content-wrapper ol li::before {
    content: counter(custom-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 1.5rem;
    height: 1.5rem;
    background: linear-gradient(135deg, var(--color-accent-gold), var(--color-accent-warm));
    color: #1a1d2e;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.content-wrapper ul li strong,
.content-wrapper ol li strong {
    color: var(--color-accent-warm);
    font-weight: 600;
}

/* ===== Header ===== */

.site-header {
    background: rgba(26, 29, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-card);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding .site-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--color-accent-gold);
    font-size: 1.25rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.site-branding .site-logo:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.5));
    text-decoration: none;
}

.site-logo svg {
    color: var(--color-accent-gold);
    transition: transform 0.3s ease;
}

.site-logo:hover svg {
    transform: rotate(5deg);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    width: 40px;
    height: 40px;
    position: relative;
}

.menu-icon {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-accent-gold);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: background 0.2s ease;
}

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

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

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

.menu-toggle[aria-expanded="true"] .menu-icon {
    background: transparent;
}

.menu-toggle[aria-expanded="true"] .menu-icon::before {
    top: 0;
    transform: rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-icon::after {
    top: 0;
    transform: rotate(-45deg);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--color-text-secondary);
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition-smooth);
    position: relative;
    padding-bottom: 0.25rem;
}

.nav-menu a:hover {
    color: var(--color-accent-gold);
    text-decoration: none;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-accent-gold);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a.active {
    color: var(--color-accent-gold);
    font-weight: 600;
}

.nav-menu a.active::after {
    width: 100%;
}

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

    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-bg-secondary);
        flex-direction: column;
        gap: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.2s ease-out;
        border-bottom: 1px solid var(--color-border);
    }

    .nav-menu.active {
        max-height: 500px;
        transition: max-height 0.2s ease-in;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--color-border);
    }

    .nav-menu a {
        display: block;
        padding: 1rem 2rem;
    }
}

/* ===== Breadcrumbs ===== */

.breadcrumbs {
    background: rgba(15, 52, 96, 0.3);
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
}

.breadcrumb-list {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-wrap: wrap;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.breadcrumb-item {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

.breadcrumb-item:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: var(--color-text-muted);
}

.breadcrumb-item a {
    color: var(--color-text-muted);
}

.breadcrumb-item.active {
    color: var(--color-accent-gold);
}

/* ===== Container ===== */

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

.content-wrapper {
    background: rgba(22, 33, 62, 0.6);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: var(--shadow-card);
    margin-bottom: 2rem;
}

/* ===== Hero Section ===== */

.hero {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(15, 52, 96, 0.6), rgba(26, 29, 46, 0.8));
    border-radius: 12px;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    animation: glow-pulse 8s ease-in-out infinite;
}

@keyframes glow-pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

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

.hero h1 {
    margin-bottom: 1.5rem;
}

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

/* ===== Buttons ===== */

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    text-decoration: none;
    outline: none;
}

.btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.3);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-accent-gold), var(--color-accent-warm));
    color: #1a1d2e;
    font-weight: 700;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--color-accent-warm), #f4c430);
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
    text-decoration: none;
    color: #000;
}

.btn-secondary {
    background: var(--color-bg-elevated);
    color: var(--color-text-primary);
    border: 1px solid var(--color-accent-gold);
}

.btn-secondary:hover {
    background: var(--color-accent-gold);
    color: var(--color-bg-primary);
    text-decoration: none;
}

/* ===== Cards ===== */

.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.book-card {
    background: rgba(15, 52, 96, 0.4);
    border: 1px solid var(--color-border);
    border-radius: 10px;
    padding: 1.5rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.book-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent-gold), var(--color-accent-warm));
    transform: scaleX(0);
    transition: var(--transition-smooth);
}

.book-card:hover {
    border-color: var(--color-accent-gold);
    box-shadow: var(--shadow-glow);
    transform: translateY(-4px);
}

.book-card:hover::before {
    transform: scaleX(1);
}

.book-card h3 {
    margin-bottom: 0.75rem;
    color: var(--color-accent-warm);
}

.book-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.book-tag {
    font-size: 0.85rem;
    padding: 0.25rem 0.75rem;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 20px;
    color: var(--color-accent-warm);
}

/* ===== Content Images ===== */

.content-image {
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 2.5rem auto;
    display: block;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.content-image-small {
    max-width: 600px;
}

.content-image-wrapper {
    text-align: center;
    margin: 3rem 0;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2.5rem 0;
}

.image-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.image-grid img:hover {
    transform: scale(1.02);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

/* ===== Review Section ===== */

.review-section {
    margin: 2rem 0;
}

.review-item {
    background: rgba(15, 52, 96, 0.3);
    border-left: 4px solid var(--color-accent-gold);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border-radius: 6px;
}

.review-header {
    margin-bottom: 1rem;
}

.review-title {
    color: var(--color-accent-gold);
    margin-bottom: 0.5rem;
}

.review-meta {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.review-content h4 {
    color: var(--color-accent-warm);
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.review-rating {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--color-border);
}

.rating-item {
    font-size: 0.9rem;
}

.rating-label {
    color: var(--color-text-muted);
}

.rating-value {
    color: var(--color-accent-gold);
    font-weight: 600;
}

/* ===== Filter Section ===== */

.filter-section {
    background: rgba(15, 52, 96, 0.4);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.filter-group {
    margin-bottom: 1rem;
}

.filter-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-accent-gold);
    font-weight: 600;
}

.filter-group select {
    width: 100%;
    max-width: 300px;
    padding: 0.5rem;
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
    border-radius: 6px;
}

/* ===== Form Styles ===== */

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--color-text-primary);
    font-weight: 500;
}

.form-group label .required {
    color: var(--color-error);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    background: var(--color-bg-primary);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}

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

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-message {
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1.5rem;
}

.form-message.success {
    background: rgba(72, 187, 120, 0.2);
    border: 1px solid var(--color-success);
    color: var(--color-success);
}

.form-message.error {
    background: rgba(245, 101, 101, 0.2);
    border: 1px solid var(--color-error);
    color: var(--color-error);
}

.honeypot {
    position: absolute;
    left: -9999px;
}

/* ===== Contact Info ===== */

.contact-info {
    background: rgba(15, 52, 96, 0.3);
    padding: 2rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(26, 29, 46, 0.5);
    border-radius: 6px;
}

.contact-item svg {
    color: var(--color-accent-gold);
    flex-shrink: 0;
}

/* ===== FAQ ===== */

.faq-list {
    margin: 2rem 0;
}

.faq-item {
    background: rgba(15, 52, 96, 0.3);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.25rem;
    background: none;
    border: none;
    color: var(--color-text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition-smooth);
}

.faq-question:hover {
    color: var(--color-accent-gold);
}

.faq-icon {
    transition: var(--transition-smooth);
    color: var(--color-accent-gold);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
}

.faq-answer-content {
    padding: 0 1.25rem 1.25rem;
    color: var(--color-text-secondary);
}

/* ===== Related Content ===== */

.related-content {
    background: rgba(15, 52, 96, 0.3);
    padding: 2rem;
    border-radius: 8px;
    margin-top: 3rem;
}

.related-content h3 {
    margin-bottom: 1.5rem;
    color: var(--color-accent-gold);
}

.related-links {
    display: grid;
    gap: 1rem;
}

.related-link {
    display: block;
    padding: 1rem;
    background: rgba(26, 29, 46, 0.5);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    transition: var(--transition-smooth);
}

.related-link:hover {
    border-color: var(--color-accent-gold);
    background: rgba(15, 52, 96, 0.5);
    transform: translateX(8px);
    text-decoration: none;
}

/* ===== Cookie Banner ===== */

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(15, 52, 96, 0.98);
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--color-accent-gold);
    padding: 1.5rem;
    z-index: 9999;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.5);
}

.cookie-banner.hidden {
    display: none;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.cookie-text {
    flex: 1;
    min-width: 300px;
}

.cookie-text h3 {
    margin-bottom: 0.5rem;
    color: var(--color-accent-gold);
}

.cookie-text p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.cookie-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-size: 0.95rem;
}

.cookie-btn-accept {
    background: var(--color-accent-gold);
    color: var(--color-bg-primary);
}

.cookie-btn-reject {
    background: var(--color-bg-elevated);
    color: var(--color-text-primary);
    border: 1px solid var(--color-border);
}

.cookie-btn-settings {
    background: transparent;
    color: var(--color-accent-warm);
    border: 1px solid var(--color-accent-gold);
}

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

/* ===== Cookie Settings Modal ===== */

.cookie-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    padding: 1rem;
}

.cookie-modal.hidden {
    display: none;
}

.cookie-modal-content {
    background: var(--color-bg-secondary);
    border: 2px solid var(--color-accent-gold);
    border-radius: 12px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2rem;
    position: relative;
}

.cookie-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border);
}

.cookie-modal-close {
    background: none;
    border: none;
    color: var(--color-text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cookie-category {
    padding: 1.5rem;
    background: rgba(15, 52, 96, 0.3);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.cookie-category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.cookie-category h4 {
    margin-bottom: 0;
    color: var(--color-accent-gold);
}

.cookie-toggle {
    position: relative;
    width: 50px;
    height: 26px;
}

.cookie-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-toggle-slider {
    position: absolute;
    cursor: pointer;
    inset: 0;
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    border-radius: 26px;
    transition: var(--transition-smooth);
}

.cookie-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background: var(--color-text-muted);
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.cookie-toggle input:checked + .cookie-toggle-slider {
    background: var(--color-accent-gold);
    border-color: var(--color-accent-gold);
}

.cookie-toggle input:checked + .cookie-toggle-slider:before {
    transform: translateX(24px);
    background: var(--color-bg-primary);
}

.cookie-toggle input:disabled + .cookie-toggle-slider {
    opacity: 0.5;
    cursor: not-allowed;
}

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

.cookie-modal-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* ===== Footer ===== */

.site-footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--color-accent-gold);
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--color-text-secondary);
    transition: var(--transition-smooth);
}

.footer-links a:hover {
    color: var(--color-accent-gold);
    padding-left: 4px;
}

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

.footer-contact li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.footer-contact svg {
    color: var(--color-accent-gold);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.footer-disclaimer {
    font-size: 0.85rem;
    font-style: italic;
}

/* ===== Back to Top ===== */

.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--color-accent-gold);
    color: var(--color-bg-primary);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-card);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-glow);
}

/* ===== Utility Classes ===== */

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* ===== Responsive ===== */

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

    .content-wrapper {
        padding: 1.5rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

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

    .cookie-content {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-buttons {
        justify-content: stretch;
    }

    .cookie-btn {
        flex: 1;
    }

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

    .back-to-top {
        bottom: 1rem;
        right: 1rem;
        width: 44px;
        height: 44px;
    }
}

/* ===== Toast Notifications ===== */

.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(22, 33, 62, 0.95);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    padding: 14px 18px;
    min-width: 320px;
    max-width: 400px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    transform: translateX(450px);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.toast.show {
    transform: translateX(0);
    opacity: 1;
}

.toast-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
}

.toast-success .toast-icon {
    background: var(--color-success);
    color: #fff;
}

.toast-error .toast-icon {
    background: var(--color-error);
    color: #fff;
}

.toast-message {
    color: var(--color-text-primary);
    font-size: 14px;
    line-height: 1.5;
}

.toast-success {
    border-left: 3px solid var(--color-success);
}

.toast-error {
    border-left: 3px solid var(--color-error);
}

@media (max-width: 768px) {
    .toast-container {
        right: 10px;
        left: 10px;
        top: 70px;
    }

    .toast {
        min-width: auto;
        max-width: 100%;
    }
}
