/* =========================================
   GLOBAL VARIABLES & STYLES
   ========================================= */
:root {
    --slider-height-desktop: 70vh;
    --slider-height-mobile: 70vh;
    --overlay-gradient: linear-gradient(0deg, var(--bg-color) 5%, rgba(0, 0, 0, 0.8) 35%, rgba(0, 0, 0, 0.1) 100%);
    --primary-rgb: 56, 189, 248;
    /* Default Skyblue primary */
    --bg-secondary-rgb: 30, 41, 59;
}

/* =========================================
   HORIZONTAL SCROLL SLIDER (Newest Movies)
   ========================================= */
.media-scroller {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 18%;
    /* Default for Desktop */
    gap: 1.5rem;
    overflow-x: auto;
    overflow-y: hidden;
    /* Fix vertical scroll on hover */
    overscroll-behavior-inline: contain;
    padding-bottom: 2rem;
    /* Space for scrollbar/shadow */
    padding-top: 1rem;
    padding-left: 10px;
    /* Visual padding */
    padding-right: 10px;
    scroll-snap-type: inline mandatory;
    /* SCROLLBAR STYLING - ENABLED */
    scrollbar-color: var(--primary-color) var(--bg-secondary-color);
    scrollbar-width: auto;
}

.media-scroller::-webkit-scrollbar {
    height: 8px;
    display: block;
}

.media-scroller::-webkit-scrollbar-track {
    background: var(--bg-secondary-color);
    border-radius: 4px;
}

.media-scroller::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.media-scroller::-webkit-scrollbar-thumb:hover {
    background: #b30000;
}

.scroller-wrapper {
    position: relative;
    margin: 0 -10px;
}

.scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
}

.scroller-wrapper:hover .scroll-btn {
    opacity: 1;
    visibility: visible;
}

.scroll-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(var(--primary-rgb), 0.4);
}

.scroll-btn.prev {
    left: 15px;
}

.scroll-btn.next {
    right: 15px;
}

/* --- Cool Hover Scroll Animations --- */
@keyframes btn-pulse {
    0% {
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.4);
    }

    50% {
        transform: translateY(-50%) scale(1.3);
        box-shadow: 0 0 30px rgba(var(--primary-rgb), 0.7);
        border-color: rgba(255, 255, 255, 0.8);
    }

    100% {
        transform: translateY(-50%) scale(1.1);
        box-shadow: 0 0 15px rgba(var(--primary-rgb), 0.4);
    }
}

.scroll-btn.scrolling-active {
    animation: btn-pulse 0.8s infinite ease-in-out;
    background: var(--primary-color) !important;
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 20;
}

@media (max-width: 991px) {
    .scroll-btn {
        opacity: 1;
        visibility: visible;
        width: 35px;
        height: 35px;
        background: rgba(0, 0, 0, 0.4);
    }

    .scroll-btn.prev {
        left: 5px;
    }

    .scroll-btn.next {
        right: 5px;
    }

    .media-scroller {
        padding-bottom: 1rem;
    }
}

/* Custom Scrollbar for Chrome/Safari/Edge */
.media-scroller::-webkit-scrollbar {
    height: 24px;
}

.media-scroller::-webkit-scrollbar-track {
    background: var(--bg-secondary-color);
    border-radius: 4px;
}

.media-scroller::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.media-scroller::-webkit-scrollbar-thumb:hover {
    background: #b30000;
    /* Darker shade on hover */
}

.media-element {
    scroll-snap-align: start;
}

/* Responsive Column Widths */
@media (max-width: 1400px) {
    .media-scroller {
        grid-auto-columns: 22%;
    }
}

@media (max-width: 991px) {
    .media-scroller {
        grid-auto-columns: 30%;
        gap: 1rem;
    }
}

@media (max-width: 767px) {
    .media-scroller {
        grid-auto-columns: 45%;
        gap: 0.75rem;
    }
}

@media (max-width: 480px) {
    .media-scroller {
        grid-auto-columns: 55%;
    }
}

.section-title {
    color: var(--text-color);
    border-right: 4px solid var(--primary-color);
    padding-right: 15px;
    font-weight: 700;
}

.view-all-link {
    color: var(--text-muted-color);
    text-decoration: none;
    transition: color 0.2s ease;
}

.view-all-link:hover {
    color: var(--primary-color);
}

/* =========================================
   MODERN HERO CAROUSEL STYLES
   ========================================= */
.hero-slider-container {
    position: relative;
    margin-top: 85px;
    /* Remove header gap if transparent header, otherwise adjust */
    overflow: hidden;
    border-bottom: 1px solid var(--border-color);
}

.carousel-item {
    height: var(--slider-height-desktop);
    background-color: var(--bg-color);
    overflow: hidden;
}

/* The Image Itself */
.hero-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Crucial for Mobile: Focuses on top center where faces usually are */
    object-position: center 20%;
    z-index: 1;
    opacity: 0.9;
    /* "Ken Burns" Zoom Effect */
    animation: zoomEffect 20s infinite alternate;
}

@keyframes zoomEffect {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

/* Gradient Overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-gradient);
    z-index: 2;
}

/* Content Styling */
.hero-content {
    position: absolute;
    bottom: 15%;
    left: 0;
    right: 0;
    z-index: 3;
    padding: 0 5%;
    text-align: right;
    /* RTL alignment */
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    margin-bottom: 0.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease-out forwards 0.3s;
}

.hero-meta {
    display: flex;
    gap: 15px;
    align-items: center;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeUp 0.8s ease-out forwards 0.5s;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 5px 12px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.hero-desc {
    font-size: 1.1rem;
    color: #e0e0e0;
    max-width: 700px;
    margin-bottom: 2rem;
    line-height: 1.6;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0;
    animation: fadeUp 0.8s ease-out forwards 0.7s;
}

.btn-hero-cta {
    background-color: var(--primary-color);
    color: white;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.4);
    /* Assuming you might add rgb vars later, else defaults */
    opacity: 0;
    animation: fadeUp 0.8s ease-out forwards 0.9s;
}

.btn-hero-cta:hover {
    background-color: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

/* Animation Keyframes */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Indicators (Dots) */
.custom-indicators {
    bottom: 30px;
}

.custom-indicators button {
    width: 10px !important;
    height: 10px !important;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.5) !important;
    background-color: transparent !important;
    opacity: 1 !important;
    margin: 0 6px !important;
    transition: all 0.3s ease;
}

.custom-indicators button.active {
    background-color: var(--primary-color) !important;
    border-color: var(--primary-color) !important;
    transform: scale(1.3);
}

/* Navigation Arrows */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 0;
    transition: opacity 0.3s;
}

.hero-slider-container:hover .carousel-control-prev,
.hero-slider-container:hover .carousel-control-next {
    opacity: 0.8;
}

.nav-arrow-box {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* =========================================
   RESPONSIVE BREAKPOINTS (SM, MD, LG, XL)
   ========================================= */

/* MD: Tablet (768px - 991px) */
@media (max-width: 991px) {
    .custom-indicators {
        bottom: 20px !important;
    }

    .carousel-control-prev,
    .carousel-control-next {
        display: none !important;
    }

    .hero-title {
        font-size: 2.2rem;
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.9);
        margin-bottom: 0.5rem;
    }

    .hero-slider-container {
        margin-top: 65px;
    }

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

    .hero-desc {
        display: -webkit-box;
        font-size: 1rem;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        margin-bottom: 1rem;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
    }

    .hero-meta {
        margin-bottom: 0.75rem;
        gap: 10px;
    }

    .hero-badge {
        padding: 4px 10px;
        font-size: 0.85rem;
    }

    .btn-hero-cta {
        width: auto;
        display: inline-block;
        padding: 8px 25px;
        font-size: 1rem;
    }
}

/* SM: Mobile Landscape / Large Phone (576px - 767px) */
@media (max-width: 767px) {
    .carousel-item {
        height: auto;
        aspect-ratio: 16/9;
    }

    .hero-bg-image {
        object-fit: contain;
        object-position: center center;
        opacity: 1;
    }

    .hero-overlay {
        background: linear-gradient(0deg, transparent 0%, rgba(0, 0, 0, 0.3) 25%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.1) 100%);
    }

    .custom-indicators {
        bottom: 15px !important;
    }

    .hero-content {
        bottom: 35px;
        padding: 0 25px;
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.35rem;
    }

    .hero-desc {
        font-size: 0.85rem;
        -webkit-line-clamp: 2;
        line-clamp: 2;
        margin-bottom: 0.75rem;
    }

    .btn-hero-cta {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
}

/* XS: Small Mobile / Portrait (< 576px) */
@media (max-width: 575px) {
    .custom-indicators {
        bottom: 5px !important;
    }

    .hero-content {
        bottom: 25px;
        padding: 0 15px;
    }

    .hero-title {
        font-size: 1.1rem;
        margin-bottom: 0.25rem;
    }

    .hero-desc {
        font-size: 0.75rem;
        margin-bottom: 0.5rem;
    }

    .hero-badge {
        padding: 2px 6px;
        font-size: 0.65rem;
    }

    .btn-hero-cta {
        padding: 5px 10px;
        font-size: 0.8rem;
    }
}

/* =========================================
   EXISTING CARD & MODAL STYLES (PRESERVED)
   ========================================= */
.movie-card {
    background-color: var(--bg-secondary-color);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
    height: 100%;
}

.movie-card:hover {
    transform: scale(1.05);
    box-shadow: var(--card-shadow);
    border-color: var(--primary-color);
}

/* New Trending Info Styles */
.trending-info {
    font-size: 0.8rem;
    margin-top: 8px;
    /* Slightly more gap */
    display: flex;
    align-items: center;
    gap: 6px;
}

.view-count {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.2) 0%, rgba(139, 0, 0, 0.1) 100%);
    color: #ff4d4d;
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(220, 53, 69, 0.2);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.1);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.movie-card:hover .view-count {
    transform: translateY(-2px) scale(1.05);
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.3) 0%, rgba(139, 0, 0, 0.2) 100%);
    box-shadow: 0 6px 15px rgba(220, 53, 69, 0.3);
    border-color: rgba(220, 53, 69, 0.4);
}

.view-count i {
    animation: fire-pulse 1.5s infinite alternate;
    filter: drop-shadow(0 0 3px rgba(255, 77, 77, 0.6));
}

@keyframes fire-pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 2px rgba(255, 77, 77, 0.4));
    }

    100% {
        transform: scale(1.2) rotate(5deg);
        filter: drop-shadow(0 0 6px rgba(255, 77, 77, 0.8));
    }
}

[data-theme="skyblue"] .view-count {
    background: linear-gradient(135deg, rgba(56, 189, 248, 0.2) 0%, rgba(14, 165, 233, 0.1) 100%);
    color: #38bdf8;
    border-color: rgba(56, 189, 248, 0.2);
    box-shadow: 0 4px 12px rgba(56, 189, 248, 0.1);
}

[data-theme="skyblue"] .view-count i {
    filter: drop-shadow(0 0 3px rgba(56, 189, 248, 0.6));
}

@keyframes sky-pulse {
    0% {
        transform: scale(1);
        filter: drop-shadow(0 0 2px rgba(56, 189, 248, 0.4));
    }

    100% {
        transform: scale(1.2) rotate(5deg);
        filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.8));
    }
}

[data-theme="skyblue"] .view-count i {
    animation-name: sky-pulse;
}

[data-theme="emerald"] .view-count {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(184, 134, 11, 0.1) 100%);
    color: #D4AF37;
    border-color: rgba(212, 175, 55, 0.2);
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.1);
}

.movie-card .card-body {
    text-align: right;
}

.movie-card .card-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.movie-card .card-text {
    font-size: 0.85rem;
    color: var(--text-muted-color);
}

.series-card .card-body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.series-card img {
    height: 100%;
    object-fit: cover;
}

/* Card Actions overlay */
.card-actions {
    position: absolute;
    top: 10px;
    right: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(10px);
    transition: all 0.3s ease;
    z-index: 5;
}

.movie-card:hover .card-actions,
.movie-card .card-actions.has-active {
    opacity: 1;
    transform: translateX(0);
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.action-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: scale(1.1);
}

.action-btn.active.watched {
    background: #21ad56;
    border-color: #21ad56;
    color: white;
}

.action-btn.active.watchlist {
    background: #ed2024;
    border-color: #ed2024;
    color: white;
}

.status-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: #ddd;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.status-icon:hover {
    transform: translateY(-2px);
    filter: brightness(1.2);
}

.status-active-watched {
    background: linear-gradient(135deg, #21ad56 0%, #148c3c 100%);
    color: #fff;
    border-color: #21ad56;
    box-shadow: 0 4px 10px rgba(33, 173, 86, 0.4);
}

.status-active-watchlist {
    background: linear-gradient(135deg, #ed2024 0%, #be1a1e 100%);
    color: #fff;
    border-color: #ed2024;
    box-shadow: 0 4px 10px rgba(237, 32, 36, 0.4);
}

.card-footer {
    background-color: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.75rem 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    min-height: 54px;
    backdrop-filter: blur(5px);
}

.card-footer .watchlist-badge,
.card-footer .seen-badge {
    margin: 0;
}

/* Modal Styles */
#movieInfoModal #modalMoviePoster {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#movieInfoModal .modal-content,
#tvShowInfoModal .modal-content,
#movieSeriesInfoModal .modal-content {
    background-color: var(--bg-secondary-color);
    border: 1px solid var(--border-color);
    color: var(--text-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

#movieInfoModal .btn-close,
#tvShowInfoModal .btn-close,
#movieSeriesInfoModal .btn-close {
    filter: var(--btn-close-filter);
}

#movieInfoModal .text-muted,
#tvShowInfoModal .text-muted,
#movieSeriesInfoModal .text-muted {
    color: var(--text-muted-color) !important;
}

.series-collection-card {
    position: relative;
    display: flex;
    align-items: flex-end;
    aspect-ratio: 16/9;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--bg-secondary-color);
    border-radius: 12px;
    overflow: hidden;
    color: #fff;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.series-collection-card:hover {
    transform: scale(1.04);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    color: #fff;
}

.series-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 70%, rgba(0, 0, 0, 0.9) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.25rem;
    transition: background 0.3s ease;
}

.series-collection-card:hover .series-card-overlay {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.95) 100%);
}

.series-card-overlay h2 {
    font-weight: 700;
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.8);
}

@media (max-width: 767.98px) {

    #movieInfoModal .modal-body,
    #tvShowInfoModal .modal-body,
    #movieSeriesInfoModal .modal-body {
        height: auto;
    }

    #movieInfoModal .row,
    #tvShowInfoModal .row,
    #movieSeriesInfoModal .row {
        flex-direction: column;
    }

    #movieInfoModal .col-md-4,
    #tvShowInfoModal .col-md-4 {
        display: none;
    }

    #movieSeriesInfoModal .col-md-4 {
        display: block;
        width: 100% !important;
        flex: 0 0 100% !important;
        max-height: 250px;
        overflow: hidden;
    }

    #movieSeriesInfoModal .col-md-4 img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 0;
    }

    #movieInfoModal .col-md-8,
    #tvShowInfoModal .col-md-8,
    #movieSeriesInfoModal .col-md-8 {
        width: 100% !important;
        flex: 0 0 100% !important;
    }

    #movieInfoModal .col-md-8>div::before,
    #tvShowInfoModal .col-md-8>div::before {
        content: '';
        display: block;
        width: 150px;
        height: 225px;
        margin: 0 auto 1.5rem auto;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
        background-image: var(--poster-url);
        background-size: cover;
        background-position: center;
    }

    #movieSeriesInfoModal .col-md-8>div::before {
        display: none;
    }

    #movieInfoModal .col-md-8>div,
    #tvShowInfoModal .col-md-8>div,
    #movieSeriesInfoModal .col-md-8>div {
        padding: 1.5rem;
        text-align: center;
    }

    #movieInfoModal .d-flex.align-items-center,
    #tvShowInfoModal .d-flex.align-items-center,
    #movieSeriesInfoModal .d-flex.align-items-center {
        justify-content: center;
    }

    #movieInfoModal h2,
    #tvShowInfoModal h2,
    #movieSeriesInfoModal h2 {
        font-size: 1.5rem;
    }
}

/* =========================================
   GUEST REMINDER SECTION STYLES
   ========================================= */
.guest-reminder-section {
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary-color) 15%, transparent) 0%, var(--bg-secondary-color) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    margin-top: 2rem;
    margin-bottom: 50px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.guest-reminder-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, color-mix(in srgb, var(--primary-color) 20%, transparent) 0%, transparent 70%);
    opacity: 0.6;
    z-index: 0;
    animation: rotateGradient 15s linear infinite;
}

@keyframes rotateGradient {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.reminder-content {
    position: relative;
    z-index: 1;
    max-width: 60%;
}

.reminder-content h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(90deg, #fff, var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.reminder-content p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 0;
}

.reminder-actions {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 15px;
    flex-shrink: 0;
}

.btn-reminder {
    padding: 12px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-reminder-primary {
    background: var(--primary-color);
    color: #fff;
    border: none;
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

.btn-reminder-primary:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(var(--primary-rgb), 0.5);
    color: #fff;
}

.btn-reminder-outline {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.btn-reminder-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

@media (max-width: 991px) {
    .guest-reminder-section {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .reminder-content {
        max-width: 100%;
    }

    .reminder-content h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 576px) {
    .reminder-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-reminder {
        width: 100%;
        justify-content: center;
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .guest-reminder-modal-content {
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .guest-reminder-modal-content .guest-reminder-section {
        border-radius: 20px;
        border: 1px solid rgba(255, 255, 255, 0.1);
        padding: 30px 20px;
    }

    #guestReminderModal .reminder-content h2 {
        font-size: 1.4rem;
    }

    #guestReminderModal .reminder-content p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .reminder-visual-badge {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
        margin-bottom: 15px;
    }
}

/* =========================================
   "COOL" ENHANCEMENTS FOR REMINDER MODAL
   ========================================= */
#guestReminderModal .modal-dialog {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#guestReminderModal.show .modal-dialog {
    animation: modalBounceIn 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalBounceIn {
    0% {
        transform: scale(0.8) translateY(50px);
        opacity: 0;
    }

    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.reminder-visual-badge {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), #fff);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--bg-color);
    box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.5);
    margin-bottom: 25px;
    position: relative;
    animation: floatIcon 3s ease-in-out infinite;
}

.reminder-visual-badge::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.3);
    animation: rotateDashed 10s linear infinite;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(5deg);
    }
}

@keyframes rotateDashed {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.btn-reminder-primary.glowing {
    animation: pulseGlow 2s infinite;
    position: relative;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0.7);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(var(--primary-rgb), 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(var(--primary-rgb), 0);
    }
}

#guestReminderModal .guest-reminder-section {
    flex-direction: column;
    text-align: center;
    padding: 50px 30px;
    border: 2px solid rgba(var(--primary-rgb), 0.2);
}

#guestReminderModal .reminder-content {
    max-width: 100%;
    margin-bottom: 30px;
}

#guestReminderModal .reminder-content h2 {
    font-size: 2.5rem;
    letter-spacing: -1px;
}

#guestReminderModal .reminder-actions {
    width: 100%;
    justify-content: center;
    gap: 20px;
}

/* =========================================
   TRANSLATOR SHOWCASE PREMIUM (V2)
   ========================================= */
.translator-premium-card {
    background: rgba(var(--bg-secondary-rgb), 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 28px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.translator-premium-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.premium-header {
    position: absolute;
    top: 20px;
    right: 20px;
}

.badge-featured {
    background: linear-gradient(90deg, var(--primary-color), #818cf8);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.3);
}

.avatar-glow {
    position: relative;
    display: inline-block;
    padding: 8px;
    border-radius: 50%;
    background: linear-gradient(45deg, rgba(var(--primary-rgb), 0.3), transparent);
    margin-bottom: 5px;
}

.premium-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--bg-color);
    position: relative;
    z-index: 1;
}

.premium-name {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: white;
}

.premium-tagline {
    color: var(--text-muted-color);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.premium-stats .stat-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px 18px;
    border-radius: 18px;
    min-width: 80px;
    transition: all 0.3s ease;
}

.premium-stats .stat-item:hover {
    background: rgba(var(--primary-rgb), 0.1);
    transform: scale(1.05);
}

.stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted-color);
}

.btn-premium-profile {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 15px;
    padding: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-premium-profile:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    box-shadow: 0 10px 20px rgba(var(--primary-rgb), 0.3);
}

/* Tabs & Filtering */
.showcase-tabs .nav-link {
    color: var(--text-muted-color);
    border: none;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    margin-left: 8px;
    transition: all 0.3s ease;
}

.showcase-tabs .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.showcase-tabs .nav-link.active {
    background: var(--primary-color) !important;
    color: white !important;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.4);
}

/* Premium Work Card */
.premium-work-card {
    background: transparent !important;
    border: none !important;
    transition: transform 0.3s ease;
}

.card-img-wrapper {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    aspect-ratio: 2/3;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.premium-work-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.premium-work-card:hover .card-overlay {
    opacity: 1;
}

.play-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    transform: scale(0.5);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.premium-work-card:hover .play-icon {
    transform: scale(1);
}

.item-type-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    color: white;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 8px;
    text-transform: uppercase;
}

.rating-small {
    font-size: 0.75rem;
    color: var(--text-muted-color);
}

.showcase-item {
    transition: all 0.4s ease;
}

.showcase-item.hidden {
    display: none !important;
}

@media (max-width: 991px) {
    .translator-premium-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .premium-name {
        font-size: 1.8rem;
    }
}
