/* -------------------- Temel -------------------- */
@import url("https://fonts.googleapis.com/css2?family=El+Messiri:wght@700&display=swap");
* {
  margin: 0;
  padding: 0;
  font-family: "El Messiri", sans-serif;
}

body {
  background: #031323;
  overflow-x: hidden;
  overflow-y: auto;
}

.fas {
  width: 32px;
}

/* -------------------- Arka Plan -------------------- */
section {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 400% 400%;
  animation: gradient 10s ease infinite;
}

@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* -------------------- Kare Animasyonu -------------------- */
.box {
  position: relative;
}
.box .square {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 15px;
  animation: square 10s linear infinite;
  animation-delay: calc(-1s * var(--i));
}
@keyframes square {
  0%, 100% { transform: translateY(-20px); }
  50% { transform: translateY(20px); }
}

/* Kare boyutları */
.box .square:nth-child(1) { width: 100px; height: 100px; top: -15px; right: -45px; }
.box .square:nth-child(2) { width: 150px; height: 150px; top: 105px; left: -125px; z-index: 2; }
.box .square:nth-child(3) { width: 60px; height: 60px; bottom: 85px; right: -45px; z-index: 2; }
.box .square:nth-child(4) { width: 50px; height: 50px; bottom: 35px; left: -95px; }
.box .square:nth-child(5) { width: 50px; height: 50px; top: -15px; left: -25px; }
.box .square:nth-child(6) { width: 85px; height: 85px; top: 165px; right: -155px; z-index: 2; }

/* -------------------- Container -------------------- */
.container {
  position: relative;
  width: 100%;
  max-width: 320px; /* sağdan soldan daraltıldı */
  min-height: 380px;
  padding: 25px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 25px 45px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

/* -------------------- Form -------------------- */
.form {
  width: 100%;
}
.form-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 20px;
  width: 100%;
}
#login_logo {
  max-width: 180px;
  height: auto;
  margin-bottom: 15px;
}
.form-header p {
  font-size: 1.1rem;
  text-align: center;
  color: #fff;
}

/* Input Box */
.form .inputBx {
  position: relative;
  width: 100%;
  max-width: 240px;
  margin-bottom: 15px;
  margin-left: auto;
  margin-right: auto;
}
.form .inputBx input {
  width: 100%;
  padding: 8px 10px 8px 35px;
  border-radius: 15px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.2);
  color: #fff;
  font-size: 16px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  box-sizing: border-box;
}
.form .inputBx span {
  position: absolute;
  left: 35px;
  top: 8px;
  color: #fff;
  transition: 0.3s;
  pointer-events: none;
}
.form .inputBx input:focus ~ span,
.form .inputBx input:valid ~ span {
  transform: translateY(-20px);
  font-size: 12px;
}

/* Parola göster/gizle ikon */
.form .inputBx .password-control {
  position: absolute;
  top: 11px;
  right: 10px;
  width: 20px;
  height: 20px;
  background: url(view.svg) no-repeat;
  cursor: pointer;
  transition: 0.3s;
}
.form .inputBx .view {
  background: url(no-view.svg) no-repeat;
}
.form .inputBx .fas {
  position: absolute;
  top: 13px;
  left: 10px;
  color: black; /* ikon rengi */
}

/* -------------------- Buttons -------------------- */
.l_buton2, .l_buton3 {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 180px; /* daraltıldı */
  padding: 0.5rem 0.8rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 20px;
  cursor: pointer;
  background-color: #00c1b3;
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin: 0.5rem auto;
  text-transform: uppercase;
  transition: all 0.3s ease;
}
.l_buton2:hover, .l_buton3:hover {
  background-color: #00a299;
  transform: scale(1.05);
}

/* Glass Buttons */
.btn-glass {
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
  width: 200px; /* daraltıldı */
  padding: 6px 12px;
  margin: 0.5rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}
/* Konuk ve Kayıt Ol yan yana */
.lg-center {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px; /* butonlar arası boşluk */
  flex-wrap: wrap; /* küçük ekranlarda alt alta geçebilir */
}

/* Her bir buton */
.lg-center span.btn-glass {
  margin: 0; /* üst alt boşlukları kaldır */
  flex: 1;   /* eşit genişlik */
  max-width: 150px; /* genişliği sınırladık */
}

.btn-glass:hover {
  background: rgba(255,255,255,0.3);
  color: black;
  transform: scale(1.05);
  box-shadow: 0 4px 20px rgba(255,255,255,0.3);
}
.btn-glass i { color: black; }

/* Şifremi unuttum butonu */
.btn-glass {
  white-space: nowrap;
}

/* Giriş butonu + bayrak satırı */
.login-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 12px;
}
.login-row .l_buton2 {
  flex: 1;
  max-width: 200px;
  margin: 0;
}
#intro_lang {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  flex-shrink: 0;
}
.intro_lang {
  width: 26px;
  height: auto;
}

/* -------------------- Son Aktif Kullanıcılar -------------------- */
.last_embed_title {
  text-align: center;
  color: rgba(255,255,255,0.75);
  font-size: 0.75rem;
  margin-top: 14px;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}
#last_embed {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 14px;
}
.active_embed {
  width: 38px;
  height: 38px;
}

.active_embed_user {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: block;
  position: relative;
  z-index: 1;
  filter: blur(1.5px) brightness(0.85);
  transition: filter 0.35s ease, transform 0.35s ease, border-color 0.35s ease;
}
.radar-wrap:hover .active_embed_user {
  filter: blur(0) brightness(1);
  transform: scale(1.18);
  border-color: rgba(255, 255, 255, 0.9);
}

/* -------------------- Responsive -------------------- */
@media (max-width: 480px) {
  .container {
    width: 90%;
    padding: 20px;
  }
  .l_buton2, .l_buton3, .btn-glass {
    width: 140px;
    font-size: 0.8rem;
    padding: 0.4rem 0.7rem;
  }
  .form .inputBx input {
    font-size: 14px;
    padding-left: 30px;
  }
  .form-header p { font-size: 1rem; }
  .container > p { font-size: 0.78rem; }
}

/* ==================== GÖRSEL İKONLAR ==================== */
.input-icon-img {
  position: absolute;
  top: 50%;
  left: 8px;
  transform: translateY(-50%);
  pointer-events: none;
  object-fit: contain;
}

/* ==================== GOOGLE GİRİŞ ==================== */
.google-signin-wrap {
  display: flex;
  justify-content: center;
  margin: 10px auto 0;
}
.google-signin-wrap > div {
  border-radius: 24px !important;
  overflow: hidden;
}
.google-oauth-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  color: #3c4043;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 24px;
  text-decoration: none;
  box-shadow: 0 1px 3px rgba(0,0,0,.3);
  transition: box-shadow .2s;
}
.google-oauth-btn:hover {
  box-shadow: 0 2px 8px rgba(0,0,0,.4);
  color: #3c4043;
}

/* ==================== MAĞAZA BUTONLARI ==================== */
.store-buttons {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px !important;
  font-size: 0.8rem;
  width: auto !important;
  cursor: pointer;
}

/* ==================== HERO DEKORASYON ==================== */
section {
  position: relative;
  overflow: hidden;
}
.se_one, .lg_three {
  position: absolute;
  z-index: 0;
  object-fit: cover;
  opacity: 0.15;
}
.se_one   { left: 20px;  top: 340px; }
.lg_three { right: 20px; top: 180px; }
.cift {
  position: absolute;
  z-index: 0;
  opacity: 0.2;
  right: 50px;
  top: 250px;
}

/* ==================== AŞAĞI OK ==================== */
.arrow-wrap {
  background: #03549b;
  text-align: center;
  padding: 10px 0;
}
.asagigit {
  animation: bounce 1.5s infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* ==================== ÜST DALGA ==================== */
.alst {
  display: block;
  width: 100%;
  height: auto;
}

/* ==================== ORTA BÖLÜM ==================== */
.middle-section {
  background: #f0fffa;
}
.ortakisim {
  background: #fff;
  border: 1px solid #d4e1f2;
  border-radius: 15px;
  padding: 30px 20px;
}
.ts { color: #444; line-height: 1.7; }
.habb {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: #03549b;
}
.labb {
  font-size: 1.1rem;
  font-weight: 600;
  color: #03549b;
}
.genelkural {
  background: #03549b;
  color: #fff;
  border-radius: 12px;
  padding: 14px 20px;
}
.krx_x {
  background: #fff;
  border: 1px solid #d4e1f2;
  border-radius: 12px;
  padding: 15px;
}
.madde {
  list-style: none;
  padding-left: 0;
  margin: 0;
  line-height: 1.8;
}
.madde li {
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #d4e1f2;
  background: #f0fffa;
  padding: 10px;
  border-radius: 12px;
  margin-bottom: 8px;
  color: #333;
}
.madde li:last-child { margin-bottom: 0; }
.infoi { flex-shrink: 0; }
.cerceve {
  position: absolute;
  right: -30px;
  bottom: -40px;
  z-index: -1;
  opacity: 0.12;
  pointer-events: none;
}
.l_mid_buton {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #fff;
  border: none;
}
.yeniask    { background: #e73c7e; }
.mobilsohbet { background: #23a6d5; }
.imagrose { border-radius: 8px; }

/* ==================== FLEX YARDIMCI ==================== */
.riwe_con {
  width: 100%;
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  margin-right: auto;
  margin-left: auto;
  max-width: 1180px;
  box-sizing: border-box;
}
.riwe {
  display: flex;
  flex-wrap: wrap;
  margin-right: -0.75rem;
  margin-left: -0.75rem;
}
.riwe > * {
  padding-right: 0.75rem;
  padding-left: 0.75rem;
  box-sizing: border-box;
  width: 100%;
}
@media (min-width: 992px) {
  .lgc4  { flex: 0 0 auto; width: 33.333%; }
  .lgc6  { flex: 0 0 auto; width: 50%; }
  .lgc8  { flex: 0 0 auto; width: 66.666%; }
  .lgc9  { flex: 0 0 auto; width: 75%; }
  .lgc12 { flex: 0 0 auto; width: 100%; }
  .d-lg-block  { display: block !important; }
  .mt-lg-0 { margin-top: 0 !important; }
  .u_indir { border-radius: 0 15px 15px 0; }
  .tanim   { border-radius: 0; }
  .cizgisel { margin-bottom: 200px; }
  .none_con { display: block; }
}
@media (max-width: 991px) {
  .u_indir { border-radius: 0 0 15px 15px; }
  .tanim   { border-radius: 15px 15px 0 0; }
  .cizgisel { margin-bottom: 50px; }
  .none_con { display: none; }
}
.g-0 { --bs-gutter-x: 0; margin-right: 0; margin-left: 0; }
.g-0 > * { padding-right: 0; padding-left: 0; }
.d-flex { display: flex !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-end    { justify-content: flex-end !important; }
.align-items-center  { align-items: center !important; }
.align-items-stretch { align-items: stretch !important; }
.text-center { text-align: center !important; }
.fw-bold { font-weight: 700 !important; }
.text-uppercase { text-transform: uppercase !important; }
.text-decoration-none { text-decoration: none !important; }
.position-relative { position: relative !important; }
.shadow-sm { box-shadow: 0 0.125rem 0.25rem rgba(0,0,0,0.1) !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.ms-3 { margin-left: 1rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.pb-5 { padding-bottom: 3rem !important; }
.pt-lg-5 { padding-top: 3rem !important; }
.mb-344 { margin-bottom: 0 !important; margin-top: 20px !important; margin-left: 10px; }

/* ==================== KADIN + SESLI SOHBET ==================== */
.cevreana {
  overflow: hidden;
  border-radius: 15px 0 0 15px;
}
.wiki {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: 15px 0 0 15px;
}
.seslis {
  padding: 30px;
  background: #fff;
  border: 1px solid #d4e1f2;
}
.u_indir {
  background: #fff;
  border: 1px solid #d4e1f2;
  padding: 20px;
}
.u_cark { display: flex; flex-direction: column; align-items: center; justify-content: center; }
.u_loggo { border-radius: 10px; margin-bottom: 8px; }
.l_buton3 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  background: #ff5722;
  color: #fff;
  border-radius: 20px;
  font-weight: 600;
  text-transform: uppercase;
  cursor: pointer;
  border: none;
  font-size: 0.9rem;
}
.l_buton3:hover { background: #1e88e5; }

/* ==================== ARKADAŞ BÖLÜMÜ ==================== */
.cizgisel { background: #f0fffa; }
.mb_lgs {
  background: #fff;
  border: 1px solid #d4e1f2;
  border-radius: 15px;
  overflow: hidden;
  padding: 0;
}
.krake_n {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  display: block;
}
.makalegovde { padding: 0 10px 20px 10px; }
.altcizgi {
  width: 100%;
  height: auto;
  margin-top: 20px;
  opacity: 0.4;
}

/* ==================== YAN DEKORASYONLAR ==================== */
@media (min-width: 1200px) {
  .solx, .soli { position: absolute; left: -50px;  z-index: 0; max-width: 150px; }
  .sagx, .sagi { position: absolute; right: -50px; z-index: 0; max-width: 150px; }
  .solx, .sagx { top: 50px; }
  .soli, .sagi  { bottom: 290px; }
}
@media (max-width: 1199px) {
  .solx, .sagx, .soli, .sagi { display: none; }
}

/* ==================== ALT DALGA + FOOTER ==================== */
.lg_foottop {
  display: block;
  width: 100%;
  height: auto;
}
.lg_foot {
  background: #03549b;
  padding: 30px 0;
}
.fal_logos { display: flex; justify-content: center; }
.al_logos  { display: inline-block; }
.l_logos   { max-width: 100%; height: auto; }

/* ==================== BLOG BÖLÜMÜ ==================== */
.blog-section {
  background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
  background-size: 400% 400%;
  animation: gradient 10s ease infinite;
  padding: 50px 0 40px;
}
.blog-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}
.blog-baslik-wrap { margin-bottom: 30px; }
.blogbas {
  background: #3750eb;
  border: 1px solid #c5d4fd;
  color: #fff;
  border-radius: 20px;
  padding: 12px 28px;
  display: inline-flex;
}
.blogbir {
  background: #ff9800;
  width: 18px;
  height: 18px;
  position: absolute;
  right: -5px;
  top: -5px;
  border-radius: 50%;
}
.blog-alt {
  margin-top: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 0.95rem;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 20px;
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
}
@media (min-width: 769px) and (max-width: 1024px) {
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
}
.blog-card { display: flex; flex-direction: column; }
.byazarka {
  background: #fff;
  border: 1px solid #c5d4fd;
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  flex: 1;
}
.blogresim {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}
.blog-card-body {
  padding: 12px 14px 10px;
}
.blogtitle {
  font-size: 15px;
  margin-bottom: 4px;
}
.blogtitle a {
  color: #222;
  text-decoration: none;
}
.blogtitle a:hover { text-decoration: underline; }
.blogmeta {
  font-size: 12px;
  color: #777;
}
.blog-excerpt {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.75);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.byazarka:hover .blog-excerpt {
  opacity: 1;
  pointer-events: auto;
}
@media (hover: none) { .blog-excerpt { display: none !important; } }
.blog-devam {
  display: inline-block;
  margin-top: 10px;
  padding: 6px 16px;
  background: #fff;
  color: #222;
  border-radius: 8px;
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
}
.blog-hata { color: #c00; text-align: center; padding: 20px; }

/* ── Kategori rozetleri ── */
.blog-kategori {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  border-radius: 20px;
  padding: 2px 10px;
  margin-bottom: 6px;
}
.cat-etkinlik { background: rgba(245,158,11,0.15); color: #d97706; border: 1px solid rgba(245,158,11,0.3); }
.cat-duyuru   { background: rgba(99,102,241,0.15); color: #6366f1; border: 1px solid rgba(99,102,241,0.3); }
.cat-genel    { background: rgba(16,185,129,0.15); color: #10b981; border: 1px solid rgba(16,185,129,0.3); }
.btn-tum-blog {
  display: inline-block;
  padding: 8px 24px;
  background: #03549b;
  color: #fff;
  border-radius: 20px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.9rem;
  transition: background 0.2s;
}
.btn-tum-blog:hover { background: #023d73; }

/* ==================== FOOTER ==================== */
.yildiz-footer {
  background: #03549b;
  padding: 28px 20px 20px;
  text-align: center;
}
.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.footer-logo { height: 36px; width: auto; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
}
.footer-links a {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  font-size: 0.88rem;
  transition: color 0.2s;
}
.footer-links a:hover { color: #fff; text-decoration: underline; }
.footer-copy {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
}
