        :root {
            --primary: #4a6fa5;
            --secondary: #ff7e5f;
            --dark: #2c3e50;
            --light: #f8f9fa;
            --success: #28a745;
            --warning: #ffc107;
        }
        
        body {
            font-family: 'Open Sans', sans-serif;
            color: #333;
            line-height: 1.6;
        }
        
        h1, h2, h3, h4, h5, h6 {
            font-family: 'Merriweather', serif;
            font-weight: 700;
        }
        
        .navbar-brand {
            font-family: 'Merriweather', serif;
            font-weight: 700;
            font-size: 1.8rem;
            color: var(--primary) !important;
        }
        
        .hero-section {
            background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.9)), url('https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1974&q=80');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 120px 0 80px;
        }
        
        .btn-primary {
            background-color: var(--primary);
            border-color: var(--primary);
            padding: 10px 25px;
            font-weight: 600;
        }
        
        .btn-primary:hover {
            background-color: #3a5a8c;
            border-color: #3a5a8c;
        }
        
        .btn-secondary {
            background-color: var(--secondary);
            border-color: var(--secondary);
            padding: 10px 25px;
            font-weight: 600;
        }
        
        .btn-secondary:hover {
            background-color: #e66d4f;
            border-color: #e66d4f;
        }
        
        .feature-icon {
            background-color: rgba(74, 111, 165, 0.1);
            width: 70px;
            height: 70px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 20px;
        }
        
        .campaign-card, .club-card {
            border-radius: 10px;
            overflow: hidden;
            transition: transform 0.3s, box-shadow 0.3s;
            height: 100%;
            border: 1px solid #eaeaea;
        }
        
        .campaign-card:hover, .club-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        }
        
        .campaign-img {
            height: 200px;
            object-fit: cover;
            width: 100%;
        }
        
        .progress {
            height: 10px;
            border-radius: 5px;
        }
        
        .club-avatar {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            object-fit: cover;
            border: 3px solid white;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        }
        
        .reward-card {
            border: 2px solid #eaeaea;
            border-radius: 8px;
            padding: 20px;
            height: 100%;
            transition: all 0.3s;
        }
        
        .reward-card:hover {
            border-color: var(--primary);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }
        
        .reward-card.featured {
            border-color: var(--secondary);
            position: relative;
            transform: scale(1.05);
        }
        
        .badge-custom {
            background-color: var(--secondary);
            color: white;
            font-weight: 600;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 0.8rem;
        }
        
        .tab-content {
            border: 1px solid #dee2e6;
            border-top: none;
            padding: 25px;
            border-radius: 0 0 8px 8px;
        }
        
        .nav-tabs .nav-link.active {
            background-color: white;
            border-bottom-color: white;
            color: var(--primary);
            font-weight: 600;
        }
        
        .footer {
            background-color: var(--dark);
            color: white;
            padding: 50px 0 20px;
        }
        
        .footer a {
            color: #ccc;
            text-decoration: none;
        }
        
        .footer a:hover {
            color: white;
        }
        
        .author-section {
            background-color: #f8f9fa;
            border-radius: 10px;
            padding: 30px;
        }
        
        @media (max-width: 768px) {
            .hero-section {
                padding: 80px 0 50px;
            }
            
            .reward-card.featured {
                transform: none;
            }
        }
/* Стили для блока буктрейлеров */
#booktrailers .card {
    transition: transform 0.3s ease;
}
#booktrailers .card:hover {
    transform: translateY(-5px);
}

/* Убирает лишние отступы, если они появились после нового блока */
#booktrailers + section {
    padding-top: 0 !important;
    margin-top: -1rem !important;
}

/* Альтернативно: общий сброс для секций после буктрейлеров */
#for-authors {
    padding-top: 2rem; /* Вместо стандартных 5rem (py-5) */
}

/* Убирает лишний отступ, если он остался */
#booktrailers {
    padding-bottom: 2rem !important; /* Уменьшаем нижний отступ */
}

#club-example {
    padding-top: 2rem !important; /* Уменьшаем верхний отступ клуба */
}

/* Улучшение внешнего вида вкладки "Буктрейлер" */
#trailer .ratio-16x9 {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden;
}

/* Анимация появления вкладки */
.tab-pane.fade.show {
    animation: fadeIn 0.3s ease-in;
}

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

/* Фиксирует сайдбар ниже навигации */
.sidebar-fixed {
    position: sticky;
    top: 80px; /* Высота навигации + отступ */
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    z-index: 990; /* Ниже навигации (которая 1000) */
}


/* Стили для альтернативы YouTube */
.video-alternative {
    margin: 20px 0;
    text-align: center;
}

.video-alternative .alert {
    padding: 20px;
    border-radius: 8px;
}


.container-full {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
}