:root {
    --primary: #e50914;
    --dark: #0f1014;
    --dark-grey: #1a1c22;
    --light: #f5f5f7;
    --text-muted: #808695;
    --glass: rgba(26, 28, 34, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --transition: 0.3s ease-in-out;
    --container: 1200px;
    --yellow: #f5c518;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://images.unsplash.com/photo-1478720568477-152d9b164e26?auto=format&fit=crop&q=80&w=1920');
    background-size: cover;
    background-attachment: fixed;
    opacity: 0.05;
    z-index: -10;
}

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: var(--transition);
    padding: 1rem 0;
}

header.scrolled {
    background: var(--dark-grey);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.7rem 0;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -1px;
    cursor: pointer;
}

.highlight {
    color: var(--primary);
}

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

.nav-links a {
    text-decoration: none;
    color: var(--light);
    font-weight: 400;
    transition: var(--transition);
    opacity: 0.7;
}

.nav-links a:hover,
.nav-links a.active {
    opacity: 1;
    color: var(--primary);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--glass);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    border: 1px solid var(--glass-border);
}

.search-box input {
    background: transparent;
    border: none;
    color: var(--light);
    padding-left: 0.5rem;
    outline: none;
    width: 150px;
    font-size: 0.9rem;
}

.btn-login {
    background: var(--primary);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

/* Hero Section */
#hero {
    height: 90vh;
    width: 100%;
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: -2;
    transition: 0.5s;
    background-image: linear-gradient(to right, rgba(15, 16, 20, 0.95), rgba(15, 16, 20, 0.4)), url('https://images.unsplash.com/photo-1489599849927-2ee91cede3ba?auto=format&fit=crop&q=80&w=1920');
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(transparent, var(--dark));
    z-index: -1;
}

.hero-content {
    z-index: 10;
}

.hero-info {
    max-width: 650px;
}

.badge {
    background: var(--primary);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.1;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.hero-desc {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 2rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.movie-meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
    color: var(--text-muted);
}

.movie-meta span i {
    margin-right: 0.5rem;
}

.text-yellow {
    color: var(--yellow);
}

.description {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    border: none;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-secondary {
    background: var(--glass);
    color: var(--light);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(5px);
}

.btn:hover {
    transform: scale(1.05);
}

/* Movie Cards */
#movies {
    margin-top: -100px;
    position: relative;
    z-index: 10;
    padding-bottom: 5rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.section-header h2 {
    font-size: 1.8rem;
    font-weight: 600;
}

.filters {
    display: flex;
    gap: 1rem;
}

.filter-btn {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--light);
    padding: 0.5rem 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary);
    border-color: var(--primary);
}

.view-all {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.movie-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2.5rem;
}

.movie-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    background: var(--dark-grey);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.movie-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8);
    border-color: var(--primary);
}

.card-img {
    height: 180px; /* Gorizontal uchun optimal balandlik */
    background-size: cover;
    background-position: center;
    position: relative;
    transition: var(--transition);
}

.card-rating {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    padding: 0.2rem 0.6rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--yellow);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.movie-card:hover .card-img {
    filter: brightness(1.1);
}

.card-content {
    padding: 1.2rem;
    background: var(--dark-grey);
}

.card-content h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    color: var(--light);
}

.card-meta-bottom {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.card-genre {
    color: var(--primary);
    font-weight: 500;
}

/* Removed old card-overlay styles */

/* Features */
#features {
    padding: 5rem 0;
}

.features-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

/* Special Banners */
.banner-slider {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    margin-bottom: 5rem;
}

.special-card {
    height: 400px;
    background: #000;
    display: flex;
    position: relative;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.special-img {
    width: 60%;
    height: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    z-index: 1;
    filter: brightness(0.8) contrast(1.1);
}

.special-img::after {
    content: '';
    position: absolute;
    top: 0;
    right: -1px;
    width: 100px;
    height: 100%;
    background: #000;
    clip-path: polygon(100% 0, 0% 100%, 100% 100%);
    z-index: 2;
}

.filmstrip-strip {
    position: absolute;
    top: -50px;
    left: 55%;
    width: 50px;
    height: 600px;
    background: #fbc02d;
    transform: rotate(15deg);
    z-index: 15;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    padding: 40px 0;
    box-shadow: 10px 0 30px rgba(0, 0, 0, 0.5);
}

.strip-hole {
    width: 12px;
    height: 12px;
    background: #000;
    border-radius: 2px;
}

.special-content {
    width: 40%;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 80px;
    padding-right: 20px;
    z-index: 5;
}

.special-content .logo-small {
    margin-bottom: 2rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.special-content h2 {
    font-size: 4rem;
    line-height: 0.85;
    font-weight: 900;
    text-transform: uppercase;
    color: #fff;
    margin: 0;
    letter-spacing: -2px;
}

.special-content .title-stack {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.feature-card {
    background: var(--dark-grey);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid var(--glass-border);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 3rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-muted);
}

/* Footer */
footer {
    background: var(--dark-grey);
    padding: 5rem 0 2rem;
    border-top: 1px solid var(--glass-border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 3rem;
}

.footer-info p {
    color: var(--text-muted);
    margin: 1.5rem 0;
    max-width: 400px;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--light);
    font-size: 1.5rem;
    transition: var(--transition);
    opacity: 0.6;
}

.social-links a:hover {
    color: var(--primary);
    opacity: 1;
}

.footer-links h3 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

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

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary);
}

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

@media (max-width: 992px) {
    .hero-info h1 {
        font-size: 3rem;
    }

    .features-wrapper {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-actions .btn-login {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
        font-size: 1.5rem;
    }

    .filters {
        display: none;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

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

.movie-card {
    animation: fadeIn 0.6s ease forwards;
}

/* Modal Styles - Updated for Info View */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    overflow: auto;
    padding: 50px 0;
}

.modal-content {
    background-color: var(--dark-grey);
    margin: auto;
    width: 98%;
    max-width: 1050px;
    border-radius: 20px;
    position: relative;
    border: 1px solid var(--glass-border);
    animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
}

.modal-body {
    display: flex;
    min-height: 500px;
}

.modal-poster {
    width: 50%;
    background-size: cover;
    background-position: left center;
    position: relative;
}

.modal-poster::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent, var(--dark-grey));
}

.modal-details {
    width: 50%;
    padding: 2.5rem 2rem 2.5rem 2rem;
    display: flex;
    flex-direction: column;
}

.modal-details h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.2;
    color: #fff;
}

.modal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
}

.modal-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin-bottom: 1.5rem;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.95rem;
}

.info-item i {
    width: 20px;
    color: var(--primary);
    text-align: center;
    font-size: 0.9rem;
}

.info-label {
    color: var(--text-muted);
    font-weight: 400;
}

.info-value {
    color: var(--light);
    font-weight: 600;
}

.modal-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 2rem;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.modal-actions {
    margin-top: auto;
}

.modal-actions .btn {
    width: fit-content;
    font-size: 1.1rem;
    padding: 1.2rem 2.5rem;
}

.close-modal {
    color: #fff;
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    z-index: 100;
    background: rgba(0, 0, 0, 0.5);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.close-modal:hover {
    color: var(--primary);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .modal-body {
        flex-direction: column;
    }

    .modal-poster {
        width: 100%;
        height: 300px;
    }

    .modal-poster::after {
        background: linear-gradient(to top, var(--dark-grey), transparent);
    }

    .modal-details {
        width: 100%;
        padding: 2rem;
    }

    .modal-details h2 {
        font-size: 1.8rem;
    }
}

/* ============================================ */
/* User Profile in Header */
/* ============================================ */
.user-profile {
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.user-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #ff6b35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
    text-transform: uppercase;
}

.user-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--light);
}

.btn-logout {
    background: rgba(229, 9, 20, 0.2);
    border: 1px solid rgba(229, 9, 20, 0.3);
    color: var(--primary);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.85rem;
}

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

/* ============================================ */
/* Auth Modal */
/* ============================================ */
.auth-modal-content {
    max-width: 460px;
    border-radius: 24px;
    background: linear-gradient(145deg, var(--dark-grey), #12131a);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: visible;
}

.auth-container {
    padding: 3rem;
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-header .logo-text {
    font-size: 2rem;
}

.auth-subtitle {
    color: var(--text-muted);
    margin-top: 0.5rem;
    font-size: 1rem;
}

.auth-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 4px;
    margin-bottom: 2rem;
}

.auth-tab {
    flex: 1;
    padding: 0.75rem 1rem;
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border-radius: 12px;
    transition: var(--transition);
    font-family: 'Outfit', sans-serif;
}

.auth-tab.active {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.form-group label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.form-group label i {
    margin-right: 0.4rem;
    color: var(--primary);
}

.form-group input {
    padding: 0.85rem 1.2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--light);
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
    outline: none;
}

.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.15);
    background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder {
    color: rgba(128, 134, 149, 0.6);
}

.auth-error {
    color: #ff4757;
    font-size: 0.85rem;
    min-height: 1.2rem;
    text-align: center;
    font-weight: 500;
}

.auth-btn {
    width: 100%;
    justify-content: center;
    padding: 1rem;
    font-size: 1.05rem;
    border-radius: 14px;
    margin-top: 0.5rem;
    font-family: 'Outfit', sans-serif;
}

.auth-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* ============================================ */
/* Comments Section */
/* ============================================ */
.comments-section {
    padding: 2rem 3rem 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(0, 0, 0, 0.2);
}

.comments-section h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
    color: var(--light);
}

.comments-section h3 i {
    color: var(--primary);
    margin-right: 0.6rem;
}

/* Comment Form */
.comment-input-wrapper {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), #ff6b35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
    text-transform: uppercase;
}

.comment-input-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.comment-input-box textarea {
    width: 100%;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
    color: var(--light);
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    resize: vertical;
    min-height: 60px;
    max-height: 150px;
    outline: none;
    transition: var(--transition);
}

.comment-input-box textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(229, 9, 20, 0.1);
}

.comment-input-box textarea::placeholder {
    color: rgba(128, 134, 149, 0.6);
}

.comment-submit-btn {
    align-self: flex-end;
    padding: 0.6rem 1.5rem;
    border: none;
    background: var(--primary);
    color: white;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    font-family: 'Outfit', sans-serif;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comment-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

.comment-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* Login prompt for comments */
.comment-login-prompt {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    margin-bottom: 1.5rem;
}

.comment-login-prompt p {
    color: var(--text-muted);
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.comment-login-prompt button {
    background: var(--primary);
    color: white;
    padding: 0.6rem 1.8rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Outfit', sans-serif;
    font-size: 0.9rem;
}

.comment-login-prompt button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(229, 9, 20, 0.4);
}

/* Comments List */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 350px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.comments-list::-webkit-scrollbar {
    width: 4px;
}

.comments-list::-webkit-scrollbar-track {
    background: transparent;
}

.comments-list::-webkit-scrollbar-thumb {
    background: rgba(229, 9, 20, 0.3);
    border-radius: 10px;
}

.comment-item {
    display: flex;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 14px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
    animation: fadeIn 0.3s ease;
}

.comment-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

.comment-item .comment-avatar {
    width: 36px;
    height: 36px;
    min-width: 36px;
    font-size: 0.8rem;
}

.comment-body {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.4rem;
}

.comment-username {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--light);
}

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

.comment-text {
    font-size: 0.9rem;
    color: rgba(245, 245, 247, 0.8);
    line-height: 1.5;
}

.comment-delete {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.8rem;
    padding: 0.2rem 0.4rem;
    border-radius: 6px;
    transition: var(--transition);
    opacity: 0;
}

.comment-item:hover .comment-delete {
    opacity: 1;
}

.comment-delete:hover {
    color: #ff4757;
    background: rgba(255, 71, 87, 0.1);
}

.no-comments {
    text-align: center;
    color: var(--text-muted);
    padding: 2rem 0;
    font-size: 0.95rem;
}

.no-comments i {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
    opacity: 0.4;
}

/* Responsive */
@media (max-width: 768px) {
    .auth-container {
        padding: 2rem;
    }

    .comments-section {
        padding: 1.5rem;
    }

    .comment-input-wrapper {
        flex-direction: column;
    }

    .comment-input-wrapper .comment-avatar {
        display: none;
    }

    .user-profile .user-name {
        display: none;
    }
}
/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    margin-top: 4rem;
    flex-wrap: wrap;
    padding-bottom: 2rem;
}

.page-btn {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-grey);
    border: 1px solid var(--glass-border);
    color: var(--light);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 600;
    font-size: 1rem;
}

.page-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px);
}

.page-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 5px 15px rgba(229, 9, 20, 0.3);
}

.page-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    transform: none !important;
}
