@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');

/* GENEL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  margin: 0;
  font-family: "Montserrat", sans-serif;
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

/* Üst başlık */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 40px;
  text-align: center;
  font-size: 48px;
  background: rgba(0,0,0,0.5);
  transition: opacity 0.5s ease, transform 0.5s ease; /* Opaklık ve pozisyon için geçiş */
}

/* Kaydırma sırasında küçülme ve yukarı kayma efekti */
header.scrolled {
  opacity: 0;         /* Yavaşça kaybolur */
  transform: translateY(-50px) scale(0.8); /* Yukarı kayma ve küçülme */
}

#bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* video fills */
  z-index: -1;
}

/* Navbar üst bar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: rgba(0, 0, 0, 0.6);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* LOGO DÜZENLEMESİ: CORE logosunun bozulmasını engellemek için filter kodu kaldırıldı. */
.logo img {
  height: 35px;
}

/* MENÜ */
.menu a {
  position: relative;
  display: inline-block;
  padding: 8px 20px;
  margin-left: 15px;
  border: 2px solid red;
  border-radius: 25px;
  color: white;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Işık efekti */
.menu a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,0,0,0.6),
    rgba(255,255,255,0.4),
    rgba(255,0,0,0.6)
  );
  transition: all 0.5s ease;
  z-index: 1;
}

/* Hover olunca ışık geçsin */
.menu a:hover::before {
  left: 100%;
}

/* Hover olunca renk ve animasyon */
.menu a:hover {
  background: red;
  color: black;
  transform: scale(1.1);
}

/* Tıklanınca ufak animasyon */
.menu a:active {
  transform: scale(0.95);
}

/* COOKIES */
.cookies {
  background: rgba(0, 0, 0, 0.85);
  padding: 15px;
  font-size: 12px;
  width: 100%;
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 9999; /* tüm diğer elemanların üstünde */
}

.cookies p {
  margin-bottom: 10px;
}

.cookies a {
  color: #bbb;
  text-decoration: underline;
}

.cookies-buttons {
  display: flex;
  gap: 10px;
}

.cookies-buttons button {
  background: none;
  border: 1px solid #fff;
  color: #fff;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 12px;
}

.cookies-buttons .accept {
  background: #fff;
  color: #000;
  font-weight: bold;
}

/* GENEL BUTON STİLİ */
button, .teaser-btn a {
  position: relative;
  display: inline-block;
  overflow: hidden;
  color: #fff;
  background: transparent;
  border: 1px solid red;
  padding: 10px 20px;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Hover efekti: arka plandan ışık süzülmesi */
button::before, .teaser-btn a::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(120deg, rgba(255,0,0,0.6), rgba(255,255,255,0.3), rgba(255,0,0,0.6));
  transition: all 0.5s ease;
}

button:hover::before, .teaser-btn a:hover::before {
  left: 100%;
}

button:hover, .teaser-btn a:hover {
  color: #000;
  background: red;
  transform: scale(1.05);
}

/* TEASER BUTONU ÖZEL */
.teaser-btn a {
  font-size: 18px;
  border: 2px solid red;
  padding: 12px 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-weight: bold;
}

/* Cookies accept özel */
.cookies-buttons .accept {
  border: 2px solid #fff;
  background: #fff;
  color: #000;
  font-weight: bold;
  transition: transform 0.3s ease, background 0.3s ease;
}

.cookies-buttons .accept:hover {
  transform: scale(1.1) rotate(-2deg);
  background: red;
  color: #fff;
}

/* SOUND butonuna özel */
#sound-btn {
  position: relative;
  display: inline-block;
  padding: 8px 18px;
  border: 2px solid red;
  border-radius: 25px;
  color: white;
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 1px;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* İçinden geçen ışık efekti */
#sound-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,0,0,0.6),
    rgba(255,255,255,0.4),
    rgba(255,0,0,0.6)
  );
  transition: all 0.5s ease;
}

#sound-btn:hover::before {
  left: 100%;
}

#sound-btn:hover {
  background: red;
  color: black;
  transform: scale(1.05);
}

/* GENİŞLETİLMİŞ MENÜ PANELİ */
#expanded-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#expanded-menu.active {
  opacity: 1;
  visibility: visible;
}

.menu-content {
  display: flex;
  gap: 80px;
  padding: 40px;
  text-align: left;
}

.menu-column h2 {
  font-size: 24px;
  color: #fff;
  letter-spacing: 2px;
  margin-bottom: 20px;
  border-bottom: 2px solid red;
  padding-bottom: 5px;
}

.menu-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu-column ul li {
  margin-bottom: 10px;
}

.menu-column ul li a {
  color: #aaa;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.menu-column ul li a:hover {
  color: red;
  transform: translateX(10px);
}

#close-menu-btn {
  position: absolute;
  top: 30px;
  right: 40px;
  background: transparent;
  border: 2px solid red;
  color: red;
  font-size: 24px;
  font-weight: bold;
  cursor: pointer;
  padding: 5px 15px;
  transition: all 0.3s ease;
}

#close-menu-btn:hover {
  background: red;
  color: #000;
  transform: rotate(90deg);
}

/* GENEL AYARLAR */
body {
    background-color: #000;
    color: #fff;
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* NAVBAR (Geliştirdiğiniz Navbar'a benzer) */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: transparent;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}


.menu a {
    position: relative;
    display: inline-block;
    padding: 8px 20px;
    margin-left: 15px;
    border: 2px solid red;
    border-radius: 25px;
    color: white;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s ease;
}

.menu a:hover {
    background: red;
    color: black;
    transform: scale(1.1);
}

.footer {
  background: #000;
  color: #fff;
  padding: 40px 10%;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

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

.footer-col ul li {
  margin: 8px 0;
}

.footer-col ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.2s ease;
}

.footer-col ul li a:hover {
  color: #fff;
  transform: translateX(5px);
}

.new {
  color: red;
  font-size: 0.8em;
  margin-left: 5px;
}

.footer-bottom {
  margin-top: 40px;
  text-align: center;
}

.socials a {
  margin: 0 10px;
  color: #ccc;
  font-size: 20px;
  transition: transform 0.3s ease, color 0.3s ease;
}

.socials a:hover {
  color: #fff;
  transform: scale(1.2) rotate(5deg);
}

.footer-legal {
  margin-top: 30px;
  text-align: center;
  font-size: 0.9em;
  color: #aaa;
}

.footer-legal a {
  color: #aaa;
  margin: 0 5px;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #fff;
}


/* Cookies accept özel */
.cookies-buttons .accept {
  border: 2px solid #fff;
  background: #fff;
  color: #000;
  font-weight: bold;
  transition: transform 0.3s ease, background 0.3s ease;
}

.cookies-buttons .accept:hover {
  transform: scale(1.1) rotate(-2deg);
  background: red;
  color: #fff;
}

html, body {
  overflow-x: hidden !important;  /* tüm sitede yatay kaydırmayı kapat */
  width: 100%;
}

.divider-simple {
  border: none;
  height: 1px;
  width: 93%;          /* çizginin uzunluğunu kısalttım */
  background-color: #555;
  margin: 40px auto;   /* ortalanması için */
}

  /* =============== Core Games Privacy Policy Page (Outlast-inspired, not a clone) =============== */
  :root{
    --cg-bg:#000;
    --cg-fg:#e8e8e8;
    --cg-muted:#a7a7a7;
    --cg-accent:#73ff7a;      /* eerie green accent */
    --cg-maxw: 880px;
    --cg-pad: 22px;
  }
  html,body{height:100%}
  body{
    margin:0; background:var(--cg-bg); color:var(--cg-fg);
    font: 400 16px/1.7 Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
    text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
  }

  /* ---------- HERO with background video, black fades, fog, and glitch title ---------- */
  .cg-hero{
    position:relative; height:62vh; min-height:360px; overflow:hidden; isolation:isolate;
    background:#030303;
    border-bottom: 1px solid #0e0e0e;
  }
  .cg-hero video{
    position:absolute; inset:0; width:100%; height:100%; object-fit:cover;
    filter:brightness(.5) contrast(1.15) saturate(.2);
    transform:translateZ(0);
    will-change: transform;
  }
  /* top & bottom black gradient fades */
  .cg-hero::before, .cg-hero::after{
    content:""; position:absolute; inset:0; pointer-events:none;
  }
  .cg-hero::before{
    background:
      linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,.75) 18%, rgba(0,0,0,0) 38%);
    mix-blend-mode:normal;
  }
  .cg-hero::after{
    background:
      linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,.82) 20%, rgba(0,0,0,0) 40%);
    transform:translateZ(0);
    bottom:-1px;
  }
  /* drifting fog layer */
  .cg-fog{
    position:absolute; inset:-20% -10%; pointer-events:none; opacity:.6; filter:blur(14px) contrast(105%);
    background:
      radial-gradient(60% 35% at 20% 30%, rgba(255,255,255,.08), transparent 60%),
      radial-gradient(50% 30% at 70% 20%, rgba(255,255,255,.06), transparent 60%),
      radial-gradient(70% 40% at 50% 70%, rgba(255,255,255,.07), transparent 60%);
    animation: cg-fog-move 38s linear infinite;
  }
  @keyframes cg-fog-move{
    0%{ transform:translate3d(-6%, -2%, 0) scale(1.1); }
    50%{ transform:translate3d(6%, 2%, 0) scale(1.12); }
    100%{ transform:translate3d(-6%, -2%, 0) scale(1.1); }
  }

  .cg-hero-inner{
    position:relative; z-index:2; height:100%;
    display:grid; place-items:end start;
    padding: clamp(24px, 6vw, 60px);
  }

  /* glitch heading */
  .cg-title{
    position:relative; margin:0;
    font-weight:800; letter-spacing:.02em; text-transform:uppercase;
    font-size: clamp(38px, 8vw, 92px);
    line-height:.95;
  }
  .cg-title span{ color:#fff; }
  .cg-title::before,
  .cg-title::after{
    content:attr(data-text); position:absolute; inset:0; pointer-events:none;
    text-shadow: none; mix-blend-mode:screen;
  }
  .cg-title::before{ transform:translate(0,0); color:var(--cg-accent); clip-path:polygon(0 0,100% 0,100% 55%,0 60%); animation: cg-gl1 2.1s infinite steps(2,end); }
  .cg-title::after{ transform:translate(0,0); color:#ff2e2e; clip-path:polygon(0 70%,100% 65%,100% 100%,0 100%); animation: cg-gl2 1.9s infinite steps(2,end); }
  @keyframes cg-gl1{
    0%{ transform:translate(0,0) }
    20%{ transform:translate(2px,-1px) }
    21%{ transform:translate(-1px,1px) }
    50%{ transform:translate(1px,0) }
    51%{ transform:translate(-2px,-1px) }
    100%{ transform:translate(0,0) }
  }
  @keyframes cg-gl2{
    0%{ transform:translate(0,0) }
    19%{ transform:translate(-2px,1px) }
    20%{ transform:translate(1px,-1px) }
    60%{ transform:translate(-1px,0) }
    61%{ transform:translate(2px,1px) }
    100%{ transform:translate(0,0) }
  }
  .cg-sub{
    margin-top:.6rem; color:var(--cg-muted); font-size:clamp(14px, 2.2vw, 16px);
    letter-spacing:.04em;
  }

  /* ---------- CONTENT ---------- */
  .cg-wrap{ width:min(var(--cg-maxw), calc(100% - 2*var(--cg-pad))); margin: 0 auto; }
  .cg-paper{
    padding: clamp(24px, 5vw, 56px) 0 100px;
  }
  .cg-paper h2{
    font: 700 clamp(20px, 3.6vw, 28px)/1.2 Inter, system-ui, sans-serif;
    margin: 2.2rem 0 .6rem; letter-spacing:.02em;
  }
  .cg-paper p,
  .cg-paper li{
    color:#d1d1d1; font-size:clamp(15px, 2.6vw, 17px);
  }
  .cg-paper p{ margin:.85rem 0; }
  .cg-paper .cg-lead{
    color:#f0f0f0; font-size:clamp(16px, 3vw, 18px);
  }
  .cg-meta{ color:var(--cg-muted); font-size:14px; margin-top:.5rem }
  a.cg-link{ color:var(--cg-accent); text-decoration:none; border-bottom:1px dashed rgba(115,255,122,.4) }
  a.cg-link:hover{ border-bottom-color:transparent }

  /* scroll reveal */
  .cg-reveal{ opacity:0; transform:translateY(12px); filter:blur(2px); transition:opacity .8s ease, transform .8s ease, filter .8s ease; }
  .cg-reveal.is-in{ opacity:1; transform:none; filter:none; }

  /* section rule */
  .cg-rule{ border:0; border-top:1px solid #111; margin:2.2rem 0 }

  /* print */
  @media print{
    .cg-hero{ display:none }
    body{ background:#fff; color:#000 }
    .cg-paper p, .cg-paper li{ color:#000 }
  }

  /* Reduced motion accessibility */
  @media (prefers-reduced-motion: reduce){
    .cg-fog, .cg-title::before, .cg-title::after{ animation: none !important; }
    .cg-reveal{ transition:none }
  }