/*==============================
= SEA OF LEGEND DARK THEME v7  =
==============================*/

/* ---------- TEMEL RENKLER ---------- */
:root {
  --gold: #d4a74f;
  --gold-dark: #b89039;
  --bg-main: #0b0d10;
  --bg-dark: #1a1d22;
  --bg-soft: #14161a;
  --bg-footer: #15181d;
  --border: #252931;
  --text-100: #f0e6cf;
  --text-300: #cfcfcf;
  --text-400: #bdbdbd;
}

/* ---------- GENEL YAPI ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg-main);
  color: var(--text-300);
  font-family: 'Poppins', sans-serif;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

/* ---------- HEADER ---------- */
.main-header {
  background: var(--bg-dark);
  border-bottom: 2px solid var(--border);
  color: var(--gold);
  text-align: center;
  padding-bottom: 10px;
}

.header-bottom {
  padding: 10px 0 18px;
}

.site-title {
  color: var(--gold);
  font-size: 2.4em;
  text-shadow: 0 0 20px rgba(212,167,79,.7);
  margin: 5px 0;
}

.main-nav {
  margin-top: 8px;
}

.main-nav a {
  color: var(--text-300);
  margin: 0 15px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.05em;
  transition: color 0.3s ease;
}

.main-nav a:hover {
  color: var(--gold);
}

/* ---------- HERO ALANI ---------- */
.hero {
  position: relative;
  min-height: 60vh;
  padding: 40px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 50% 120%, rgba(14,18,24,.9) 0%, rgba(11,13,16,1) 60%, rgba(11,13,16,1) 100%),
    radial-gradient(800px 400px at 20% 0%, rgba(255,255,255,.02) 0%, rgba(255,255,255,0) 60%),
    radial-gradient(800px 400px at 80% 10%, rgba(255,255,255,.02) 0%, rgba(255,255,255,0) 60%),
    linear-gradient(#0b0d10, #0b0d10);
}

.hero-content.compact {
  z-index: 5;
  position: relative;
  padding: 28px 22px;
  max-width: 600px;
  background: rgba(0,0,0,.55);
  border: 1px solid var(--gold);
  border-radius: 14px;
  box-shadow: 0 0 25px rgba(212,167,79,.28);
}

.hero-content.compact h2 {
  font-size: 1.8em;
  color: var(--gold);
  margin: 0 0 8px;
}

.hero-content.compact p {
  font-size: .95em;
  color: var(--text-300);
  margin: 0 0 18px;
}

/* ---------- İNDİRME BUTONLARI ---------- */
.download-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}

.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--gold);
  color: var(--bg-main);
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: .95em;
  transition: all .25s ease;
  box-shadow: 0 0 12px rgba(212,167,79,.25);
}

.dl-btn i { font-size: 1.05em; }

.dl-btn:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 0 18px rgba(212,167,79,.45);
}

/* ---------- FOG (SİS) ---------- */
.fog {
  position: absolute;
  inset: -10% -20% -10% -20%;
  background:
    radial-gradient(800px 200px at 10% 20%, rgba(255,255,255,.05), transparent 60%),
    radial-gradient(600px 160px at 80% 10%, rgba(255,255,255,.035), transparent 60%),
    radial-gradient(700px 220px at 30% 90%, rgba(255,255,255,.04), transparent 60%);
  filter: blur(12px);
  opacity: .25;
  animation: fogMove 70s linear infinite;
  pointer-events: none;
  z-index: 1;
}

.fog.fog2 {
  opacity: .18;
  animation-duration: 110s;
  animation-direction: reverse;
}

@keyframes fogMove {
  0% { transform: translateX(0) translateY(0); }
  50% { transform: translateX(-6%) translateY(-2%); }
  100% { transform: translateX(-12%) translateY(0); }
}

/* ---------- DALGA (SVG) ---------- */
.waves {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 110px;
  z-index: 2;
  overflow: hidden;
}

.wave-svg {
  width: 200%;
  height: 110px;
  animation: waveSlide 12s linear infinite;
}

.wave-svg path {
  fill: rgba(212,167,79,.10);
}

@keyframes waveSlide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- ANA BÖLÜMLER ---------- */
.section {
  padding: 90px 20px;
  width: 100%;
  margin: 0 auto;
  background: var(--bg-main);
}

.section:nth-of-type(even) {
  background: var(--bg-soft);
}

.section h2 {
  color: var(--gold);
  margin: 0 0 30px;
  text-align: center;
  font-size: 2em;
}

/* ---------- GALERİ (SCREENSHOTS) ---------- */
.gallery.wide {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.gallery.wide img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border: 2px solid var(--gold);
  border-radius: 10px;
  transition: transform .25s, box-shadow .25s;
}

.gallery.wide img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(212,167,79,.45);
}

/* ---------- VİDEO IZGARASI ---------- */
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  justify-items: center;
}

.video-grid iframe {
  width: 100%;
  height: 220px;
  border: 2px solid var(--gold);
  border-radius: 10px;
  background: #000;
}

/* ---------- SHOW MORE / LESS ---------- */
.gallery.wide img,
.video-grid iframe {
  display: none;
}

.gallery.wide img:nth-child(-n+4),
.video-grid iframe:nth-child(-n+4) {
  display: block;
}

.gallery.wide.expanded img,
.video-grid.expanded iframe {
  display: block;
}

.toggle-btn {
  background: var(--gold);
  color: var(--bg-main);
  border: none;
  padding: 10px 25px;
  margin: 25px auto 0;
  display: block;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
}

.toggle-btn:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(212,167,79,0.4);
}

/* ---------- FOOTER ---------- */
.main-footer {
  background: var(--bg-dark);
  border-top: 2px solid var(--border);
  color: var(--gold);
  padding-top: 40px;
}

.footer-top {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 0 40px 40px;
}

.footer-col {
  text-align: center;
  max-width: 300px;
  margin: 15px 0;
}

.footer-col h3 {
  color: var(--gold);
  margin-bottom: 15px;
}

.footer-col p {
  color: var(--text-400);
  font-size: .9em;
  line-height: 1.5em;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col ul li a {
  color: var(--text-300);
  text-decoration: none;
  display: block;
  margin: 6px 0;
}

.footer-col ul li a:hover {
  color: var(--gold);
}

.footer-icons a {
  color: var(--gold);
  font-size: 1.5em;
  margin: 0 8px;
  transition: color 0.3s;
}

.footer-icons a:hover {
  color: var(--text-100);
}

.footer-bottom {
  background: var(--bg-footer);
  text-align: center;
  padding: 20px;
  border-top: 1px solid var(--border);
  font-size: .9em;
  color: var(--text-300);
}

.footer-bottom a {
  color: var(--gold);
  text-decoration: none;
  margin: 0 5px;
}

.footer-bottom a:hover {
  color: var(--text-100);
}

/* ---------- METİN SAYFALARI ---------- */
.text-container {
  max-width: 800px;
  margin: 0 auto;
  font-size: 1em;
  line-height: 1.8em;
  color: var(--text-300);
  text-align: justify;
}

.text-container p {
  margin-bottom: 20px;
}

/* ---------- RESPONSIVE TASARIM ---------- */
@media (max-width: 1024px) {
  .gallery.wide,
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .gallery.wide,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .site-title {
    font-size: 1.9em;
  }

  .hero {
    min-height: 56vh;
  }

  .main-nav a {
    display: inline-block;
    margin: 0 8px;
  }
}
