/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #000;
    color: white;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* PARTICLES BACKGROUND */
#particles {
    position: fixed;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top, #140000 0%, #000000 60%);
    z-index: -1;
    pointer-events: none;
}

/* NAVBAR */
header {
    position: relative;
    z-index: 10001;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    position: relative;
    z-index: 1000000;
}

.logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 3px;
    color: #b30000;
    text-shadow: 0 0 5px rgba(255,0,0,0.4);
}

.menu-btn {
    font-size: 26px;
    cursor: pointer;
    transition: 0.3s;
}

.menu-btn:hover {
    color: #ff1a1a;
}

/* SIDE MENU */
.side-menu {
    position: fixed;
    right: -300px;
    top: 0;
    width: 280px;
    height: 100%;
    background: #0d0000;
    padding: 40px;
    transition: 0.4s ease;
    box-shadow: -5px 0 20px rgba(255,0,0,0.3);
    z-index: 99999;
}

.side-menu a {
    display: block;
    color: white;
    text-decoration: none;
    margin: 20px 0;
    font-size: 18px;
    transition: 0.3s;
}

.side-menu a:hover {
    color: #ff0000;
}

.close-btn {
    font-size: 20px;
    cursor: pointer;
}

/* HERO */
.hero {
    text-align: center;
    padding: 60px 20px 40px 20px;
}

.top-text {
    color: #ff4d4d;
    letter-spacing: 3px;
    font-size: 14px;
}

.title {
    font-size: 40px;
    font-weight: 700;
    margin-top: 10px;
    color: #fff;
}

.movie-title {
    font-size: 90px;
    font-weight: 800;
    margin-top: 10px;
    color: #b30000;
    text-shadow: 0 0 8px rgba(255,0,0,0.5);
}

.tagline {
    margin-top: 15px;
    color: #ccc;
    font-size: 18px;
}

.divider {
    width: 100px;
    height: 3px;
    background: #ff0000;
    margin: 25px auto;
    box-shadow: 0 0 15px #ff0000;
}

.release-text {
    margin-top: 10px;
    font-size: 14px;
    letter-spacing: 2px;
}

.release-date {
    font-size: 28px;
    margin-top: 10px;
    color: #ff0000;
    text-shadow: 0 0 10px #ff0000;
}

/* COUNTDOWN */
.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.time-box {
    background: rgba(255, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    padding: 25px 30px;
    border-radius: 15px;
    border: 1px solid rgba(255, 0, 0, 0.2);
    transition: 0.3s;
}

.time-box h2 {
    font-size: 32px;
    transition: transform 0.4s;
}

.flip {
    animation: flipAnim 0.5s ease;
}

@keyframes flipAnim {
    0% { transform: rotateX(0); }
    50% { transform: rotateX(90deg); }
    100% { transform: rotateX(0); }
}

.time-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(255,0,0,0.6);
}

.time-box h2 {
    font-size: 32px;
}

.time-box span {
    font-size: 12px;
    letter-spacing: 2px;
    color: #bbb;
}

/* BUTTON */
.teaser-btn {
    margin-top: 40px;
    padding: 14px 30px;
    border-radius: 30px;
    border: none;
    background: #ff0000;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 0 15px #ff0000;
}

.teaser-btn:hover {
    background: #cc0000;
    transform: scale(1.05);
}

/* FOOTER */
footer {
    margin-top: 80px;
    padding: 30px;
    text-align: center;
    background: #0d0000;
}

.socials a {
    margin: 0 15px;
    color: #ff4d4d;
    text-decoration: none;
    transition: 0.3s;
}

.socials a:hover {
    color: #ffffff;
}

.designer {
    margin-top: 20px;
    font-size: 14px;
}

.designer a {
    color: #ff0000;
    text-decoration: none;
}


.gallery-section {
    padding: 80px 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.gallery-heading {
    font-size: 32px;
    color: #b30000;
    letter-spacing: 3px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    max-width: 1100px;
    margin: 40px auto;
    overflow: hidden;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 12px;
    transition: 0.4s;
    position: relative;
    z-index: 1;
}

.gallery-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 25px rgba(179,0,0,0.5);
    z-index: 2;
}



.cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 40px;
    padding: 0 20px;
}

.cast-card {
    background: #120000;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 0 20px rgba(255,0,0,0.2);
    transition: 0.3s;
}

.cast-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 30px rgba(255,0,0,0.6);
}

.cast-card h3 {
    margin-bottom: 10px;
}

.cast-card p {
    color: #bbb;
}



/* SCROLL REVEAL */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}



.details {
    text-align: center;
    padding: 60px 20px;
    background: #0a0000;
}

.details h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: #b30000;
    letter-spacing: 2px;
}

.details p {
    max-width: 700px;
    margin: auto;
    color: #ccc;
    line-height: 1.8;
    font-size: 16px;
}


body {
    opacity: 0;
    transition: opacity 0.6s ease;
}

body.fade-in {
    opacity: 1;
}


/* LOADER */
#loader {
    position: fixed;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 1s ease;
}

.loader-title {
    font-size: 60px;
    color: #b30000;
    letter-spacing: 8px;
    animation: zoomIn 2s ease forwards;
}

@keyframes zoomIn {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}


.cursor-glow {
    position: fixed;
    width: 20px;
    height: 20px;
    background: rgba(179, 0, 0, 0.6);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease;
    z-index: 999;
}

#progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    width: 0%;
    background: #b30000;
    z-index: 9999;
}


/* MAIN FOOTER */
.main-footer {
    margin-top: 120px;
    padding: 60px 20px;
    text-align: center;
    background: linear-gradient(to top, #0a0000, #140000);
    border-top: 1px solid rgba(255,0,0,0.1);
}

.footer-heading {
    font-size: 18px;
    margin-bottom: 25px;
    color: #b30000;
    letter-spacing: 2px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
}

.social-icons a {
    text-decoration: none;
    color: #ff4d4d;
    font-size: 16px;
    transition: 0.3s;
    position: relative;
}

.social-icons a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0%;
    height: 2px;
    background: #b30000;
    transition: 0.3s;
}

.social-icons a:hover {
    color: #ffffff;
}

.social-icons a:hover::after {
    width: 100%;
}

.footer-divider {
    width: 60%;
    height: 1px;
    background: rgba(255,0,0,0.15);
    margin: 30px auto;
}

.designer-text {
    font-size: 14px;
    color: #aaa;
    margin-bottom: 10px;
}

.designer-text a {
    color: #b30000;
    text-decoration: none;
    font-weight: 500;
}

.designer-text a:hover {
    color: #ff4d4d;
}

.copyright-text {
    font-size: 12px;
    color: #666;
}


.songs-section {
    padding: 80px 20px;
    text-align: center;
}

.album-card {
    background: rgba(255,0,0,0.08);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 50px;
    border: 1px solid rgba(255,0,0,0.15);
}

.album-card h3 {
    margin-bottom: 10px;
    color: #b30000;
}

.songs-list {
    max-width: 700px;
    margin: auto;
}

.song-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    margin-bottom: 20px;
    background: rgba(255,0,0,0.05);
    border-radius: 12px;
    border: 1px solid rgba(255,0,0,0.1);
    transition: 0.3s;
}

.song-item:hover {
    background: rgba(255,0,0,0.1);
    transform: translateY(-3px);
}

.song-name {
    font-size: 16px;
    letter-spacing: 1px;
}

.play-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #b30000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(179,0,0,0.4);
}

.play-btn:hover {
    background: #800000;
    transform: scale(1.1);
}

.play-btn.disabled {
    background: #333;
    pointer-events: none;
    opacity: 0.5;
}


.cast-section {
    padding: 80px 20px;
    text-align: center;
}

.cast-heading {
    font-size: 32px;
    color: #b30000;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.cast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto;
}

.cast-card {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: 0.4s;
}

.cast-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    transition: 0.4s;
}

.cast-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 15px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    text-align: left;
}

.cast-info h3 {
    margin: 0;
    font-size: 18px;
}

.cast-info p {
    font-size: 14px;
    color: #ccc;
}

.cast-card:hover img {
    transform: scale(1.1);
}

.cast-card:hover {
    box-shadow: 0 0 25px rgba(179,0,0,0.5);
}



.cast-card {
    opacity: 0;
    transform: translateY(40px);
    animation: fadeUp 0.8s ease forwards;
}

.cast-card:nth-child(1) { animation-delay: 0.2s; }
.cast-card:nth-child(2) { animation-delay: 0.4s; }
.cast-card:nth-child(3) { animation-delay: 0.6s; }
.cast-card:nth-child(4) { animation-delay: 0.8s; }

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