@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800;900&family=Gelasio:ital,wght@0,500;0,600;0,700;1,500&family=Manrope:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg-darkest: #070506;
  --bg-primary: #0c0809;
  --bg-secondary: #140d0e;
  --bg-elevated: #181011;
  --bg-card: rgba(22, 14, 15, 0.92);
  --bg-hover: rgba(34, 22, 22, 0.95);
  --bronze-dark: #2a1d14;
  --bronze-muted: #6e5438;
  --bronze-accent: #a78152;
  --gold-antique: #d4a940;
  --gold-bright: #f5d47e;
  --gold-glow: rgba(212, 169, 64, 0.45);
  --ember: #ff7426;
  --ember-deep: #b93a0c;
  --ember-glow: rgba(255, 116, 38, 0.42);
  --crimson-accent: #c8173d;
  --crimson-glow: rgba(200, 23, 61, 0.5);
  --text-primary: #f3f2f0;
  --text-secondary: #b6b3af;
  --text-muted: #8f8b86;
  --text-gold: var(--gold-antique);
  --border-subtle: rgba(212, 169, 64, 0.18);
  --border-strong: rgba(212, 169, 64, 0.55);
  --border-glow: rgba(245, 212, 126, 0.8);
  --yz-baslik: 'Gelasio', 'Cinzel', Georgia, 'Times New Roman', serif;
  --yz-govde: 'Manrope', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --yz-mono: 'Cascadia Mono', Consolas, monospace;
  --serit-h: 38px;
  --nav-h: 70px;
  --radius: 4px;
  --golge-kart: inset 0 1px 0 rgba(255, 228, 170, 0.08), 0 22px 50px -24px rgba(0, 0, 0, 0.95);
  --golge-parla: 0 0 0 1px var(--border-strong), 0 28px 60px -26px rgba(0, 0, 0, 0.95), 0 0 44px -14px var(--gold-glow);
  --ease-aaa: cubic-bezier(.2, 0, 0, 1);
  --ease-cikis: cubic-bezier(.16, 1, .3, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg-darkest);
  color: var(--text-primary);
}

body {
  font-family: var(--yz-govde);
  background-color: #080607;
  background-image: 
    /* Soft ambient gold mist at top */
    radial-gradient(1100px 500px at 50% -20px, rgba(212, 169, 64, 0.07) 0%, transparent 70%),
    /* Gentle atmospheric fog & depth */
    radial-gradient(1300px 700px at 50% 25%, rgba(26, 17, 19, 0.7) 0%, transparent 80%),
    /* Distant warm ember glow */
    radial-gradient(900px 600px at 15% 65%, rgba(185, 58, 12, 0.035) 0%, transparent 70%),
    radial-gradient(900px 600px at 85% 80%, rgba(200, 23, 61, 0.025) 0%, transparent 70%),
    /* Deep soft vignette */
    linear-gradient(180deg, #090708 0%, #0d0a0b 35%, #0a0708 75%, #060505 100%);
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

#ember-canvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 1;
  opacity: 0.88;
}

/* ================================================= */
/* SOFT ATMOSPHERIC SIDE BACKDROPS (CENTER FADEOUT)  */
/* ================================================= */
.bg-side-art {
  position: fixed;
  top: 0;
  bottom: 0;
  width: 32vw;
  max-width: 500px;
  min-width: 240px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.44;
  transition: opacity 0.4s ease;
}

.bg-side-left {
  left: 0;
  background: url('/assets/bg_side_left.jpg') left top / cover no-repeat;
  -webkit-mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.7) 45%, rgba(0, 0, 0, 0) 100%),
                      linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.7) 45%, rgba(0, 0, 0, 0) 100%),
              linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.bg-side-left::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent 15%, rgba(8, 6, 7, 0.65) 60%, #080607 100%),
              linear-gradient(to bottom, #080607 0%, transparent 12%, transparent 88%, #080607 100%);
}

.bg-side-right {
  right: 0;
  background: url('/assets/bg_side_right.jpg') right top / cover no-repeat;
  -webkit-mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.7) 45%, rgba(0, 0, 0, 0) 100%),
                      linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(to left, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.7) 45%, rgba(0, 0, 0, 0) 100%),
              linear-gradient(to bottom, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 1) 15%, rgba(0, 0, 0, 1) 85%, rgba(0, 0, 0, 0) 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}

.bg-side-right::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, transparent 15%, rgba(8, 6, 7, 0.65) 60%, #080607 100%),
              linear-gradient(to bottom, #080607 0%, transparent 12%, transparent 88%, #080607 100%);
}

@media (max-width: 1024px) {
  .bg-side-art {
    opacity: 0.22;
    width: 25vw;
  }
}

@media (max-width: 768px) {
  .bg-side-art {
    display: none;
  }
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ================================================= */
/* 1. WE ARE BEST TOP HEADER BAR                     */
/* ================================================= */
.official-header-bar {
  z-index: 102;
  min-height: var(--serit-h);
  color: var(--text-muted);
  background: #050304;
  border-bottom: 1px solid rgba(255, 240, 220, 0.08);
  font-size: 0.76rem;
  position: relative;
}

.header-bar-container {
  min-height: var(--serit-h);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
}

.publisher-badge {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  letter-spacing: 0.02em;
}

.pub-tag {
  background: rgba(212, 169, 64, 0.15);
  color: var(--gold-antique);
  border: 1px solid rgba(212, 169, 64, 0.35);
  padding: 0.15rem 0.5rem;
  border-radius: 2px;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.header-right-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-right-actions a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.header-right-actions a:hover {
  color: var(--gold-bright);
}

.text-gold {
  color: var(--gold-antique) !important;
}

/* ================================================= */
/* 2. WE ARE BEST NAVIGATION BAR                     */
/* ================================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0b0708f5;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 169, 64, 0.3);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
  transition: all 0.3s var(--ease-aaa);
}

.navbar::after {
  content: "";
  pointer-events: none;
  background: rgba(212, 169, 64, 0.15);
  height: 1px;
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
}

.nav-container {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 1.6rem;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--yz-baslik);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.25s, text-shadow 0.25s;
  position: relative;
  padding: 0.4rem 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--gold-bright);
  text-shadow: 0 0 10px rgba(245, 212, 126, 0.5);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
}

/* Central Guild / Game Crest */
.nav-arma {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transform: translateY(4px);
  transition: transform 0.3s ease;
}

.nav-arma:hover {
  transform: translateY(2px) scale(1.02);
}

.nav-arma img {
  height: 52px;
  width: auto;
  filter: drop-shadow(0 0 14px rgba(212, 169, 64, 0.4));
}

.nav-sag-blok {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.sound-toggle-btn {
  background: rgba(212, 169, 64, 0.1);
  border: 1px solid rgba(212, 169, 64, 0.25);
  color: var(--gold-antique);
  border-radius: var(--radius);
  padding: 0.45rem 0.75rem;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  transition: all 0.2s;
}

.sound-toggle-btn:hover {
  background: rgba(212, 169, 64, 0.2);
  color: #fff;
  border-color: var(--gold-antique);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, #d4a940, #966f1e);
  color: #0b0708;
  font-family: var(--yz-baslik);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius);
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(212, 169, 64, 0.3);
  transition: transform 0.25s, box-shadow 0.25s, filter 0.25s;
  border: 1px solid #f5d47e;
}

.nav-cta:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
  box-shadow: 0 6px 20px rgba(245, 212, 126, 0.5);
}

/* ================================================= */
/* 3. BUTTONS                                        */
/* ================================================= */
.btn-primary, .btn-secondary, .btn-kan {
  font-family: var(--yz-baslik);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.6rem;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s var(--ease-cikis);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: linear-gradient(180deg, #f5d47e 0%, #d4a940 45%, #9b7020 100%);
  color: #0d0708;
  border: 1px solid #fff2be;
  box-shadow: 0 6px 24px rgba(212, 169, 64, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(245, 212, 126, 0.6), inset 0 1px 0 #fff;
  filter: brightness(1.08);
}

.btn-secondary {
  background: rgba(24, 16, 17, 0.8);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.btn-secondary:hover {
  background: rgba(42, 29, 20, 0.9);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  transform: translateY(-2px);
}

.btn-kan {
  background: linear-gradient(180deg, #c8173d 0%, #870b24 100%);
  color: #fff;
  border: 1px solid #ff4d6d;
  box-shadow: 0 4px 18px var(--crimson-glow);
}

.btn-kan:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
  box-shadow: 0 6px 25px rgba(200, 23, 61, 0.7);
}

/* ================================================= */
/* 4. HERO SECTION                                   */
/* ================================================= */
.hero {
  position: relative;
  min-height: calc(82vh - var(--serit-h) - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  overflow: hidden;
  padding: 4.5rem 0 3.5rem;
}

.hero-sahne {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: 
    radial-gradient(ellipse 900px 500px at 50% 20%, rgba(212, 169, 64, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 1100px 500px at 50% 75%, rgba(185, 58, 12, 0.045) 0%, transparent 75%);
}

.hero-arka {
  display: none;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 35%, transparent 0%, rgba(8, 6, 7, 0.55) 75%, #080607 100%);
}

.hero-kor-isik {
  position: absolute;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 650px;
  height: 320px;
  background: radial-gradient(ellipse, rgba(212, 169, 64, 0.12) 0%, rgba(255, 116, 38, 0.04) 45%, transparent 75%);
  pointer-events: none;
  filter: blur(45px);
}

.hero-container {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 960px;
}

.hero-badge-guild {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(22, 14, 15, 0.85);
  border: 1px solid var(--border-strong);
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  font-size: 0.82rem;
  color: var(--gold-bright);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5), 0 0 20px rgba(212, 169, 64, 0.2);
}

.hero-badge-guild span.pulsing-dot {
  width: 8px;
  height: 8px;
  background: #00d294;
  border-radius: 50%;
  box-shadow: 0 0 10px #00d294;
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.9); opacity: 0.7; }
  50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 14px #00ffaa; }
  100% { transform: scale(0.9); opacity: 0.7; }
}

.hero-baslik {
  font-family: var(--yz-baslik);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

.kor-metin {
  background: linear-gradient(180deg, #fff2be 0%, #f5d47e 30%, #d4a940 75%, #a78152 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  filter: drop-shadow(0 2px 14px rgba(212, 169, 64, 0.5));
}

.hero-desc {
  font-size: clamp(1rem, 1.3vw, 1.25rem);
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 2.25rem;
  line-height: 1.7;
}

.hero-desc strong {
  color: var(--gold-bright);
}

.cta-group {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

/* Big 33.000 Akçe Banner Ribbon */
.akce-spotlight-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  background: linear-gradient(90deg, rgba(212, 169, 64, 0.05), rgba(212, 169, 64, 0.22), rgba(212, 169, 64, 0.05));
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border-strong);
  padding: 0.8rem 2rem;
  margin-top: 1rem;
}

.akce-spotlight-ribbon .akce-count {
  font-family: var(--yz-baslik);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--gold-bright);
  letter-spacing: 0.04em;
  text-shadow: 0 0 20px rgba(245, 212, 126, 0.8);
}

.akce-spotlight-ribbon .akce-label {
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: var(--text-secondary);
  text-align: left;
  line-height: 1.3;
}

/* ================================================= */
/* 5. PORTAL CARD & WIDGET BOX                       */
/* ================================================= */
.portal-card, .kart-tema, .widget-box {
  background: linear-gradient(180deg, rgba(30, 20, 20, 0.72) 0%, rgba(13, 9, 10, 0.88) 100%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  box-shadow: var(--golge-kart);
  position: relative;
  transition: all 0.35s var(--ease-aaa);
  overflow: hidden;
}

.portal-card::before, .widget-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
  opacity: 0.4;
  transition: opacity 0.3s;
}

.portal-card:hover, .widget-box:hover {
  border-color: var(--border-strong);
  box-shadow: 0 12px 35px -10px rgba(0, 0, 0, 0.9), 0 0 25px -8px var(--gold-glow);
}

.portal-card:hover::before, .widget-box:hover::before {
  opacity: 0.9;
}

.widget-title {
  padding: 1.1rem 1.4rem;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--yz-baslik);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gold-antique);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ================================================= */
/* 6. SECTION HEADERS                                */
/* ================================================= */
.section-header {
  text-align: center;
  margin-bottom: 2.75rem;
  position: relative;
}

.section-tag {
  color: var(--gold-antique);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title {
  font-family: var(--yz-baslik);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
}

.section-divider {
  width: 90px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold-antique), transparent);
  margin: 0 auto;
}

/* ================================================= */
/* 7. FOOTER                                         */
/* ================================================= */
.site-footer {
  background: #050304;
  border-top: 1px solid rgba(212, 169, 64, 0.2);
  padding: 3.5rem 0 2rem;
  position: relative;
  z-index: 2;
  margin-top: 5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-family: var(--yz-baslik);
  color: var(--gold-antique);
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 0.6rem;
}

.footer-col ul a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.85rem;
  transition: color 0.2s;
}

.footer-col ul a:hover {
  color: var(--gold-bright);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* Responsive mobile */
@media (max-width: 992px) {
  .nav-links {
    display: none;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .header-bar-container {
    justify-content: center;
    text-align: center;
  }
}
