/* Add these styles to the top of your existing style.css file */

/* Updated Header Styles */
.main-header {
  background-color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--primary);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--primary);
}

.logo-icon {
  background-color: var(--primary);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 8px rgba(46, 125, 50, 0.2);
}

.logo h1 {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 5px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  padding: 10px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a:hover {
  color: var(--primary);
  background-color: rgba(46, 125, 50, 0.08);
}

.main-nav a.nav-highlight {
  background-color: var(--primary);
  color: white;
  position: relative;
}

.main-nav a.nav-highlight:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.new-badge {
  position: absolute;
  top: -8px;
  right: -5px;
  background-color: var(--secondary);
  color: white;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 10px;
  font-weight: 700;
  animation: pulse 2s infinite;
}

.mobile-menu-toggle {
  display: none;
  background-color: var(--primary);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
}

.mobile-nav {
  display: none;
  background-color: white;
  padding: 15px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-nav li {
  margin-bottom: 10px;
}

.mobile-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 15px;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-nav a:hover {
  background-color: rgba(46, 125, 50, 0.08);
  color: var(--primary);
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Update the color scheme in the :root section */
:root {
  --primary: #2e7d32; /* Green */
  --primary-light: #60ad5e;
  --primary-dark: #005005;
  --secondary: #ff8f00; /* Orange */
  --secondary-light: #ffc046;
  --accent: #d84315; /* Deep Orange */
  --text-dark: #263238;
  --text-light: #546e7a;
  --background: #f5f5f5;
  --card-bg: #ffffff;
  --border: #e0e0e0;
  --male: #2e7d32;
  --female: #d84315;
  --unisex: #ff8f00;
}

body {
  font-family: "Nunito", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.main-content {
  padding: 40px 0;
}

/* Header styles */
.main-header {
  background-color: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--primary);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

/* Update any specific color references throughout the file */
.logo h1 {
  color: var(--primary);
}

.logo h1 {
  font-size: 1.6rem;
  font-weight: 800;
  margin: 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo a {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--primary);
}

.logo a:before {
  content: "👶";
  font-size: 1.5rem;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 5px;
  margin: 0;
  padding: 0;
}

.main-nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  padding: 10px 15px;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.main-nav a:hover {
  color: var(--primary);
  background-color: rgba(46, 125, 50, 0.08);
}

.search-icon a {
  color: var(--primary);
  font-size: 1.2rem;
  background-color: rgba(118, 120, 237, 0.1);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.search-icon a:hover {
  background-color: var(--primary);
  color: white;
}

/* Home banner */
.home-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

/* Updated Home Banner */
.home-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
  padding: 80px 20px;
  margin-bottom: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(46, 125, 50, 0.2);
  position: relative;
  overflow: hidden;
}

.home-banner:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,0.05)' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.home-banner h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  font-weight: 800;
  position: relative;
}

.home-banner p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}

.search-box {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.search-box form {
  display: flex;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  border-radius: 12px;
  overflow: hidden;
}

.search-box input {
  flex: 1;
  padding: 20px 25px;
  border: none;
  font-size: 1.1rem;
  background-color: white;
}

.search-box input:focus {
  outline: none;
}

.search-box button {
  background-color: var(--secondary);
  color: white;
  border: none;
  padding: 0 30px;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 1.1rem;
  font-weight: 600;
}

.search-box button:hover {
  background-color: var(--accent);
}

.home-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
  padding: 80px 20px;
  margin-bottom: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(118, 120, 237, 0.2);
}

.home-banner h1 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  font-weight: 800;
}

.home-banner p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  opacity: 0.9;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.search-box {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
}

.search-box form {
  display: flex;
}

.search-box input {
  flex: 1;
  padding: 18px 20px;
  border: none;
  border-radius: 12px 0 0 12px;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Update any specific color references throughout the file */
.search-box button {
  background-color: var(--secondary);
}

.search-box button {
  background-color: var(--secondary);
  color: white;
  border: none;
  padding: 0 30px;
  border-radius: 0 12px 12px 0;
  cursor: pointer;
  transition: background-color 0.3s;
  font-size: 1.1rem;
  font-weight: 600;
}

/* Update any specific color references throughout the file */
.search-box button:hover {
  background-color: var(--accent);
}

.search-box button:hover {
  background-color: var(--accent);
}

/* Filter styles */
.filters {
  margin-bottom: 40px;
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Filters Section */
.filters {
  margin-bottom: 40px;
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(46, 125, 50, 0.1);
}

.filter-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 25px;
}

.filter-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 25px;
  overflow-x: auto;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.filter-tabs::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.filter-tab {
  padding: 12px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-light);
  border-bottom: 3px solid transparent;
  transition: all 0.3s;
  font-weight: 600;
}

.filter-tab {
  padding: 12px 20px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  color: var(--text-light);
  border-bottom: 3px solid transparent;
  transition: all 0.3s;
  font-weight: 600;
  white-space: nowrap;
}

.filter-tab:hover {
  color: var(--primary);
}

.filter-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.filter-pane {
  display: none;
}

.filter-pane.active {
  display: block;
}

.filter-pane h2 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.letter-buttons,
.religion-buttons,
.gender-buttons,
.origin-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Update any specific color references throughout the file */
.btn {
  background-color: rgba(46, 125, 50, 0.1);
  color: var(--primary);
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  background-color: rgba(118, 120, 237, 0.1);
  color: var(--primary);
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  font-weight: 600;
}

.btn:hover {
  background-color: rgba(118, 120, 237, 0.2);
}

/* Update any specific color references throughout the file */
.btn.active {
  background-color: var(--primary);
}

.btn.active {
  background-color: var(--primary);
  color: white;
}

.letter-buttons .btn {
  min-width: 45px;
  text-align: center;
}

/* Names grid */
.names-container {
  margin-bottom: 60px;
}

.names-container h2 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 25px;
  font-weight: 700;
}

.names-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.name-card {
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
}

/* Name Cards */
.name-card {
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.name-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-light);
}

.name-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: var(--primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.name-card:hover:before {
  opacity: 1;
}

/* Update any specific color references throughout the file */
.name-card h3 {
  color: var(--primary);
}

.name-card h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 700;
}

.name-card h3 a {
  text-decoration: none;
  color: inherit;
}

.name-card h3 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 12px;
  font-weight: 700;
}

.name-card h3 a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

.name-card h3 a:hover {
  color: var(--primary-dark);
}

.name-card .religion {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.name-card .religion:before {
  content: "🙏";
  font-size: 0.9rem;
}

.name-card .meaning {
  margin-bottom: 18px;
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.name-card .meaning {
  margin-bottom: 18px;
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Update any specific color references throughout the file */
.name-card .male {
  background-color: rgba(46, 125, 50, 0.15);
  color: var(--male);
}

.name-card .male {
  background-color: rgba(118, 120, 237, 0.15);
  color: var(--male);
}

/* Update any specific color references throughout the file */
.name-card .female {
  background-color: rgba(216, 67, 21, 0.15);
  color: var(--female);
}

.name-card .female {
  background-color: rgba(242, 95, 92, 0.15);
  color: var(--female);
}

/* Update any specific color references throughout the file */
.name-card .unisex {
  background-color: rgba(255, 143, 0, 0.15);
  color: var(--unisex);
}

.name-card .unisex {
  background-color: rgba(247, 184, 1, 0.15);
  color: var(--unisex);
}

.no-results {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 40px;
  background-color: var(--card-bg);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.no-results p {
  font-size: 1.2rem;
  color: var(--text-light);
}

/* Search page styles */
.search-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  text-align: center;
  padding: 60px 20px;
  margin-bottom: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(118, 120, 237, 0.2);
}

.search-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 15px;
  font-weight: 800;
}

.search-section {
  margin-bottom: 40px;
}

.search-form {
  display: flex;
  max-width: 700px;
  margin: 0 auto;
}

.search-form input {
  flex: 1;
  padding: 16px 20px;
  border: 1px solid var(--border);
  border-radius: 12px 0 0 12px;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.search-form .search-btn {
  border-radius: 0 12px 12px 0;
  padding: 16px 30px;
  cursor: pointer;
  background-color: var(--secondary);
  color: white;
  font-weight: 600;
  font-size: 1.1rem;
}

.search-form .search-btn:hover {
  background-color: var(--accent);
}

.search-status {
  margin-top: 15px;
  text-align: center;
  min-height: 24px;
}

.search-status .loading {
  color: var(--primary);
  font-weight: bold;
}

.search-status .error {
  color: var(--accent);
  font-weight: bold;
}

.search-status .success {
  color: #4caf50;
}

.search-instructions {
  text-align: center;
  padding: 50px 40px;
  background-color: var(--card-bg);
  border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.search-instructions p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

.search-suggestions {
  margin-top: 40px;
}

.search-suggestions h3 {
  margin-bottom: 20px;
  color: var(--primary);
  font-size: 1.4rem;
}

.suggestion-tags {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.suggestion-tag {
  display: inline-block;
  padding: 10px 20px;
  background-color: rgba(118, 120, 237, 0.1);
  color: var(--primary);
  border-radius: 30px;
  text-decoration: none;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-weight: 600;
}

.suggestion-tag:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-3px);
}

/* Name details page */
.name-details-page {
  margin-bottom: 60px;
}

.breadcrumbs {
  margin-bottom: 25px;
  color: var(--text-light);
  font-size: 0.95rem;
}

.breadcrumbs a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.name-details {
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  margin-bottom: 40px;
}

.name-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.name-title {
  font-size: 3rem;
  color: var(--primary);
  font-weight: 800;
}

.name-pronunciation {
  margin-bottom: 30px;
  background-color: rgba(118, 120, 237, 0.05);
  padding: 20px;
  border-radius: 12px;
}

.name-pronunciation h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 10px;
}

.audio-player {
  margin-top: 15px;
}

.audio-player button {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.audio-player button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
}

.name-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 30px;
}

.meta-item {
  background-color: rgba(118, 120, 237, 0.1);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 1rem;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.meta-item i {
  font-size: 1rem;
}

.name-meaning,
.name-history,
.name-personality,
.name-variations,
.ai-content {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border);
}

.name-meaning h2,
.name-history h2,
.name-personality h2,
.name-variations h2,
.ai-content h2 {
  font-size: 1.6rem;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 700;
}

.name-meaning p,
.name-history p,
.ai-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--text-dark);
}

.traits-container {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.trait-item {
  background-color: rgba(118, 120, 237, 0.1);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
}

.variations-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.variation-item {
  background-color: rgba(118, 120, 237, 0.1);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.variation-item:hover {
  background-color: var(--primary);
  transform: translateY(-3px);
}

.variation-item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

.variation-item:hover a {
  color: white;
}

/* AI Content Loading */
.ai-content-loading {
  background-color: rgba(118, 120, 237, 0.05);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  color: var(--primary);
}

.ai-content-loading i {
  margin-right: 8px;
  animation: spin 2s linear infinite;
}

.ai-content-error {
  background-color: rgba(242, 95, 92, 0.1);
  padding: 30px;
  border-radius: 12px;
  text-align: center;
  color: var(--female);
}

.ai-content-error i {
  margin-right: 8px;
}

.error-actions {
  margin-top: 20px;
  display: flex;
  justify-content: center;
  gap: 12px;
}

.ai-generated {
  background-color: rgba(118, 120, 237, 0.05);
  padding: 30px;
  border-radius: 12px;
  position: relative;
  white-space: pre-wrap;
  line-height: 1.7;
}

.ai-badge {
  position: absolute;
  bottom: 15px;
  right: 15px;
  background-color: var(--primary);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.similar-names-section h2 {
  margin-bottom: 25px;
  color: var(--primary);
  font-size: 1.8rem;
  font-weight: 700;
}

/* Name translations section */
.name-translations {
  margin-bottom: 40px;
  background-color: rgba(118, 120, 237, 0.05);
  padding: 30px;
  border-radius: 12px;
}

.name-translations h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin-bottom: 20px;
  font-weight: 700;
}

.translations-container {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
}

.translation-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  min-width: 150px;
  flex: 1;
  text-align: center;
  transition: all 0.3s ease;
}

.translation-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-left: 3px solid var(--primary);
}

.language-label {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 12px;
  font-weight: 600;
}

.translated-name {
  font-size: 2rem;
  font-weight: bold;
  color: var(--primary);
}

/* Language-specific styles */
.urdu-text {
  font-family: "Noto Nastaliq Urdu", serif;
  direction: rtl;
}

.hindi-text {
  font-family: "Noto Sans Devanagari", sans-serif;
}

/* Footer styles */
.main-footer {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.main-footer {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 70px 0 30px;
  border-radius: 16px 16px 0 0;
  margin-top: 60px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 800;
}

.footer-logo p {
  opacity: 0.9;
  font-size: 1.1rem;
}

.footer-links h3,
.footer-categories h3,
.footer-contact h3 {
  font-size: 1.3rem;
  margin-bottom: 20px;
  font-weight: 700;
}

.footer-links ul,
.footer-categories ul {
  list-style: none;
}

.footer-links li,
.footer-categories li {
  margin-bottom: 12px;
}

.footer-links a,
.footer-categories a {
  color: white;
  text-decoration: none;
  opacity: 0.9;
  transition: all 0.3s;
  font-size: 1.05rem;
  display: inline-block;
}

.footer-links a:hover,
.footer-categories a:hover {
  opacity: 1;
  transform: translateX(5px);
}

.footer-contact p {
  margin-bottom: 20px;
  opacity: 0.9;
  font-size: 1.05rem;
}

/* Update any specific color references throughout the file */
.footer-contact .btn:hover {
  background-color: var(--secondary);
}

.footer-contact .btn {
  background-color: white;
  color: var(--primary);
  border: none;
  padding: 12px 25px;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.footer-contact .btn:hover {
  background-color: var(--secondary);
  color: white;
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 1rem;
  opacity: 0.8;
}

/* Responsive styles */
@media (max-width: 768px) {
  .names-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .header-content {
    flex-direction: column;
    gap: 15px;
    padding: 15px 0;
  }

  .main-nav ul {
    gap: 10px;
  }

  .search-form {
    flex-direction: column;
  }

  .search-form input {
    border-radius: 12px;
    margin-bottom: 10px;
  }

  .search-form .search-btn {
    border-radius: 12px;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .translations-container {
    flex-direction: column;
  }

  .translation-card {
    min-width: 100%;
  }

  .name-details {
    padding: 25px;
  }

  .name-title {
    font-size: 2.5rem;
  }
}

@media (max-width: 480px) {
  .names-grid {
    grid-template-columns: 1fr;
  }

  .btn {
    padding: 8px 15px;
    font-size: 0.9rem;
  }

  .letter-buttons .btn {
    min-width: 40px;
  }

  .name-meta {
    flex-direction: column;
    gap: 10px;
  }

  .home-banner h1 {
    font-size: 2.2rem;
  }

  .home-banner p {
    font-size: 1.1rem;
  }
}

/* Add Google Fonts for proper rendering */
@import url("https://fonts.googleapis.com/css2?family=Nunito:wght@400;600;700;800&family=Noto+Nastaliq+Urdu&family=Noto+Sans+Devanagari&display=swap");

/* Add these styles to your existing style.css file */

/* Name Game Promo Section */
/* Name Game Promo Section */
.name-game-promo {
  background: linear-gradient(135deg, #f2f8f2 0%, #e0f2e0 100%);
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.15);
}

/* Name Game Promo Section */
.name-game-promo {
  display: flex;
  background: linear-gradient(135deg, #f7f7fe 0%, #e9e9ff 100%);
  border-radius: 16px;
  margin: 40px 0;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(118, 120, 237, 0.15);
}

/* Name Game Promo Section */
.name-game-promo {
  display: flex;
  background: linear-gradient(135deg, #f2f8f2 0%, #e0f2e0 100%);
  border-radius: 16px;
  margin: 40px 0;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(46, 125, 50, 0.15);
  position: relative;
}

.name-game-promo:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(46,125,50,0.05)' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.game-promo-content {
  flex: 1;
  padding: 40px;
  position: relative;
  z-index: 1;
}

.game-promo-content h2 {
  font-size: 2.2rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 800;
}

.game-promo-content p {
  font-size: 1.1rem;
  color: var(--text-dark);
  margin-bottom: 25px;
  max-width: 500px;
}

.game-actions {
  display: flex;
  gap: 15px;
  margin-bottom: 30px;
}

/* Update any specific color references throughout the file */
.btn-game {
  background-color: var(--primary);
}

.btn-game {
  background-color: var(--primary);
  color: white;
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-game {
  background-color: var(--primary);
  color: white;
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(46, 125, 50, 0.2);
}

/* Update any specific color references throughout the file */
.btn-game:hover {
  background-color: var(--primary-dark);
  box-shadow: 0 8px 15px rgba(46, 125, 50, 0.3);
}

.btn-game:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(46, 125, 50, 0.3);
}

/* Update any specific color references throughout the file */
.btn-game-alt {
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-game-alt {
  background-color: white;
  color: var(--primary);
  padding: 12px 25px;
  border-radius: 30px;
  font-weight: 700;
  border: 2px solid var(--primary);
  transition: all 0.3s ease;
}

.btn-game-alt {
  background-color: white;
  color: var(--primary);
  padding: 14px 28px;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  border: 2px solid var(--primary);
  transition: all 0.3s ease;
}

/* Update any specific color references throughout the file */
.btn-game-alt:hover {
  background-color: var(--primary-light);
  box-shadow: 0 8px 15px rgba(46, 125, 50, 0.2);
}

.btn-game-alt:hover {
  background-color: var(--primary-light);
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(118, 120, 237, 0.2);
}

.game-stats {
  display: flex;
  gap: 30px;
}

/* Update any specific color references throughout the file */
.stat-number {
  color: var(--primary);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 600;
}

/* Update any specific color references throughout the file */
.new-badge {
  background-color: var(--secondary);
}

.new-badge {
  position: absolute;
  top: -8px;
  right: -5px;
  background-color: var(--secondary);
  color: white;
  font-size: 0.7rem;
  padding: 3px 8px;
  border-radius: 10px;
  font-weight: 700;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* Responsive styles for game promo */
@media (max-width: 768px) {
  .name-game-promo {
    flex-direction: column;
  }

  .game-promo-content {
    padding: 30px;
  }

  .game-promo-content h2 {
    font-size: 1.8rem;
  }

  .game-actions {
    flex-direction: column;
    gap: 10px;
  }

  .game-stats {
    justify-content: center;
  }
}

/* Fix for name-game.php styles */
.game-container {
  max-width: 900px;
  margin: 40px auto;
  background-color: var(--card-bg);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.game-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 30px;
  text-align: center;
}

.game-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
  font-weight: 800;
}

.game-subtitle {
  font-size: 1.2rem;
  margin-bottom: 25px;
  opacity: 0.9;
}

.game-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.game-tab {
  padding: 12px 20px;
  background-color: rgba(255, 255, 255, 0.2);
  color: white;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.game-tab:hover {
  background-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-3px);
}

.game-tab.active {
  background-color: white;
  color: var(--primary);
}

.game-content {
  padding: 30px;
}

.game-section {
  text-align: center;
}

.game-section h2 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 700;
}

.game-section p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 30px;
}

.players-container,
.name-inputs {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
}

.player-input,
.name-input {
  flex: 1;
}

.player-input label,
.name-input label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
  text-align: left;
}

.player-input input,
.name-input input {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.player-input input:focus,
.name-input input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2);
  outline: none;
}

.game-options,
.mixer-options,
.challenge-options {
  margin-bottom: 30px;
}

.option-group {
  margin-bottom: 20px;
  text-align: left;
}

.option-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: var(--text-dark);
}

.radio-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.radio-group label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: normal;
  cursor: pointer;
}

select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  background-color: white;
  cursor: pointer;
}

select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(46, 125, 50, 0.2);
  outline: none;
}

.game-button {
  background-color: var(--primary);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 30px;
}

.game-button:hover {
  background-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(46, 125, 50, 0.3);
}

.share-game {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
}

.share-game p {
  margin-bottom: 15px;
}

.share-link {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
}

.share-link input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 8px 0 0 8px;
  font-size: 0.9rem;
  background-color: #f8f9fa;
}

.copy-button {
  background-color: var(--secondary);
  color: white;
  border: none;
  padding: 0 20px;
  border-radius: 0 8px 8px 0;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.copy-button:hover {
  background-color: var(--accent);
}

.popular-names {
  margin-top: 30px;
  background-color: rgba(46, 125, 50, 0.05);
  padding: 20px;
  border-radius: 12px;
}

.popular-names h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.name-suggestions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.name-tag {
  background-color: rgba(46, 125, 50, 0.1);
  color: var(--primary);
  padding: 8px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.name-tag:hover {
  background-color: var(--primary);
  color: white;
  transform: translateY(-2px);
}

.challenge-letters {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(40px, 1fr));
  gap: 8px;
}

.letter-option {
  position: relative;
  cursor: pointer;
}

.letter-option input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.letter-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(46, 125, 50, 0.1);
  color: var(--primary);
  border-radius: 8px;
  transition: all 0.3s ease;
}

.letter-option input:checked + span {
  background-color: var(--primary);
  color: white;
}

.hidden {
  display: none;
}

@media (max-width: 768px) {
  .players-container,
  .name-inputs {
    flex-direction: column;
  }

  .game-tabs {
    flex-direction: column;
    gap: 10px;
  }

  .radio-group {
    flex-direction: column;
    gap: 10px;
  }
}

/* Game Result Styles */
.game-result-container {
  max-width: 900px;
  margin: 40px auto;
  background-color: var(--card-bg);
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  border: 1px solid rgba(46, 125, 50, 0.1);
}

.result-header {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 40px 30px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.result-header:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='rgba(255,255,255,0.05)' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.5;
}

.result-header h1 {
  font-size: 2.5rem;
  margin-bottom: 25px;
  font-weight: 800;
  position: relative;
}

.players-info {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 25px;
  margin-bottom: 25px;
  position: relative;
}

.player {
  font-size: 1.5rem;
  font-weight: 700;
  background-color: rgba(255, 255, 255, 0.2);
  padding: 12px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.player:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.compatibility-score {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.score-circle {
  width: 90px;
  height: 90px;
  background: white;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 8px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 1;
}

.score-circle:before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 50%;
  z-index: -1;
  opacity: 0.3;
}

.score-number {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.score-percent {
  font-size: 1rem;
  font-weight: 600;
}

.score-label {
  font-size: 1rem;
  opacity: 0.9;
  font-weight: 600;
}

.compatibility-message {
  font-size: 1.3rem;
  font-style: italic;
  opacity: 0.9;
  position: relative;
  padding: 0 20px;
}

.compatibility-message:before,
.compatibility-message:after {
  content: '"';
  font-size: 2rem;
  position: absolute;
  opacity: 0.5;
}

.compatibility-message:before {
  left: 0;
  top: -10px;
}

.compatibility-message:after {
  right: 0;
  bottom: -20px;
}

.result-content {
  padding: 40px 30px;
}

.result-content h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 700;
  text-align: center;
}

.result-content p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 30px;
  text-align: center;
}

.compatible-names,
.mixed-names {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.compatible-name-card,
.mixed-name-card {
  background-color: rgba(46, 125, 50, 0.05);
  border-radius: 16px;
  padding: 25px;
  transition: all 0.3s ease;
  border: 1px solid rgba(46, 125, 50, 0.1);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.compatible-name-card:hover,
.mixed-name-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--primary);
}

.compatible-name-card:before,
.mixed-name-card:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.compatible-name-card:hover:before,
.mixed-name-card:hover:before {
  opacity: 1;
}

.compatible-name-card h3,
.mixed-name-card h3 {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 15px;
  font-weight: 700;
}

.compatible-name-card h3 a,
.mixed-name-card h3 a {
  text-decoration: none;
  color: inherit;
}

.name-meaning {
  margin-bottom: 15px;
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.5;
}

.name-meta {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 15px;
}

.gender,
.origin {
  display: inline-block;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 600;
}

.compatibility-bar {
  height: 12px;
  background-color: rgba(0, 0, 0, 0.05);
  border-radius: 6px;
  position: relative;
  margin-top: 20px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: 6px;
  transition: width 1s ease-in-out;
}

.bar-label {
  position: absolute;
  top: -20px;
  right: 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
}
/* Responsive styles */
@media (max-width: 768px) {
  .main-nav {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .mobile-nav.active {
    display: block;
  }

  .home-banner h1 {
    font-size: 2.2rem;
  }

  .home-banner p {
    font-size: 1.1rem;
  }

  .search-box form {
    flex-direction: column;
  }

  .search-box input {
    border-radius: 12px 12px 0 0;
  }

  .search-box button {
    border-radius: 0 0 12px 12px;
    padding: 15px;
  }

  .name-game-promo {
    flex-direction: column;
  }

  .game-actions {
    flex-direction: column;
  }

  .players-info,
  .original-names,
  .challenge-info {
    flex-direction: column;
    gap: 15px;
  }

  .compatible-names,
  .mixed-names {
    grid-template-columns: 1fr;
  }

  .player-answers,
  .player-results {
    flex-direction: column;
  }

  .result-actions {
    flex-direction: column;
    gap: 15px;
  }

  .share-link {
    flex-direction: column;
  }

  .share-link input {
    border-radius: 8px;
    margin-bottom: 10px;
  }

  .copy-button {
    border-radius: 8px;
  }
}
.footer-legal{
  display: inline;
  text-align: center;

}
.footer-legal ul {
    text-decoration: none;
    list-style-type: none;
    color: white;
    text-align: center;
    display: flex;
    justify-content: center;
}
.footer-legal li{
  text-decoration: none;
  list-style-type: none;
  color: white;
  text-align: center;
  display: flex;
  padding: 5px;

}
.footer-legal li a{
  text-decoration: none;
  list-style-type: none;
  color: white;
  text-align: center;
  display: flex;
  padding: 5px;

}
/* Add JavaScript for mobile menu toggle */
document.addEventListener(\'DOMContentLoaded
', function() {
const mobileMenuToggle = document.querySelector
(
'.mobile-menu-toggle'
)
;
const mobileNav = document.querySelector
(
'.mobile-nav'
)
;

if (mobileMenuToggle && mobileNav) {
    mobileMenuToggle.addEventListener('click', function() {
      mobileNav.classList.toggle('active');
    });
  }
});
