/* assets/css/style.css */

/* --- Global Styles & Variables --- */
:root {
    --bg-color: #0d1117;
    --surface-bg: #161b22;
    --card-bg: #21262d;
    --border-color: #30363d;
    --primary-pink: #f72585;
    --deep-pink: #b5179e;
    --text-color: #c9d1d9;
    --text-muted: #8b949e;
    --text-bright: #ffffff;
    --glow-color: rgba(247, 37, 133, 0.6);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Poppins', 'Hind Siliguri', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

.container { max-width: 1300px; margin: 0 auto; padding: 20px; }

/* ==================== Navigation Bar ==================== */
.navbar { width: 100%; background: var(--surface-bg); border-bottom: 1px solid var(--border-color); padding: 10px 0; position: sticky; top: 0; z-index: 1000; }
.nav-container { max-width: 1300px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }
.nav-logo { font-size: 1.8rem; font-weight: 700; color: var(--text-bright); text-decoration: none; }
.nav-search { display: flex; flex-grow: 1; margin: 0 30px; max-width: 500px; }
.nav-search input { width: 100%; background: var(--card-bg); border: 1px solid var(--border-color); color: var(--text-color); padding: 10px 15px; border-radius: 20px 0 0 20px; outline: none; }
.nav-search button { background: var(--primary-pink); border: none; color: white; padding: 10px 15px; border-radius: 0 20px 20px 0; cursor: pointer; }
.go-premium-btn { background-image: linear-gradient(to right, #f72585, #b5179e); color: white; border: none; padding: 10px 20px; font-weight: bold; border-radius: 20px; cursor: pointer; white-space: nowrap; box-shadow: 0 0 10px var(--glow-color); transition: transform 0.2s; }
.go-premium-btn:hover { transform: scale(1.05); }
.hamburger { display: none; background: none; border: none; color: white; font-size: 1.5rem; cursor: pointer; }
.mobile-menu { display: none; }

/* ==================== Main Content & Video Grid ==================== */
.main-content { padding: 40px 0; }
.section-title { font-size: 2rem; margin-bottom: 20px; border-bottom: 2px solid var(--primary-pink); padding-bottom: 10px; display: inline-block; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 25px; }
.video-card { background: var(--card-bg); border-radius: 12px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid var(--border-color); display: flex; flex-direction: column; }
.video-card:hover { transform: translateY(-8px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); }
.thumbnail-wrapper { position: relative; cursor: default; } /* cursor: pointer সরিয়ে দেওয়া হয়েছে */
.video-card img { width: 100%; display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.video-time { position: absolute; bottom: 8px; right: 8px; background: rgba(0, 0, 0, 0.75); padding: 3px 9px; border-radius: 4px; font-size: 0.8rem; z-index: 2; color: var(--text-bright); }
.card-info { padding: 15px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.card-info h2 { font-size: 1.2rem; margin-bottom: 8px; font-family: 'Hind Siliguri', sans-serif; color: var(--text-bright); }
.card-info .views { font-size: 0.9rem; color: var(--text-muted); margin-bottom: 15px; }
.card-info .views i { margin-right: 6px; }
.watch-now-btn { width: 100%; background: var(--primary-pink); color: white; border: none; padding: 12px; font-size: 1rem; font-weight: 600; border-radius: 8px; cursor: pointer; transition: all 0.3s; display: flex; align-items: center; justify-content: center; gap: 8px; }
.watch-now-btn:hover:not(:disabled) { background: var(--deep-pink); box-shadow: 0 0 15px var(--glow-color); }
.watch-now-btn:disabled { background-color: #444; cursor: not-allowed; opacity: 0.7; }
.watch-now-btn .fa-spinner { animation: spin 1s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ==================== Responsive Design ==================== */
@media (max-width: 768px) {
    .nav-search, .go-premium-btn { display: none; }
    .hamburger { display: block; }
}