/* Genel Ayarlar */
body {
  background-color: #0d0d0d;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #fff;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}
html, body {
  overflow-x: hidden;
}
* {
  box-sizing: border-box;
}




/* Header */
header {
  background-color: #0d0d0d;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  border-bottom: 1px solid #222;
  box-shadow: 0 0 10px rgba(255, 0, 255, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  flex-wrap: wrap;
}

.logo-wrapper {
  display: flex;
  align-items: center;
}

.logo-img {
  max-height: 80%;
  width: auto;
  display: block;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  position: relative;
  font-weight: bold;
}

nav a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background: #ff33cc;
  left: 0;
  bottom: -4px;
  transition: 0.3s;
}

nav a:hover::after {
  width: 100%;
}


/* Banner */
.responsive-banner {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 20px auto;
}

.hero-banner {
  text-align: center;
}

/* Ana Layout */
.main-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 30px;
  padding: 50px 0;
  flex-wrap: wrap;
  max-width: 100%;
  box-sizing: border-box;
}

.container {
  background-color: #141414;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 0 15px 4px rgba(255, 0, 128, 0.2);
  width: 400px;
  text-align: center;
  box-sizing: border-box;
  position: relative;
  transition: 0.3s;
}

.container:hover {
  box-shadow: 0 0 25px 5px rgba(255, 0, 255, 0.3);
}

.container h2 {
  font-size: 18px;
  margin-bottom: 20px;
}

label {
  display: block;
  text-align: left;
  margin-bottom: 5px;
  font-weight: bold;
  color: #ffffff;
}

.container input {
  width: 100%;
  padding: 12px;
  margin-bottom: 15px;
  border: none;
  border-radius: 6px;
  background-color: #222;
  color: #ccc;
  font-size: 14px;
  box-sizing: border-box;
}

/* Custom Select Wrapper */
.custom-select-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 15px;
}

/* Dropdown Trigger (Tıklanacak kısım) */
.custom-select-trigger {
  width: 100%;
  padding: 14px 16px;
  background-color: #141414;
  color: #fff;
  border: 2px solid #444;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  position: relative;
}

.custom-select-trigger::after {
  content: '▼';
  color: #ffffff;
  font-size: 12px;
  transition: transform 0.3s ease;
}

.custom-select-trigger:hover {
  border-color: #141414;
    box-shadow: 0 0 25px 5px rgba(255, 0, 255, 0.3);
    transition: 0.3s;
}

.custom-select-trigger.active::after {
  transform: rotate(180deg);
}

/* Dropdown Menu */
.custom-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #141414;
  border: 2px solid #444;
  border-top: none;
  border-radius:  8px;
  margin-top: 5px;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  z-index: 1000;
  box-shadow: 0 0 25px 5px rgba(255, 0, 255, 0.3);
    transition: 0.3s;
}

.custom-options.open {
  max-height: 250px;
  opacity: 1;
}

/* Dropdown Options */
.custom-option {
  font-weight: bold;
  padding: 14px 16px;
  color: #fff;
  cursor: pointer;
  transition: all 0.2s ease;
  border-bottom: 1px solid #222222;
  font-size: 16px;
}

.custom-option:last-child {
  border-bottom: none;
}

.custom-option:hover {
  background-color: #252525;
  color: #ffffff;
  padding-left: 20px;
}

.custom-option.selected {
  border-color: #141414;
  
    transition: 0.3s;
  color: #ffffff;
  font-weight: 600;
}

/* Buton */
.container button {
  width: 100%;
  padding: 12px;
  background: linear-gradient(to right, #ff00cc, #ff66ff);
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px #ff00cc66;
  position: relative;
  z-index: 1;
}

.container button::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  background: linear-gradient(45deg, #ff00cc5e, #ff66ff, #ff00cc);
  filter: blur(10px);
  opacity: 0;
  border-radius: 8px;
  transition: opacity 0.3s ease-in-out;
  z-index: -1;
}

.container button:hover::before {
  opacity: 1;
}

/* Reklam Kutuları */
.side-ad,
.banner,
.bottom-banner {
  background-color: #111;
  border: 1px dotted #555;
  border-radius: 8px;
  color: #aaa;
  font-size: 13px;
  text-align: center;
  padding: 12px;
}

.side-ad {
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.bottom-banner {
  margin: 30px auto;
  width: 100%;
  max-width: 970px;
  height: 250px;
  line-height: 250px;
  border: 1px dashed #888;
}

/* Footer */
footer {
  background-color: #0d0d0d;
  text-align: center;
  padding: 30px 0 10px;
  font-size: 13px;
  color: #aaa;
}

footer a {
  margin: 0 10px;
  color: hotpink;
  text-decoration: none;
  font-size: 12px;
}

/* İlerleme Çubuğu */
#progressWrapper {
  margin-top: 10px;
  display: none;
}

#progressWrapper > div {
  width: 100%;
  background-color: #fff;
  border-radius: 20px;
}

#progressBar {
  width: 0%;
  height: 20px;
  background-color: rgb(92, 5, 70);
  border-radius: 20px;
  text-align: center;
  color: white;
  line-height: 20px;
  font-weight: bold;
  transition: width 0.5s ease;
}

/* Toast Bildirimi */
#toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #222;
  color: #fff;
  padding: 20px 30px;
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
  font-weight: bold;
  display: none;
  z-index: 9999;
}

.toast.show {
  display: block !important;
  animation: fadeInOut 3s ease-in-out forwards;
}

.toast.error {
  background: linear-gradient(135deg, #6b1a1a 0%, #8b2e2e 100%);
  border: 2px solid #ff4444;
  box-shadow: 0 0 20px rgba(255, 68, 68, 0.5);
}

.toast.success {
  background: linear-gradient(135deg, #1a6b1a 0%, #2e8b2e 100%);
  border: 2px solid #44ff44;
  box-shadow: 0 0 20px rgba(68, 255, 68, 0.5);
}

/* Rate Limit Popup Modal */
.rate-limit-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.rate-limit-modal.open {
  display: flex;
}

.rate-limit-popup {
  background: linear-gradient(135deg, #141414 0%, #1a1a1a 100%);
  border: 2px solid #ff66cc;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  max-width: 450px;
  width: 90%;
  box-shadow: 0 0 40px rgba(255, 102, 204, 0.4);
  animation: popupSlideIn 0.4s ease-out;
}

.rate-limit-popup h3 {
  color: #ff66cc;
  font-size: 24px;
  margin-bottom: 15px;
  margin-top: 0;
}

.rate-limit-popup p {
  color: #ccc;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
}

.rate-limit-popup .close-btn {
  background: linear-gradient(to right, #ff00cc, #ff66ff);
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(255, 0, 204, 0.3);
}

.rate-limit-popup .close-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(255, 0, 204, 0.5);
}

@keyframes popupSlideIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translate(-50%, -60%); }
  10% { opacity: 1; transform: translate(-50%, -50%); }
  90% { opacity: 1; transform: translate(-50%, -50%); }
  100% { opacity: 0; transform: translate(-50%, -60%); }
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .logo-wrapper {
    margin-bottom: 10px;
  }

  nav {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
  }

  nav a {
    font-size: 13px;
  }

  .main-wrapper {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .container {
    width: 100%;
    padding: 20px;
  }

  .side-ad,
  .bottom-banner {
    width: 100%;
    max-width: 100%;
  }
  .container h2 {
  font-size: 16px;
}

.responsive-banner {
  max-width: 100%;
  height: auto;
  padding: 0 10px;
}
nav {
  overflow-x: auto;
  white-space: nowrap;
}

/* Blog Sayfasi */
.blog-container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  box-sizing: border-box;
}

.blog-card {
  background: #141414;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(255, 0, 255, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 18px rgba(255, 0, 255, 0.3);
}

.blog-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.blog-card .content {
  padding: 20px;
  color: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card .content h3 {
  margin-top: 0;
  font-size: 18px;
  color: #ff66cc;
}

.blog-card .content p {
  font-size: 14px;
  color: #ccc;
  flex-grow: 1;
  margin-bottom: 10px;
}

.blog-card .read-more {
  text-align: right;
  font-size: 13px;
  color: #888;
  text-decoration: underline;
}

/* Blog sayfası başlığı */
.blog-page-header {
  text-align: center;
  font-size: 32px;
  background: linear-gradient(to right, #ff00cc, #3333ff);
  background-clip: text; /* standard */
  -webkit-background-clip: text; /* for Chrome/Safari */
  color: transparent;
  -webkit-text-fill-color: transparent; /* for Chrome/Safari */
  margin-top: 40px;
  margin-bottom: 20px;
}
/* Blog Sayfası */
.blog-page-header {
  text-align: center;
  font-size: 32px;
  background: linear-gradient(to right, #ff00cc, #3333ff);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  margin-top: 40px;
  margin-bottom: 20px;
}

.blog-container {
  max-width: 1200px;
  margin: 50px auto;
  padding: 20px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  box-sizing: border-box;
}

.blog-card {
  background: #141414;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(255, 0, 255, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 18px rgba(255, 0, 255, 0.3);
}

.blog-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.blog-card .content {
  padding: 20px;
  color: #fff;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card .content h3 {
  margin-top: 0;
  font-size: 18px;
  color: #ff66cc;
}

.blog-card .content p {
  font-size: 14px;
  color: #ccc;
  flex-grow: 1;
  margin-bottom: 10px;
}

.blog-card .read-more {
  text-align: right;
  font-size: 13px;
  color: #888;
  text-decoration: underline;
}




/*  */
}

