﻿/* â•â•â• PotterNews â€” PaylaÅŸÄ±lan Tema â•â•â• */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Cinzel+Decorative:wght@700&family=EB+Garamond:wght@400;500;600&display=swap');

:root {
  --gold: #c9a84c;
  --gold-l: #f0d080;
  --gold-d: #8b6914;
  --dp: #0d0b1e;
  --dp2: #0e0c20;
  --navy: #161a3a;
  --txt: #e8dfc0;
  --muted: #9a8c6b;
  --card-bg: rgba(14,12,32,.85);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { background: #0d0b1e; } /* Flash beyazını önle */

body {
  background: var(--dp);
  color: var(--txt);
  font-family: 'EB Garamond', serif;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(1px 1px at 15% 25%, rgba(255,255,255,.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 75% 60%, rgba(255,255,255,.4) 0%, transparent 100%);
}

/* â”€â”€â”€ Navbar â”€â”€â”€ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13,11,30,.93);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid rgba(201,168,76,.28);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.95rem, 2.2vw, 2.2rem);
  font-weight: 700;
  letter-spacing: .35px;
  line-height: 1;
  color: var(--gold);
  text-decoration: none;
}

.nav-back {
  font-family: 'Cinzel', serif;
  font-size: .75rem;
  color: var(--muted);
  text-decoration: none;
  transition: color .3s;
}

.nav-back:hover { color: var(--gold); }

/* â”€â”€â”€ Main Container â”€â”€â”€ */
main {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem 5rem;
}

/* â”€â”€â”€ Page Header â”€â”€â”€ */
.page-header {
  text-align: center;
  margin-bottom: 3rem;
}

.page-eyebrow {
  display: inline-block;
  background: rgba(201,168,76,.1);
  border: 1px solid rgba(201,168,76,.3);
  color: var(--gold);
  font-family: 'Cinzel', serif;
  font-size: .68rem;
  letter-spacing: 3px;
  padding: 4px 14px;
  border-radius: 20px;
  margin-bottom: 1rem;
  text-transform: none;
}

.page-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(1.8rem, 5vw, 3rem);
  color: var(--gold);
  text-shadow: 0 0 40px rgba(201,168,76,.4);
  margin-bottom: .4rem;
}

.page-sub {
  font-family: 'Cinzel', serif;
  font-size: .82rem;
  color: var(--muted);
  letter-spacing: 2px;
}

/* â”€â”€â”€ Common Cards â”€â”€â”€ */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.info-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px;
  padding: 1.3rem;
}

.info-label {
  font-family: 'Cinzel', serif;
  font-size: .72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: .5rem;
  opacity: .6;
}

.info-value {
  font-size: 1rem;
  line-height: 1.6;
}

.section-title {
  font-family: 'Cinzel', serif;
  font-size: 1.15rem;
  color: var(--gold);
  margin: 2rem 0 1rem;
  padding-bottom: .4rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

/* Keep Turkish letters in headings intact across responsive layouts */
html[lang="tr"] .page-title,
html[lang="tr"] .page-sub,
html[lang="tr"] .page-eyebrow,
html[lang="tr"] .section-title,
html[lang="tr"] .page-badge,
html[lang="tr"] .eyebrow,
html[lang="tr"] .hero-eyebrow {
  text-transform: none !important;
}

/* â”€â”€â”€ Scrollbar â”€â”€â”€ */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--dp); }
::-webkit-scrollbar-thumb { background: var(--gold-d); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* â”€â”€â”€ Selection â”€â”€â”€ */
::selection { background: rgba(201,168,76,.3); color: var(--gold-l); }

/* â”€â”€â”€ FadeIn Animation â”€â”€â”€ */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

/* â”€â”€â”€ Responsive â”€â”€â”€ */
@media (max-width: 768px) {
  .info-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
  .nav-inner { padding: 0 1rem; height: 56px; }
  .nav-logo { font-size: clamp(1.4rem, 2vw, 1.8rem); }
  main { padding: 2rem 1rem 3rem; }
}

@media (max-width: 600px) {
  .info-grid { grid-template-columns: 1fr; }
  main { padding: 2rem 1rem 3rem; }
}

@media (max-width: 400px) {
  .page-title { font-size: clamp(1.4rem, 5vw, 2rem); }
  .info-card { padding: 1rem; }
  .nav-inner { height: 50px; padding: 0 .75rem; }
}

