/* Genel ayarlar */
* { box-sizing: border-box; }

body {
  font-family: 'Inter', 'Inter var', sans-serif;
  margin: 0;
  background: linear-gradient(150deg, #1a1a1a, #0f0f0f, #000000);
  color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Header */
header { padding: 15px 20px; }

/* Hero */
.hero {
  text-align: center;
  margin: 20px 20px 40px 20px;
}
.hero-logo {
  font-size: 3em;
  font-weight: 700;
  margin-bottom: 10px;
  color: #ffcc00;
  text-transform: none;
}
.hero-subtext {
  font-size: 1em;
  font-weight: 300;
  color: #cce7ff;
  margin-bottom: 15px;
  font-style: normal;
}

/* Search form */
#search-form {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 0;
  max-width: 500px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
.hero input {
  flex: 1;
  padding: 15px 20px;
  font-size: 1.1em;
  border-radius: 8px 0 0 8px;
  border: none;
  outline: none;
  background: #ffffff;
  color: #111;
}
.hero input::placeholder { color: #555; }
.hero button {
  padding: 15px 20px;
  font-size: 1.1em;
  border-radius: 0 8px 8px 0;
  border: none;
  background: #ffcc00;
  color: #111;
  cursor: pointer;
  transition: 0.3s;
  flex-shrink: 0;
}
.hero button:hover { background: #ffaa00; }

/* Search suggestions wrapper */
.search-suggestions-wrapper {
  display: none; /* Başlangıçta gizli */
  max-width: 500px;
  margin: 10px auto 20px auto;
  background: #ffffff;
  border-radius: 8px;
  padding: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
.suggestions-title {
  font-family: 'Inter', 'Inter var', sans-serif;
  font-weight: 600;
  font-size: 0.95em;
  color: #111;
  margin-bottom: 8px;
  text-align: center;
}
.search-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.search-suggestions .suggestion-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80px;
  cursor: pointer;
}
.search-suggestions .suggestion-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 5px;
  margin-bottom: 5px;
}
.search-suggestions .suggestion-item span {
  font-size: 0.75em;
  color: #111;
  text-align: center;
  white-space: nowrap;
}

/* Filtreler */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}
.filters select {
  padding: 8px;
  font-size: 0.95em;
  border-radius: 5px;
  border: none;
  background: #ffffff22;
  color: #fff;
}

/* Sonuç listesi */
#results-container {
  max-width: 900px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.result-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  background: #ffffff11;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  color: #fff;
  flex-wrap: wrap;
}
.result-item div { flex: 1 1 60%; min-width: 200px; }
.result-item a { font-weight: 600; font-size: 1.1em; color: #ffcc00; text-decoration: none; }
.result-item a:hover { text-decoration: underline; }
.result-item p { margin: 5px 0 0 0; font-size: 0.9em; color: #cce7ff; }

/* Get Bonus butonu */
.result-item button.get-bonus {
  padding: 8px 15px;
  border: none;
  border-radius: 5px;
  background: #ffcc00;
  color: #111;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
  white-space: nowrap;
  flex-shrink: 0;
}
.result-item button.get-bonus:hover { background: #ffaa00; }

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  font-size: 0.85em;
  color: #cce7ff;
  margin-top: 50px;
}
footer a { color: #ffffff; text-decoration: none; margin: 0 5px; }
footer a:hover { text-decoration: underline; }

/* ---------- Responsive ---------- */
@media(max-width:600px){
  .hero { margin: 15px 10px 25px 10px; }
  #search-form { max-width: 100%; }
  .hero input, .hero button { font-size: 1em; }
  .filters select { font-size: 0.9em; }

  /* Mobilde sonuç alanı: modern kart görünümü */
  #results-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0 10px;
  }
  .result-item {
    flex-direction: column;
    align-items: flex-start;
    background: #ffffff11;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
  }
  .result-item div { width: 100%; }
  .result-item a { font-size: 1.05em; }
  .result-item p { margin: 8px 0; font-size: 0.9em; }
  .result-item button.get-bonus {
    width: 100%;
    margin-top: 10px;
    padding: 12px;
    font-size: 1em;
    border-radius: 8px;
    text-align: center;
  }

  /* Search suggestions mobil */
  .search-suggestions-wrapper { max-width: 100%; margin: 10px; }
  .search-suggestions .suggestion-item { width: 70px; }
  .search-suggestions .suggestion-item img { width: 50px; height: 50px; }
  .search-suggestions .suggestion-item span { font-size: 0.7em; }
}
