/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

/* Custom Scrool Bar */

/* Webkit (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a; /* Arka plan */
}

::-webkit-scrollbar-thumb {
  background: #d4af37; /* Scroll barın kendisi */
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: #f2d272;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #d4af37 #0a0a0a;
}

html {
  background-color: #0a0a0a;
}

body {
  background-color: #121212;
  color: #e0e0e0;
  min-height: 100vh;
  overflow-x: hidden;
  background: radial-gradient(circle at center, #121212 0%, #0a0a0a 100%);
}

/* Gradient sides */
body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  width: 30%;
  height: 100%;
  z-index: -1;
  opacity: 0.05;
}

body::before {
  left: 0;
  background: linear-gradient(to right, #d4af37, transparent);
}

body::after {
  right: 0;
  background: linear-gradient(to left, #d4af37, transparent);
}

/* Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

section {
  padding: 40px 0;
}

/* Header Section */
.header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  background-color: rgba(10, 10, 10, 0.7);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  background: linear-gradient(45deg, #d4af37 0%, #f2d272 50%, #d4af37 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 2px;
}

/* Hero Section with Slider */
.hero {
  height: 400px;
  position: relative;
  overflow: hidden;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  background-position: center;
  background-size: cover;
  position: relative;
}

.slider-content {
  z-index: 2;
  max-width: 800px;
}

.swiper-slide:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}

.slider-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: #fff;
}

.slider-description {
  font-size: 1.2rem;
  margin-bottom: 30px;
  color: #e0e0e0;
}

/* Product thumbnail slider */
.product-thumbnails {
  padding: 30px 0;
  background: rgba(20, 20, 20, 0.3);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.thumbnail-swiper {
  height: 150px;
}

.thumbnail-slide {
  height: 100%;
  border-radius: 5px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.3);
}

.thumbnail-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Related Products */
.related-products {
  padding: 40px 0;
  background: rgba(18, 18, 18, 0.5);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.product-card {
  background: rgba(25, 25, 25, 0.7);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 5px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  border-color: rgba(212, 175, 55, 0.4);
}

.product-image {
  height: 150px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info {
  padding: 15px;
}

.product-title {
  font-weight: 600;
  margin-bottom: 5px;
  color: #e0e0e0;
}

.product-price {
  color: #d4af37;
  font-weight: 600;
}

/* Download Button */
.download-section {
  text-align: center;
  padding: 50px 0 30px 0;
}

.product-name {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #d4af37 0%, #f2d272 50%, #d4af37 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 2px;
  display: inline-block;
}

.btn-download {
  display: inline-block;
  padding: 15px 40px;
  margin: 20px 0 10px 0;
  background: linear-gradient(45deg, #121212 0%, #1e1e1e 100%);
  color: #d4af37;
  text-decoration: none;
  border: 2px solid #d4af37;
  border-radius: 5px;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.btn-download:hover {
  background: linear-gradient(45deg, #d4af37 0%, #f2d272 100%);
  color: #0a0a0a;
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.btn-download i {
  margin-right: 10px;
}

.download-hint {
  font-size: 0.9rem;
  color: #a0a0a0;
  margin-bottom: 15px;
}

.purchase-count {
  display: inline-block;
  padding: 5px 10px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 3px;
  font-size: 0.9rem;
  color: #d4af37;
}

.purchase-count i {
  margin-right: 5px;
}

/* Studio X Section */
.studiox-section {
  text-align: center;
  padding: 40px 0;
  background: rgba(18, 18, 18, 0.5);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 20px;
  background: linear-gradient(45deg, #d4af37 0%, #f2d272 50%, #d4af37 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 2px;
  display: inline-block;
}

.thank-you-message {
  font-size: 1.1rem;
  color: #c0c0c0;
  margin-bottom: 15px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.rating-request {
  font-size: 1rem;
  color: #d4af37;
  margin-top: 15px;
}

.rating-request i {
  margin-right: 3px;
  color: #d4af37;
}

/* Newsletter Section */
.newsletter-section {
  text-align: center;
  padding: 40px 0;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 20px auto;
}

.newsletter-input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  background: rgba(25, 25, 25, 0.7);
  color: #e0e0e0;
  font-size: 1rem;
  border-radius: 4px 0 0 4px;
  outline: none;
}

.newsletter-input:focus {
  border-color: #d4af37;
}

.btn-subscribe {
  padding: 12px 25px;
  background: linear-gradient(45deg, #d4af37 0%, #f2d272 100%);
  color: #0a0a0a;
  border: none;
  font-weight: 600;
  cursor: pointer;
  border-radius: 0 4px 4px 0;
  transition: all 0.3s ease;
}

.btn-subscribe:hover {
  background: linear-gradient(45deg, #f2d272 0%, #d4af37 100%);
}

/* Jump Links Section */
.jump-links {
  display: flex;
  justify-content: center;
  gap: 50px;
  padding: 20px 0;
  background: rgba(20, 20, 20, 0.5);
  position: sticky;
  top: 61px; /* Header height + 1px border */
  z-index: 99;
  backdrop-filter: blur(10px);
}

.jump-link {
  color: #c0c0c0;
  text-decoration: none;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  padding: 5px 10px;
  border-radius: 3px;
}

.jump-link:hover {
  color: #d4af37;
  background: rgba(212, 175, 55, 0.1);
}

/* FAQ Section */
.faq-section {
  padding: 40px 0;
}

.faq-items {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 4px;
  overflow: hidden;
  background: rgba(25, 25, 25, 0.7);
}

.faq-question {
  padding: 15px 20px;
  color: #e0e0e0;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: rgba(30, 30, 30, 0.8);
}

.faq-question i {
  transition: transform 0.3s ease;
  color: #d4af37;
}

.faq-question.active {
  background: rgba(35, 35, 35, 0.8);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.faq-question.active i {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-answer-content {
  padding: 20px;
  color: #c0c0c0;
  line-height: 1.6;
}

/* Setup Guide Section */
.setup-guide {
  padding: 40px 0;
  background: rgba(18, 18, 18, 0.5);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.setup-steps {
  max-width: 800px;
  margin: 30px auto 0;
}

.step {
  display: flex;
  margin-bottom: 25px;
  position: relative;
}

.step-number {
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(45deg, #d4af37 0%, #f2d272 100%);
  color: #0a0a0a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  margin-right: 20px;
}

.step-content {
  flex: 1;
  background: rgba(25, 25, 25, 0.7);
  padding: 15px 20px;
  border-radius: 5px;
  border: 1px solid rgba(212, 175, 55, 0.2);
}

.step-title {
  font-weight: 600;
  margin-bottom: 10px;
  color: #e0e0e0;
}

.step-description {
  color: #c0c0c0;
  line-height: 1.5;
}

/* Footer */
footer {
  padding: 30px 0;
  text-align: center;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  background: rgba(10, 10, 10, 0.7);
}

.copyright {
  font-size: 0.9rem;
  color: #666;
  letter-spacing: 1px;
}

/* Background elements */
.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.3);
  animation: float 25s infinite ease-in-out;
}

@keyframes float {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  50% {
    opacity: 0.5;
  }
  100% {
    transform: translateY(-100vh) translateX(50px);
    opacity: 0;
  }
}

/* Responsive styles */
@media (max-width: 768px) {
  .slider-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .jump-links {
    top: 75px;
    flex-direction: row;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
  }

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-input {
    border-radius: 4px;
    margin-bottom: 10px;
  }

  .btn-subscribe {
    border-radius: 4px;
  }

  .product-name {
    font-size: 2rem;
  }

  .hero {
    height: 300px;
  }
}

/* Tabbed Section Styles */
.tabbed-section {
  padding: 40px 0;
  background: rgba(18, 18, 18, 0.5);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.tab-navigation {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.tab-button {
  padding: 10px 25px;
  margin: 0 10px;
  background: rgba(25, 25, 25, 0.7);
  color: #c0c0c0;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
}

.tab-button:hover {
  background: rgba(30, 30, 30, 0.8);
  border-color: rgba(212, 175, 55, 0.4);
}

.tab-button.active {
  background: linear-gradient(45deg, #d4af37 0%, #f2d272 100%);
  color: #0a0a0a;
}

.tab-content {
  position: relative;
  min-height: 300px;
  overflow: hidden;
}

.tab-pane {
  opacity: 0;
  visibility: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  transition: opacity 0.5s ease, transform 0.5s ease;
  transform: translateY(20px);
}

.tab-pane.active {
  opacity: 1;
  visibility: visible;
  position: relative;
  transform: translateY(0);
}





/* Email Capture Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9); /* Daha koyu overlay */
  display: none; /* Varsayılan olarak gizli */
  justify-content: center;
  align-items: center;
  z-index: 10000; /* Diğer her şeyin üzerinde */
  opacity: 0;
  transition: opacity 0.4s ease-in-out;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-content-wrapper {
  position: relative;
  background: radial-gradient(
    circle at center,
    #181818 0%,
    #0f0f0f 100%
  );
  padding: 40px 35px 30px 35px; /* Üst padding'i artıralım */
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  width: 90%;
  max-width: 600px;
  text-align: center;
  overflow: hidden; /* Bu, modal dışına taşan partiküller için, tooltip'i etkilememeli */
  transform: scale(0.95) translateY(10px);
  transition: transform 0.4s ease-in-out, opacity 0.4s ease-in-out;
}

.modal-overlay.active .modal-content-wrapper {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  color: #888;
  font-size: 2.2rem;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.2s ease, transform 0.2s ease;
  z-index: 10; /* İçeriğin üzerinde */
}

.modal-close-btn:hover {
  color: #d4af37;
  transform: rotate(90deg);
}

/* email-capture-design.html'den kopyalanan ve modal için uyarlanan stiller */
.modal-content-wrapper .step {
  display: none;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.modal-content-wrapper .step.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.modal-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1; 
  overflow: hidden;
}

.modal-background .particle {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: rgba(212, 175, 55, 0.25); /* Modal için biraz daha soluk partiküller */
  animation: floatModalParticles 30s infinite ease-in-out;
}

@keyframes floatModalParticles {
  0% {
    transform: translateY(0) translateX(0);
    opacity: 0;
  }
  20% {
    opacity: 0.4;
  }
  80% {
    opacity: 0.4;
  }
  100% {
    transform: translateY(-100vh) translateX(calc(50vw - 50% + (rand() - 0.5) * 100px)); /* Rastgele yatay hareket için CSS'de doğrudan rand() yok, JS ile ayarlanmalı */
    opacity: 0;
  }
}
/* Not: Keyframes içindeki rand() geçerli CSS değildir. Partikül JS'si rastgeleliği yönetmelidir. */
/* Basit float animasyonunu kullanalım */
@keyframes floatModalParticlesSimple {
    0% { transform: translateY(0) translateX(0); opacity: 0; }
    50% { opacity: 0.4; }
    100% { transform: translateY(-100vh) translateX(20px); opacity: 0; }
}
.modal-background .particle {
    animation-name: floatModalParticlesSimple; /* Basitleştirilmiş animasyon */
}


.modal-content-wrapper .modal-title { /* .title'ı modal içinde özelleştir */
  font-size: 2.3rem;
  font-weight: 800;
  margin-bottom: 15px;
  background: linear-gradient( 45deg, #d4af37 0%, #f2d272 50%, #d4af37 100% );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 1px;
}
.modal-content-wrapper .modal-subtitle {
    font-size: 1rem;
    color: #b0b0b0;
    margin-bottom: 25px;
    line-height: 1.5;
}

.modal-content-wrapper .email-form {
  display: flex;
  flex-direction: column;
  max-width: 450px;
  margin: 20px auto;
}

.modal-content-wrapper .orderid-input {
  padding: 16px 18px;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: rgba(30, 30, 30, 0.8); /* Biraz daha açık arka plan */
  color: #e0e0e0;
  font-size: 1rem;
  border-radius: 5px;
  outline: none;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

/* Prevent browser autofill styling */
.modal-content-wrapper .orderid-input:-webkit-autofill,
.modal-content-wrapper .orderid-input:-webkit-autofill:hover,
.modal-content-wrapper .orderid-input:-webkit-autofill:focus,
.modal-content-wrapper .orderid-input:-webkit-autofill:active {
  -webkit-box-shadow: 0 0 0px 1000px rgba(30, 30, 30, 0.8) inset !important; /* Force background color */
  -webkit-text-fill-color: #e0e0e0 !important; /* Force text color */
  transition: background-color 5000s ease-in-out 0s; /* Delay autofill style */
  caret-color: #e0e0e0 !important; /* Ensure cursor color matches */
}

.modal-content-wrapper .orderid-input:focus {
  border-color: #d4af37;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.2);
}

.modal-content-wrapper .btn-submit {
  padding: 15px 20px;
  background: linear-gradient(45deg, #d4af37 0%, #e0b84c 100%);
  color: #0a0a0a;
  border: none;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  border-radius: 5px;
  transition: all 0.3s ease;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.modal-content-wrapper .btn-submit:hover {
  background: linear-gradient(45deg, #e0b84c 0%, #d4af37 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
}

.modal-content-wrapper .verification-text {
  font-size: 1rem;
  color: #b0b0b0;
  margin-bottom: 20px;
  line-height: 1.5;
}
.modal-content-wrapper .verification-text strong {
    color: #d4af37;
    font-weight: 600;
}

.modal-content-wrapper .verification-code-container {
  display: flex;
  justify-content: center;
  gap: 8px; /* Biraz daha az boşluk */
  margin: 25px 0;
}

.modal-content-wrapper .code-input { /* .modal-code-input olarak da seçilebilir */
  width: 48px; /* Biraz daha küçük */
  height: 58px;
  text-align: center;
  font-size: 1.6rem;
  font-weight: 600;
  border: 1px solid rgba(212, 175, 55, 0.25);
  background: rgba(30, 30, 30, 0.8);
  color: #d4af37;
  border-radius: 5px;
  outline: none;
  transition: all 0.3s ease;
}

.modal-content-wrapper .code-input:focus {
  border-color: #d4af37;
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.3);
}

.modal-content-wrapper .resend-text {
  margin-top: 20px;
  font-size: 0.85rem;
  color: #909090;
}

.modal-content-wrapper .resend-text a {
  color: #d4af37;
  text-decoration: none;
  transition: all 0.3s ease;
  font-weight: 500;
}

.modal-content-wrapper .resend-text a:hover {
  color: #f2d272;
  text-decoration: underline;
}

.modal-notification { /* .notification'ı modal içinde özelleştir */
  position: absolute; /* modal-content-wrapper'a göre konumlanır */
  bottom: -60px; /* Başlangıçta gizli */
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 25px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 10010; /* Modalın üzerinde */
  opacity: 0;
  transition: all 0.4s ease-in-out;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 300px;
  justify-content: center;
}

.modal-notification.success {
  background: linear-gradient(45deg, #28a745 0%, #3f9e55 100%);
  color: white;
}

.modal-notification.error {
  background: linear-gradient(45deg, #dc3545 0%, #c73e4c 100%);
  color: white;
}

.modal-notification.show {
  bottom: 20px; /* Görünür olduğunda konum */
  opacity: 1;
}

@media (max-width: 768px) {
  .modal-content-wrapper .modal-title {
    font-size: 1.8rem;
  }
  .modal-content-wrapper .email-form {
    width: 100%;
  }
  .modal-content-wrapper .verification-code-container {
    gap: 5px;
  }
  .modal-content-wrapper .code-input {
    width: 40px;
    height: 50px;
    font-size: 1.4rem;
  }
  .modal-notification {
    width: calc(100% - 40px);
    font-size: 0.9rem;
    padding: 10px 15px;
  }
}


.language-selector-modal {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.language-selector-modal .lang-option {
  cursor: pointer;
  padding: 5px;
  border-radius: 3px;
  transition: background-color 0.2s ease;
  opacity: 0.6;
}

.language-selector-modal .lang-option img {
  width: 24px;
  height: 18px;
  display: block;
  border: 1px solid rgba(255,255,255,0.2);
}

.language-selector-modal .lang-option.active {
  background-color: rgba(212, 175, 55, 0.2);
  opacity: 1;
}
.language-selector-modal .lang-option:not(.active):hover {
  background-color: rgba(255, 255, 255, 0.1);
  opacity: 0.8;
}


.order-id-input-container {
  position: relative;
  display: flex; /* Flexbox zaten tanımlı, bu iyi */
  align-items: center; /* Dikey hizalama için */
}

.order-id-input-container .orderid-input {
  flex-grow: 1;
  padding-right: 40px; /* İkon için biraz daha fazla yer açalım */
}

.order-id-info-icon {
  position: absolute;
  right: 12px;
  color: #888;
  cursor: pointer;
  font-size: 1.1rem; /* İkon boyutu */
  line-height: 1; /* İkonun kendi satır yüksekliğini sıfırlayarak hizalamaya yardımcı olabilir */
  transition: color 0.2s ease;
  margin-bottom: 13px; /* İkonu biraz daha yukarı kaydır */
}

.order-id-info-icon:hover {
  color: #d4af37;
}

.tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + 12px); /* Input alanının biraz daha üzerinde, ok için yer */
  left: 50%;
  transform: translateX(-50%);
  background-color: #2c2c2c; /* Biraz daha koyu */
  color: #e8e8e8;
  padding: 12px 15px; /* Biraz daha kompakt */
  border-radius: 6px;
  border: 1px solid rgba(212, 175, 55, 0.4); /* Sınır biraz daha belirgin */
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4); /* Gölgeyi ayarla */
  z-index: 10020;
  width: 400px; /* Genişliği biraz azaltalım */
  max-width: calc(100% - 20px); /* Modal kenarlarına yapışmasını engelle */
  font-size: 0.88rem; /* Fontu biraz küçültelim */
  line-height: 1.45;
  text-align: left;
  opacity: 0; /* Animasyon için başlangıç */
  visibility: hidden; /* Animasyon için başlangıç */
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease; /* Geçiş ekleyelim */
  transform: translateX(-50%) translateY(5px); /* Hafif yukarı kayma efekti için */
}

.tooltip.active {
  display: block; /* JS ile kontrol edilecek */
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.tooltip::after { /* Tooltip oku */
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -7px; /* Ok boyutuna göre ayarla */
  border-width: 7px; /* Ok boyutunu ayarla */
  border-style: solid;
  border-color: #2c2c2c transparent transparent transparent; /* Arka plan rengiyle eşleşmeli */
}

.tooltip strong {
  display: block;
  margin-bottom: 6px;
  color: #d4af37;
  font-size: 0.95rem;
}

.tooltip ol {
  margin-left: 18px; /* Liste içeriğini ayarla */
  margin-bottom: 8px;
  max-height: 100px; /* Tooltip içeriği çok uzunsa kaydırma */
  overflow-y: auto; /* Dikey kaydırma çubuğu */
  padding-right: 5px; /* Kaydırma çubuğu için yer */
}

/* Kaydırma çubuğu stilleri (tooltip içi için) */
.tooltip ol::-webkit-scrollbar {
  width: 4px;
}
.tooltip ol::-webkit-scrollbar-track {
  background: rgba(0,0,0,0.1);
}
.tooltip ol::-webkit-scrollbar-thumb {
  background: #d4af37;
  border-radius: 3px;
}

.tooltip li {
  margin-bottom: 4px;
}

.tooltip a {
  color: #d4af37;
  text-decoration: none;
  font-weight: 500;
}

.tooltip a:hover {
  text-decoration: underline;
  color: #f2d272;
}

/* Responsive adjustments for tooltip */
@media (max-width: 400px) {
  .tooltip {
    width: 100%; /* Daha dar ekranlarda genişliği ayarla */
    left: 15px;
    transform: translateX(0); /* Ortalamayı kaldır */
    bottom: calc(100% + 10px);
  }
  .tooltip.active {
    transform: translateX(0) translateY(0);
  }
  .tooltip::after {
    /* Okun konumunu input'a göre ortalamak zor olabilir,
       bu yüzden mobil için kaldırılabilir veya basitçe ortalanır. */
    left: 30px; /* Sabit bir pozisyon veya JS ile ayarlanabilir */
  }
}