* {
  margin: 0;
  padding: 0;
}
html,
body {
  background: #fafaff;
  margin: 0;
  padding: 0;
  height: 100%;
  overflow-x: hidden;
}

/* Header: logo ve arama iki ayrı bölüm */
.header {
  width: 100%;
  /*background: linear-gradient(180deg, #1a1919 0%, #252020 100%);*/
  background: #251f21;
  color: #fff;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  margin-bottom: 48px;
}

.header-brand {
  padding: 36px 0 28px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.header-brand .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.header-brand .logo {
  display: inline-block;
  width: 200px;
  transition: opacity 0.2s;
}
.header-brand .logo:hover {
  opacity: 0.9;
}
.header-brand .logo img {
  width: 100%;
  height: auto;
  display: block;
}
.header-brand .slogan {
  font-size: 1.1rem;
  font-weight: 300;
  letter-spacing: 0.02em;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.header-search {
  padding: 28px 0 36px;
}
.header-search .container {
  max-width: 640px;
  margin: 0 auto;
}

.search-card {
  background: #fff;
  border-radius: 16px;
  padding: 24px;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.2),
    0 2px 8px rgba(0, 0, 0, 0.08);
}

.search-card .name-input {
  width: 100%;
  outline: none;
  padding: 14px 18px;
  margin-bottom: 16px;
  border-radius: 10px;
  border: 1px solid #e5e7eb;
  font-size: 1rem;
  text-align: center;
  box-sizing: border-box;
  transition:
    border-color 0.2s,
    box-shadow 0.2s;
}
.search-card .name-input:focus {
  border-color: #6366f1;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}
.search-card .name-input::placeholder {
  color: #9ca3af;
}

.search-card .input-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  align-items: center;
  background: #f8fafc;
  padding: 12px;
  border-radius: 10px;
  min-height: 44px;
}

.search-card input[type="radio"] {
  appearance: none;
  display: none;
}

.search-card label {
  font-size: 14px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  padding: 8px 14px;
  text-align: center;
  border-radius: 8px;
  transition: all 0.2s;
  color: #64748b;
  border: 1px solid #e2e8f0;
  cursor: pointer;
}

.search-card input[type="radio"]:checked + label {
  background-color: #1e293b;
  color: #f1f5f9;
  font-weight: 600;
  border-color: #1e293b;
}

.search-card .reset-btn {
  font-size: 14px;
  padding: 8px 14px;
  min-height: 36px;
  border: none;
  border-radius: 8px;
  background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  color: #fff;
  cursor: pointer;
  transition: 0.2s;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.35);
}
.search-card .reset-btn:hover {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.45);
}

.font-content {
  width: 100%;
  min-width: 0;
  height: 200px;
  background-color: #fff;
  border: none;
  outline: none;
  border-radius: 5px;
  box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.3);
  display: none;
  overflow: hidden;
}
.font-content span {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  height: 166px;
  font-size: 90px;
  padding: 0 20px;
  text-align: center;
  box-sizing: border-box;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: clip;
  min-width: 0;
  /*text-shadow:
    0 1px 0 #ccc,
    0 2px 0 #ccc,
    0 3px 0 #ccc,
    0 4px 0 #ccc,
    0 5px 0 #ccc,
    0 6px 0 #ccc,
    0 7px 0 #ccc,
    0 8px 0 #ccc,
    0 0 5px rgba(255, 255, 255, 0.05),
    0 -1px 3px rgba(255, 255, 255, 0.2),
    0 9px 9px rgba(255, 255, 255, 0.3),
    0 12px 12px rgba(255, 255, 255, 0.3),
    0 15px 15px rgba(255, 255, 255, 0.3);*/
}

/* Grid: mobilde yatay scroll'u önlemek için flex item'ların küçülebilmesi */
.container .row {
  min-width: 0;
}
.container .row [class*="col-"] {
  min-width: 0;
}

.font-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  -webkit-border-bottom-right-radius: 5px;
  -webkit-border-bottom-left-radius: 5px;
  -moz-border-radius-bottomright: 5px;
  -moz-border-radius-bottomleft: 5px;
  border-bottom-right-radius: 5px;
  border-bottom-left-radius: 5px;
  background: #000;
  color: #fff;
  padding: 5px 10px;
}

/* Kolye renkleri - metalik görünüm */
.sonuc.gold {
  background: linear-gradient(
    165deg,
    #f7e7ce 0%,
    #e5c76b 20%,
    #c9a227 40%,
    #aa8522 50%,
    #c9a227 70%,
    #e8d48b 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 2px rgba(170, 133, 34, 0.4));
}
.sonuc.rose {
  background: linear-gradient(
    165deg,
    #f5e0e3 0%,
    #d4a5a5 20%,
    #b76e79 40%,
    #9a5a63 50%,
    #b76e79 70%,
    #e8c4c8 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 2px rgba(155, 90, 99, 0.35));
}
.sonuc.white {
  background: linear-gradient(
    165deg,
    #ffffff 0%,
    #e8e8e8 20%,
    #c5c5c5 40%,
    #a8a8a8 50%,
    #c5c5c5 70%,
    #e0e0e0 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 1px 2px rgba(140, 140, 140, 0.4));
}

.uppercase {
  text-transform: uppercase;
}
.lowercase {
  text-transform: lowercase;
}
.capitalize {
  text-transform: capitalize;
}

/* Magnolia Script */
.font1 {
  font-family: "Magnolia Script";
  font-weight: normal;
  font-style: normal;
}

/* Motion Picture Personal Use */
.font2 {
  font-family: "Motion Picture Personal Use";
  font-weight: normal;
  font-style: normal;
}

/* Furkan */
.font3 {
  font-family: "Furkan";
  font-weight: normal;
  font-style: normal;
}

/* HabanoST */
.font4 {
  font-family: "HabanoST";
  font-weight: normal;
  font-style: normal;
}

/* DG Font 5 */
.font5 {
  font-family: "DG Font 5";
  font-weight: normal;
  font-style: normal;
}

/* HabanoST */
.font6 {
  font-family: "Smoothy Cursive";
  font-weight: normal;
  font-style: normal;
}

/* Lucida Calligraphy */
.font7 {
  font-family: "Lucida Calligraphy";
  font-weight: normal;
  font-style: italic;
}

/* Monotype Corsiva */
.font8 {
  font-family: "Monotype Corsiva";
  font-weight: normal;
  font-style: italic;
}

/* Impact */
.font9 {
  font-family: "Impact";
  font-weight: normal;
  font-style: normal;
}

/* Lakesight Personal Use Only */
.font10 {
  font-family: "Lakesight Personal Use Only";
  font-weight: normal;
  font-style: normal;
}

/* onbir */
.font11 {
  font-family: "onbir";
  font-weight: normal;
  font-style: normal;
}

/* Amorinda */
.font12 {
  font-family: "Amorinda";
  font-weight: normal;
  font-style: normal;
}

/* Freebooter Script */
.font13 {
  font-family: "Freebooter Script";
  font-weight: normal;
  font-style: normal;
}

/* Unnamed1 */
.font14 {
  font-family: "Unnamed1";
  font-weight: normal;
  font-style: normal;
}

/* Hobo BT */
.font15 {
  font-family: "Hobo BT";
  font-weight: normal;
  font-style: normal;
}

/* Atatu:rk */
.font16 {
  font-family: "Atatu:rk";
  font-weight: normal;
  font-style: normal;
}

/* Cooper*/
.font34 {
  font-family: "Cooper";
  font-weight: 900;
  font-style: normal;
}

/* Autumn Chant */
.font35 {
  font-family: "Autumn Chant";
  font-weight: normal;
  font-style: normal;
}

/* Christmas Bella */
.font40 {
  font-family: "Christmas Bella";
  font-weight: normal;
  font-style: normal;
}

/* Hangbird */
.font41 {
  font-family: "Hangbird";
  font-weight: normal;
  font-style: normal;
}

/* Shelby */
.font42 {
  font-family: "Shelby";
  font-weight: bold;
  font-style: normal;
}

/* Intro Script Demo */
.font45 {
  font-family: "Intro Script Demo";
  font-weight: 500;
  font-style: normal;
}

/* Halimun */
.font46 {
  font-family: "Halimun";
  font-weight: normal;
  font-style: normal;
}

/* Commercial Script */
.font47 {
  font-family: "Commercial Script";
  font-weight: normal;
  font-style: normal;
}

/* Kastella */
.font48 {
  font-family: "Kastella";
  font-weight: normal;
  font-style: italic;
}

@media (max-width: 575.98px) {
  .header-brand {
    padding: 28px 0 20px;
  }
  .header-brand .logo {
    width: 160px;
  }
  .header-brand .slogan {
    font-size: 0.95rem;
  }
  .header-search {
    padding: 20px 0 28px;
  }
  .header-search .container {
    padding-left: 12px;
    padding-right: 12px;
  }
  .search-card {
    padding: 18px;
    border-radius: 12px;
  }
  .search-card .name-input {
    padding: 12px 14px;
    margin-bottom: 14px;
    font-size: 0.95rem;
  }
  .search-card label {
    font-size: 12px;
  }
  .font-content span {
    font-size: 40px;
  }
  .font-content {
    height: 150px;
  }
  .font-content span {
    height: 112px;
  }
  .search-card .input-content {
    padding: 10px;
    min-height: 50px;
  }
  .search-card .input-content label {
    min-height: 40px;
    min-width: 52px;
    padding: 8px 12px;
    font-size: 13px;
  }
  .search-card .reset-btn {
    min-height: 40px;
    padding: 8px 14px;
    font-size: 13px;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .header-brand .logo {
    width: 180px;
  }
  .header-brand .slogan {
    font-size: 1rem;
  }
  .search-card label {
    font-size: 13px;
  }
  .font-content span {
    font-size: 50px;
  }
  .font-content {
    height: 150px;
  }
  .font-content span {
    height: 112px;
  }
  .search-card .input-content label {
    min-height: 36px;
    padding: 6px 12px;
  }
  .search-card .reset-btn {
    min-height: 36px;
    padding: 6px 12px;
  }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .font-content span {
    font-size: 70px;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
  .font-content span {
    font-size: 70px;
  }
}
@media (min-width: 1200px) {
}

/* Yukarı butonu */
.scroll-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 50%;
  background-color: #252020;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s,
    transform 0.2s;
  z-index: 1000;
}
.scroll-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.scroll-to-top:hover {
  background-color: #3d3535;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}
.scroll-to-top:active {
  transform: translateY(0);
}
