/*
 * Horror.Exchange - Public Site Custom Styles
 *
 * This file contains custom CSS styles for the public-facing website.
 * Add page-specific or component styles here instead of inline styles
 * or style sections in Razor pages.
 */

.home--bg:before { 
    background: none;
}

/* Accessibility - Skip to content link */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: #f9ab00;
    color: #000;
    padding: 8px 12px;
    text-decoration: none;
    z-index: 100;
    font-weight: 600;
}

.skip-to-content:focus {
    top: 0;
}

/* Add custom styles below this line */

/* Search Page Styles */
.search-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 20px;
}

.search-form__label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 13px;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.search-form__input {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    padding: 12px 15px;
    width: 100%;
    font-size: 15px;
    transition: border-color 0.2s;
}

.search-form__input:focus {
    outline: none;
    border-color: #f9ab00;
}

.search-form__input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.search-form__select {
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    padding: 12px 15px;
    width: 100%;
    font-size: 15px;
    cursor: pointer;
}

.search-form__select option {
    background-color: #1c1c20;
    color: #fff;
}

.search-form__btn {
    background: linear-gradient(90deg, #f9ab00, #e09500);
    border: none;
    border-radius: 8px;
    color: #fff;
    padding: 12px 25px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: opacity 0.2s;
}

.search-form__btn:hover {
    opacity: 0.9;
}

.search-form__btn svg {
    width: 18px;
    height: 18px;
    fill: #fff;
}

.search-form__clear {
    color: #f9ab00;
    font-size: 14px;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
}

.search-form__clear:hover {
    text-decoration: underline;
}

/* Advanced Filters Toggle Button */
.search-form__toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.7);
    padding: 10px 15px;
    font-size: 13px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s;
    white-space: nowrap;
}

.search-form__toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.search-form__toggle.active {
    background: rgba(249, 171, 0, 0.1);
    border-color: rgba(249, 171, 0, 0.3);
    color: #f9ab00;
}

.search-form__toggle .toggle-icon {
    width: 16px;
    height: 16px;
    fill: currentColor;
    transition: transform 0.2s;
}

.search-form__toggle.active .toggle-icon {
    transform: rotate(180deg);
}

/* Advanced Filters Container */
.advanced-filters {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Facet Section */
.facet-section {
    margin-bottom: 20px;
}

.facet-section:last-child {
    margin-bottom: 0;
}

.facet-section__title {
    color: #f9ab00;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(249, 171, 0, 0.2);
}

/* Smaller select variant for facets */
.search-form__select--sm {
    padding: 8px 10px;
    font-size: 13px;
}

/* Search Results Info */
.search-results-info {
    color: rgba(255, 255, 255, 0.8);
    font-size: 15px;
    margin-bottom: 20px;
}

.search-results-info strong {
    color: #f9ab00;
}

.search-time {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    margin-left: 10px;
}

/* Search Messages */
.search-message {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
}

.search-message h3 {
    color: #fff;
    font-size: 22px;
    margin-bottom: 15px;
}

.search-message p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    margin-bottom: 25px;
}

.search-message a {
    color: #f9ab00;
}

.search-message--warning {
    border-color: rgba(255, 193, 7, 0.3);
    background: rgba(255, 193, 7, 0.05);
}

.search-message--error {
    border-color: rgba(220, 53, 69, 0.3);
    background: rgba(220, 53, 69, 0.05);
}

.search-suggestions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.search-suggestion-link {
    background: rgba(249, 171, 0, 0.2);
    color: #f9ab00;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s;
}

.search-suggestion-link:hover {
    background: rgba(249, 171, 0, 0.3);
    color: #f9ab00;
}

/* Item type badge styling */
.item__list--type-movie {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    padding: 2px 8px;
    border-radius: 4px;
}

.item__list--type-book {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Matched Facets Display in Search Results */
.facet-matches {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.facet-matches__header {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #f9ab00;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.facet-matches__header svg {
    fill: currentColor;
}

.facet-matches__list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.facet-match {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 6px;
    padding: 10px 12px;
}

.facet-match__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
}

.facet-match__name {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 500;
}

.facet-match__score {
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 4px;
}

.facet-match__score--success {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
}

.facet-match__score--info {
    background: rgba(23, 162, 184, 0.2);
    color: #17a2b8;
}

.facet-match__score--warning {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.facet-match__score--danger {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
}

.facet-match__score--secondary {
    background: rgba(108, 117, 125, 0.2);
    color: #6c757d;
}

.facet-match__comment {
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    line-height: 1.5;
    font-style: italic;
}

/* Responsive adjustments for facet matches */
@media (max-width: 576px) {
    .facet-matches__list {
        gap: 6px;
    }

    .facet-match {
        padding: 8px 10px;
    }

    .facet-match__name {
        font-size: 12px;
    }

    .facet-match__comment {
        font-size: 11px;
    }
}

/* ========================================
   Affiliate Links - Where to Buy Sidebar
   ======================================== */
.where-to-buy {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-top: 25px;
}

.where-to-buy__title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.where-to-buy__list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.where-to-buy__item {
    margin-bottom: 10px;
}

.where-to-buy__item:last-child {
    margin-bottom: 0;
}

.where-to-buy__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.where-to-buy__link:hover {
    background: rgba(249, 171, 0, 0.1);
    border-color: rgba(249, 171, 0, 0.3);
    transform: translateX(3px);
}

.where-to-buy__store {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.where-to-buy__store i {
    font-size: 16px;
}

.where-to-buy__details {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
}

.where-to-buy__type {
    color: rgba(255, 255, 255, 0.5);
    font-size: 11px;
    text-transform: uppercase;
}

.where-to-buy__price {
    color: #f9ab00;
    font-size: 14px;
    font-weight: 600;
}

/* Store Badge Colors */
.store-badge--amazon { color: #ff9900; }
.store-badge--barnesnoble { color: #2d5a27; }
.store-badge--apple { color: #a2aaad; }
.store-badge--ebay { color: #e53238; }
.store-badge--microsoft { color: #00a4ef; }

/* ========================================
   Affiliate Links - Full Section
   ======================================== */
.affiliate-section {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

.affiliate-section__header {
    margin-bottom: 25px;
    text-align: center;
}

.affiliate-section__title {
    color: #333;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.affiliate-section__subtitle {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.affiliate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.affiliate-store {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
}

.affiliate-store__name {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.affiliate-store__name i {
    font-size: 20px;
}

.affiliate-products {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.affiliate-product {
    display: flex;
    gap: 15px;
    background: #fff;
    border-radius: 8px;
    padding: 15px;
    border: 1px solid #eee;
    transition: box-shadow 0.2s;
}

.affiliate-product:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.affiliate-product__image {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
    background: #f0f0f0;
}

.affiliate-product__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.affiliate-product__info {
    flex: 1;
    min-width: 0;
}

.affiliate-product__type {
    display: inline-block;
    background: rgba(249, 171, 0, 0.15);
    color: #b87a00;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 6px;
}

.affiliate-product__name {
    color: #333;
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 5px 0;
    line-height: 1.3;
}

.affiliate-product__desc {
    color: #666;
    font-size: 12px;
    margin: 0;
    line-height: 1.4;
}

.affiliate-product__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 10px;
    gap: 10px;
}

.affiliate-product__price {
    color: #28a745;
    font-size: 16px;
    font-weight: 700;
}

.affiliate-product__btn {
    display: inline-block;
    background: linear-gradient(45deg, #ff6b35, #ff8e53);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 8px 16px;
    border-radius: 6px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.affiliate-product__btn:hover {
    opacity: 0.9;
    color: #fff;
    text-decoration: none;
}

.affiliate-section__disclaimer {
    text-align: center;
    color: #999;
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

/* Responsive adjustments for affiliate section */
@media (max-width: 768px) {
    .affiliate-section {
        padding: 1.5rem;
    }

    .affiliate-grid {
        grid-template-columns: 1fr;
    }

    .affiliate-product {
        flex-direction: column;
    }

    .affiliate-product__image {
        width: 100%;
        height: 120px;
    }

    .affiliate-product__footer {
        flex-direction: column;
        align-items: stretch;
    }

    .affiliate-product__btn {
        text-align: center;
    }
}

/* ========================================
   Movie Review Page Styles
   ======================================== */
.movie-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.movie-poster {
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 300px;
}

.rating-badge {
    background: linear-gradient(45deg, #ff6b35, #ff8e53);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.meta-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin: 0.2rem;
    display: inline-block;
}

.movie-facet-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.movie-facet-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.movie-facet-title {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.star-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.star {
    width: 18px;
    height: 18px;
    fill: #ffd700;
}

.star.empty {
    fill: #ddd;
}

.score-text {
    margin-left: 0.5rem;
    font-weight: 600;
    color: #666;
}

.review-content {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border: 1px solid #eee;
}

.movie-section-title {
    color: #333;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.movie-section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #ff6b35, #ff8e53);
    border-radius: 2px;
}

.movie-title {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.movie-subtitle {
    color: rgba(255,255,255,0.8);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.trailer-section {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.trailer-title {
    color: #fff;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
}

.trailer-container {
    position: relative;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    background: #000;
    border-radius: 8px;
    overflow: hidden;
}

.trailer-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.cover-image-section {
    margin: 2rem 0;
    text-align: center;
}

.cover-image {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* External Links Section */
.external-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.external-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.external-link:hover {
    text-decoration: none;
    transform: translateY(-2px);
}

.external-link--imdb {
    background: rgba(245, 197, 24, 0.15);
    border: 1px solid rgba(245, 197, 24, 0.4);
    color: #f5c518;
}

.external-link--imdb:hover {
    background: rgba(245, 197, 24, 0.25);
    color: #f5c518;
}

.external-link--tmdb {
    background: rgba(1, 180, 228, 0.15);
    border: 1px solid rgba(1, 180, 228, 0.4);
    color: #01b4e4;
}

.external-link--tmdb:hover {
    background: rgba(1, 180, 228, 0.25);
    color: #01b4e4;
}

.external-link--tvdb {
    background: rgba(83, 167, 83, 0.15);
    border: 1px solid rgba(83, 167, 83, 0.4);
    color: #53a753;
}

.external-link--tvdb:hover {
    background: rgba(83, 167, 83, 0.25);
    color: #53a753;
}

.external-link i {
    font-size: 16px;
}

/* Cast Section */
.cast-section {
    margin-top: 25px;
}

.cast-title {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cast-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.cast-member {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    transition: all 0.2s;
}

.cast-member:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
}

/* Production Company */
.production-info {
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.production-info__label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 12px;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.production-info__value {
    color: rgba(255, 255, 255, 0.8);
}

/* Movie Page Responsive Adjustments */
@media (max-width: 768px) {
    .movie-title {
        font-size: 2rem;
    }

    .movie-hero {
        padding: 2rem 0;
    }

    .review-content {
        padding: 1.5rem;
    }

    .trailer-section {
        padding: 1.5rem;
    }

    .external-links {
        justify-content: center;
    }

    .cast-list {
        justify-content: center;
    }
}

/* ========================================
   404 Not Found Page Styles
   ======================================== */
.page-404__subtext {
    color: rgba(255, 255, 255, 0.6);
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 30px;
}

.page-404__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.page-404__btn--secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.page-404__btn--secondary:hover {
    border-color: #f9ab00;
    background: rgba(249, 171, 0, 0.1);
}

/* 404 Page Responsive Adjustments */
@media (max-width: 576px) {
    .page-404__actions {
        flex-direction: column;
        align-items: center;
    }

    .page-404__btn {
        width: 100%;
        max-width: 250px;
        text-align: center;
    }
}

/* ========================================
   Subscribe Page
   ======================================== */
.subscribe-page {
    max-width: 560px;
    margin: 0 auto;
    padding: 3rem 0 4rem;
    text-align: center;
}

.subscribe-page__header {
    margin-bottom: 2.5rem;
}

.subscribe-page__title {
    color: #fff;
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.subscribe-page__subtitle {
    color: rgba(255, 255, 255, 0.65);
    font-size: 1.05rem;
    line-height: 1.6;
    margin: 0;
}

.subscribe-page__form-container {
    margin-bottom: 1.25rem;
}

.subscribe-page__disclaimer {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
    margin: 0;
}

@media (max-width: 576px) {
    .subscribe-page__title {
        font-size: 1.75rem;
    }
}

/* ========================================
   Newsletter CTA Bar (Layout)
   ======================================== */
.newsletter-cta {
    background: rgba(255, 255, 255, 0.04);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
}

.newsletter-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.newsletter-cta__text {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.newsletter-cta__text strong {
    color: #fff;
    font-size: 15px;
}

.newsletter-cta__text span {
    color: rgba(255, 255, 255, 0.55);
    font-size: 14px;
}

.newsletter-cta__btn {
    display: inline-block;
    background: #dc143c;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 22px;
    border-radius: 6px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s;
    flex-shrink: 0;
}

.newsletter-cta__btn:hover {
    background: #b01030;
    color: #fff;
    text-decoration: none;
}

/* Subscribe link in header nav */
.header__nav-link--subscribe {
    color: #dc143c !important;
    font-weight: 600;
}

.header__nav-link--subscribe:hover {
    color: #ff4060 !important;
}

@media (max-width: 768px) {
    .newsletter-cta__inner {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-cta__text {
        justify-content: center;
        flex-direction: column;
        gap: 4px;
    }
}

/* ================================================
   About Page
   ================================================ */
.about-block {
    margin-bottom: 3rem;
}

.about-process {
    margin-top: 1.5rem;
}

.about-process__step {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    transition: border-color 0.2s;
}

.about-process__step:hover {
    border-color: rgba(249, 171, 0, 0.3);
}

.about-process__number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #f9ab00, #e09500);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.about-process__content h3 {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.about-process__content p {
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 0;
    line-height: 1.6;
}

.about-reviewer {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.about-reviewer__photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 1rem;
    border: 3px solid rgba(249, 171, 0, 0.4);
}

.about-reviewer__name {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.about-reviewer__role {
    display: inline-block;
    color: #f9ab00;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.about-reviewer__bio {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.7;
    font-size: 0.95rem;
}

.about-feature {
    padding: 1.25rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    height: 100%;
}

.about-feature h3 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.about-feature p {
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.6;
    margin-bottom: 0;
}

.about-block--cta {
    text-align: center;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
}

/* ================================================
   Privacy Policy & Terms of Use Pages
   ================================================ */
.legal-content {
    background: #fff;
    border-radius: 12px;
    padding: 2.5rem;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.legal-title {
    color: #333;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
    padding-bottom: 1rem;
}

.legal-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(45deg, #ff6b35, #ff8e53);
    border-radius: 2px;
}

.legal-section-title {
    color: #333;
    font-size: 1.5rem;
    font-weight: 600;
    margin: 2rem 0 1rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f5f5f5;
}

.legal-text {
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.legal-contact-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid #ff6b35;
}

.legal-disclaimer-box {
    background: #fff8f0;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 2rem 0;
    border-left: 4px solid #ff8e53;
    border: 1px solid #ffe4cc;
}

.legal-last-updated {
    text-align: center;
    color: #888;
    font-style: italic;
    margin-bottom: 2rem;
}

.legal-list {
    padding-left: 1.5rem;
    margin-bottom: 1rem;
}

.legal-list li {
    margin-bottom: 0.5rem;
    color: #555;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .legal-content {
        padding: 1.5rem;
        margin: 1rem;
    }

    .legal-title {
        font-size: 2rem;
    }
}

/* ================================================
   Error Page
   ================================================ */
.error-page {
    text-align: center;
    padding: 4rem 1rem;
}

.error-page__code {
    font-size: 6rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.15);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-page__title {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.error-page__text {
    color: rgba(255, 255, 255, 0.6);
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.error-page__actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================================
   Cookie Consent Banner
   ================================================ */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #1c1c20;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem 0;
    z-index: 9999;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
    display: none;
}

.cookie-consent.show {
    display: block;
}

.cookie-consent__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-consent__text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
    line-height: 1.5;
    flex: 1;
    min-width: 250px;
}

.cookie-consent__text a {
    color: #f9ab00;
    text-decoration: underline;
}

.cookie-consent__actions {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

.cookie-consent__btn {
    padding: 0.5rem 1.25rem;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s;
}

.cookie-consent__btn:hover {
    opacity: 0.9;
}

.cookie-consent__btn--accept {
    background: #f9ab00;
    color: #000;
}

.cookie-consent__btn--decline {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.7);
}

@media (max-width: 768px) {
    .cookie-consent__inner {
        flex-direction: column;
        text-align: center;
    }

    .cookie-consent__actions {
        width: 100%;
        justify-content: center;
    }
}

/* ================================================
   Cover Image Normalization
   Ensures all cover images have identical heights regardless of source
   aspect ratio. Images are centered and cropped (never stretched).
   ================================================ */

/* Base: all cover containers clip overflow and fill their img */
.item__cover {
    height: 260px;
}

.item__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

/* List items — heights mirror the existing content heights in main.css */
@media (min-width: 576px) {
    .item--list .item__cover {
        height: 234px; /* matches ~2:3 portrait ratio at 156px width */
    }
}

@media (min-width: 768px) {
    .item--list .item__cover {
        height: 306px; /* matches existing .item--list .item__content height */
    }
}

@media (min-width: 1200px) {
    .item--list .item__cover {
        height: 236px; /* matches existing .item--list .item__content height */
    }
}

@media (min-width: 1400px) {
    .item--list .item__cover {
        height: 278px; /* matches existing .item--list .item__content height */
    }
}

/* Home carousel — fluid width, lock to portrait 2:3 ratio */
.item--big .item__cover {
    height: auto;
    aspect-ratio: 2 / 3;
}

/* ================================================
   List Item — Title visibility fix
   item__content is a fixed-height flex column. When item__category wraps
   (e.g. a long developer name), flex-shrink collapses item__title to ~0.
   Pinning flex-shrink: 0 + min-height guarantees the title is always shown.
   ================================================ */
.item--list .item__title {
    flex-shrink: 0;
    min-height: 32px; /* matches main.css line-height for .item--list .item__title */
}

/* ================================================
   Audit Fixes — 2026-06
   ================================================ */

/* 1. Page-title header band
   Removes the FlixGo stock placeholder image (1920x1280) and makes
   the header a consistent flat dark band across all list/content pages.
   The data-bg attribute has been removed from all section--first elements,
   so main.js will no longer inject any inline background. This rule
   guarantees the band is intentionally dark even if JS runs on an old cache. */
.section--first {
    background-color: #16151a !important;
    background-image: none !important;
}

/* 2. section__btn CTA button
   The template requires the label inside a <span> for color+z-index (z-index:2
   to sit above the :before gradient overlay at z-index:1).
   - Always ensure button text is white.
   - Safety net via :has(): if a <span> is absent, hide the ::before overlay so
     bare text (in normal flow) is visible on the base gradient background.
     This fires only for mis-authored buttons; proper buttons with <span> are unaffected
     and retain the full hover animation. (:has() is supported in all 2024+ browsers.) */
.section__btn {
    color: #fff;
}
.section__btn:not(:has(span))::before {
    opacity: 0;
}
.section__btn span {
    position: relative;
    z-index: 2;
    color: #fff;
}

/* 3. Contact form card
   Replaces the removed inline style (background, padding, border-radius).
   The dashed debug border is intentionally omitted.
   The !important on border overrides the existing inline style during the
   transition period before the server restarts and picks up the Razor change. */
.contact-form-card {
    background: #28282d;
    padding: 2rem;
    border-radius: 10px;
}
.sign__form--contacts {
    border: none !important;
}

/* 4. Contact page — address/info text legibility
   The .contacts__list items inherit dark theme text that is barely legible.
   Lighten to a readable muted tone. */
.contacts__list li,
.contacts__list li strong {
    color: #b0b0b8;
}
.contacts__list li strong {
    color: #d8d8e0;
    font-weight: 600;
}

/* 5. Trailer embed
   Constrain the embed so it never becomes a full-page-width black void.
   The col-lg-8/mx-auto Bootstrap wrapper in the Razor template handles centering;
   the .trailer-embed class (added in Review.cshtml) adds rounded corners + backing.
   CSS-only fallbacks below also constrain/style any .ratio-16x9 directly under
   .py-5.bg-dark for the period before the server restarts. */
.trailer-embed {
    background: #0d0d0f;
    border-radius: 8px;
    overflow: hidden;
}

/* CSS-only width constraint: works before server restart picks up the Razor change */
.py-5.bg-dark .container > .ratio.ratio-16x9 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    background: #0d0d0f;
    border-radius: 8px;
    overflow: hidden;
}

/* Ensure "Official Trailer" heading is white against the bg-dark section */
.py-5.bg-dark h2 {
    color: #fff;
}

/* 6. Home page sub-label ("Movies, Books & Games")
   home__text has no rule in main.css; it inherits the dark page color
   which is near-invisible. Lighten to a legible muted tone. */
.home__text {
    color: rgba(255, 255, 255, 0.55);
}

/* 7. Login page (migrated from inline styles in Pages/Login.cshtml) */
.login-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
    padding: 20px;
}

.login-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 40px;
    max-width: 400px;
    width: 100%;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-title {
    color: #ffffff;
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 10px;
}

.login-subtitle {
    color: #cccccc;
    font-size: 14px;
}

.firebase-btn {
    width: 100%;
    background: #4285f4;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.firebase-btn:hover {
    background: #3367d6;
    transform: translateY(-2px);
}

.firebase-btn:disabled {
    background: #666;
    cursor: not-allowed;
    transform: none;
}

.loading-spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.error-message {
    background: rgba(255, 107, 107, 0.1);
    border: 1px solid rgba(255, 107, 107, 0.3);
    color: #ff6b6b;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
    text-align: center;
}

.back-link {
    text-align: center;
    margin-top: 20px;
}

.back-link a {
    color: #cccccc;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.back-link a:hover {
    color: #ffffff;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #e0e0e0;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 15px;
    color: #ffffff;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.08);
    border-color: #4285f4;
    box-shadow: 0 0 0 2px rgba(66, 133, 244, 0.2);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
}

.remember-me input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
    accent-color: #4285f4;
}

.remember-me label {
    margin: 0;
    cursor: pointer;
    user-select: none;
    color: #cccccc;
    font-size: 14px;
}

/* 8. Book review page (migrated from inline styles in Pages/Books/Review.cshtml) */
.book-hero {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    padding: 4rem 0;
    margin-bottom: 2rem;
}

.book-cover {
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 300px;
}

.rating-badge {
    background: linear-gradient(45deg, #ff6b35, #ff8e53);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-size: 1.5rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.meta-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin: 0.2rem;
    display: inline-block;
}

.facet-card {
    background: #fff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #eee;
}

.facet-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.facet-title {
    color: #333;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.star-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.75rem;
}

.star {
    width: 18px;
    height: 18px;
    fill: #ffd700;
}

.star.empty {
    fill: #ddd;
}

.score-text {
    margin-left: 0.5rem;
    font-weight: 600;
    color: #666;
}

.review-content {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #eee;
}

.section-title {
    color: #333;
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(45deg, #ff6b35, #ff8e53);
    border-radius: 2px;
}

.book-title {
    color: #fff;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.book-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (max-width: 768px) {
    .book-title {
        font-size: 2rem;
    }

    .book-hero {
        padding: 2rem 0;
    }

    .review-content {
        padding: 1.5rem;
    }
}
