:root{
  --bg:#0f1226;
  --card:#15193a;
  --muted:#a8b0ff;
  --primary:#7b5cff;
  --accent:#00d2ff;
  --text:#e9ecff;
  --ok:#22c55e;
  --danger:#ef4444;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0;font-family:Inter,system-ui,Segoe UI,Roboto,Arial,sans-serif;background:linear-gradient(180deg,#0b0e23 0%,#0f1226 60%,#0b0e23 100%);color:var(--text);}
a{color:inherit;text-decoration:none}
.container{max-width:1200px;margin:0 auto;padding:24px}
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  -webkit-backdrop-filter: blur(8px); /* Safari için */
  backdrop-filter: blur(8px);
  background: rgba(10,12,30,.6);
  border-bottom: 1px solid rgba(255,255,255,.08);
}



.nav .inner{display:flex;align-items:center;justify-content:space-between;padding:14px 24px}
.brand{display:flex;align-items:center;gap:10px;font-weight:700;letter-spacing:.4px}
.brand .logo {
  width: 99px;          /* İstediğin boyutu ayarla */
  height: 70px;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand .logo img {
  width: 100%;          /* Kapsayıcıya uyumlu */
  height: 100%;
  object-fit: contain;  /* Oranları bozulmadan sığdırır */
  display: block;
}
.menu {
  display: flex;
  align-items: center;
  gap: 18px;
}

.menu a {
  margin-left: 18px; /* Fallback Safari için */
}
.menu a.active {
  background: #15193a;      /* arka plan rengi */
  color: #a8b0ff;           /* yazı rengini kontrast için koyulaştır */
  padding: 6px 14px;        /* kutu boşluğu */
  border-radius: 8px;       /* köşeleri oval yap */
  font-weight: 600;
  transition: background 0.2s, color 0.2s;
}

.menu a.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.menu a:first-child {
  margin-left: 0;
}

.menu.active {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(10,12,30,.95);
  position: absolute;
  top: 60px;
  left: 0;          /* right yerine left */
  width: 100%;      /* %100 genişlik */
  padding: 12px 20px;
  border-radius: 0 0 12px 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);
  z-index: 100;
}

/* --- Dil Butonu Stillendirmesi --- */



/* --- Hero Bölümü Parçacık Animasyonu --- */
/* --- Hero Bölümü --- */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 50vh; /* Ekran yüksekliğinin %50'si kadar bir alan kaplar */
  text-align: center;
}

.particles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none; /* Tıklama olaylarını engeller */
}

/* Parçacıkların kendisi */
.particles-container::before,
.particles-container::after {
  content: "";
  position: absolute;
  border-radius: 50%; /* Daire şekli verir */
  background-color: transparent;
  animation: glow 15s infinite ease-in-out; /* Animasyonu başlatır */
}

/* Farklı boyutlarda ve pozisyonlarda parçacıklar oluşturma */
.particles-container::before {
  top: 10%;
  left: 20%;
  width: 15px;
  height: 15px;
  box-shadow: 0 0 20px 5px var(--primary-color), 0 0 40px 10px var(--primary-color);
  animation-delay: -3s;
}

.particles-container::after {
  bottom: 15%;
  right: 25%;
  width: 25px;
  height: 25px;
  box-shadow: 0 0 30px 8px var(--accent-color), 0 0 60px 15px var(--accent-color);
  animation-delay: -6s;
}

/* Parçacıkların animasyon hareketi */
@keyframes glow {
  0%, 100% {
    transform: scale(1) translate(0, 0);
    opacity: 0.8;
  }
  25% {
    transform: scale(1.2) translate(10px, -15px);
    opacity: 0.9;
  }
  50% {
    transform: scale(0.9) translate(-20px, 20px);
    opacity: 0.7;
  }
  75% {
    transform: scale(1.1) translate(15px, 10px);
    opacity: 1;
  }
}

/* --- Metin Animasyonu --- */

/* Başlangıçta metinlerin gizlenmesi */
.hero .kicker,
.hero h1,
.hero p.lead {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

/* `initial-animation` sınıfı eklendiğinde animasyonların tetiklenmesi */
.hero.initial-animation .kicker {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.5s;
}

.hero.initial-animation h1 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.8s;
}

.hero.initial-animation p.lead {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 1.1s;
}
.grid{display:grid;gap:20px}
.stats{margin-top:-40px;padding:0 24px}
.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
.card{background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.03));border:1px solid rgba(255,255,255,.12);border-radius:18px;padding:22px;box-shadow:0 8px 28px rgba(0,0,0,.25)}
.card .num{font-size:36px;font-weight:800;color:#fff;text-shadow:0 8px 20px rgba(0,0,0,.25)}
.card .label{color:var(--muted)}
.services{padding:40px 24px}
.service-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.service{transition:transform .25s, box-shadow .25s}
.service:hover{transform:translateY(-4px);box-shadow:0 10px 30px rgba(0,0,0,.35)}
.service .icon{width:54px;height:54px;border-radius:14px;display:grid;place-items:center;margin-bottom:12px;background:linear-gradient(135deg,rgba(123,92,255,.35),rgba(0,210,255,.35))}
.kicker{color:var(--muted);letter-spacing:.18em;text-transform:uppercase;font-size:11px}

.section{padding:60px 24px}
.section h2{margin:0 0 10px;font-size:28px}
.lead{opacity:.85;max-width:860px}
.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:18px}
.team-card img{width:100%;height:220px;object-fit:cover;border-radius:12px;margin-bottom:10px}
.values{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:14px}
.value{padding:16px;border-radius:14px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.12)}

.games-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.game-card img{width:100%;height:180px;object-fit:cover;border-radius:12px}
.game-card .title{font-weight:700;margin-top:10px}
.game-card .desc{opacity:.9}

.contact-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:22px}
.input{width:100%;padding:12px 14px;border-radius:12px;border:1px solid rgba(255,255,255,.14);background:rgba(255,255,255,.06);color:var(--text)}
textarea.input{min-height:140px;resize:vertical}
button.primary{background:linear-gradient(135deg,var(--primary),var(--accent));border:none;color:#fff;border-radius:12px;padding:12px 16px;cursor:pointer}
.alert{margin-top:10px;padding:12px;border-radius:12px;background:rgba(34,197,94,.12);border:1px solid rgba(34,197,94,.35)}

.footer{padding:30px 24px;color:var(--muted);border-top:1px solid rgba(255,255,255,.08);text-align:center;margin-top:40px}

.community-share {
  background: linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.01));
  color: var(--text);
  padding: 20px 24px;  /* üst-alt, sağ-sol boşluk */
  margin: 30px auto;   /* üst-alt margin 30px, yatayda otomatik ortala */
  border-radius: 30px;
  box-shadow: 0 4px 24px 0 rgba(0,0,0,0.10);
  border: 1px solid rgba(255,255,255,.08);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;

  /* ENİNE KÜÇÜLTME */
  max-width: 1155px;  /* maksimum genişlik */
  width: 90%;        /* ekranın %90’ı kadar genişle */
}


.community-share .container {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  padding: 0;
  width: 100%;
}

.community-share h2 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 18px;
  letter-spacing: 0;
  color: var(--primary);
  background: none;
  text-align: center;
  line-height: 1.2;
  padding: 0;
}

.community-share p {
  font-size: 1.11rem;
  margin-bottom: 15px;
  line-height: 1.75;
  color: var(--text);
  text-align: center;
}

.community-contact-link {
  margin-top: 22px;
  text-align: center;
}

.primary-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 700;
  font-size: 1.08rem;
  border: none;
  box-shadow: 0 2px 12px 0 rgba(0,0,0,0.10);
  transition: background 0.18s, color 0.18s, box-shadow 0.18s;
  text-decoration: none;
}
.primary-btn:hover {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff;
  box-shadow: 0 4px 18px 0 rgba(0,0,0,0.18);
}

@media (max-width: 700px) {
  .community-share {
    padding: 22px 0 18px 0;
    border-radius: 12px;
  }
  .community-share h2 {
    font-size: 1.6rem;
    padding-bottom: 6px;
  }
  .community-share .container {
    padding: 0 6px;
  }
}

@media (max-width:900px){
  .stat-grid{grid-template-columns:1fr}
  .service-grid{grid-template-columns:1fr}
  .team-grid{grid-template-columns:1fr}
  .games-grid{grid-template-columns:1fr}
  .contact-grid{grid-template-columns:1fr}
  .hero h1{font-size:36px}
}
.image-slider {
  width: 100%;
  height: 400px;      /* istediğin yükseklik */
  overflow: hidden;
  position: relative;
  margin: 40px 0;
}

.slider-track {
  display: flex;
  width: max-content;           /* tüm görseller yan yana */
  animation: slide 25s linear infinite;
}

.slider-track img {
  width: 100vw;                 /* tam ekran genişliği */
  height: 400px;                /* container ile aynı */
  object-fit: cover;
  flex-shrink: 0;
}

@keyframes slide {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* track’in yarısını kaydır */
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.download-buttons a {
  display: flex;
  align-items: center;   /* Dikey ortalama */
  gap: 8px;              /* Logo ile yazı arası boşluk */
  padding: 8px 16px;
  border-radius: 12px;
  background: #111;      /* Buton arka plan rengi */
  color: #fff;           /* Yazı rengi */
  text-decoration: none;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
}

.download-buttons a img {
  height: 20px;  /* Logo boyutu */
  width: 20px ;
  border-radius: 0; /* düz köşe */
}

.download-buttons a:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35);
  filter: brightness(1.15);
}

/* İsteğe göre App Store ve Google Play ayrı renk */  
.download-buttons a:nth-child(1) { background: #0070f3; }
.download-buttons a:nth-child(2) { background: #34a853; }


.footer {
  background: rgba(15, 18, 38, 0.95);
  padding: 30px 24px 15px;
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--muted);
  font-size: 14px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 15px;
}

.footer-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text);
  opacity: 0.8;
  transition: opacity 0.2s;
  font-weight: 500;
}
.footer-links a:hover {
  opacity: 1;
  color: var(--primary);
}

.footer-social {
  display: flex;
  gap: 14px;
}

.footer-social a img {
  width: 26px;
  height: 26px;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: opacity 0.2s, transform 0.2s;
}
.footer-social a img:hover {
  opacity: 1;
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255,255,255,.06);
  padding-top: 12px;
  font-size: 13px;
  opacity: 0.75;
}
.community-share h2 .inline-icon {
  width: 35px;      /* ikon genişliği */
  height: 35px;     /* ikon yüksekliği */
  vertical-align: middle; /* metinle hizala */
  margin-right: 10px;     /* metinden boşluk */
}
/* Contact alanındaki select input ile diğer inputların aynı görünmesi */
.contact-grid .input.select {
  width: 100%;
  padding: 12px 14px;       /* diğer inputlarla aynı padding */
  border-radius: 12px;      /* diğer inputlarla aynı ovallik */
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);  /* diğer inputlarla aynı arka plan */
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: border 0.2s, box-shadow 0.2s, background 0.2s;
}

/* Hover ve focus efektleri */
.contact-grid .input.select:hover {
  border-color: var(--primary);
  background: rgba(255,255,255,.08);
}

.contact-grid .input.select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(123,92,255,0.25);
  background: rgba(255,255,255,.08);
}

/* IE/Edge arrow gizle */
.contact-grid .input.select::-ms-expand {
  display: none;
}

/* `<option>` elemanları için stil (tarayıcı desteği kısıtlıdır) */
.contact-grid .input.select option {
    background-color: var(--card); /* Koyu tema arka planı */
    color: var(--text);
}
.inactive-btn {
  display: inline-block;
  padding: 10px 100px;
  border-radius: 12px;
  background: #ccc;
  color: #555;
  font-weight: bold;
  font-size: 14px;
  border: none;
  cursor: not-allowed;
  opacity: 0.8;
}
/* Mobil logo-hamburger-dil konteyneri */
/* --- Dil Butonu Stillendirmesi --- */

/* --- Dil Butonu Stillendirmesi --- */

/* Ortak stil: hem masaüstü hem de mobil için geçerli */
/* --- Dil Butonu Stillendirmesi --- */

/* Ortak stil: hem masaüstü hem de mobil için geçerli */
.lang-switch button {
  background: rgba(255, 255, 255, .08);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  transition: all .2s;
}

/* Aktif buton stili: hem masaüstü hem de mobil için geçerli */
.lang-switch button.active {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  border-color: transparent;
  color: #fff;
}

/* Hover stili */
.lang-switch button:hover {
  border-color: var(--primary);
  background: rgba(255, 255, 255, .12);
}

/* Aktif butona gelindiğinde hover stili */
.lang-switch button.active:hover {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  border-color: transparent;
}

/* Masaüstü görünümde menü ve dil butonu */
.menu {
  display: flex;
  gap: 18px;
  align-items: center;
}
.mobile-controls {
    display: none;
}
.lang-switch.lang-desktop {
    display: flex;
}

/* Mobil görünüm için stil ayarları */
@media (max-width: 768px) {
    /* Masaüstü menüsünü ve dil butonunu gizle */
    .menu,
    .lang-switch.lang-desktop {
        display: none;
    }

    /* Mobil kontrolleri göster */
    .mobile-controls {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-left: auto;
    }
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }
    .hamburger span {
        width: 25px;
        height: 3px;
        background: var(--text);
        border-radius: 2px;
        display: block;
    }

    /* Mobilde açılan menü için stil */
    .menu.active {
        display: flex;
        flex-direction: column;
        gap: 12px;
        background: rgba(10,12,30,.95);
        position: absolute;
        top: 60px;
        right: 0;
        width: 100%;
        padding: 12px 20px;
        border-radius: 12px;
        box-shadow: 0 8px 20px rgba(0,0,0,0.35);
        z-index: 100;
    }
      .menu.active a {
    margin: 0;                /* margin-left iptal */
    width: 100%;              /* tam genişlik */
    padding: 10px 0;          /* üst-alt boşluk */
    border-radius: 8px;
  }

  /* Aktif linki de düzgün hizala */
  .menu.active a.active {
    display: block;       /* satır tabanlı yap */
    width: 100%;          /* tam genişlik */
    padding: 10px 12px;   /* içeriden boşluk */
    background: #15193a;  /* seçili arka plan */
    color: #a8b0ff;       /* yazı rengi */
    border-radius: 8px;
  }

  /* underline efektini gizle, çünkü arka plan zaten kaplıyor */
  .menu.active a.active::after {
    display: none;
  }
    .menu.active .lang-switch {
        display: none;
  }
    .footer-top {
    flex-direction: column;     /* alt alta gelsin */
    align-items: center;        /* ortala */
    gap: 20px;                  /* linkler ve ikonlar arasında boşluk */
  }

  .footer-links {
    justify-content: center;    /* mobilde ortala */
  }

  .footer-social {
    margin-top: 5px;            /* ekstra küçük boşluk */
  }
}


