/* ═══════════════════════════════════════════
   style.css — SİKİŞ UZMANI Ortak Stiller
   Tüm sayfalar bu dosyayı include eder
   ═══════════════════════════════════════════ */

/* ── RESET & BASE ─────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
    background: #0a0a0a;
    color: #e0e0e0;
    font-family: 'Segoe UI', Arial, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }

/* ── HEADER ───────────────────────────────── */
.site-header { width: 100%; position: sticky; top: 0; z-index: 100; }
.header-top  { background: #141414; border-bottom: 1px solid #1f1f1f; padding: 12px 0; }
.header-inner {
    max-width: 1440px; margin: 0 auto; padding: 0 20px;
    display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
}

/* Logo */
.logo {
    display: flex; align-items: center; gap: 10px;
    flex-shrink: 0; color: #fff; font-weight: 700;
    font-size: 1.2rem; letter-spacing: 1.5px; text-transform: uppercase;
}
.logo img { width: 48px; height: 48px; }

/* Mini header (login/static sayfalar) */
.mini-header {
    background: #111; border-bottom: 1px solid #1a1a1a;
    padding: 14px 24px; display: flex;
    align-items: center; justify-content: space-between;
}
.mini-header .logo img { width: 40px; height: 40px; }
.back-link {
    font-size: 0.82rem; color: #666;
    display: flex; align-items: center; gap: 6px; transition: color 0.2s;
}
.back-link:hover { color: #ff3366; }

/* Arama */
.search-form { flex: 1; min-width: 200px; max-width: 640px; position: relative; }
.search-form .search-icon {
    position: absolute; left: 16px; top: 50%; transform: translateY(-50%);
    color: #888; font-size: 1rem; pointer-events: none;
}
.search-form input {
    width: 100%; padding: 11px 100px 11px 44px;
    background: #1e1e1e; border: 1px solid #333;
    border-radius: 50px; color: #eee; font-size: 0.95rem;
    outline: none; transition: border-color 0.2s;
}
.search-form input:focus { border-color: #ff3366; }
.search-form button {
    position: absolute; right: 6px; top: 50%; transform: translateY(-50%);
    background: #ff3366; border: none; color: #fff;
    padding: 7px 18px; border-radius: 50px; font-size: 0.9rem;
    cursor: pointer; transition: background 0.2s;
}
.search-form button:hover { background: #e0004f; }

/* Kullanıcı alanı */
.user-area { display: flex; align-items: center; gap: 10px; flex-shrink: 0; margin-left: auto; }
.welcome-text { color: #aaa; font-size: 0.9rem; display: flex; align-items: center; gap: 6px; }
.user-btn {
    padding: 8px 16px; border-radius: 6px; font-size: 0.85rem; font-weight: 600;
    cursor: pointer; border: none; transition: opacity 0.2s, transform 0.15s;
    display: flex; align-items: center; gap: 6px; white-space: nowrap;
    font-family: inherit;
}
.user-btn:hover { opacity: 0.85; transform: scale(1.03); }
.btn-login    { background: #222; color: #fff; border: 1px solid #444; }
.btn-register { background: #ff3366; color: #fff; }
.btn-logout   { background: #333; color: #fff; }

/* Nav */
.header-nav { background: #0f0f0f; border-bottom: 1px solid #1a1a1a; }
.main-nav {
    max-width: 1440px; margin: 0 auto; padding: 0 20px;
    display: flex; flex-wrap: wrap; gap: 4px;
}
.nav-link {
    color: #bbb; padding: 14px 18px; font-size: 0.9rem;
    display: flex; align-items: center; gap: 7px;
    border-radius: 4px; transition: color 0.2s, background 0.2s; white-space: nowrap;
}
.nav-link:hover { color: #fff; background: #1e1e1e; }
.nav-link.active { color: #ff3366; background: #1a0a10; }

/* ── VIDEO KART ───────────────────────────── */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 14px;
}
.video-card {
    background: #111; border-radius: 8px; overflow: hidden;
    border: 1px solid #1e1e1e; transition: transform 0.2s, border-color 0.2s;
    display: block; color: #eee;
}
.video-card:hover { transform: translateY(-4px); border-color: #333; }

.thumb-wrap {
    position: relative; aspect-ratio: 16/9;
    overflow: hidden; background: #0d0d0d;
}
.thumb-wrap img {
    width: 100%; height: 100%;
    object-fit: cover; display: block; transition: transform 0.3s;
}
.video-card:hover .thumb-wrap img { transform: scale(1.04); }

.play-overlay {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; background: rgba(0,0,0,0.4); transition: opacity 0.2s;
}
.video-card:hover .play-overlay { opacity: 1; }
.play-overlay i {
    font-size: 3rem; color: rgba(255,255,255,0.9);
    filter: drop-shadow(0 2px 6px rgba(0,0,0,0.8));
}

.dur-badge {
    position: absolute; bottom: 6px; right: 8px;
    background: rgba(0,0,0,0.75); color: #eee;
    font-size: 0.7rem; padding: 2px 6px; border-radius: 4px;
}
.card-info { padding: 10px 12px 12px; }
.card-title {
    font-size: 0.88rem; font-weight: 600; color: #e0e0e0;
    margin-bottom: 5px; line-height: 1.4;
    display: -webkit-box; -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta { font-size: 0.78rem; color: #666; display: flex; align-items: center; gap: 10px; }
.card-cat  { color: #ff3366; }

/* ── PAGINATION ───────────────────────────── */
.pagination {
    display: flex; justify-content: center; align-items: center;
    gap: 6px; margin-top: 32px; flex-wrap: wrap;
}
.page-btn {
    padding: 8px 14px; border-radius: 6px;
    background: #1a1a1a; border: 1px solid #2a2a2a;
    color: #aaa; font-size: 0.88rem;
    transition: 0.2s; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center;
}
.page-btn:hover { background: #2a2a2a; color: #fff; }
.page-btn.active { background: #ff3366; border-color: #ff3366; color: #fff; font-weight: 700; }
.page-btn.disabled { opacity: 0.3; pointer-events: none; }

/* ── ALERT ────────────────────────────────── */
.alert {
    padding: 12px 14px; border-radius: 7px; font-size: 0.85rem;
    margin-bottom: 16px; display: flex; align-items: flex-start; gap: 9px; line-height: 1.5;
}
.alert i { flex-shrink: 0; margin-top: 1px; }
.alert-success { background: #0d2b1a; border: 1px solid #14532d; color: #4ade80; }
.alert-error   { background: #2b0d0d; border: 1px solid #7f1d1d; color: #f87171; }
.alert-warn    { background: #2b1e0d; border: 1px solid #5c3a1a; color: #fbbf24; }

/* ── FORM ELEMANLARI ──────────────────────── */
.form-group  { margin-bottom: 16px; }
.form-label  {
    display: block; font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.8px; text-transform: uppercase; color: #555; margin-bottom: 7px;
}
.input-wrap  { position: relative; }
.input-icon  {
    position: absolute; left: 14px; top: 50%; transform: translateY(-50%);
    color: #444; font-size: 0.9rem; pointer-events: none;
}
.form-input {
    width: 100%; padding: 12px 14px 12px 40px;
    background: #0d0d0d; border: 1px solid #222; border-radius: 8px;
    color: #eee; font-size: 0.92rem; outline: none;
    transition: border-color 0.2s, box-shadow 0.2s; font-family: inherit;
}
.form-input:focus { border-color: #ff3366; box-shadow: 0 0 0 3px rgba(255,51,102,0.1); }
.form-input::placeholder { color: #3a3a3a; }
.form-input.is-error { border-color: #f87171; box-shadow: 0 0 0 3px rgba(248,113,113,0.1); }
.form-input.is-ok    { border-color: #4ade80; }
.field-error { font-size: 0.78rem; color: #f87171; margin-top: 5px; display: flex; align-items: center; gap: 5px; }

.submit-btn {
    width: 100%; padding: 13px; background: #ff3366;
    border: none; border-radius: 8px; color: #fff;
    font-size: 0.95rem; font-weight: 700; cursor: pointer;
    transition: background 0.2s, transform 0.15s; margin-top: 8px;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    font-family: inherit;
}
.submit-btn:hover:not(:disabled) { background: #e0004f; transform: translateY(-1px); }
.submit-btn:disabled { background: #2a2a2a; color: #555; cursor: not-allowed; }

/* ── PAGE CARD (static sayfalar) ─────────── */
.page { max-width: 860px; margin: 40px auto 80px; padding: 0 20px; }
.page-card { background: #111; border: 1px solid #1e1e1e; border-radius: 12px; padding: 36px; }
.page-card h1 { font-size: 1.6rem; font-weight: 700; color: #fff; margin-bottom: 6px; }
.subtitle { color: #555; font-size: 0.85rem; margin-bottom: 28px; padding-bottom: 20px; border-bottom: 1px solid #1a1a1a; }
.page-card h2 { font-size: 0.82rem; font-weight: 700; color: #ff3366; margin: 24px 0 10px; text-transform: uppercase; letter-spacing: 0.8px; }
.page-card p, .page-card li { color: #888; line-height: 1.8; font-size: 0.9rem; margin-bottom: 8px; }
.page-card ul { padding-left: 20px; }
.page-card li { margin-bottom: 6px; }

/* ── BADGE ────────────────────────────────── */
.badge {
    background: #ff3366; color: #fff;
    font-size: 0.8rem; font-weight: 700;
    padding: 4px 12px; border-radius: 20px;
}

/* ── EMPTY STATE ──────────────────────────── */
.empty-state { text-align: center; padding: 80px 20px; color: #555; }
.empty-state i { font-size: 2.5rem; margin-bottom: 14px; display: block; }

/* ── FOOTER ───────────────────────────────── */
footer {
    background: #0d0d0d; border-top: 1px solid #1a1a1a;
    padding: 28px 20px; text-align: center;
    font-size: 0.82rem; color: #444; margin-top: 40px;
}
.footer-links {
    margin-bottom: 10px; display: flex; justify-content: center;
    flex-wrap: wrap; gap: 6px 20px;
}
.footer-links a { color: #666; transition: color 0.2s; }
.footer-links a:hover { color: #ff3366; }

/* ── SCROLLBAR ────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #2a2a2a; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #ff3366; }
::selection { background: #ff3366; color: #fff; }

/* ── MOBİL ────────────────────────────────── */
@media (max-width: 640px) {
    .header-inner { flex-wrap: wrap; }
    .search-form  { order: 3; min-width: 100%; }
    .user-area    { margin-left: 0; }
    .main-nav     { overflow-x: auto; flex-wrap: nowrap; }
    .nav-link     { font-size: 0.82rem; padding: 12px 14px; }
    .video-grid   { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 10px; }
    .card-title   { font-size: 0.8rem; }
}

/* ═══ FORUM NAV GLOW ═══ */
.nav-forum-glow{color:#00d4ff !important;font-weight:700;position:relative;text-shadow:0 0 8px rgba(0,212,255,.4);animation:forumPulse 2s ease-in-out infinite}
.nav-forum-glow:hover{color:#fff !important;text-shadow:0 0 14px rgba(0,212,255,.7);background:rgba(0,212,255,.08)}
.nav-forum-glow i{filter:drop-shadow(0 0 4px rgba(0,212,255,.5))}
.nav-new-badge{background:linear-gradient(135deg,#00d4ff,#0099cc);color:#000;font-size:.5rem;font-weight:900;padding:1px 6px;border-radius:8px;margin-left:4px;letter-spacing:1px;line-height:1.4;animation:badgeBounce 2s ease-in-out infinite;box-shadow:0 0 8px rgba(0,212,255,.4)}
@keyframes forumPulse{0%,100%{text-shadow:0 0 8px rgba(0,212,255,.3)}50%{text-shadow:0 0 16px rgba(0,212,255,.6)}}
@keyframes badgeBounce{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-1px) scale(1.05)}}
