/* =====================================================================
   Varlık profil sayfaları (şirket / marka / kişi / etkinlik) ortak stil.
   Oyun profil v2'nin (sinematik hero) görsel dilini paylaşır; tema
   token'ları ile gece/gündüz uyumlu. Sadece bu dört sayfada yüklenir.
   ===================================================================== */

.og-ent-page .og-card {
    background: var(--bg-card, #fff);
    color: var(--text-primary, #212529);
    border: 1px solid var(--border-color, #dee2e6);
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0,0,0,0.08));
}

.og-ent-page .og-section-title { color: var(--text-primary, #212529); }
.og-ent-page .og-body-text { color: var(--text-secondary, #6c757d); }
.og-ent-page .og-muted { color: var(--text-muted, #adb5bd); }

/* ---- HERO ---- */
.og-hero {
    background: linear-gradient(115deg, #131a2c 0%, #22304e 55%, #3d2434 100%);
    min-height: 300px;
    display: flex;
    align-items: flex-end;
}
.og-hero-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center 25%;
}
/* Logo/portre gibi fotoğraf olmayan görsellerden türetilen fon: bulanık, kısık ve karartılmış
   (doygun renkler sitenin koyu paletiyle çatışıyordu, sadece hafif bir renk esintisi bırakıyoruz) */
.og-hero-bg-blur {
    filter: blur(44px) saturate(0.85) brightness(0.65);
    transform: scale(1.25);
    opacity: 0.35;
}
.og-hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(13,17,28,0.35) 0%, rgba(13,17,28,0.75) 65%, rgba(13,17,28,0.94) 100%);
}
.og-hero-inner { width: 100%; }

/* Hero görsel varyantları */
.og-hero-art { position: relative; }

/* Şirket/marka logosu: 16/9 kutu (oyun kapağıyla aynı oran), kırpma yok, açık zeminli kutuda ortalanır */
.og-hero-art-logo { width: 320px; }
.og-hero-art-logo .og-hero-logo {
    width: 320px;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: contain;
    background: rgba(255,255,255,0.94);
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.25);
    padding: 16px;
    display: block;
}
.og-hero-art-logo .og-hero-art-fallback {
    width: 320px;
    aspect-ratio: 16 / 9;
    height: auto;
}

/* Kişi portresi: kare, kırparak doldurur */
.og-hero-art-portrait .og-hero-portrait {
    width: 220px; height: 220px;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.25);
    display: block;
}

/* Etkinlik kapağı: oyun sayfasındaki gibi 16/9 */
.og-hero-art-cover { width: 320px; }
.og-hero-art-cover .og-hero-cover {
    width: 320px;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,0.2);
    display: block;
}

/* Görsel yoksa yedek kutu */
.og-hero-art-fallback {
    width: 220px; height: 220px;
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.45);
    font-size: 3rem;
}

.og-hero-title {
    font-size: clamp(1.7rem, 4vw, 2.8rem);
    font-weight: 800;
    line-height: 1.08;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}
.og-hero-meta { font-size: 0.9rem; color: rgba(255,255,255,0.78); }
.og-hero-meta b { color: #fff; }
.og-hero-link { color: #ffb0a8; text-decoration: none; font-weight: 600; }
.og-hero-link:hover { color: #fff; }

.og-hero-chip {
    display: inline-flex; align-items: center;
    background: rgba(255,255,255,0.13);
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff;
    border-radius: 999px;
    padding: 4px 13px;
    font-size: 0.76rem;
    font-weight: 600;
}
a.og-hero-chip:hover { background: rgba(255,255,255,0.25); color: #fff; }
.og-hero-chip-accent {
    background: rgba(239,58,43,0.28);
    border-color: rgba(239,58,43,0.55);
    color: #ffb0a8;
    font-weight: 700;
}
.og-hero-chip-success { background: rgba(38,166,91,0.3); border-color: rgba(38,166,91,0.6); }
.og-hero-chip-info { background: rgba(55,138,221,0.3); border-color: rgba(55,138,221,0.6); }

.og-hero-btn {
    display: inline-flex; align-items: center;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.28);
    color: #fff;
    border-radius: 12px;
    padding: 10px 18px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.2s ease;
}
.og-hero-btn:hover { background: rgba(255,255,255,0.22); color: #fff; transform: translateY(-1px); }
.og-hero-btn-accent {
    background: var(--accent-gradient, linear-gradient(90deg, #ef3a2b, #ff6b6b));
    border: none;
    font-weight: 700;
}
.og-hero-btn-accent:hover { filter: brightness(1.08); }

/* ---- KÜNYE (sidebar) ---- */
.og-ent-page .og-sidebar-sticky { position: sticky; top: 90px; }
.og-ent-page .og-kv {
    display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
    padding: 5px 0;
    font-size: 0.88rem;
}
.og-ent-page .og-kv-key { color: var(--text-secondary, #6c757d); font-weight: 600; font-size: 0.8rem; }
.og-ent-page .og-kv-val { color: var(--text-primary, #212529); font-weight: 600; text-align: right; overflow-wrap: anywhere; }
.og-ent-page .og-kv-block {
    border-top: 1px solid var(--border-color, #dee2e6);
    margin-top: 12px;
    padding-top: 12px;
}
.og-ent-page .og-chip {
    display: inline-flex; align-items: center;
    background: var(--bg-primary, #f5f5f7);
    border: 1px solid var(--border-color, #dee2e6);
    color: var(--text-primary, #212529);
    border-radius: 999px;
    padding: 4px 12px;
    font-size: 0.78rem;
    font-weight: 600;
    transition: all 0.2s ease;
}
.og-ent-page .og-chip:hover { border-color: var(--accent-primary, #ef3a2b); color: var(--accent-primary, #ef3a2b); transform: translateY(-1px); }
.og-ent-page .og-company-row { padding: 4px 0; color: var(--text-primary, #212529); font-size: 0.88rem; }

/* ---- KAPAK GRID'İ (şirket oyunları, bağlantılı etkinlikler) ---- */
.og-cover-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}
.og-cover-card { display: block; }
.og-cover-thumb {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--bg-primary, #f5f5f7);
    border: 1px solid var(--border-color, #dee2e6);
}
.og-cover-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.og-cover-card:hover .og-cover-thumb img { transform: scale(1.05); }
.og-cover-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted, #adb5bd);
    font-size: 1.6rem;
}
.og-cover-badge {
    position: absolute; top: 8px; left: 8px;
    background: rgba(239,58,43,0.92);
    color: #fff;
    border-radius: 8px;
    padding: 2px 9px;
    font-size: 0.66rem;
    font-weight: 700;
}
.og-cover-name {
    margin-top: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary, #212529);
    line-height: 1.3;
}
.og-cover-card:hover .og-cover-name { color: var(--accent-primary, #ef3a2b); }
.og-cover-sub {
    font-size: 0.74rem;
    color: var(--text-muted, #adb5bd);
    margin-top: 2px;
}

@media (max-width: 767.98px) {
    .og-hero { min-height: 0; }
    .og-hero-art { margin: 0 auto; }
    .og-hero-art-portrait .og-hero-portrait,
    .og-hero-art-portrait .og-hero-art-fallback { width: 160px; height: 160px; margin: 0 auto; }
    .og-hero-art-logo,
    .og-hero-art-cover { width: 100%; max-width: 360px; }
    .og-hero-art-logo .og-hero-logo,
    .og-hero-art-logo .og-hero-art-fallback,
    .og-hero-art-cover .og-hero-cover { width: 100%; }
    .og-ent-page .og-sidebar-sticky { position: static; }
}
