:root {
    --primary-orange: #e66449;
    --dark-bg: #222;
    --text-light: #fff;
}

body,
html {
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
}

/* --- Header & Navigation --- */
nav {
    background-color: var(--dark-bg);
    display: flex;
    justify-content: center;
    padding: 10px 0;
    gap: 10px;
}

nav a {
    color: #bbb;
    text-decoration: none;
    padding: 8px 20px;
    text-transform: uppercase;
    font-size: 13px;
    font-weight: bold;
    border-radius: 4px;
    transition: 0.3s;
}

nav a.active {
    background-color: var(--primary-orange);
    color: white;
}

nav a:hover:not(.active) {
    background-color: #444;
    color: white;
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(255, 235, 225, 0.85), rgba(255, 235, 225, 0.85)),
        url('./banner.jpg?auto=format&fit=crop&w=1920&q=80');
    /* Thay link ảnh poster phim mờ tại đây */
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: 60px 20px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-area img {
    max-width: 250px;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 32px;
    margin-bottom: 5px;
    color: #333;
}

.hero p {
    color: #666;
    margin-bottom: 30px;
}

/* Search Bar */
.search-container {
    display: flex;
    width: 100%;
    max-width: 700px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 40px;
}

.search-container input {
    flex: 1;
    padding: 15px 20px;
    border: none;
    outline: none;
    font-size: 16px;
}

.search-container button {
    background-color: var(--primary-orange);
    color: white;
    border: none;
    padding: 0 25px;
    cursor: pointer;
    font-size: 20px;
}

.btn-old-site {
    background-color: var(--primary-orange);
    color: white;
    padding: 15px 40px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 20px;
    font-weight: bold;
    transition: 0.3s;
}

/* --- Main Content Layout --- */
.container {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    line-height: 1.6;
}

.content-banner {
    margin: 40px 0;
    /* Tạo khoảng cách trên dưới với văn bản */
    width: 100%;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.content-banner:hover {
    transform: scale(1.01);
    /* Hiệu ứng phóng nhẹ khi di chuột vào */
}

.content-banner img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 600px;
    /* Giới hạn chiều cao banner */
}

.banner-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 4px 10px;
    font-size: 10px;
    border-radius: 4px;
    letter-spacing: 1px;
}

section {
    margin-bottom: 40px;
}

h2 {
    border-left: 5px solid var(--primary-orange);
    padding-left: 15px;
    margin-bottom: 20px;
}

/* Social Sidebar */
.social-sidebar {
    position: fixed;
    left: 0;
    top: 200px;
    display: flex;
    flex-direction: column;
    z-index: 100;
}

.social-item {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.share-count {
    background: white;
    color: #333;
    font-size: 12px;
    height: 40px;
    text-align: center;
    border: 1px solid #ddd;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fb {
    background: #3b5998;
}

.tw {
    background: #000;
}

.wa {
    background: #25d366;
}

.pi {
    background: #bd081c;
}

.em {
    background: #888;
}

.more {
    background: #7bc043;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 40px 20px;
    font-size: 13px;
    color: #777;
    border-top: 1px solid #ddd;
}

@media (max-width: 600px) {
    .social-sidebar {
        display: none;
    }

    .hero h1 {
        font-size: 24px;
    }
}