/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #0b0b0b;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

/* NAVBAR */

.navbar {
    position: sticky;
    top: 0;
    z-index: 1000;

    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 20px 60px;

    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(10px);

    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.logo {
    font-size: 26px;
    font-weight: 700;
    color: #ff3c3c;
}

.nav-links {
    display: flex;
    gap: 30px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #ccc;
    transition: 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
}

/* HERO */

.hero {
    text-align: center;
    padding: 120px 20px;

    background: radial-gradient(circle at top, rgba(255,60,60,0.15), transparent);
}

.hero h1 {
    font-size: 52px;
    max-width: 900px;
    margin: auto;
    margin-bottom: 20px;

    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards;
}

.hero p {
    color: #aaa;
    margin-bottom: 40px;

    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards 0.3s;
}

/* SEARCH */

.search-box {
    display: flex;
    justify-content: center;
    gap: 10px;

    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards 0.6s;
}

.search-box input {
    width: 420px;
    padding: 16px;
    border-radius: 8px;
    border: 1px solid #222;

    background: #111;
    color: white;

    transition: 0.3s ease;
}

.search-box input:focus {
    border-color: #ff3c3c;
    box-shadow: 0 0 10px rgba(255,60,60,0.3);
    outline: none;
}

.search-box button {
    padding: 16px 28px;
    border-radius: 8px;
    border: none;

    background: linear-gradient(135deg, #ff3c3c, #ff1f1f);
    color: white;

    cursor: pointer;
    transition: 0.3s ease;
}

.search-box button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255,60,60,0.3);
}

/* SLIDER */

.slider-section {
    padding: 60px;
}

.slider-section h2 {
    margin-bottom: 20px;
    font-weight: 600;
}

.movie-slider {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
}

.movie-card {
    min-width: 200px;
    transition: 0.4s ease;
    cursor: pointer;
}

.movie-card img {
    width: 100%;
    border-radius: 12px;
}

.movie-card h3 {
    margin-top: 10px;
    text-align: center;
    color: #ddd;
}

.movie-card:hover {
    transform: translateY(-10px) scale(1.05);
}

/* REVIEWS */

.reviews-section {
    padding: 60px;
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.review-card {
    background: #121212;
    border-radius: 14px;
    overflow: hidden;

    transition: 0.4s ease;
    border: 1px solid rgba(255,255,255,0.05);
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.review-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
}

.review-content {
    padding: 20px;
}

.review-content h3 {
    margin-bottom: 10px;
}

.review-content p {
    color: #aaa;
    line-height: 1.6;
}

.review-info {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    color: #888;
}

/* ANIMATIONS */

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* RESPONSIVE */

@media(max-width: 768px) {

    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .hero h1 {
        font-size: 34px;
    }

    .search-box {
        flex-direction: column;
    }

    .search-box input {
        width: 100%;
    }

    .slider-section,
    .reviews-section {
        padding: 20px;
    }
    
}

/* FOOTER */

.footer {
    background: #0a0a0a;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;

    padding: 60px;
}

.footer-col h3 {
    margin-bottom: 15px;
    font-size: 16px;
    color: #fff;
}

.footer-col p {
    color: #aaa;
    line-height: 1.6;
}

.footer-logo {
    color: #ff3c3c;
    margin-bottom: 15px;
}

/* LINKS */

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    text-decoration: none;
    color: #aaa;
    transition: 0.3s ease;
}

.footer-col ul li a:hover {
    color: #fff;
}

/* SOCIAL */

.social-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.social-links a {
    text-decoration: none;
    color: #aaa;
    transition: 0.3s ease;
}

.social-links a:hover {
    color: #ff3c3c;
}

/* BOTTOM */

.footer-bottom {
    text-align: center;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.05);
    color: #666;
    font-size: 14px;
}

/* FEED */

.feed-header {
    padding: 40px 60px;
}

.feed-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    padding: 0 60px 60px;
}

/* POST CARD */

.post-card {
    background: #121212;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.4s;
}

.post-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.post-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
}

.post-content {
    padding: 20px;
}

.post-content h3 {
    margin-bottom: 10px;
}

.post-content p {
    color: #aaa;
}

.post-meta {
    margin-top: 15px;
    display: flex;
    justify-content: space-between;
    color: #777;
}

/* FLOAT BUTTON */

.create-post-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;

    width: 60px;
    height: 60px;

    border-radius: 50%;
    border: none;

    background: #ff3c3c;
    color: white;
    font-size: 28px;

    cursor: pointer;
    transition: 0.3s;
}

.create-post-btn:hover {
    transform: scale(1.1);
}

/* MODAL */

.modal {
    position: fixed;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);

    display: none;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #111;
    padding: 30px;
    border-radius: 10px;
    width: 400px;
}

.modal-content input,
.modal-content textarea {
    width: 100%;
    margin-bottom: 15px;
    padding: 10px;

    background: #1a1a1a;
    border: 1px solid #222;
    color: white;
}

.modal-content button {
    width: 100%;
    padding: 12px;
    background: #ff3c3c;
    border: none;
    cursor: pointer;
}

/* BACK BUTTON */

.back-btn-container {
    padding: 20px 60px;
}

.back-btn {
    background: #111;
    border: 1px solid #222;
    color: #ccc;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 6px;
    transition: 0.3s;
}

.back-btn:hover {
    color: white;
    border-color: #ff3c3c;
}

/* POST HERO */

.post-hero {
    position: relative;
    height: 400px;
}

.post-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, #0b0b0b, transparent);
}

.post-hero-content {
    position: absolute;
    bottom: 40px;
    left: 60px;
}

.post-hero-content h1 {
    font-size: 40px;
}

/* POST CONTENT */

.post-content-section {
    padding: 40px 60px;
}

.post-main {
    max-width: 700px;
}

.post-text {
    margin-top: 15px;
    color: #ccc;
    line-height: 1.7;
}

/* LIKE BUTTON */

.like-btn {
    margin-top: 20px;
    padding: 10px 18px;

    border: none;
    border-radius: 6px;

    background: #1a1a1a;
    color: #ccc;

    cursor: pointer;
    transition: 0.3s;
}

.like-btn:hover {
    background: #ff3c3c;
    color: white;
}

/* COMMENTS */

.comments-section {
    padding: 40px 60px;
}

.comments-container {
    margin-bottom: 20px;
}

.comment {
    margin-bottom: 15px;
}

.comment p {
    color: #aaa;
}

/* ADD COMMENT */

.add-comment {
    display: flex;
    gap: 10px;
}

.add-comment input {
    flex: 1;
    padding: 10px;

    background: #111;
    border: 1px solid #222;
    color: white;
}

.add-comment button {
    padding: 10px 15px;
    background: #ff3c3c;
    border: none;
    cursor: pointer;
}