

body {
  font-family: 'Inter', sans-serif;
  background-color: #f7f9fc;
  margin: 0;
  padding-top: 70px; /* navbar yüksekliğine göre */
  color: #2d3436;
}

html, body {
  max-width: 100%;
  overflow-x: hidden;
}

.main-wrapper {
  width: 70%;
  margin: 0 auto; /* sayfada ortalamak için */
  max-width: 1200px;
}

.criteria-card .icon {
  font-size: 32px;
  color: #2d3436; /* siyah tonu */
  margin-bottom: 10px;
}


.logo {
  font-weight: bold;
  font-size: 1.4rem;
  color: #000;
  display: flex;
  align-items: center;
  gap: 10px;
}

.criteria-logos {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.criteria-logos img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.criteria-logos img:hover {
  transform: scale(1.05);
}


.logo-img {
  height: 30px; /* ihtiyaca göre 20–30px arası olabilir */
  width: auto;
}

.membership-badge{
  display:inline-block;
  padding:6px 12px;
  border-radius:999px;
  font-weight:700;
  font-size:.85rem;
  letter-spacing:.5px;
}

/* Premium = header’daki turuncu */
.membership-badge.premium{
  background:#f1c40f;     /* turuncu/sarı */
  color:#ffff;             /* okunabilirlik için siyah yazı */
}

/* Pro istersen aynı kalsın (yeşil) */
.membership-badge.pro{
  background:#27ae60;
  color:#fff;
}


.word-translation-overlay {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(255, 255, 255, 0.8);
  color: #333;
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  display: none;
  z-index: 5;
  max-width: 90%;
  text-align: center;
}


.bxs{
    font-size:32px;
    display:none!important;
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-toggle {
  background: none;
  border: none;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  color: #2d3436;
  margin-top:9px;
}

.dropdown-toggle .arrow {
  margin-left: 4px;
  font-size: 0.8rem;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 130%;
  left: 0;
  background-color: white;
  border: 1px solid #ddd;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  border-radius: 6px;
  z-index: 1000;
  min-width: 160px;
}

.dropdown-menu a {
  display: block;
  padding: 10px 15px;
  text-decoration: none;
  color: #2d3436;
  font-size: 0.95rem;
}

.dropdown-menu a:hover {
  background-color: #f1f1f1;
}

.dropdown.open .arrow {
  transform: rotate(180deg);
  transition: transform 0.2s;
}

.mobile-menu .dropdown {
  width: 100%;
}

.mobile-menu .dropdown-toggle {
  background: none;
  border: none;
  color: #2d3436;
  font-size: 14px;
  font-weight: 600;
  padding: 20px;
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  border-bottom: 1px solid #eee;
}

.mobile-menu .dropdown-menu {
  display: none;
  flex-direction: column;
  background-color: #fff;
  padding-left: 20px;
  animation: slideDown 0.3s ease-out forwards;
}

.mobile-menu .dropdown.open .dropdown-menu {
  display: flex;
}

.mobile-menu .dropdown-menu a {
  padding: 12px 20px;
  color: #2d3436;
  text-decoration: none;
  font-size: 13px;
  border-bottom: 1px solid #f1f1f1;
}

.mobile-menu .dropdown .arrow {
  font-size: 0.9rem;
  margin-left: 5px;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-dropdown {
  width: 100%;
}

.mobile-dropdown-header {
  display: flex;
  align-items: center;
  padding: 20px;
  font-weight: 600;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  font-size: 0.8rem;
}

.mobile-dropdown-header i {
  margin-right: 10px;
  font-size: 20px;
}

.mobile-dropdown .arrow {
  font-size: 20px;
  transition: transform 0.3s ease;
  margin-left: 10px;
}

.mobile-dropdown.open .arrow {
  transform: rotate(180deg);
}

.mobile-submenu {
  display: none;
  flex-direction: column;
  background-color: #fafafa;
}

.mobile-submenu a {
  padding: 16px 30px;
  font-size: 0.75rem;
  color: #2d3436;
  text-decoration: none;
  border-bottom: 1px solid #eee;
  margin-left: 30px;
}

.mobile-submenu a:hover {
  background-color: #f1f2f6;
}

/* Masaüstü Kategoriler DropDown */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
    color: #2d3436;
    font-weight: 500;
  cursor: pointer;
  padding: 10px;
  font-size: 12px;
  font-family: 'Inter', sans-serif;
  
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  background-color: white;
  min-width: 200px;
  top: 100%;
  left: 0;
  z-index: 999;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-radius: 8px;
  padding: 10px 0;
}

.nav-dropdown-menu a {
  padding: 10px 20px;
  display: block;
  font-size: 13px;
  color: #2d3436;
  text-decoration: none;
}

.nav-dropdown-menu a:hover {
  background-color: #f1f1f1;
}

/* Mobil görünüm için ayrım */
.desktop-only { display: none; }
.mobile-only { display: block; }

.filter-select {
  padding: 7px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 11px;
  background-color: #f9f9f9;
  cursor: pointer;
}

.reset-button {
  font-size: 11px;
}



.topbar {
  width: 100%;
  background-color: #f5f5f5;
  height: 36px;
  border-bottom: 1px solid #e0e0e0;
  font-size: 13px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1100; /* navbar'dan daha yüksek olsun */
}

.topbar-content {
  width: 70%;
  max-width: 1200px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left a {
  color: #2d3436;
  text-decoration: none;
  font-weight: 500;
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #2d3436;
}

.topbar-right select {
  border: 1px solid #ccc;
  border-radius: 4px;
  padding: 4px 8px;
  background-color: white;
  font-size: 13px;
}

.topbar-right i {
  font-size: 18px;
}

.wrapper {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.two-column {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  margin: 100px 0;
}

.left-column, .right-column {
  flex: 1;
}

/* Dilersen genişlik sınırı da ekleyebilirsin */
.left-column {
  text-align: left;
}

.right-column {
  text-align: right;
}


.btn-group {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-top: 20px;
}

.btn-group a {
  flex: 1 1 45%; /* küçük ekranda alt alta geçebilsin */
  text-align: center;
}




.category-page {
    width:80%;
    margin: 0 auto;
}

.category-grid-modern {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.category-modern-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  border-radius: 12px;
  padding: 20px 30px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  flex-wrap: wrap;
}

.cat-left {
  display: flex;
  align-items: center;
  gap: 20px;
  flex: 1;
}

.cat-icon {
  font-size: 32px;
  color: #4a00e0;
  background: #f2f2f2;
  padding: 14px;
  border-radius: 12px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-info h3 {
  margin: 0;
  font-size: 18px;
  color: #222;
}

.cat-info p {
  margin: 6px 0 12px;
  color: #555;
  font-size: 14px;
}

.btn-discover {
  display: inline-block;
  padding: 8px 14px;
  background: #1abc9c;
  color: #fff;
  font-size: 13px;
  text-decoration: none;
  border-radius: 6px;
}

.cat-right img {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 0 0 4px #e6eaff;
}

.progress-text {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1rem;
  color: #636e72;
}



.section-subtitle {
  color: #555;
  font-size: 16px;
  text-align: center;
  margin-bottom: 30px;
}

.progress-info {
  font-size: 1rem;
  color: #636e72;
}

.fav-btn svg {
  margin-top: 0px; /* İkonu biraz aşağı çeker */
  vertical-align: middle; /* Dikey hizalamayı ortalar */
}

.fav-btn svg:hover {
  fill: #f1c40f;
  transition: fill 0.3s ease;
}

.favorite-status svg {
  vertical-align: middle;
}


.word-title {
  min-height: 1.3em; /* Butonlar kaymasın */
transition: opacity 0.9s ease;
  opacity: 0;
  text-align: center;
  font-size: 22px;
  margin-bottom: 10px;
  color: #333;
}
.word-title.visible {
  opacity: 1;
}

.word-title.showing-translation {
  opacity: 1;
}

.word-en {
  font-size: 1.5rem;
  color: #0984e3;
  margin-top: 15px;
}



.word-card-single {
  max-width: 400px;
  margin: 0px auto;
  text-align: center;
}

.word-image {
  position: relative;
  display: inline-block; /* veya ihtiyacınıza göre block/inline-block */
}


.word-image img {
  width: 80%;


  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.word-content {
  text-align: center;
  margin-top: 15px;
}

.word-content .tr {
  font-size: 1.2rem;
  color: #2d3436;
  display: none;
  margin-top: 10px;
}

/* Odak modu butonu */
.btn-focus {
  position: absolute;
  top: 8px;
  right:  fortypx; /* favori yıldızından biraz uzakta */
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  background: none;
  border: none;
  box-shadow: none;
  z-index: 10;
  cursor: pointer;
}

/* Odak ikonu */
.focus-icon {
  font-size: 1.5rem;        /* yıldızla aynı boyutta */
  line-height: 1;
  color: #0984e3;
  background: none;         /* kesin transparent */
  margin-right: 4px;
}

/* Label’ı yumuşak ve bordürlü yapalım */
.focus-label {
  font-size: 0.85rem;
  color: #666;
  border: 1px solid #ccc;
  padding: 2px 6px;
  border-radius: 4px;
  background-color: #fafafa;
  user-select: none;
}

/* Eğer “exit-focus” modunda label’ı göstermek istemiyorsanız: */
.btn-focus.exit-focus .focus-label {
  display: none;
}

.toggle-tr-btn {
    margin-top: 10px;
  padding: 10px 14px;
  border-radius: 6px;
  background-color: #dfe6e9;
  border: none;
  cursor: pointer;
  font-weight: 500;
}


.toggle-tr-btn.revealed {
  background-color: #a3d9a5;
  color: #2d3436;
}

.listen-btn {
  background-color: #fff;
  border: 2px solid #0984e3;
  color: #0984e3;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  margin-top: 10px;
}

.btn-primary {
  text-align: center;
  background-color: #00b894;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-mode {
  background-color: #fffffffffff
  color: #dfe6e9;
  cursor: pointer;
  font-size: 0.8rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary {
  background-color: #ffffff;
  color: #2d3436;
  padding: 12px 24px;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: #f1f2f6;
  color: #2d3436;
  border-color: #b2bec3;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.btn-primary:disabled {
  background-color: #b2bec3;
  cursor: not-allowed;
}


.btn-primary:hover {
  background-color: #019875; /* Daha koyu bir yeşil ton */
  box-shadow: 0 4px 12px rgba(0, 184, 148, 0.4);
  transform: translateY(-2px);
}

.btn-nav {
  border-radius: 6px;
  margin-top: 20px;
  cursor: pointer;
  font-size: 11px;
  text-decoration: none;
      background-color: #ffffff;
    color: #2d3436;
    border: 1px solid #ccc;
    padding: 5px !important;
}

.user-badges {
  display: flex;
  gap: 8px;
  align-items: center;
}

.user-badges img {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 50%;
}


.tr.hidden {
  display: none;
}

.tr.visible {
  display: block;
}

.learn-header {
  text-align: center;
  margin-top:50px;
}

.favorites {
    width: 70%;
    margin: 50px auto;
}

.favorites-header {
  text-align: center;
  margin-bottom: 20px;
}

.favorites-header h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  color: #2d3436;
}

.favorites-filters {
  margin-top: 10px;
}

.filter-badge {
  display: inline-block;
  background-color: #f1f3f5;
  color: #2d3436;
  padding: 6px 12px;
  margin: 5px;
  border-radius: 20px;
  font-size: 14px;
  text-decoration: none;
  transition: 0.3s;
}

.filter-badge:hover {
  background-color: #dfe6e9;
}

.filter-badge.all {
  font-weight: bold;
  color: #0984e3;
}

.favorite-filters {
  
  font-size:10px;

}

.favorite-filters .filter-badge {
  background-color: #e8f0fe;
  color: #1a73e8;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s;
}

.favorite-filters .filter-badge:hover {
  background-color: #d2e3fc;
}

.favorite-filters .filter-badge.active {
  background-color: #1a73e8;
  color: white;
}

.section-badge {
  display: inline-block;
  padding: 6px 14px;
  background-color: #f1f3f4;
  color: #333;
  border-radius: 20px;
  font-size: 10px;
  text-decoration: none;
  margin: 4px;
  transition: all 0.2s ease-in-out;
  border: 1px solid transparent;
}

.section-badge:hover {
  background-color: #e0e0e0;
  border-color: #ccc;
}

.section-badge.active {
  background-color: #1a73e8;
  color: white;
}

.section-badge.all {
  font-weight: bold;
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}


.progress-bar {
  height: 8px;
  background: #eee;
  border-radius: 5px;
  overflow: hidden;
  margin-bottom: 5px;
}

.progress-fill {
  height: 100%;
  background: #00b894;
  transition: width 0.3s ease-in-out;
}

.progress-label {
  font-size: 12px;
  color: #555;
}


.profile-container {
  width:40%;
  margin: 0px auto;
  margin-top: 50px;

}

.profile-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
    background-color: #fff;
  border-radius: 16px;
  padding: 0px 40px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.profile-left h1 {
  margin-bottom: 6px;
  font-size: 1.8rem;
}

.membership-badge {
  background-color: #0984e3;
  color: white;
  padding: 6px 14px;
  border-radius: 30px;
  font-weight: bold;
  font-size: 0.9rem;
  text-transform: uppercase;
}

.learn-layout {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px;
  text-align: center;
}

.learn-header-info {
  margin-bottom: 20px;
}

.learn-header-info h2 {
  font-size: 1.6rem;
  font-weight: bold;
  color: #2d3436;
}

.learn-header-info .progress {
  margin-top: 5px;
  color: #636e72;
}



.show-meaning-btn {
  background-color: #dfe6e9;
  border: none;
  border-radius: 6px;
  padding: 8px 14px;
  margin-top: 12px;
  cursor: pointer;
  font-weight: 500;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.show-meaning-btn.showing {
  background-color: #a3d9a5;
  color: #2d3436;
}

.word-content .tr {
  margin-top: 10px;
  font-size: 1.1rem;
  display: none;
  transition: all 0.3s ease;
}

.stat-card p:first-of-type {
  font-size: 24px;
  font-weight: bold;
  color: #2c3e50;
}

.page-wrapper {
 min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-wrapper > footer {
  margin-top: auto;
}

.word-image {
  position: relative;
}


.word-progress-badge {
  position: absolute;
  top: 10px;
  left: 50px;
  background-color: #3498db;
  color: white;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 12px;
  font-weight: bold;
}

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

.word-card-single {
  position: relative;
  transition: transform 0.2s ease;
}



.fav-word-image img {
  width: 90%;
}

.criteria-section {
  width:100%;
  background-color: #f9fafa;
  text-align: center;
  margin:100px auto;
}

.criteria-title h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.criteria-title p {
  font-size: 16px;
  color: #555;
  max-width: 700px;
  margin: 0 auto 40px;
}

.criteria-boxes {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.criteria-card {
  background: white;
  border-radius: 12px;
  padding: 20px;
  width: 150px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: center;
}

.criteria-card .icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.criteria-card p {
  font-size: 14px;
  color: #333;
}

.criteria-bottom {
  margin-top: 40px;
}

.criteria-bottom h3 {
  font-size: 20px;
  color: #2c3e50;
  margin-bottom: 10px;
}

.criteria-bottom p {
  font-size: 15px;
  color: #555;
}

.blog-section {
  padding: 60px 20px;
  background-color: #f9f9ff;
  text-align: center;
}

.blog-title {
  font-size: 32px;
  font-weight: 700;
  color: #1f2d5a;
  margin-bottom: 40px;
}

.blog-grid {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.blog-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  overflow: hidden;
  max-width: 300px;
  text-align: left;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.blog-content {
  padding: 20px;
}

.blog-tag {
  display: inline-block;
  font-size: 13px;
  background-color: #eef1f7;
  color: #4c5a75;
  padding: 4px 10px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.blog-card h3 {
  font-size: 18px;
  margin: 10px 0;
  color: #1f2d5a;
}

.blog-card p {
  font-size: 14px;
  color: #555;
  margin-bottom: 10px;
}

.blog-card small {
  color: #888;
  font-size: 12px;
}


.favorite-badge {
  position: absolute;
  top: 8px;
  right: 50px;
  font-size: 20px;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 10;
  cursor: pointer; /* Tıklanabilir olduğunu gösterir */
}

.favorite-badge:hover {
  transform: scale(1.2) !important;
  opacity: 0.8 !important;
}

.favorite-badge.show {
  opacity: 1;
  transform: scale(1.4);
}

.favorite-badge.permanent {
  opacity: 1;
  transform: scale(1);

}


.favorite-info {
  position: absolute;
  top: 10px;
  right: 35px;
  font-size: 12px;
  color: #444;
  background: #fff;
  padding: 2px 6px;
  border-radius: 4px;
  box-shadow: 0 0 3px rgba(0,0,0,0.1);
}

.badge-icon {
  width: 60px;
  height: 60px;
  line-height: 60px;
  font-size: 42px;
  border-radius: 50%;
  transition: background-color 0.3s;
  cursor: default;
}

.badge-icon-top {
  height: 60px;
  line-height: 60px;
  font-size: 28px;
  border-radius: 50%;
  transition: background-color 0.3s;
  cursor: default;
}

/* Tooltip stili */
.badge-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 110%; /* Rozetin üstüne yerleştir */
  left: 50%;
  transform: translateX(-50%);
  background: #333;
  color: #fff;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 12px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out;
  z-index: 10;
}

/* Tooltip oku */
.badge-icon::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: #333;
  opacity: 0;
  transition: opacity 0.2s ease-in-out;
}

/* Hover olduğunda tooltip göster */
.badge-icon:hover::after,
.badge-icon:hover::before {
  opacity: 1;
}

.badge-card.locked {
  opacity: 0.4;
  filter: grayscale(1);
  position: relative;
}

.badge-card.locked:hover {
  opacity: 1;
  filter: none;
}

/* Açıklama gizli başlayacak */
.badge-hint {
  display: none;
  font-size: 12px;
  color: #555;
  margin-top: 5px;
}


/* Hover olduğunda açıklamayı göster */
.badge-card:hover .badge-hint {
  display: block;
}

/* Kazanılmış rozette arka plan rengi farklı olsun */
.badge-card.earned .badge-icon {
  /*background-color: #c8f7c5;*/
}

/* Kilitli rozette daha soluk bir görünüm */
.badge-card.locked .badge-icon {

  opacity: 0.6;
}

.learning-journey {
  margin-top: 40px;
  background-color: #fff;
  border-radius: 16px;
  padding: 30px 40px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.badges-section {
  margin-top: 40px;
    background-color: #fff;
  border-radius: 16px;
  padding: 30px 40px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.badges-section h1 {
  font-size: 20px;
  margin-bottom: 15px;
}


.learning-journey h1 {
  font-size: 20px;
  margin-bottom: 15px;
}

.badges-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}


.badge-card {
  border-radius: 8px;
  padding: 10px;
  width: 50px;
    display: flex;
  flex-direction: column;
  align-items: center; /* içeriği yatay ortalar */
  text-align: center;
}


.badge-card img {
  width: 50px;
  height: 50px;
  margin-bottom: 5px;
}

.badge-name{
    font-size:10px;
}


.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(70px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.stat-card {
  background-color: #f1f3f5;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center; /* dikey ortalama */
  align-items: center;     /* yatay ortalama */
}

.stat-card h2 {
  font-size: 2rem;
  margin: 0;
  color: #0984e3;
}

.stat-card p {
  margin: 8px 0 0;
  font-size: 0.5rem;
  color: #636e72;
}

.cta-area {
  text-align: center;
  margin-top: 40px;
}

.upgrade-hint {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #555;
}
.upgrade-hint a {
  color: #0984e3;
  font-weight: bold;
  text-decoration: none;
}
.upgrade-hint a:hover {
  text-decoration: underline;
}






.container {
  max-width: 1140px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.group-list .groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.group-box {
  background: white;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.group-box h3 {
  margin-top: 0;
}

.btn {
  margin-top: auto;
  background-color: var(--primary-color);
  color: white;
  padding: 10px;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 400px;
  margin-top: 20px;
}

.login-form input {
  padding: 10px;
  font-size: 1rem;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.alert {
  background-color: #ffe5e5;
  padding: 10px;
  border-radius: 6px;
  color: #b30000;
}

.hero {
  text-align: center;
  margin-top: 50px;
}

.hero h1 {
  font-size: 2rem;
}

.cta-buttons {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}



.demo {
  margin-top: 60px;
  padding: 30px;
  background-color: #f3f8ff;
  border-radius: 12px;
  text-align: center;
}

.demo-btn {
  background-color: #00b894;
}

.word-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.word-card {
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  text-align: center;
}

.word-card img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 10px;
}

.word-card h3 {
  margin: 5px 0;
  font-size: 1.2rem;
  color: #2d3436;
}

.word-card .tr {
  font-size: 1rem;
  color: #0984e3;
}

.word-card .example {
  font-style: italic;
  margin-top: 10px;
  font-size: 0.95rem;
  color: #636e72;
}

.admin-menu {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 300px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.admin-table th, .admin-table td {
  padding: 10px;
  border: 1px solid #ccc;
  text-align: left;
}

.admin-table th {
  background-color: #f2f2f2;
}

.btn.small {
  font-size: 0.9rem;
  padding: 6px 10px;
}

.category-block {
  margin-bottom: 30px;
  padding: 20px;
  background-color: #f6f8fa;
  border-radius: 10px;
}

/* section-list artık tek kolonda, kartlar alta alta */
.section-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0;
  margin: 0;
}

.section-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
}

.btn.small {
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: 6px;
 background-color: #0099cc;
}

.btn.danger {
  background-color: #d63031;
  color: white;
}

.btn.danger {
  background-color: #d63031;
  color: white;
}


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

.word-card {
  position: relative;
}

.favorite-form {
  position: absolute;
  top: 10px;
  right: 10px;
}

.favorite-btn {
  background: none;
  border: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #ccc;
  transition: color 0.3s ease;
}

.favorite-btn.active {
  color: gold; /* Sar覺 y覺ld覺z */
}

.page-title {
    font-size: 2.5rem;
    font-weight:700;
    text-align:center;
    margin-top: 50px;
}


.nav-toggle.rotate {
  transform: rotate(90deg);
}


.nav-right a {
  text-decoration: none;
  color: #2d3436;
  font-weight: 500;
  transition: color 0.2s ease;
  padding: 10px;
}

.nav-right a:hover {
  color: #0984e3;
}


.hero-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-top: 50px;

}

.hero-text {
  flex: 1;
  text-align: left;
}

.hero-text h1 {
  font-size: 42px;
  font-weight: bold;
  color: #2d3436;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 18px;
  color: #555;
  margin-bottom: 30px;
}

.hero-buttons {
  margin-top: 20px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-buttons a {
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  margin-right: 12px;
  display: inline-block;
  transition: all 0.3s ease;
}

.hero-image {
  flex: 1;
  max-width: 50%;
  text-align: right;
}

.hero-image img {
  max-width: 100%;
  height: auto;
}

.hero-section h1 {
  font-size: 3.4rem;
  margin-bottom: 10px;
  font-weight:700;
}

.hero-section p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 30px auto;
}


.highlight-section {
  width:100%;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  background-color: #f9f9fc;
  border-radius: 12px;
  flex-wrap: wrap;
  margin: 50px auto;
}

.highlight-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  min-width: 300px;
}

.highlight-card {
  display: flex;
  align-items: flex-start;
  background: white;
  padding: 16px 20px;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.icon-circle {
  background-color: #e8f0ff;
  color: #2c3e50;
  font-size: 22px;
  border-radius: 10px;
  padding: 12px;
  margin-right: 16px;
}

.text-content h4 {
  font-size: 16px;
  margin: 0;
  font-weight: 600;
}

.text-content p {
  font-size: 14px;
  margin-top: 4px;
  color: #666;
}



.highlight-right {
  flex: 1;
  min-width: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;     /* İçerik kendi içinde dikey ortalanır */
  height: 100%;
}


.highlight-right h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3436;
  margin-bottom: 16px;
  text-align: center;
}

.highlight-right p {
  font-size: 16px;
  color: #555;
  text-align: center;
}



.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
}



.btn-secondary a {
      padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  margin-right: 12px;
  display: inline-block;
  transition: all 0.3s ease;
}
    
}



.category-block {
  margin-top: 40px;
  background-color: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
}

.section-list {
  list-style: none;
  padding-left: 0;
}

.section-list li {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid #ddd;
}

.demo-categories {
  padding: 50px 20px;
  background-color: #f7f9fc;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.category-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.05);
  overflow: hidden;
  text-align: center;
  padding: 20px;
  transition: transform 0.2s ease;
}

.category-card:hover {
  transform: translateY(-5px);
}

.category-card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 15px;
}

.category-card h3 {
  margin: 0;
  font-size: 1.2rem;
  color: #2d3436;
}

.category-card p {
  font-size: 0.75rem;
  color: #636e72;
  margin: 10px 0 15px;
}

.category-card .btn.small {
  background-color: #0984e3; /* canlı mavi */
  color: #fff;
  border: none;
  padding: 6px 12px;
  font-size: 0.75rem;
  border-radius: 6px;
  text-decoration: none;
  display: inline-block;
  margin-top: 10px;
  transition: background-color 0.2s ease;
}

.category-card .btn.small:hover {
  background-color: #0652dd; /* koyu mavi hover */
}

.category-detail-header {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 30px;
}
.category-detail-header img {
  width: 200px;
  height: 130px;
  object-fit: cover;
  border-radius: 10px;
}

.vocabox-badges-section {
  padding: 60px 20px;
  background-color: #f2f4f8;
  text-align: center;
}

.vocabox-badges-header h2 {
  font-size: 2rem;
  margin-bottom: 10px;
  color: #2d3436;
}

.vocabox-badges-header p {
  font-size: 1rem;
  color: #636e72;
}

.vocabox-badge-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}

.vocabox-badge-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  width: calc(50% - 12px); /* 2 sütun */
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.25s ease;
  box-sizing: border-box;
}

.vocabox-badge-card:hover {
  transform: translateY(-6px);
}

.vocabox-badge-icon {
  font-size: 2.6rem;
  margin-bottom: 12px;
}

/* her bir kart full genişlikte ve içinde yatay yerleşim */
.section-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  width: 100%;
}


/* metin bloğu ve ilerleme kısmı sola, buton sağa yaslansın */
.section-card > div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

/* butonlar sabit boyutta, kartın sonunda */
.section-card .btn.small {
  flex: 0 0 auto;
  margin-left: 1rem;
}

.pronunciation-section {
    width:70%;
    margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  padding: 40px 0px;
  align-items: center;
  gap: 30px;
}

.pronunciation-text {
  flex: 1;
  min-width: 280px;
}

.pronunciation-text h2 {
  font-size: 1.8rem;
  color: #2d3436;
  margin-bottom: 15px;
}

.pronunciation-text ul {
  padding-left: 20px;
  margin: 10px 0;
}

.pronunciation-text li {
  margin-bottom: 8px;
}

.pronunciation-visual {
  flex: 1;
  min-width: 280px;
  text-align: center;
}

.pronunciation-visual img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

.selection-criteria-section {
  background-color: #fdfdfd;
  padding: 60px 20px;
  border-top: 1px solid #ddd;
  max-width: 1000px;
  margin: 0 auto;
}

.criteria-text h2 {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #2d3436;
}

.criteria-text h3 {
  margin-top: 25px;
  color: #0984e3;
  font-size: 1.2rem;
}

.criteria-text p {
  line-height: 1.6;
  color: #444;
}

.criteria-text ul {
  padding-left: 20px;
  margin-top: 10px;
  line-height: 1.8;
  color: #2d3436;
}

.criteria-text li {
  margin-bottom: 10px;
}

.testimonial-section {
  padding: 60px 20px;
  background-color: #f8f9fa;
  text-align: center;
  margin: 100px auto;
}

.testimonial-section h2 {
  font-size: 2.5rem;
  color: #2d3436;
  margin-bottom: 40px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.testimonial-card {
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  text-align: left;
}

.testimonial-card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.testimonial-card h4 {
  margin: 10px 0 5px;
  font-size: 1rem;
  color: #00b894;
}

.testimonial-card p {
  font-size: 0.95rem;
  color: #444;
  line-height: 1.5;
}

.price-icons{
    font-size:20px;
    padding: 3px;
    font-weight: 700;
}

.pricing-section {
  background-color: #f5f7fa;
  padding: 60px 20px;
  text-align: center;
  margin: 100px auto;
}

.pricing-section h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.pricing-intro {
  color: #555;
  margin-bottom: 40px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.pricing-card {
  background-color: #fff;
  padding: 30px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  position: relative;
}

.pricing-card h3 {
  margin-bottom: 10px;
  color: #2d3436;
}

.pricing-card .price {
  font-size: 3rem;
  color: #00b894;
  margin-bottom: 20px;
  font-weight:900;
  margin-top: -10px;
}

.pricing-card ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 20px;
  color: #444;
}

.pricing-card ul li {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size:0.8rem;
  text-align: left;
  font-weight: 900;
  margin-left: 20px;
}

.pricing-card .btn {
  background-color: #0984e3;
  color: white;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 6px;
  display: inline-block;
}

.pricing-card .btn:hover {
  background-color: #0652dd;
}

.pricing-card.popular {
  border: 2px solid #0984e3;
}

.pricing-card .badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: #0984e3;
  color: white;
  padding: 5px 12px;
  font-size: 0.8rem;
  border-radius: 6px;
}

/* ---- Toggle kapsayıcı ---- */
.upgrade-toggle {
  margin: 20px 0;
}

.upgrade-trigger {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-weight: 600;
  color: #2d3436;
  user-select: none;
}
.upgrade-trigger span {
  font-size: 1rem;
}

/* ---- Collapsible kutu ---- */
.upgrade-box.collapsible {
max-height: 0;
  overflow: hidden;
  padding: 0 1rem;          /* sıkıştırılmış padding yatayda tutuyor */
  border: none;             /* buradaki sarı çizgiyi kaldırdık */
  transition:
    max-height 0.5s ease,
    padding     0.5s ease;
}
.upgrade-box.collapsible.open {
  max-height: 300px;        /* içine sığacak kadar büyük bir değer */
  padding: 1rem;            /* normal padding */
  border: 2px dashed #ffd700;
  border-radius: 8px;
}

/* İçerik stili (opsiyonel) */
.upgrade-box h2 {
  margin-top: 0;
}
.btn-upgrade {
  display: inline-block;
  margin-top: 0.75rem;
  background: #ffc107;
  color: #2d3436;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: background 0.3s;
}
.btn-upgrade:hover {
  background: #e0a800;
}



/* NAVIGATION BAR */
.topnav {
  position: fixed;

  left: 0;
  right: 0;
  height: 50px;
  background-color: white;

  border-bottom: 1px solid #eee;
   top: 36px; /* topbar yüksekliği kadar aşağıya in */
  z-index: 1000; /* topbar'dan düşük olsun */
}


.topnav_inside {
  width: 70%;
  max-width: 1200px;
  margin: 0 auto;
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  position: relative; /* FIXED kaldırıldı */
  z-index: 1000;
  font-size: 12px;
}



.logo {
  font-weight: bold;
  font-size: 1.4rem;
  color: #000;
  text-align: left;
}

.nav-toggle {
font-size: 2rem;
  background-color: transparent;
  color: #000;
  border: none;
  cursor: pointer;
  display: none;
  margin-left: auto;
  position: relative; /* Önemli! Fixed DEĞİL */
  right: 0;            /* Konum sabitleme */
  top: auto;           /* Her ihtimale karşı */
  box-shadow: none;
}



.desktop-menu a,
.mobile-menu a {
  text-decoration: none;
  color: #2d3436;
  font-weight: 500;
  transition: color 0.2s ease;
}

.desktop-menu a:hover,
.mobile-menu a:hover {
  color: #0984e3;
}

/* MOBILE MENU */
.mobile-menu {
  flex-direction: column;
  background-color: white;
  position: fixed; /* Değiştirildi: absolute → fixed */
  top: 80px;
  left: 0;
  width: 100%;
  z-index: 999;
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  transition: max-height 0.8s ease-in-out;
  pointer-events: none;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #eee;
  color: #2d3436;
  font-weight: 500;
  text-decoration: none;
  display: block;
  width: 100%;
  padding: 20px;
  text-align: center;
 
}

/* Menü Açıldığında */
.mobile-menu.show {
  max-height: 700px;
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu a:hover {
  background-color: #f9f9f9;
}


/* Ortak menü stilleri */
.nav-right a,
.mobile-menu a {
  text-decoration: none;
  color: #2d3436;
  font-weight: 500;
  transition: color 0.1s ease;
}

.nav-right a:hover,
.mobile-menu a:hover {
  color: #0984e3;
}



.pricing-page {
  text-align: center;
  padding: 60px 20px;
}

.pricing-title {
  font-size: 2.5rem;
  margin-bottom: 10px;
  color: #2d3436;
}

.pricing-subtitle {
  font-size: 1.1rem;
  color: #636e72;
  margin-bottom: 40px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}

.plan-card {
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  padding: 30px 20px;
  position: relative;
  transition: transform 0.3s ease;
}

.plan-card:hover {
  transform: translateY(-5px);
}

.plan-card h2 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.plan-card .price {
  font-size: 1.3rem;
  color: #0984e3;
  margin-bottom: 20px;
}

.plan-card ul {
  list-style: none;
  padding-left: 0;
  text-align: left;
  margin-bottom: 20px;
}

.plan-card ul li {
  margin: 10px 0;
  font-size: 1rem;
}

.plan-btn {
  background-color: #0984e3;
  color: white;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 8px;
  display: inline-block;
}

.plan-card.popular {
  border: 2px solid #0984e3;
}

.badge {
  background-color: #0984e3;
  color: white;
  padding: 5px 10px;
  position: absolute;
  top: -12px;
  right: -12px;
  font-size: 0.8rem;
  border-radius: 6px;
}

.current-plan-label {
  background-color: #0984e3;
  color: white;
  padding: 8px 10px;
  border-radius: 6px;
  font-size: 0.9rem;
  margin-bottom: 15px;
  display: inline-block;
}

.plan-card.active-plan {
  border: 2px solid #0984e3;
  box-shadow: 0 0 10px rgba(9, 132, 227, 0.3);
}


.section-page {
  padding: 30px 20px;
  max-width: 1000px;
  margin: 0 auto;
  width:55%;
}

.section-item {
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e0e0e0;
}

/* CSS */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.toggle-words-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
}
/* Hem bölümler hem kelimeler gizleme için */
.sections-list.hidden,
.words-list.hidden {
  display: none !important;
}

.words-list ul {
  list-style: disc inside;
  margin: 0.5rem 0;
  padding: 0;
}
.words-list li {
  margin-bottom: 0.25rem;
}


.section-header h1 {
  font-size: 2rem;
  color: #2d3436;
  margin-bottom: 10px;
}

.section-header p {
  font-size: 1rem;
  color: #636e72;
  margin-bottom: 30px;
}

.section-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}



.section-card:hover {
  transform: translateY(-4px);
}

.section-card-content h4 {
  font-size: 18px;
  margin-bottom: 6px;
}

.word-count {
  font-size: 14px;
  color: #888;
  margin-bottom: 10px;
}

.section-card h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  color: #2d3436;
}

.badge {
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 6px;
  margin-bottom: 10px;
}

.badge.free {
  background-color: #dff9fb;
  color: #00b894;
}

.badge.premium {
  background-color: #ffeaa7;
  color: #d35400;
}

.section-card .btn.small {
  margin-top: auto;
  padding: 8px 16px;
  background-color: #0984e3;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-size: 0.7rem;
  transition: background-color 0.2s ease;
}

.section-card .btn.small:hover {
  background-color: #0652dd;
}

.kesfet-button-block {
  width: auto;
  text-align: center;
  background: #1abc9c;
  color: white;
  margin-top: 20px;
  border: none;
  font-size: 1rem;
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  margin-right: 12px;
  display: block;
  transition: all 0.3s ease;
}

.kesfet-button-block:hover {
  background: #17a589;
}


.kelime-gruplari-bolumu {
  padding: 60px 0px;
  background: #f9fbff;
  text-align: center;
  margin: 100px auto;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 40px;
  color: #111;
}

.kelime-layout {
  display: flex;
  justify-content: space-between;
  align-items: center; /* Bu satır güncellendi */
  gap: 40px;
  flex-wrap: wrap;

  margin: 0 auto;
}

.kelime-tanitim {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 25px;
  text-align: left;
      margin-top: 30px;
}

.kelime-box {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.kelime-icon {
  font-size: 28px;
  background: #e0f7fa;
  padding: 10px;
  border-radius: 12px;
  color: #00796b;
  min-width: 48px;
  text-align: center;
}

.kelime-box h4 {
  margin: 0 0 6px;
  font-size: 18px;
  color: #222;
}

.kelime-box p {
  margin: 0;
  font-size: 14px;
  color: #555;
}

.kelime-gorseller {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.kelime-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 0 0 4px #e0ecff;
  transition: transform 0.3s ease;
}

.kelime-image img:hover {
  transform: scale(1.03);
}

.kesfet-wrapper {
  margin-top: 50px;
}

.kesfet-button {
  display: inline-block;
  background: #1abc9c;
  color: white;
  padding: 14px 28px;
  font-size: 16px;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.kesfet-button:hover {
  background: #17a589;
}

.mobile-footer {
  display: none;
}

.quiz-result-box{
    width:70%;
    background:#f9f9fb; 
    padding:30px; 
    border-radius:12px; 
    text-align:center; 
    box-shadow:0 2px 10px rgba(0,0,0,0.05); 
    position: relative;
    margin:0 auto;
}

.demo-congrats {
    font-size:2rem;
}

.demo-congrats-text {
    margin: 20px 0; 
    font-size: 0.8rem;
}

.section-complete-wrapper {
  background: #f9fbff;
  border-radius: 12px;
  padding: 40px 20px;
  margin: 40px auto;
  max-width: 800px;
  text-align: center;
}

.section-complete-header h1 {
  font-size: 2rem;
  color: #2d3436;
  margin-bottom: 10px;
}

.section-complete-header p {
  font-size: 1.2rem;
  color: #555;
  margin-bottom: 30px;
}

.section-complete-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
}

.summary-box {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 14px rgba(0,0,0,0.05);
  font-size: 1rem;
  color: #2d3436;
  width: 100%;
  max-width: 350px;
}

.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn {
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 6px;
  display: inline-block;
}


.btn-secondary {
  background-color: #636e72;
  color: white;
}

.btn-success {
  background-color: #00b894;
  color: white;
}

.select-categories-page {
  padding: 40px 20px;
  text-align: center;
}


.section-subtitle {
  color: #555;
  font-size: 16px;
  margin-bottom: 30px;
}

.category-selection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  justify-content: center;
}

.category-select-card {
  border: 2px solid #eee;
  border-radius: 10px;
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  background: #fff;
}

.category-select-card:hover {
  border-color: #0088ff;
  box-shadow: 0 0 8px rgba(0, 136, 255, 0.2);
}

.category-select-card input[type="checkbox"] {
  display: none;
}

.category-select-card .card-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.category-select-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 10px;
}

.category-select-card span {
  font-weight: 500;
  font-size: 16px;
}

.category-select-card input[type="checkbox"]:checked + .card-content {
  border: 2px solid #0088ff;
}

.upgrade-box {
  background-color: #fef7e0;
  border: 2px dashed #ffc107;
  padding: 20px;
  margin-top: 30px;
  border-radius: 10px;
  text-align: center;
}

.upgrade-box h2 {
  margin-bottom: 10px;
  color: #d48d00;
}

.btn-upgrade {
  display: inline-block;
  background-color: #ffc107;
  color: #000;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.btn-upgrade:hover {
  background-color: #e0a800;
}

body.focus-mode .word-card-single {
  margin-top: 20px; /* Daha yukarı almak istersen bu değeri küçült */
}

.focus-mode-toggle {
  text-align: center;
  margin: 2rem 0;
}

.exit-focus-btn {
  background: none;
  border: none;
  color: #666;            /* daha pastel bir gri */
  font-size: 0.9rem;
  opacity: 0.6;           /* daha soluk */
  text-decoration: none;
  cursor: pointer;
  transition: opacity 0.2s ease;
  padding: 0;             /* çevresindeki boşluğu kaldır */
}

.exit-focus-btn:hover {
  opacity: 1;
  color: #333;            /* hover’da biraz koyulaşsın */
}

.exit-focus-btn.show-once {
  opacity: 1;
}



.badge-showcase {
  text-align: center;
  padding: 50px 20px;
}

.badge-showcase h2 {
font-size: 2.5rem;
margin-bottom: 10px;
}

.badge-subtitle {
  font-size: 16px;
  color: #777;
  margin-bottom: 30px;
}

.badge-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
}

.badge-box {
  width: 120px;
  padding: 20px;
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.badge-box:hover {
  transform: translateY(-5px);
}

.badge-emoji {
  font-size: 80px;
  margin-bottom: 10px;
}

.badge-name {
  font-weight: 600;
  font-size: 10px;
  margin-bottom: 6px;
}

.badge-desc {
  font-size: 10px;
  color: #555;
  text-align: center;
}

/* pricing-section içine veya global style’a ekleyebilirsin */
.pricing-card .btn {
  display: inline-block;     /* blok gibi davranıp width'i alması için */
  width: 100%;               /* tüm kart genişliğini kaplasın */
  max-width: 220px;          /* istersen maksimum bir genişlik sınırı koy */
  text-align: center;
  padding: 12px 0;           /* dikey padding’i artırdık */
  font-size: 1rem;           /* yazıyı da biraz büyütün istersen */
  margin: 0 auto;            /* ortalamak için */
}

.focus-btn:hover i {
  color: #0984e3 !important;
}
.fav-btn:hover svg {
  fill: #f39c12 !important;
}


/* focus ikonu için */
.focus-btn {
color:#2d3436;
  border: none;
  padding: 10px;
  cursor: pointer;
  /* yıldızın hemen yanına geldiği yerde biraz aralık */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size:2rem; 
      margin-top: 32px;
    position: absolute;
}

.normal-btn {
      font-size: 0.7rem;
  color: #666;                  /* daha soluk metin rengi */
  border: 1px solid #ccc;       /* ince gri çerçeve */
  padding: 2px 6px;             /* biraz iç boşluk */
  border-radius: 4px;           /* hafif yuvarlak köşeler */
  margin-left: 4px;             /* ikon ile arasına boşluk */
  background-color: #fafafa;    /* dilersen çok hafif bir arkaplan */
  user-select: none;
  margin-top: 3px;
}

/* focus modu açıksa .normal-btn’u tamamen gizle */
body:not(.focus-mode) .normal-btn {
  display: none !important;
}

.learnp{
    font-size:10px; 
    text-align: left; 
    margin-left: 40px;
}

/* Sadece 768px ve altındaki cihazlarda göster */
@media (max-width: 768px) {
    
    .learnp{
    font-size:10px; 
    text-align: left; 
    margin-left: 20px;
}
    
      body.focus-mode .word-card-single {
    margin-top: 0px; /* Yüksek ekranlar için biraz daha ortalı */
  }
  
  .section-card {
    flex: 1 1 calc(50% - 1rem);   /* Tablet ve altı: 2 sütun */
  }
  
  .section-page {
      width:90%;
  }
    
     .main-wrapper {
    width: 90%;
  }
  
   .vocabox-badge-list {
    gap: 12px;
  }

  .vocabox-badges-header h2 {
    font-size: 1.6rem;
  }

  .vocabox-badges-header p {
    font-size: 0.95rem;
  }
  
  .testimonial-card p {
  font-size: 0.8rem;
}
  
  .criteria-logos img {
    width: 80px;
    height: 80px;
  }
  
  .criteria-section {
    padding: 40px 10px;
  }

  .criteria-boxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
  }

  .criteria-card {
    padding: 12px;
    box-sizing: border-box;
    background: #fff;
    border-radius: 12px;
    text-align: center;
    word-wrap: break-word;
  }

  .criteria-card .icon {
    font-size: 24px;
  }

  .criteria-card p {
    font-size: 13px;
  }
  
  .criteria-section {
  margin:50px auto;
}

  
  .criteria-title p {
  font-size: 0.8rem;
  }
  
  .criteria-title h2 {
  font-size: 1.5rem;
}
  
  .highlight-right h2 {
  font-size: 1.5rem;
}

.highlight-right p {
  font-size: 0.8rem;
}

  
  .hero-section p {
  font-size: 0.8rem;
}
  
    .hero-text {
    order: 1;
  }
  
  .kelime-gruplari-bolumu {
  padding: 0px;

}

  
  .hero-section h1 {
  font-size: 2rem;
}
  
    .hero-buttons {
    order: 2;
    justify-content: center;
  }
  
  .favorite-badge {
  right: 30px;
 }
  
  .category-page {
    width:90%;
}

  .hero-image {
    order: 3;
    margin-top: 20px;
    max-width: 100%;
  }
  
  .hero-image img {
    width: 100%;
    height: auto;
    margin: 0 auto;
  }



.hero-section {
    flex-direction: column;
    text-align: center;
    padding: 0px;
    margin-top: 30px;
  }
  
  .section-title {
  font-size: 1.4rem;
}
  
  .highlight-section {
    flex-direction: column-reverse;
    gap:0px
  }

  .left-column,
  .right-column {
    width: 100%;
  }

  .highlight-right {
    padding-bottom: 20px;
  }

  .highlight-left {
    gap: 20px;
  }

  .highlight-card {
    flex-direction: row;
    text-align: left;
  }

  .text-content h4 {
    font-size: 1rem;
  }

  .text-content p {
    font-size: 0.8rem;
  }

  
    .bxs {
    display: inline-block!important;
    margin-right: 8px;
    font-size: 18px;
    vertical-align: middle;
  }


  .badge-card {
  padding: 5px;
  width: 15px;
  }
  
  .badge-name{
    font-size:6px;
}


.badge-icon {
    width: 30px;
    height: 30px;
    line-height: 30px;
    font-size: 14px;
}

.badges-section {
  margin-top: 20px;
  padding: 10px 20px;
}
  
  .badges-section h1 {
  font-size: 1rem;
}

.learning-journey {
  margin-top: 20px;
  padding: 10px 20px;
}

.learning-journey h1 {
  font-size: 1rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(60px, 1fr));
  gap: 10px;
  margin-top: 20px;
}

  
  .profile-container {
  width:90%;
  margin: 50px auto;

}

.profile-header {
  padding: 0px 20px;
}

.profile-left h1 {
  font-size: 1rem;
}

.profile-left p {
  font-size: 0.8rem;
}


  .topnav_inside {
  width: 90%;
}

.favorites {
    width: 90%;
}

.topbar-content {
  width: 90%;
}
    
    
    .word-progress-badge {
  left: 30px;
}

.category-modern-card {
    flex-direction: column;
    text-align: center;
  }

  .cat-left {
    justify-content: center;
    margin-bottom: 15px;
  }

  .cat-right img {
    width: 80px;
    height: 80px;
  }   
    
.word-image img{
    width:90%;
}
    
.nav-toggle {
    display: block; /* burada aktif olmalı */
  }

 .nav-right {
  flex-direction: column;
  width: 100%;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

.nav-right.show {
  max-height: 500px;
  opacity: 1;
  visibility: visible;
}

  .nav-right a {
    padding: 10px 0;
  }
  
   .desktop-menu {
    display: none;
  }

  .nav-toggle {
    display: block;
    font-size: 2rem;
    color: #000;
  }



.mobile-menu a {
  display: flex;
  align-items: center;
  padding: 20px 20px;
  font-size: 0.7rem;
  text-decoration: none;
  color: #2d3436;
  border-bottom: 1px solid #eee;
  font-weight:700;
}
  
  .mobile-menu a i {
  font-size: 20px;
  margin-right: 10px;
}

  .mobile-menu.show {
    display: flex;
  }
  
  .topnav {
 
  width: 100%;
  padding: 0px;
 
}



.container {
    flex-direction: column;
    align-items: center;
    padding: 0 15px;
  }

  .word-card-single {
    width: 100%;
    margin-top: 20px;
  }

  .learn-header {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 30px;
  }




 .kelime-layout {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  
  .kelime-gorseller {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    width: 100%;
    max-width: 400px;
  }
  
    .kelime-image img {
    height: 100px;
    object-fit: cover;
    border-radius: 10px;
  }

  .kelime-tanitim {
    align-items: stretch; /* metinler tam genişlikte olsun */
  }

   .kelime-box {
    flex-direction: row;
    align-items: center;
    text-align: left;
  }
  
  .kelime-icon {
    font-size: 24px;
    margin-bottom: 5px;
  }
  
    .kelime-box h4 {
    font-size: 1rem;
    margin-bottom: 5px;
  }
  
  .kelime-box p {
    font-size: 0.8rem;
  }




.footer-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #2d3436;
  font-size: 12px;
  font-weight: 500;
}

.footer-item i {
  font-size: 22px;
  margin-bottom: 2px;
  color: #00b894;
  transition: color 0.3s;
}

.footer-item:hover i,
.footer-item:hover span {
  color: #019875;
}

.mobile-footer {
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: #f8f9fa; /* İstediğin farklı bir ton */
    padding: 10px 0;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 999;
    border-top: 1px solid #ddd;
  }

  .mobile-footer .footer-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: 10px;
    color: #444;
    text-decoration: none;
    font-weight:900;
  }

  .mobile-footer .footer-item i {
    font-size: 20px;
    margin-bottom: 3px;
  }

 }





/* Masaüstü Görünüm */
@media (min-width: 769px) {
  .nav-right {
    display: flex !important;
    max-height: none !important;
  }
  
    .mobile-footer {
    display: none;
  }

  .nav-toggle {
    display: none !important;
  }
  
   .desktop-menu {
    display: flex;
  
  }

  .mobile-menu,
  .nav-toggle {
    display: none !important;
  }
  .desktop-only { display: block !important; }
  .mobile-only { display: none !important; }
}
