body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9fbfc;
    color: #333;
}

/* HERO SECTION */
.posters-hero {
    background: linear-gradient(135deg, #e0f7fa 0%, #ffffff 100%);
    padding: 60px 5%;
    display: flex;
    justify-content: center;
    overflow: hidden;
    margin-top: 70px;
}

.hero-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.hero-content {
    max-width: 500px;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #d1f2eb;
    color: #0e6655;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 20px;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    color: #0b1a30;
    line-height: 1.1;
    margin: 0 0 16px 0;
}

.hero-content h1 span {
    color: #1abc9c;
}

.hero-content p {
    font-size: 16px;
    color: #555;
    margin-bottom: 24px;
    line-height: 1.5;
}

.btn-primary {
    background: #1abc9c;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #16a085;
}

.hero-stats {
    display: flex;
    gap: 20px;
    z-index: 2;
}

.stat-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    min-width: 120px;
}

.stat-icon {
    margin-bottom: 12px;
}

.stat-card h3 {
    font-size: 28px;
    font-weight: 800;
    color: #1abc9c;
    margin: 0 0 4px 0;
}

.stat-card p {
    font-size: 12px;
    color: #666;
    margin: 0;
    font-weight: 600;
}

.hero-mascot {
    position: absolute;
    right: -50px;
    top: -30px;
}

.hero-mascot img {
    height: 300px;
    object-fit: contain;
}

/* SEARCH SECTION */
.posters-search {
    background: #fff;
    padding: 24px 5%;
    border-bottom: 1px solid #eee;
}

.search-container {
    max-width: 1200px;
    margin: 0 auto;
}

.search-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #f4f6f8;
    padding: 12px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.search-bar input {
    border: none;
    background: transparent;
    width: 100%;
    font-size: 16px;
    outline: none;
    font-family: inherit;
}

.filter-tags {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-tags .tag {
    background: #fff;
    border: 1px solid #ddd;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    color: #555;
    transition: all 0.2s;
}

.filter-tags .tag:hover {
    border-color: #1abc9c;
    color: #1abc9c;
}

.filter-tags .tag.active {
    background: #1abc9c;
    color: #fff;
    border-color: #1abc9c;
}

/* MAIN CONTENT */
.posters-main {
    padding: 40px 5%;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 40px;
}

/* SIDEBAR */
.sidebar {
    width: 250px;
    flex-shrink: 0;
}

.sidebar-block {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    margin-bottom: 20px;
}

.sidebar-block h3 {
    font-size: 12px;
    color: #888;
    margin: 0 0 16px 0;
    font-weight: 700;
}

.category-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    font-size: 14px;
    color: #444;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
}

.category-list li:last-child {
    border-bottom: none;
}

.cat-name {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cat-name svg {
    color: #1abc9c;
}

.cat-count {
    background: #f4f6f8;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    color: #666;
}

.download-all-box {
    background: #e0f2f1;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    gap: 12px;
    align-items: center;
}

.download-all-box h4 {
    margin: 0 0 4px 0;
    font-size: 14px;
    color: #0e6655;
}

.download-all-box p {
    margin: 0;
    font-size: 12px;
    color: #117a65;
}

/* CONTENT AREA */
.content-area {
    flex: 1;
}

.section-header h2 {
    font-size: 16px;
    color: #333;
    margin: 0 0 20px 0;
    font-weight: 700;
}

.view-all {
    font-size: 14px;
    color: #1abc9c;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.featured-carousel {
    display: flex;
    align-items: center;
    gap: 16px;
}

.nav-btn {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #555;
    transition: all 0.2s;
}

.nav-btn:hover {
    background: #1abc9c;
    color: #fff;
    border-color: #1abc9c;
}

.featured-card {
    flex: 1;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    display: flex;
}

.fc-img {
    flex: 1;
    background: #f4f6f8;
}

.fc-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.fc-info {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.fc-info h2 {
    font-size: 24px;
    margin: 0 0 12px 0;
    color: #111;
}

.fc-info p {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
    margin: 0 0 20px 0;
}

.fc-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.tag-sm {
    background: #f0f0f0;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #555;
}

.read-time {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    color: #888;
}

.fc-actions {
    display: flex;
    gap: 12px;
}

.btn-secondary {
    background: #fff;
    color: #1abc9c;
    border: 1px solid #1abc9c;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: #1abc9c;
    color: #fff;
}

/* POSTERS GRID */
.posters-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.poster-card {
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
}

.pc-content h3 {
    font-size: 15px;
    color: #222;
    margin: 0 0 12px 0;
    line-height: 1.3;
    height: 40px;
    overflow: hidden;
}

.cat-pill {
    background: #e8f4f8;
    color: #0272b0;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 8px;
}

.pc-image {
    margin: 16px 0;
    border-radius: 8px;
    overflow: hidden;
    height: 120px;
    background: #f4f6f8;
}

.pc-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rating {
    color: #f39c12;
    font-size: 14px;
    margin-bottom: 16px;
}

.pc-actions {
    display: flex;
    gap: 8px;
    margin-top: auto;
}

.btn-outline {
    flex: 1;
    background: #fff;
    border: 1px solid #ddd;
    padding: 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #444;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    transition: all 0.2s;
}

.btn-outline:hover {
    border-color: #1abc9c;
    color: #1abc9c;
}

/* POPULAR TOPICS */
.popular-topics {
    padding: 40px 5% 60px;
    background: #fff;
}

.popular-topics .container {
    max-width: 1200px;
    margin: 0 auto;
}

.topics-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 16px;
}

.topic-item {
    text-align: center;
    cursor: pointer;
}

.topic-item:hover .topic-icon {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

.topic-icon {
    width: 80px;
    height: 80px;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px auto;
    transition: all 0.3s;
}

.topic-item span {
    font-size: 13px;
    font-weight: 500;
    color: #444;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .hero-container { flex-direction: column; text-align: center; }
    .hero-stats { justify-content: center; margin-bottom: 20px; }
    .hero-mascot { position: relative; right: auto; top: auto; margin-top: 20px; }
    
    .main-container { flex-direction: column; }
    .sidebar { width: 100%; }
    
    .featured-card { flex-direction: column; }
    .posters-grid { grid-template-columns: repeat(2, 1fr); }
    .topics-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 768px) {
    .posters-grid { grid-template-columns: 1fr; }
    .topics-grid { grid-template-columns: repeat(2, 1fr); }
}

/* SIDEBAR PILL MENUS */
.sidebar-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-header {
    padding: 12px 20px;
    border-radius: 6px;
    color: #fff;
    font-weight: 700;
    text-align: center;
    font-size: 16px;
    margin-bottom: 8px;
}

.blue-header {
    background-color: #6eb5db;
}

.green-header {
    background-color: #72af45;
}

.menu-pill-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.menu-pill-list li {
    padding: 10px 20px;
    border-radius: 20px;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.blue-pills li {
    background-color: #e5f0f6;
    color: #4a7791;
}

.blue-pills li:hover, .blue-pills li.active {
    background-color: #fff;
    border: 1px solid #4a7791;
    color: #4a7791;
}

.green-pills li {
    background-color: #eaf3e1;
    color: #4f7d2f;
}

.green-pills li:hover, .green-pills li.active {
    background-color: #fff;
    border: 1px solid #4f7d2f;
    color: #4f7d2f;
}


.category-list li.active {
    color: #1abc9c;
    font-weight: 700;
}
.category-list li.active .cat-count {
    background: #1abc9c;
    color: #fff;
}


/* Image Modal */
.image-modal {
    display: none; 
    position: fixed; 
    z-index: 9999; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.85); 
    align-items: center;
    justify-content: center;
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {transform: scale(0.8); opacity: 0;}
    to {transform: scale(1); opacity: 1;}
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10000;
}

.close-modal:hover,
.close-modal:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.pc-image img {
    cursor: pointer;
    transition: 0.3s;
}

.pc-image img:hover {
    opacity: 0.8;
}


.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.2);
    color: white;
    border: none;
    font-size: 40px;
    padding: 10px 20px;
    cursor: pointer;
    z-index: 10001;
    border-radius: 4px;
    transition: 0.3s;
}

.modal-nav:hover {
    background: rgba(255,255,255,0.4);
}

.prev-modal {
    left: 20px;
}

.next-modal {
    right: 20px;
}

