/* =========================================
   1. GLOBAL RESET & BODY (Full Screen)
   ========================================= */
* { 
    box-sizing: border-box; 
    margin: 0; 
    padding: 0; 
    /* ✅ Naye Premium Fonts Yahan Add Kiye Hain */
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
}

html {
    background-color: #000000; /* Peeche ka color Black hi rahega */
    height: 100%;
}

body {
    background-color: transparent; /* Body transparent taaki black dikhe */
    color: white;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* --- RAINDROPS LAYER --- */
body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10; 
    pointer-events: none; 
    
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 1px, transparent 5px),
        radial-gradient(circle at 50% 10%, rgba(255, 255, 255, 0.1) 2px, transparent 8px),
        radial-gradient(circle at 80% 40%, rgba(255, 255, 255, 0.1) 1px, transparent 6px),
        radial-gradient(circle at 30% 80%, rgba(255, 255, 255, 0.1) 2px, transparent 10px);
    
    background-size: 300px 300px; 
    animation: rainFall 2s linear infinite;
    opacity: 1.0; 
}

@keyframes rainFall {
    0% { background-position: 0 0; filter: blur(1px); }
    100% { background-position: 20px 300px; filter: blur(1.5px); }
}

/* --- OPTIONAL: SCREEN WET GLOW --- */
body { box-shadow: inset 0 0 100px rgba(0, 255, 255, 0.05); }

a { text-decoration: none; color: inherit; transition: 0.3s; }

/* --- MAIN HEADER (Scrolls with Page) --- */
.main-header {
    position: relative; 
    top: 0;
    z-index: 1000;
    background-color: #000;
    border-bottom: 2px solid cyan;
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.2);
    width: 100%;
}

/* Row 1: Logo & Search */
.navbar-top { 
    padding: 10px 20px; 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    border-bottom: 1px solid #1a1a1a; 
    height: 60px;
}

/* ✅ Logo font style updated for premium look */
.logo { 
    color: cyan; 
    font-size: 26px; 
    font-weight: 900; 
    letter-spacing: 1px; 
    text-transform: uppercase;
    text-shadow: 0 0 10px cyan; 
}

.nav-right { display: flex; align-items: center; gap: 15px; }
.social-icons a { color: cyan; font-size: 24px; display: flex; align-items: center; transition: 0.3s; }
.social-icons a:hover { color: white; text-shadow: 0 0 15px cyan; transform: scale(1.1); }

.search-form { display: flex; align-items: center; position: relative; }
.search-box { 
    padding: 6px 12px; width: 160px; border-radius: 20px; 
    border: 1px solid cyan; background: #111; color: cyan; outline: none; font-size: 13px;
}
.search-btn { position: absolute; right: 10px; background: none; border: none; color: cyan; cursor: pointer; }

/* Row 2: Menu Links */
.navbar-menu {
    display: flex;
    justify-content: center;
    background: #0a0a0a;
    padding: 0;
    flex-wrap: wrap;
    border-bottom: 1px solid #111;
}

/* ✅ Nav items font-weight updated to 700 to match the clean style */
.nav-item {
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 700;
    color: #ccc;
    border-right: 1px solid #222;
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    height: 45px;
    text-transform: uppercase;
}
.nav-item i { color: cyan; }
.nav-item:hover { background: #111; color: cyan; }
.nav-item:first-child { border-left: 1px solid #222; }

/* Dropdown Styles */
.dropdown { position: relative; }
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #000;
    min-width: 160px;
    box-shadow: 0 8px 16px rgba(0, 255, 255, 0.2);
    z-index: 2000;
    border: 1px solid cyan;
    border-radius: 0 0 5px 5px;
    top: 100%;
    left: 0;
}
.dropdown-content a {
    color: #ccc;
    padding: 10px 15px;
    display: block;
    font-size: 14px;
    border-bottom: 1px solid #222;
    text-align: left;
}
.dropdown-content a:hover { background-color: cyan; color: black; }
.dropdown:hover .dropdown-content { display: block; }

/* Row 3: Breadcrumb Strip */
.breadcrumb-strip {
    background: #050505;
    padding: 8px 20px;
    font-size: 12px;
    color: #666;
    text-transform: uppercase;
    font-weight: bold;
    display: flex;
    align-items: center;
    height: 35px;
    border-top: 1px solid #1a1a1a;
}
.breadcrumb-strip a { color: #888; margin: 0 5px; }
.breadcrumb-strip a:hover { color: cyan; }
.breadcrumb-strip span { color: cyan; margin-left: 5px; }
.breadcrumb-strip i { font-size: 10px; margin: 0 5px; color: #444; }

/* --- CATEGORY BUTTONS (Home Page) --- */
.secondary-nav {
    background: #0f0f0f;
    padding: 12px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    border-bottom: 1px solid #222;
}
.cat-btn {
    padding: 6px 15px;
    border: 1px solid #333;
    border-radius: 4px;
    font-size: 12px;
    color: #ddd;
    background: #181818;
    font-weight: 600;
}
.cat-btn:hover { border-color: cyan; color: cyan; }

/* --- CONTENT --- */
.notify-bar { background: #1b5e20; color: white; text-align: center; padding: 6px; font-size: 12px; font-weight: bold; }
.movie-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; padding: 30px; max-width: 1200px; margin: 0 auto; }
.card { background: #111; border-radius: 10px; overflow: hidden; border: 2px solid cyan; position: relative; transition: 0.3s; box-shadow: 0 0 15px rgba(0, 255, 255, 0.4); display: flex; flex-direction: column; }

.card img { width: 100%; height: 300px; object-fit: cover; }

.card h3 { font-size: 14px; font-weight: bold; color: cyan; text-align: center; padding: 10px; margin: 0; background: #111; height: auto; }

.card:hover img { filter: brightness(0.5); cursor: pointer; }
.card:hover h3 { color: darkcyan; cursor: pointer; }

/* --- MOVIE PAGE STYLES --- */
.movie-container { width: 95%; max-width: 1000px; margin: 30px auto; background: #111; padding: 30px; border-radius: 10px; border: 1px solid cyan; text-align: center; }
.poster-img { width: 100%; max-width: 300px; border-radius: 10px; border: 3px solid cyan; margin: 20px auto; display: block; }
.info-box { background: #1a1a1a; padding: 20px; border-radius: 5px; border-left: 5px solid cyan; text-align: left; margin: 20px 0; }
.info-box p { border-bottom: 1px dashed #333; padding: 10px 0; color: #ccc; display: flex; justify-content: space-between; }
.movie-meta { background: #1a1a1a; padding: 20px; border-radius: 5px; border-left: 5px solid cyan; text-align: left; margin: 20px 0; }

/* IMDB BUTTON */
.imdb-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #1a1a1a;
    color: yellow;
    padding: 12px 25px;
    border: 2px solid yellow;
    border-radius: 50px;
    font-weight: bold;
    font-size: 15px;
    transition: 0.3s all ease;
    box-shadow: 0 0 5px rgba(0, 255, 255, 0.2);
}
.imdb-btn:hover { background: yellow; color: black; box-shadow: 0 0 20px rgba(0, 255, 255, 0.6); }

/* Download Buttons */
.dl-btn { display: block; background: linear-gradient(90deg, #006064, #00acc1); color: white; padding: 15px; margin: 15px auto; width: 100%; max-width: 350px; border-radius: 50px; font-weight: bold; border: 1px solid cyan; }
.dl-btn:hover { background: cyan; color: black; box-shadow: 0 0 15px cyan; }

/* --- FOOTER --- */
.footer { background: #080808; padding: 40px 20px; border-top: 3px solid cyan; text-align: center; margin-top: auto; color: #aaa; }
.footer-logo { font-size: 28px; font-weight: bold; color: cyan; margin-bottom: 15px; text-shadow: 0 0 10px rgba(0,255,255,0.5); }
.footer-links a { margin: 0 15px; color: white; font-weight: bold; font-size: 14px;}
.footer-links a:hover { color: cyan; }
.disclaimer { font-size: 11px; color: cyan; max-width: 800px; margin: 15px auto; border: 1px solid cyan; padding: 10px; border-radius: 5px; background: #0a0a0a; line-height: 1.5; }
.disclaimer strong { color: cyan; }

.pagination { display: flex; justify-content: center; margin: 30px 0; gap: 8px; }
.page-btn { background: #111; color: cyan; border: 1px solid cyan; padding: 8px 15px; cursor: pointer; border-radius: 4px; font-weight: bold;}
.page-btn.active { background: cyan; color: black; }

/* =========================================
   MOBILE RESPONSIVE SETTINGS
   ========================================= */
@media screen and (max-width: 768px) {
    body { padding: 0 !important; margin: 0 !important; overflow-x: hidden; }
    .navbar-top, .footer { padding-left: 10px !important; padding-right: 10px !important; }

    .movie-grid {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important; 
        padding: 15px !important; 
        width: 100% !important;
        margin: 0 !important;
    }

    .card { width: 100% !important; margin: 0 !important; border: 1px solid cyan !important; height: 100%; }
    .card img { height: 230px !important; object-fit: cover; }
    
    .card h3 {
        font-size: 12px !important;
        padding: 8px 2px !important;
        overflow: hidden; 
        text-overflow: ellipsis;
    }

    .search-box { width: 120px; }
    .logo { font-size: 20px; }
}