:root {
    --primary-blue: #00d4ff;
    --dark-bg: #020b1a;
    --card-bg: #0a192f;
    --text-white: #e6f1ff;
    --accent-red: #e50914;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-white);
    font-family: 'Poppins', sans-serif;
    margin: 0;
    overflow-x: hidden;
}

/* --- NAVBAR & LOGO --- */
#navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 4%; /* Binawasan ang padding para logo ang bida */
    background: rgba(2, 11, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: fixed;
    top: 0; width: 100%; z-index: 1000;
    box-sizing: border-box;
}

/* --- LOGO MAGIC TRICK (TRANSPARENT BACKGROUND) --- */
#site-logo { 
    height: 120px; /* Pinalaki para solid tingnan bro! */
    width: auto; 
    object-fit: contain; 
    filter: drop-shadow(0px 0px 10px rgba(0, 212, 255, 0.5)); 
    mix-blend-mode: screen; /* Eto yung sikreto na bubura sa black background ng JPG mo */
    transition: transform 0.3s ease; 
}

#site-logo:hover {
    transform: scale(1.05);
}

/* --- PREMIUM SEARCH BAR UPGRADE --- */
.search-box { 
    position: relative; 
    width: 250px; 
    transition: width 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); 
}

.search-box:focus-within {
    width: 320px; 
}

#search-input {
    width: 100%;
    padding: 10px 20px 10px 40px; 
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 212, 255, 0.3); 
    border-radius: 30px; 
    color: var(--text-white);
    font-size: 0.9rem;
    outline: none;
    transition: all 0.3s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%2300d4ff' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 15px center;
}

#search-input:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-blue);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4); 
}

#search-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

/* --- HERO SLIDER --- */
#hero-slider-container {
    position: relative;
    width: 100%; height: 85vh;
    overflow: hidden; background: #000;
}

.hero-slide {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    display: none; transition: opacity 0.8s ease-in-out;
}

.hero-slide.active { display: flex; align-items: center; }

.hero-video-container {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 1;
}

.hero-video-container iframe {
    width: 100vw; height: 56.25vw; min-height: 100vh; min-width: 177.77vh;
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    opacity: 0.5; pointer-events: none;
}

.hero-overlay {
    position: absolute; width: 100%; height: 100%; z-index: 2;
    background: linear-gradient(to right, rgba(2, 11, 26, 0.9) 20%, rgba(2, 11, 26, 0.4) 50%, transparent 100%),
                linear-gradient(to bottom, transparent 60%, rgba(2, 11, 26, 1) 100%);
}

.hero-content { position: relative; z-index: 10; padding: 0 5%; max-width: 800px; }

/* RED BUTTON BRANDING BRO */
.btn-watch {
    background: var(--accent-red);
    color: white; border: none;
    padding: 12px 30px; border-radius: 5px;
    font-weight: bold; cursor: pointer;
    transition: 0.3s; margin-right: 15px;
}

.btn-watch:hover { background: #ff0a16; transform: scale(1.05); }

/* DOTS STYLING */
.slider-dots {
    position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 10px; z-index: 20;
}

.dot { width: 12px; height: 12px; background: rgba(255,255,255,0.3); border-radius: 50%; cursor: pointer; transition: 0.3s; }
.dot.active { background: var(--primary-blue); width: 30px; border-radius: 10px; }

/* --- MOVIE CARDS & OVERLAYS --- */
.movie-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 20px; padding: 20px 5%; }
.movie-card { position: relative; border-radius: 12px; overflow: hidden; cursor: pointer; transition: 0.4s; }
.movie-card:hover { transform: scale(1.08); border: 1px solid var(--accent-red); }
.movie-card img { width: 100%; display: block; }

.trailer-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.8); display: flex; flex-direction: column;
    justify-content: center; align-items: center; gap: 8px;
    opacity: 0; transition: 0.3s; pointer-events: none;
}

.movie-card:hover .trailer-overlay { opacity: 1; pointer-events: auto; }

.hover-btn { width: 85%; padding: 8px; border: none; border-radius: 5px; font-weight: bold; font-size: 0.7rem; cursor: pointer; text-transform: uppercase; }
.trailer-btn { background: transparent; color: white; border: 2px solid white; }
.movie-btn { background: var(--accent-red); color: white; }
.share-mini-btn { background: rgba(255,255,255,0.1); color: white; border: 1px solid rgba(255,255,255,0.3); padding: 5px 15px; border-radius: 20px; font-size: 0.6rem; margin-top: 5px; cursor: pointer; }

/* --- MODAL WIDE PLAYER --- */
.modal { display: none; position: fixed; z-index: 3000; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.95); justify-content: center; align-items: center; }
.modal-content { width: 95%; max-width: 1200px; background: var(--card-bg); border-radius: 15px; overflow-y: auto; max-height: 95vh; }
#modal-video { width: 100%; aspect-ratio: 16/9; border: none; background: #000; }
.modal-details { padding: 25px; }
.modal-info { display: flex; gap: 30px; }
#modal-image { width: 200px; border-radius: 10px; }

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 768px) {
    #modal-image { display: none; }
    .movie-row { grid-template-columns: repeat(2, 1fr); }
    
    /* Mobile Search Bar Expansion */
    .search-box { width: 160px; }
    .search-box:focus-within { width: 220px; }
}


/* --- FOOTER STYLES --- */
#site-footer {
    background: rgba(2, 11, 26, 0.95);
    border-top: 1px solid rgba(0, 212, 255, 0.2); /* Subtle blue VA border */
    padding: 40px 5%;
    text-align: center;
    margin-top: 50px;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 20px;
}

.footer-links a {
    color: var(--text-white);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-links a:hover {
    color: var(--primary-blue);
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.5); /* Neon text glow */
}

.disclaimer {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    max-width: 800px;
    margin: 0 auto 15px auto;
    line-height: 1.6;
}

.copyright {
    color: var(--primary-blue);
    font-size: 1rem;
    font-weight: bold;
    letter-spacing: 1px;
    margin-top: 10px;
}

.sub-footer {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: normal;
}
