/* CSS Variables for unifying colors and theme */
:root {
    --bg-color: #0e0e0e;
    --primary-color: #E50914;
    /* Netflix Red */
    --primary-hover: #b80710;
    --text-main: #f5f5f5;
    --text-muted: #a3a3a3;
    --card-bg: rgba(30, 30, 30, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-family: 'Outfit', sans-serif;
    --transition-speed: 0.3s;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-family);
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9), transparent);
    transition: background var(--transition-speed);
}

.navbar.scrolled {
    background: rgba(14, 14, 14, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    transition: color var(--transition-speed);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-btn {
    background-color: transparent;
    color: var(--text-main);
    border: 1px solid var(--primary-color);
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-family: var(--font-family);
    font-weight: 600;
    transition: all var(--transition-speed);
}

.nav-btn:hover {
    background-color: var(--primary-color);
}

.auth-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.user-profile.hidden {
    display: none;
}

/* Dropdown CSS */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown>a {
    display: flex;
    align-items: center;
    gap: 5px;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 150px;
    background: rgba(14, 14, 14, 0.98);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    padding: 10px 0;
    z-index: 2000;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    font-size: 15px;
    transition: background 0.3s;
    color: var(--text-main);
}

.dropdown-menu li a:hover {
    background: rgba(229, 9, 20, 0.2);
    color: white;
}

/* Mobile Dropdown CSS */
.mobile-dropdown-menu {
    list-style: none;
    padding-left: 30px;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mobile-dropdown-menu.hidden {
    display: none !important;
}

.mobile-dropdown-menu li a {
    font-size: 16px;
    color: var(--text-muted);
}

/* Global Hidden Utility */
.hidden {
    display: none !important;
}

#user-avatar {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
}

/* Base Buttons */
.btn {
    padding: 12px 24px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-family);
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn i {
    margin-right: 8px;
}

.btn:active {
    transform: scale(0.95);
}

.primary-btn {
    background-color: var(--primary-color);
    color: white;
}

.primary-btn:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

.secondary-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: white;
    backdrop-filter: blur(5px);
}

.secondary-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Hamburger & Mobile Nav */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1005;
}

.hamburger-btn span {
    width: 100%;
    height: 3px;
    background: var(--text-main);
    border-radius: 3px;
    transition: all 0.3s;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1010;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
}

.mobile-nav-overlay.open {
    opacity: 1;
    visibility: visible;
}

.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100%;
    background: #111;
    z-index: 1020;
    transition: right 0.3s ease;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--glass-border);
}

.mobile-nav.open {
    right: 0;
}

.mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.close-mobile-nav-btn {
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-nav-links a i {
    width: 20px;
    text-align: center;
}

.mobile-search-wrap {
    display: flex;
    margin-bottom: 30px;
}

.mobile-search-input {
    flex: 1;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 6px 0 0 6px;
    color: white;
    font-family: var(--font-family);
    outline: none;
}

.mobile-search-btn {
    padding: 12px 20px;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
}

/* Desktop Search Overlay */
.search-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: rgba(14, 14, 14, 0.98);
    border-bottom: 1px solid var(--glass-border);
    z-index: 1050;
    display: flex;
    justify-content: center;
    align-items: center;
}

.search-overlay-inner {
    width: 100%;
    max-width: 800px;
    display: flex;
    align-items: center;
    padding: 0 20px;
}

.search-overlay-input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-size: 24px;
    font-family: var(--font-family);
    outline: none;
}

.close-search-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 24px;
    cursor: pointer;
    transition: color 0.2s;
}

.close-search-btn:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding: 0 50px;
}

/* A dynamic gradient background mimicking a dark movie ambiance */
.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(229, 9, 20, 0.1) 0%, transparent 40%);
    z-index: 0;
    animation: pulseGlow 10s infinite alternate;
}

@keyframes pulseGlow {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(14, 14, 14, 1) 0%, rgba(14, 14, 14, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    z-index: 2;
    padding-top: 80px;
    /* Offset nav */
}

.movie-info-container {
    max-width: 600px;
    animation: slideInLeft 1s ease-out forwards;
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.badge {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 2px;
    display: inline-block;
    margin-bottom: 15px;
    border: 1px solid var(--primary-color);
}

.movie-title {
    font-size: 80px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 5px;
    text-transform: uppercase;
}

.movie-title .year {
    font-size: 40px;
    font-weight: 300;
    color: var(--text-muted);
}

.movie-title2 {
    font-size: 20px;
    font-weight: 300;
    color: var(--text-main);
    margin-bottom: 25px;
    letter-spacing: 1px;
    opacity: 0.8;
}

.movie-meta {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 30px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-muted);
}

.rating {
    color: #ffd700;
}

.quality {
    border: 1px solid var(--text-muted);
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 12px;
}

.movie-synopsis {
    font-size: 18px;
    line-height: 1.6;
    color: #ccc;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.poster-container {
    perspective: 1000px;
    animation: fadeInRight 1.5s ease-out forwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.poster-img {
    width: 350px;
    border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(229, 9, 20, 0.2);
    transform: rotateY(-15deg) rotateX(5deg);
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.poster-container:hover .poster-img {
    transform: rotateY(0deg) rotateX(0deg) scale(1.05);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9), 0 0 50px rgba(229, 9, 20, 0.4);
}

/* Content Sections */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 100px 50px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 60%;
    height: 4px;
    background: var(--primary-color);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 18px;
    margin-bottom: 50px;
}

/* Player Section */
.player-section {
    background-color: rgba(20, 20, 20, 0.8);
}

.video-container {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.7);
    border: 1px solid var(--glass-border);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    cursor: pointer;
    transition: opacity 0.3s;
}

.video-overlay.hidden {
    opacity: 0;
    pointer-events: none;
}

.play-icon {
    font-size: 80px;
    color: var(--primary-color);
    margin-bottom: 15px;
    transition: transform 0.2s;
}

.video-overlay:hover .play-icon {
    transform: scale(1.1);
}

.web-player {
    width: 100%;
    display: block;
}

/* Download Section */
.download-section {
    background-color: var(--bg-color);
}

.download-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.download-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, border-color 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.download-card:hover {
    transform: translateY(-10px);
    border-color: rgba(255, 255, 255, 0.3);
}

.download-card.featured {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(229, 9, 20, 0.1);
    transform: translateY(-5px);
}

.download-card.featured:hover {
    transform: translateY(-15px);
    box-shadow: 0 0 30px rgba(229, 9, 20, 0.2);
}

.quality-badge {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-main);
}

.download-card.featured .quality-badge,
.download-card.premium .quality-badge {
    background: -webkit-linear-gradient(45deg, #E50914, #ff5e62);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.details {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.download-btn {
    width: 100%;
    background-color: rgba(255, 255, 255, 0.1);
}

.download-card.featured .download-btn {
    background-color: var(--primary-color);
    color: white;
}

.subtitles-section {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

.subtitles-section h3 {
    margin-bottom: 20px;
    font-size: 24px;
}

.sub-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
}

.sub-btn {
    background-color: #333;
    color: white;
    font-size: 14px;
    padding: 8px 16px;
}

.sub-btn:hover {
    background-color: #555;
}

/* Reviews Section */
.reviews-section {
    background-color: rgba(20, 20, 20, 0.8);
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-card {
    background: var(--card-bg);
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    transition: transform 0.3s;
}

.review-card:hover {
    transform: translateY(-5px);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin-right: 15px;
}

.user-info h4 {
    font-size: 18px;
    margin-bottom: 4px;
}

.stars {
    color: #ffd700;
    font-size: 14px;
}

.review-text {
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.6;
}

/* Footer */
footer {
    background: #000;
    padding: 40px 50px;
    text-align: center;
    border-top: 1px solid #222;
}

.footer-content .brand {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.footer-content p {
    color: var(--text-muted);
    font-size: 14px;
}

/* Swiper Hero Layout */
.hero-swiper {
    width: 100%;
    height: 100vh;
}

.hero-swiper .swiper-slide {
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    filter: blur(8px) brightness(0.4);
    transform: scale(1.1);
}

/* Dynamic Movie Grid Styles */
.movies-grid-section {
    padding: 80px 50px;
    background-color: var(--bg-color);
}

.category-row {
    margin-bottom: 50px;
}

.category-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 20px;
    border-left: 4px solid var(--primary-color);
    padding-left: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.movie-cards {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.movie-cards::-webkit-scrollbar {
    height: 8px;
}

.movie-cards::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.movie-card {
    min-width: 220px;
    max-width: 220px;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s;
    text-decoration: none;
    color: white;
}

.movie-card:hover {
    transform: scale(1.05);
    z-index: 5;
}

.movie-card img {
    width: 100%;
    height: 330px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.movie-card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.95) 0%, transparent 100%);
    padding: 30px 15px 15px;
    border-radius: 0 0 8px 8px;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.movie-card:hover .movie-card-overlay {
    opacity: 1;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .movie-title {
        font-size: 60px;
    }

    .hero-content {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding-top: 140px;
    }

    .movie-info-container {
        margin-bottom: 50px;
    }

    .movie-meta {
        justify-content: center;
    }

    .hero-actions {
        justify-content: center;
    }

    .poster-img {
        width: 300px;
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column-reverse;
    }

    .poster-img {
        width: 180px;
        margin-bottom: 20px;
    }

    .movie-info-container {
        margin-bottom: 20px;
    }

    .navbar {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
    }

    #desktop-search-btn {
        display: none;
    }

    .hamburger-btn {
        display: flex;
    }

    /* Hide the top-bar Sign In/Out button on mobile — it lives in the hamburger drawer */
    #auth-btn {
        display: none !important;
    }

    .nav-btn {
        padding: 6px 12px;
        font-size: 14px;
    }

    #user-name {
        display: none;
    }

    .movie-title {
        font-size: 40px;
    }

    .movie-title .year {
        font-size: 24px;
    }

    .movie-title2 {
        font-size: 16px;
        margin-bottom: 15px;
    }

    .movie-synopsis {
        display: none;
    }

    .section-container,
    .movies-grid-section {
        padding: 60px 20px;
    }

    .sub-card {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }

    .category-title {
        font-size: 24px;
    }

    .movie-cards {
        gap: 15px;
    }

    .movie-card {
        min-width: 160px;
        max-width: 160px;
    }

    .movie-card img {
        height: 240px;
    }
}

/* Admin Form & Table Styles */
.movies-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

.movies-table th,
.movies-table td {
    padding: 15px;
    border-bottom: 1px solid var(--glass-border);
    text-align: left;
    vertical-align: middle;
}

/* Feature Toggle Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 20px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.switch-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #555;
    transition: .4s;
    border-radius: 34px;
}

.switch-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: #fff;
    transition: .4s;
    border-radius: 50%;
}

.switch input:checked+.switch-slider {
    background-color: var(--primary-color);
}

.switch input:checked+.switch-slider:before {
    transform: translateX(20px);
}

.movies-table th {
    background: rgba(0, 0, 0, 0.5);
    color: var(--text-muted);
    font-weight: 600;
}

.movies-table img {
    border-radius: 4px;
    object-fit: cover;
    width: 50px;
    height: 70px;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
    width: 100%;
    padding: 14px;
    margin-bottom: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    color: white;
    border-radius: 6px;
    font-family: var(--font-family);
    font-size: 16px;
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* =============================================
   Comments Section Styles
   ============================================= */
.comments-section {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid var(--glass-border);
}

.comments-title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.comments-title i {
    color: var(--primary-color);
}

.comment-input-area {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    align-items: flex-start;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--glass-border);
    flex-shrink: 0;
}

.comment-input-wrap {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.comment-input-wrap textarea {
    width: 100%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: white;
    font-family: var(--font-family);
    font-size: 15px;
    padding: 12px 15px;
    resize: none;
    transition: border-color 0.2s;
}

.comment-input-wrap textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

.comment-submit {
    align-self: flex-end;
    padding: 9px 20px;
    font-size: 14px;
    border-radius: 8px;
}

.comment-login-prompt {
    text-align: center;
    padding: 16px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    border: 1px dashed var(--glass-border);
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 20px;
}

.comment-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.comment-item {
    display: flex;
    gap: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    transition: background 0.2s;
}

.comment-item:hover {
    background: rgba(255, 255, 255, 0.07);
}

.comment-body {
    flex: 1;
    min-width: 0;
}

.comment-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
    flex-wrap: wrap;
}

.comment-author {
    font-weight: 700;
    font-size: 14px;
    color: white;
}

.comment-time {
    font-size: 12px;
    color: var(--text-muted);
}

.comment-text {
    font-size: 15px;
    color: #ddd;
    line-height: 1.6;
    word-break: break-word;
}

.comment-delete-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 13px;
    margin-left: auto;
    transition: color 0.2s;
}

.comment-delete-btn:hover {
    color: var(--primary-color);
}

.comment-empty,
.comment-loading {
    text-align: center;
    color: var(--text-muted);
    padding: 20px;
    font-style: italic;
}

/* --- Added Custom TKCine Layout Patches --- */

/* Desktop User Name Color strictly white */
@media (min-width: 769px) {
    #user-name {
        color: white !important;
    }
}

/* Hide desktop explicit auth button on strict mobile */
@media (max-width: 768px) {
    .desktop-only-auth {
        display: none !important;
    }
}

/* Hover styles removed */

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.share-btn {
    padding: 8px 15px;
    border-radius: 6px;
    color: white;
    font-size: 14px;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: opacity 0.2s, transform 0.2s;
}

.share-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    color: white;
}

.share-fb {
    background: #1877F2;
}

.share-wa {
    background: #25D366;
}

.share-em {
    background: #ea4335;
}

/* Favorite Button */
#btn-favorite {
    margin-right: 12px;
    transition: all 0.3s;
}

#btn-favorite.favorited {
    color: #ff4757 !important;
    border-color: #ff4757 !important;
    background: rgba(255, 71, 87, 0.1);
}

#favorite-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #ff4757;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 9999;
    pointer-events: none;
}

#favorite-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Request Section */
#request-section {
    max-width: 800px;
    margin: 60px auto;
    padding: 40px;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    text-align: center;
}

#request-input {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
    font-size: 16px;
    font-family: var(--font-family);
    margin-top: 15px;
    margin-bottom: 20px;
    min-height: 100px;
    resize: vertical;
}

#request-input:focus {
    outline: none;
    border-color: var(--primary-color);
}