/* TULIVIP GOLD MASTER UI */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Oswald:wght@500;700&display=swap');

:root {
    --bg-body: #050505;
    --bg-panel: #0f0f0f;
    --bg-nav: rgba(5, 5, 5, 0.9);
    --gold: #d4af37;
    --gold-dim: #b4932a;
    --text-main: #ffffff;
    --text-muted: #888888;
    --border: 1px solid rgba(255,255,255,0.08);
    --radius: 8px;
    --shadow: 0 10px 40px rgba(0,0,0,0.8);
}

* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; outline: none; }

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    padding-bottom: 80px; /* Mobil menü payı */
}

a { text-decoration: none; color: inherit; transition: 0.2s ease; }
img, video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* --- NAVBAR --- */
.navbar {
    position: fixed; top: 0; left: 0; width: 100%; height: 70px;
    background: var(--bg-nav); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    border-bottom: var(--border); z-index: 1000;
    display: flex; justify-content: space-between; align-items: center; padding: 0 4%;
}
.brand { font-family: 'Oswald', sans-serif; font-size: 26px; color: var(--gold); letter-spacing: 1px; text-transform: uppercase; }
.nav-right { display: flex; gap: 15px; align-items: center; }

/* Butonlar */
.btn-icon { background: rgba(255,255,255,0.05); width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: #ccc; border: var(--border); transition: 0.3s; cursor: pointer; }
.btn-icon:hover { color: var(--gold); border-color: var(--gold); background: rgba(212,175,55,0.1); }
.btn-pill { background: rgba(255,255,255,0.05); padding: 8px 20px; border-radius: 50px; font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 8px; border: var(--border); }

/* --- HERO SECTION --- */
.hero-wrapper {
    position: relative; width: 100%; height: 70vh;
    display: flex; align-items: flex-end;
}
.hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 50%, transparent 100%);
}
.hero-content { width: 100%; max-width: 1400px; margin: 0 auto; padding: 0 4% 50px 4%; }
.hero-badge { background: var(--gold); color: #000; padding: 4px 10px; font-size: 11px; font-weight: 800; text-transform: uppercase; border-radius: 4px; display: inline-block; margin-bottom: 15px; }
.hero-title { font-size: clamp(2rem, 5vw, 4rem); font-weight: 800; line-height: 1.1; margin-bottom: 20px; text-shadow: 0 5px 30px rgba(0,0,0,0.9); }
.btn-play { background: #fff; color: #000; padding: 14px 35px; border-radius: 6px; font-weight: 700; font-size: 16px; display: inline-flex; align-items: center; gap: 10px; transition: 0.3s; }
.btn-play:hover { background: var(--gold); transform: scale(1.05); }

/* --- GRID & CARDS --- */
.container { max-width: 1600px; margin: 0 auto; padding: 0 4% 40px 4%; }
.section-head { display: flex; align-items: center; margin: 40px 0 20px 0; border-bottom: 1px solid rgba(255,255,255,0.05); padding-bottom: 10px; }
.sec-title { font-size: 18px; font-weight: 600; color: #eee; border-left: 3px solid var(--gold); padding-left: 10px; }

.grid {
    display: grid; 
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); 
    gap: 20px;
}
/* Mobil Grid Ayarı */
@media (max-width: 768px) {
    .grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .hero-wrapper { height: 55vh; }
    .nav-right, .navbar .btn-pill { display: none; } /* Mobilde üst menüyü sadeleştir */
    .navbar { justify-content: center; height: 60px; }
}

.card {
    background: var(--bg-panel); border-radius: var(--radius); overflow: hidden;
    position: relative; aspect-ratio: 16/9; cursor: pointer; transition: 0.3s;
    border: 1px solid transparent;
}
.card:hover { transform: translateY(-5px); border-color: var(--gold); z-index: 5; box-shadow: var(--shadow); }
.card-media { opacity: 0.85; transition: 0.3s; }
.card:hover .card-media { opacity: 0.6; transform: scale(1.05); }

.card-overlay { position: absolute; bottom: 0; left: 0; width: 100%; padding: 40px 10px 10px 10px; background: linear-gradient(to top, rgba(0,0,0,0.95), transparent); }
.card-title { font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.badge-hd { position: absolute; top: 8px; right: 8px; background: rgba(0,0,0,0.6); backdrop-filter: blur(4px); padding: 3px 6px; font-size: 10px; border-radius: 4px; font-weight: bold; border: 1px solid rgba(255,255,255,0.1); }

/* --- MODAL (KLASÖR) --- */
.modal-overlay {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.9); backdrop-filter: blur(10px); z-index: 9999;
    align-items: center; justify-content: center; opacity: 0; transition: 0.3s;
}
.modal-overlay.active { display: flex; opacity: 1; }
.modal-box { background: #111; border: 1px solid #333; padding: 40px; border-radius: 20px; text-align: center; position: relative; width: 90%; max-width: 500px; transform: scale(0.9); transition: 0.3s; box-shadow: 0 0 50px rgba(0,0,0,1); }
.modal-overlay.active .modal-box { transform: scale(1); }
.folder-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-top: 30px; }
.folder-item { background: #1a1a1a; padding: 20px; border-radius: 12px; border: 1px solid #222; cursor: pointer; transition: 0.3s; }
.folder-item:hover { background: #222; border-color: var(--gold); }
.f-icon { font-size: 30px; margin-bottom: 10px; color: #666; }
.folder-item:hover .f-icon { color: var(--gold); }
.f-title { font-size: 14px; font-weight: bold; }
.f-sub { font-size: 11px; color: #555; margin-top: 5px; }

/* --- MOBİL NAV --- */
.mobile-nav {
    display: none; position: fixed; bottom: 0; left: 0; width: 100%; height: 65px;
    background: #0a0a0a; border-top: 1px solid #222; z-index: 2000;
    justify-content: space-around; align-items: center; padding-bottom: 5px;
}
.mn-item { display: flex; flex-direction: column; align-items: center; color: #555; gap: 3px; font-size: 20px; }
.mn-lbl { font-size: 9px; font-weight: 500; }
.mn-item.active { color: var(--gold); }
@media (max-width: 768px) { .mobile-nav { display: flex; } }