* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/Montserrat-Regular.ttf') format('ttf');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/assets/fonts/Montserrat-Bold.ttf') format('ttf');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

body {
  font-family: 'Montserrat', Arial, sans-serif;
  background-color: #ffffff;
  color: #000000;
  padding: 20px;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

header {
  padding: 0;
  border-bottom: 1px solid #ddd;
  background: transparent;
  min-height: 50px;
}

.header-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  min-height: 30px;
}

.desktop-nav {
  display: flex;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 20px;
  padding: 8px 5px;
  transition: color 0.3s ease;
  position: relative;
}

.nav-link:hover {
  color: #4C6EF5;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
}

.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  cursor: pointer;
  z-index: 1001;
  position: relative;
}

.burger-menu .bar {
  height: 3px;
  width: 100%;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.mobile-nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 40%;
  max-width: 320px;
  height: 100vh;
  background: white;
  box-shadow: 2px 0 15px rgba(0,0,0,0.1);
  z-index: 1000;
  transition: left 0.4s ease;
  padding-top: 70px;
  overflow-y: auto;
}

.mobile-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-item {
  border-bottom: 1px solid #ffffff;
}

.mobile-link {
  display: block;
  padding: 16px 20px;
  text-decoration: none;
  color: #ffffff;
  font-weight: 600;
  font-size: 18px;
  transition: background 0.3s ease;
}

.mobile-link:hover {
  background: #f8f9fa;
  color: #ffffff;
}

.mobile-nav-overlay {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .3s, visibility .3s;
}

.burger-menu.active .bar:nth-child(1) {
  transform: translateY(10px) rotate(45deg);
}

.burger-menu.active .bar:nth-child(2) {
  opacity: 0;
}

.burger-menu.active .bar:nth-child(3) {
  transform: translateY(-10px) rotate(-45deg);
}

.mobile-nav.active {
  left: 0;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

h1 {
  text-align: center;
  margin-bottom: 20px;
  color: #09EAE1;
}

.generator-value {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  max-width: 1200px;  
  margin: 15px auto 10px auto;
  font-size: 16px;
  width: 100%;
}
.value {
  background: #ffffff;
  border-radius: 7px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.07);
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.value-label {
  font-weight: 500;
  color: #3778be;
}
.value-value {
  font-weight: 600;
  color: #000000;
}
.value-date {
  color: #000000;
  font-size: 16px;
}

.generator-box {
  background-color: #FFFFFF;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  width: 100%;
  max-width: 1200px; 
  min-height: 600px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.generator-box::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, #ffd700 0%, #ffa500 50%, transparent 70%);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 0;
}

.generator-box::after {
  content: '';
  position: absolute;
  bottom: -40px;
  left: -20px;
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, #87CEEB 0%, #4682B4 50%, transparent 70%);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 0;
}

.star {
  position: absolute;
  background: #ffd700;
  border-radius: 50%;
  opacity: 0.1;
  animation: twinkle 3s infinite ease-in-out;
}

.star:nth-child(1) { top: 15%; left: 10%; width: 3px; height: 3px; animation-delay: 0s; }
.star:nth-child(2) { top: 25%; left: 85%; width: 2px; height: 2px; animation-delay: 1s; }
.star:nth-child(3) { top: 60%; left: 15%; width: 4px; height: 4px; animation-delay: 2s; }
.star:nth-child(4) { top: 75%; left: 80%; width: 2px; height: 2px; animation-delay: 1.5s; }
.star:nth-child(5) { top: 40%; left: 90%; width: 3px; height: 3px; animation-delay: 0.5s; }
.star:nth-child(6) { top: 85%; left: 20%; width: 2px; height: 2px; animation-delay: 2.5s; }

@keyframes twinkle {
  0%, 100% { opacity: 0.05; transform: scale(1); }
  50% { opacity: 0.15; transform: scale(1.2); }
}

.generator {
  display: flex;
  gap: 30px;
  flex: 1;
  position: relative;
  z-index: 1;
}

.filters, .results {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.filters {
  padding: 0 10px;
}

#gender-form {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 20px;
}

.button-group {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.button-group button {
  background-color: #4C6EF5;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 15px;
  cursor: pointer;
  transition: background-color 0.3s;
  position: relative;
  z-index: 2;
}

#clear-btn {
  background-color: #e5eafc;
  color: #4C6EF5;
  border: 1px solid #4C6EF5;
}

#clear-btn:hover {
  background-color: #d0dbfd;
  color: #1e3a8a;
}

.button-group button:hover {
  background-color: #3B5BDB;
}

.results {
  overflow-y: auto;
  display: flex;
  flex-wrap: wrap;
}

.no-results {
  text-align: center;
  color: #ffffff;
  font-size: 20px;
  margin-top: 15px;
  margin-bottom: 20px;
}

#all-meanings-select {
  display: block;
  margin: 0 auto 20px auto;
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #4C6EF5;
}

.name-card.short-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F8FAFC;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
  font-size: 17px;
}

.short-card .name-card-content {
  flex: 0 1 80%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.short-card .name-card-main {
  flex: 0 1 80%;
  min-width: 0;
}

.short-card .generated-ru-name {
  color: #ffffff;
  margin-bottom: 10px;
  font-size: 17px;
}

.short-card .generated-name {
  font-weight: 500;
}

.short-card p {
  margin-top: 0;
}

.name-card.full-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
  font-size: 17px;
}

.full-card .name-card-content {
  flex: 0 1 80%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.full-card .name-card-main {
  flex: 0 1 80%;
  min-width: 0;
}

.full-card .generated-ru-name {
  color: #ffffff;
  margin-bottom: 10px;
  font-size: 17px;
}

.full-card .generated-name {
  font-weight: 500;
}

.full-card p {
  margin-top: 0;
}

.fact-wrapper {
  flex: 1;                 
  display: flex;
  align-items: center; 
  justify-content: center; 
}

#fact {
  font-style: italic;
  text-align: center;
  color: #ffffff;
  font-size: 20px;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 15px;
}

.filter-group label {
  font-weight: 500;
  margin-bottom: 3px;
  color: #ffffff;
}

.filter-group input[type="text"], 
.filter-group select {
  padding: 8px 10px;
  border-radius: 6px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 16px;
}

.filter-group input[type="text"]:focus, 
.filter-group select:focus {
  border-color: #ffffff;
  outline: none;
}

.filter-group input[type="checkbox"] {
  margin-right: 8px;
}

.short-card .copy-btn {
  flex: 0 0 10%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 16px;
  outline: none;
  transition: color 0.15s;
  color: #ffffff;
  min-width: 40px;
  padding: 0 2px;
}

.short-card .copy-btn img {
  width: 50px;
  height: 50px;
  display: block;
}

.short-card .copy-btn:hover {
  color: #ffffff;
}

.full-card .copy-btn {
  flex: 0 0 20%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 16px;
  outline: none;
  transition: color 0.15s;
  color: #ffffff;
  min-width: 40px;
  padding: 0 2px;
}

.full-card .copy-btn img {
  width: 50px;
  height: 50px;
  display: block;
}

.full-card .copy-btn:hover {
  color: #ffffff;
}

.seo-text {
  background: transparent;
  padding: 10px 0 0 0;
  max-width: 1200px;
  margin: 0 auto;
  color: #ffffff;
  font-size: 18px;
  line-height: 1.7;
  font-family: 'Montserrat', Arial, sans-serif;
}

.seo-text h1,
.seo-text h2,
.seo-text h3,
.seo-text h4,
.seo-text h5 {
  color: #09EAE1;
  margin-top: 1.7em;
  margin-bottom: 0.6em;
  font-weight: 700;
}

.seo-text h1 {
  font-size: 28px;
  margin-top: 0;
  color: #09EAE1;
}

.seo-text h2 { font-size: 23px; }
.seo-text h3 { font-size: 19px; }
.seo-text h4 { font-size: 15px; }

.seo-text p {
  margin-bottom: 1.1em;
  color: #ffffff;
}

.seo-text ul, .seo-text ol {
  margin: 1em 0 1em 2em;
  padding-left: 1.2em;
}

.seo-text ul li, .seo-text ol li {
  margin-bottom: 0.4em;
  list-style-type: disc;
}

.seo-text a {
  color: #ffffff;
  text-decoration: underline;
  transition: color 0.2s;
}

.seo-text a:hover {
  color: #ffffff;
  text-decoration: underline wavy;
}

.seo-text-image {
  margin: 1rem auto;
  max-width: 1000px;
  width: 100%;
  text-align: center;
  overflow: hidden; 
  border-radius: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.seo-text-image img {
  display: block;
  width: 100%;
  height: auto;
}

.seo-text .faq-section {
  margin-top: 2.5em;
  border-top: 1px solid #ffffff;
  padding-top: 1.3em;
}

.seo-text .faq-section h2, 
.seo-text .faq-section h3 {
  margin-top: 1.3em;
  color: #ffffff;
}

.seo-text .faq-list {
  margin: 1.5em 0;
  padding: 0;
  list-style: none;
}

.faq-item {
  border: 1px solid #222;
  border-radius: 7px;
  padding: 13px 16px 8px 16px;
  margin-bottom: 16px;
  background: #ffffff;
  box-shadow: 0 1px 4px 0 rgba(30, 30, 30, 0.03);
}

.seo-text .faq-question {
  font-weight: 600;
  margin-bottom: 0.3em;
}

.faq-answer {
  display: none;
  margin: 0 0 18px 0;
  color: #000000;
  transition: all 0.18s;
}
.faq-item.active .faq-answer {
  display: block;
}
.faq-item h3 {
  cursor: pointer;
  margin: 0;
  position: relative;
  padding-right: 26px;
}
.faq-item h3::after {
  content: "▼";
  font-size: 13px;
  position: absolute;
  right: 6px;
  top: 3px;
  transition: transform 0.18s;
}
.faq-item.active h3::after {
  transform: rotate(-180deg);
}

.seo-hidden-wrap {
  position: relative;
}

.seo-hidden-content {
  position: relative;
  transition: max-height 0.6s cubic-bezier(.5,1.7,.3,1), filter 0.2s;
  overflow: hidden;
  max-height: 293px;
  filter: blur(1px);
}

.seo-hidden-content h2 {
  margin-top: 0.6em;
}
.seo-hidden-content h2:first-child {
  margin-top: 0;
}

.seo-text.expanded .seo-hidden-content {
  max-height: 10000px;
  filter: none;
}

.seo-overlay {
  pointer-events: auto;
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  background: linear-gradient(rgba(255,255,255,0) 0%, rgba(250,250,250,0.97) 65%, #fafafa 100%);
  z-index: 3;
  transition: none !important;
  opacity: 1;
  border-radius: 0 0 15px 15px;
}

.seo-text.expanded .seo-overlay {
  opacity: 0;
  pointer-events: none;
}

.seo-expand-btn {
  display: block;
  margin: 20px auto 28px auto;
  background: #3778be;
  color: #ffffff;
  font-size: 18px;
  padding: 10px 32px;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  box-shadow: 0 1px 5px rgba(80,100,180,0.07);
  position: relative;
  z-index: 5;
  transition: background 0.18s, color 0.18s;
}

.seo-expand-btn:hover {
  background: #ffffff;
  color: #ffffff;
}

#gototop {
  position: fixed;
  bottom: 12px;
  right: 12px;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  width: 40px;
  height: 50px;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s;
}

#gototop:hover {
  background: rgba(255, 255, 255, 0.24);
}

.gototop-icon {
  display: block;
  width: 25px;
  height: 45px;
  fill: #ffffff;
}

.author-block {
  display: flex;
  align-items: flex-start;
  padding: 2rem 0;
  gap: 2rem;
}

.author-block__avatar {
  flex: 0 0 150px;
  width: auto;
  height: 180px;
  border-radius: 5%;
  overflow: hidden;
}
.author-block__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.author-block__inner {
  flex: 1;
}

.author-block__name {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
}

.author-block__content {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #ffffff;
}

.author-block__social {
  display: flex;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

.author-block__social li {
  margin: 0;
}

.author-block__social a {
  display: inline-block;
  width: 32px;
  height: 32px;
  color: var(--accent) !important;
  text-decoration-color: rgba(9,234,225,0.8) !important;
  text-shadow: 0 0 6px rgba(9,234,225,0.6);
}

.author-block__icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.author-block__social a:hover {
  opacity: 0.7;
}

.fullwidth-border {
  width: 100vw;
  height: 0;
  border-top: 1px solid #ffffff;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  box-sizing: content-box;
} 

footer {
  margin-top: 10px;
  display: flex;
  align-items: center;
  background: transparent;
  min-height: 50px;
  width: 100%;
}

.footer-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

footer a {
  color: #ffffff;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.trustpilot-widget {
  display: inline-block;
  max-width: 100%;
}

.trustpilot-widget img {
  height: auto;
  border: 0;
}

.breadcrumbs {
  margin: 20px 0;
  font-size: 16px;
}

.breadcrumbs a {
  color: #000000;
  text-decoration: none;
  transition: text-decoration 0.2s ease;
}

.breadcrumbs a:hover {
  text-decoration: underline;
}

.breadcrumbs span {
  color: #ffffff;
  margin: 0 8px;
}

.page-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: #ffffff;
  text-align: center;
}

.author-section-contact-us {
  background: #fff;
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.author-section-contact-us h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #ffffff;
  text-align: center;
}

.author-section-contact-us a {
  color: var(--accent) !important;
  text-decoration-color: rgba(9,234,225,0.8) !important;
  text-shadow: 0 0 6px rgba(9,234,225,0.6);
}

.author-block-contact-us {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  margin-bottom: 2rem;
}

.author-block__avatar-contact-us {
  flex: 0 0 150px;
  aspect-ratio: 5/6;
  border-radius: 8px;
  overflow: hidden;
}
.author-block__avatar-contact-us img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.author-block__name-contact-us {
  margin: 0 0 0.5rem;
  font-size: 1.8rem;
  font-weight: 600;
  color: #ffffff;
}

.author-block__content-contact-us {
  margin: 0 0 1rem;
  font-size: 1rem;
  line-height: 1.6;
  color: #ffffff;
}

.author-block__social-contact-us {
  display: flex;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
  list-style: none;
}
.author-block__social-contact-us a {
  display: inline-block;
  width: 32px;
  height: 32px;
  transition: opacity 0.3s ease;
  color: var(--accent) !important;
  text-decoration-color: rgba(9,234,225,0.8) !important;
  text-shadow: 0 0 6px rgba(9,234,225,0.6);
}
.author-block__social-contact-us a:hover {
  opacity: 0.7;
}
.author-block__icon-contact-us {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.trusted-links-contact-us {
  margin: 2rem 0;
}
.trusted-links-contact-us h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #ffffff;
}

.trusted-links-contact-us-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.trusted-link-contact-us {
  display: inline-block;
  color: #ffffff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  background: rgba(76, 110, 245, 0.1);
  border-radius: 6px;
  transition: all 0.3s ease;
}
.trusted-link-contact-us:hover {
  background: rgba(76, 110, 245, 0.2);
}

.contact-section {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.contact-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #ffffff;
  text-align: center;
}

.contact-info {
  margin-bottom: 2rem;
}
.contact-info p {
  margin-bottom: 0.5rem;
  color: #ffffff;
}
.contact-info a {
  color: var(--accent) !important;
  text-decoration-color: rgba(9,234,225,0.8) !important;
  text-shadow: 0 0 6px rgba(9,234,225,0.6);
}
.contact-info a:hover {
  text-decoration: underline;
}

.contact-container {
  display: flex;
  gap: 30px;
  margin-top: 20px;
}

.contact-left {
  flex: 40%;
}

.contact-right {
  flex: 60%;
}

.contact-map {
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  height: 100%;
  overflow: hidden;
}

.contact-map iframe {
  border: 0;
  width: 100%;
  height: 100%;
  min-height: 450px;
}

.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  color: #000000;
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
  background: #ffffff;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-family: inherit;
  font-size: 1rem;
  padding: 0.75rem;
  transition: border-color 0.3s ease;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: #4C6EF5;
  outline: none;
}

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.submit-btn {
  background: #4C6EF5;
  border: none;
  border-radius: 6px;
  color: white;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  transition: background 0.3s ease;
}

.submit-btn:hover {
  background: #3b5ce0;
}

.faq-section-contact-us {
  background: #ffffff;
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.faq-section-contact-us h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #ffffff;
  text-align: center;
}

.faq-item-contact-us {
  margin-bottom: 1.5rem;
  border: 1px solid #eee;
  border-radius: 8px;
  overflow: hidden;
}

.faq-question-contact-us {
  background: #ffffff;
  padding: 1rem;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: #000;
  border: none;
  width: 100%;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease;
}
.faq-question-contact-us:hover {
  background: #ffffff;
}
.faq-answer-contact-us {
  padding: 1rem;
  color: var(--muted);
  line-height: 1.6;
  display: none;
}
.faq-answer-contact-us.active {
  display: block;
}
.faq-icon-contact-us {
  transition: transform 0.3s ease;
}
.faq-question-contact-us.active .faq-icon-contact-us {
  transform: rotate(180deg);
}

@media (max-width: 380px) {
  html, body {
    width: 100% !important;
    overflow-x: hidden !important;
  }
  .container, .header-container, .generator-box, .seo-text, .footer-container {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 2px !important;
    box-sizing: border-box !important;
  }
  .header-container {
    display: row !important;
    padding: 2px !important;
    min-height: unset !important;
    text-align: left !important;
  }
  header {
    min-height: 40px !important;
    padding: 0 !important;
    margin-bottom: 8px !important;
  }
  .nav-menu {
    gap: 15px !important;
  }
  .nav-link {
    font-size: 14px !important;
  }
  .desktop-nav {
    display: none !important;
  }
  .burger-menu {
    display: flex !important;
  }
  .mobile-nav {
    width: 50% !important;
    padding-top: 10px;
  } 
  .mobile-link {
    padding: 12px 20px !important;
    font-size: 15px !important;
  }
  .logo {
    display: block !important;
    font-size: 16px !important;
    line-height: 1.1 !important;
    word-break: break-all !important;
    white-space: normal !important;
    text-align: left !important;
    margin: 0 0 2px 0 !important;
    padding: 0 !important;
    float: none !important;
  }
  .generator-value {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 2px !important;
    width: 100% !important;
    margin: 0 !important;
  }
  .value {
    width: 100% !important;
    min-width: unset !important;
    font-size: 10px !important;
    padding: 3px 2px !important;
    margin-bottom: 1px !important;
    border-radius: 5px !important;
    word-break: break-word !important;
    white-space: normal !important;
    box-sizing: border-box !important;
  }
  .value-label, .value-value, .value-date {
    font-size: 11px !important;
  }
  .generator-box {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    padding: 5px 2px 7px 2px !important;
    margin: 7px 0 !important;
    border-radius: 6px !important;
    box-sizing: border-box !important;
}
  .generator {
    gap: 4px !important;
  }
  .filters {
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
  }
  #gender-form {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 5px 68px !important;
    align-items: center !important;
    margin-bottom: 4px !important;
  }
  #gender-form label {
    font-size: 11px !important;
    white-space: normal !important;
    margin-bottom: 0 !important;
    margin-top: 0 !important;
  }
  #gender-form input[type="radio"] {
    margin-right: 4px !important;
  }
  .filter-group label {
    font-size: 11px !important;
  }
  #meaning-filter {
    padding: 3px 4px !important;
    border-radius: 5px !important;
    font-size: 11px !important;
  }
  .filter-group input[type="checkbox"] {
    margin-right: 3px !important;
  }
  .button-group button, #clear-btn, #meaning-filter {
    width: 100% !important;
    font-size: 11px !important;
    box-sizing: border-box !important;
  }
  .button-group {
    gap: 2px !important;
  }
  .button-group button,
  #clear-btn {
    padding: 5px 0 !important;
    font-size: 12px !important;
    border-radius: 5px !important;
    margin: 0 !important;
  }
  .name-card.short-card,
  .name-card.full-card {
    padding: 2px 2px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    margin-bottom: 4px !important;
    line-height: 1 !important;
  }
  .name-card .name,
  .short-card .generated-ru-name,
  .full-card .generated-ru-name,
  .name-card .meaning {
    font-size: 12px !important;
  }
  .name-card .copy-btn {
    min-width: 14px !important;
    font-size: 10px !important;
    padding: 1px !important;
  }
  .name-card .copy-btn img {
    width: 30px !important;
    height: 30px !important;
  }
  .results {
    margin-top: 4px !important;
    display: flex !important;
    flex-wrap: wrap !important;
  }
  .copied-message {
    font-size: 11px !important;
  }
  #gototop {
    right: 0.5px !important;
    width: 20px !important;
    height: 30px !important;
  }
  .no-results {
    font-size: 12px !important;
    margin-top: 12px !important;
    margin-bottom: 7px !important;
    line-height: 1.2 !important;
  }
  #all-meanings-select {
    display: none !important;
  }
  .seo-text {
    padding: 4px 1px 0 1px !important;
    font-size: 12px !important;
    line-height: 1.28 !important;
    border-radius: 0 !important;
  }
  .seo-text h1 { font-size: 17px !important; margin-bottom: 7px !important; color: #09EAE1; }
  .seo-text h2 { font-size: 15px !important; margin-top: 0.7em !important; color: #09EAE1; }
  .seo-text h3 { font-size: 12px !important; color: #09EAE1; }
  .seo-text p { margin-bottom: 0.5em !important; font-size: 12px !important; }
  .seo-text ul, .seo-text ol {
    margin: 0.4em 0 0.4em 1em !important;
    padding-left: 0.5em !important;
    font-size: 12px !important;
  }
  .seo-text ul li, .seo-text ol li {
    font-size: 12px !important;
  }
  .seo-text a { font-size: 12px !important; }
  .seo-text-image {
    border-radius: 5px !important;
    margin: 0.2rem auto !important;
  }
  .seo-text-image img {
    border-radius: 5px !important;
  }
  .faq-item {
    border-radius: 4px !important;
    padding: 5px 2px 3px 2px !important;
    margin-bottom: 4px !important;
    font-size: 12px !important;
  }
  .seo-text .faq-question,
  .faq-answer,
  .faq-item h3 {
    font-size: 12px !important;
  }
  .faq-item h3 {
    padding-right: 9px !important;
  }
  .faq-item h3::after {
    font-size: 10px !important;
    right: 1px !important;
    top: 1px !important;
  }
  .seo-hidden-content {
    max-height: 140px !important;
  }
  .seo-text.expanded .seo-hidden-content {
    max-height: 10000px !important;
  }
  .seo-expand-btn {
    font-size: 12px !important;
    padding: 7px 7px !important;
    border-radius: 5px !important;
    margin: 8px auto 10px auto !important;
  }
  .author-block {
    gap: 0.6rem !important;
    padding: 0.5rem 0 0.3rem 0 !important;
  }
  .author-block H2 {
    font-size: 15px !important;
  }  
  .author-block__avatar {
    width: 120px !important;
    height: 120px !important;
    border-radius: 6px !important;
  }
  .author-block__content {
    font-size: 0.8rem !important;
    margin-bottom: 0.35rem !important;
    line-height: 1.28 !important;
  }
  .author-block__social {
    gap: 0.25rem !important;
    margin-top: 0.3rem !important;
  }
  .author-block__social a {
    width: 22px !important;
    height: 22px !important;
    color: var(--accent) !important;
    text-decoration-color: rgba(9,234,225,0.8) !important;
    text-shadow: 0 0 6px rgba(9,234,225,0.6);
  }
  .contact-container {
    flex-direction: column !important;
  }
  .contact-left,
  .contact-right {
    flex: 0 0 100% !important;
    width: 100% !important;
  } 
  .contact-map iframe {
    min-height: 300px !important;
  }
  .fullwidth-border {
    border-top: 1px solid #ffffff !important;
    margin: 10px 0 10px 0 !important;
  }
  footer {
    min-height: 20px !important;
    font-size: 10px !important;
    gap: 2px !important;
  }
  .footer-container {
    gap: 2px !important;
    padding: 0 2px !important;
  }
  .categories-nav {
    gap: 8px !important;
    padding-bottom: 15px !important;
  }
  .article-category {
    font-size: 0.8rem !important;
    padding: 5px 0 !important;
    border-radius: 10px !important;
  }
  .articles-grid {
    margin: 0 -5px !important;
    gap: 15px !important;
  } 
  .article-card {
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08) !important;
  }
  .article-image {
    height: 140px !important;
  }
  .article-content {
    padding: 12px !important;
  }
  .article-meta {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    font-size: 0.8rem !important;
  }
  .article-title {
    font-size: 1.05rem !important;
    line-height: 1.3 !important;
    margin-bottom: 8px !important;
  }
  .article-excerpt {
    font-size: 0.8rem !important;
    line-height: 1.5 !important;
    margin-bottom: 12px !important;
  }
  .read-more-btn {
    font-size: 0.85rem !important;
  }
  .pagination {
    gap: 5px !important;
  }
  .pagination-btn {
    padding: 5px 8px !important;
    font-size: 0.75rem !important;
  }
}

@media (max-width: 480px) {
  html, body {
    max-width: 100%;;
    overflow-x: hidden;
  }
  .container, .header-container, .generator-box, .seo-text, .footer-container {
    width: 100%;
    max-width: 100%;
    padding: 0 5px;
    box-sizing: border-box;
  }
  .nav-menu {
    gap: 15px;
  }
  .nav-link {
    font-size: 16px;
  }
  .desktop-nav {
    display: none;
  }
  .burger-menu {
    display: flex;
  }
  .mobile-nav {
    width: 50%;
    padding-top: 10px;
  } 
  .mobile-link {
    padding: 14px 20px;
    font-size: 16px;
  } 
  .logo {
    font-size: 18px;
  }
  .header-container {
    padding: 0 15px;
  }
  .generator-value {
    display: flex;
    flex-direction: row;
    gap: 8px;
    align-items: stretch;
  }
  .value {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 0;
    box-sizing: border-box;
    padding: 10px 6px;
    background: #ffffff;
    border-radius: 7px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07);
  }
  .value {
    font-size: 15px;
  }  
  .value-header {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 4px; 
  }
  .value-label {
    font-size: 14px;
    color: #3778be;
    font-weight: bold;
  }
  .value-value {
    font-size: 14px;
    font-weight: bold;
    color: #000;
  }
  .value-date {
    font-size: 14px;
  }
  .generator-box {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    padding: 20px 10px 18px 10px;
    margin: 18px auto;
    min-height: 360px;
    max-width: 410px;
    width: 100%;
    box-sizing: border-box;
  }
  .generator {
    display: flex;
    flex-direction: column;
    gap: 9px;
  }
  .filters {
    display: flex;
    flex-direction: column;
    gap: 9px;
  }
  #gender-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5px 68px;
    align-items: center;
    margin-bottom: 5px;
  }
  #gender-form label {
    font-size: 15px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding-left: 0;
  }
  #gender-form input[type="radio"] {
    margin-right: 7px;
    accent-color: #3a6dff;
  }
  .filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    width: 100%;
  }
  .filter-group label {
    font-size: 15px;
    color: #225;
  }
  #meaning-filter {
    width: 100%;
    padding: 10px 12px;
    border-radius: 7px;
    border: 1px solid #cfd8dc;
    font-size: 15px;
    box-sizing: border-box;
    background: #f9fafb;
  }
  .filter-group input[type="checkbox"] {
    accent-color: #3a6dff;
    margin-right: 7px;
  }
  .button-group {
    display: flex;
    flex-direction: column;
    gap: 7px;
    width: 100%;
  }
  .button-group button,
  #clear-btn {
    width: 100%;
    min-width: 0;
    padding: 10px 0;
    border-radius: 7px;
    border: none;
    background: #3a6dff;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    transition: background 0.16s;
  }
  .button-group button:active,
  .button-group button:focus,
  #clear-btn:active,
  #clear-btn:focus {
    background: #1f47b9;
  }
  #clear-btn {
    background: #f6faff;
    color: #3466df;
    border: 1px solid #d0d7e2;
    margin-top: 0;
    font-weight: 500;
  }
  #clear-btn:hover {
    background: #e0e9f7;
  }
  .fact-wrapper, #fact {
    display: none !important;
  }
  .name-card.short-card,
  .name-card.full-card {
    padding: 4px 5px;
    border-radius: 6px;
    font-size: 15px;
    margin-bottom: 9px;
    line-height: 0.8;
    box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  }
  .name-card .name {
    font-size: 15px;
    line-height: 1.1;
    font-weight: 500;
  }
  .short-card .generated-ru-name {
    font-size: 15px;
    line-height: 1.1;
    font-weight: 500;
  }
  .full-card .generated-ru-name {
    font-size: 15px;
    line-height: 1.1;
    font-weight: 500;
  }
  .name-card .meaning {
    font-size: 15px;
    line-height: 1.1;
  }
  .name-card .copy-btn {
    min-width: 20px;
    font-size: 11px;
    padding: 2px;
  }
  .name-card .copy-btn img {
    width: 45px;
    height: 45px;
  } 
  .results {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
  }
  .copied-message {
  font-size: 15px;
  font-weight: bold;
  color: #000000;
  text-align: center;
  display: inline-block;
  }
  #gototop {
    right: 1px;
  }
  .no-results {
    text-align: center;
    color: #B22222;
    font-size: 15px;
    margin-top: 22px;
    margin-bottom: 12px;
    line-height: 1.4;
  }
  #all-meanings-select {
    display: none;
  }
  .seo-text {
    padding: 8px 3px 0 3px;
    max-width: 100%;
    font-size: 15px;
    line-height: 1.5;
    border-radius: 0;
  }
  .seo-text h1 { font-size: 24px; margin-bottom: 13px; color: #09EAE1; }
  .seo-text h2 { font-size: 19.5px; margin-top: 1.2em; color: #09EAE1; }
  .seo-text h3 { font-size: 16px; color: #09EAE1; }
  .seo-text p { margin-bottom: 0.8em; font-size: 15px; }
  .seo-text ul, .seo-text ol {
    margin: 0.9em 0 0.9em 1.4em;
    padding-left: 1em;
    font-size: 15px;
  }
  .seo-text ul li, .seo-text ol li {
    margin-bottom: 0.2em;
    font-size: 15px;
  }
  .seo-text a { font-size: 15px; }
  .seo-text-image {
    border-radius: 10px;
    margin: 0.7rem auto;
    max-width: 100%;
    width: 100%;
    box-shadow: 0 2px 6px rgba(0,0,0,0.07);
  }
  .seo-text-image img {
    border-radius: 10px;
    max-width: 100%;
    height: auto;
  }
  .seo-text .faq-section {
    margin-top: 1.3em;
    padding-top: 0.7em;
    border-top: 1px solid #ffffff;
  }
  .seo-text .faq-section h2,
  .seo-text .faq-section h3 {
    font-size: 15px;
    margin-top: 1em;
  }
  .seo-text .faq-list {
    margin: 1em 0;
    font-size: 15px;
  }
  .faq-item {
    border-radius: 6px;
    padding: 9px 7px 6px 9px;
    margin-bottom: 10px;
    font-size: 15px;
  }
  .seo-text .faq-question {
    font-size: 15px;
    margin-bottom: 0.2em;
  }
  .faq-answer {
    margin: 0 0 12px 0;
    font-size: 15px;
  }
  .faq-item h3 {
    padding-right: 19px;
    font-size: 15px;
  }
  .faq-item h3::after {
    font-size: 12px;
    right: 3px;
    top: 2px;
  }
  .seo-hidden-content {
    max-height: 280px;
    filter: blur(1.2px);
  }
  .seo-text.expanded .seo-hidden-content {
    max-height: 8000px;
    filter: none;
  }
  .seo-overlay {
    border-radius: 0 0 8px 8px;
  }
  .seo-expand-btn {
    font-size: 15px;
    padding: 9px 16px;
    border-radius: 7px;
    margin: 14px auto 16px auto;
  }
  .author-block {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1rem 0 0.7rem 0;
    text-align: center;
  }
  .author-block H2 {
    font-size: 19.5px;
  }  
  .author-block__avatar {
    width: 160px;
    height: 160px;
    margin-bottom: 0.35rem;
    flex: 0 0 auto;
    border-radius: 8px;
  }
  .author-block__inner {
    width: 100%;
    padding: 0;
  }
  .author-block__content {
    font-size: 0.98rem;
    margin-bottom: 0.6rem;
    line-height: 1.5;
    color: #ffffff;
  }
  .author-block__content a {
    color: var(--accent);
    text-decoration-color: rgba(9,234,225,0.8);
    text-shadow: 0 0 6px rgba(9,234,225,0.6);
  }
  .author-block__social {
    justify-content: center;
    gap: 0.43rem;
    margin-top: 0.55rem;
  }
  .author-block__social a {
    width: 30px;
    height: 30px;
    color: var(--accent) !important;
    text-decoration-color: rgba(9,234,225,0.8) !important;
    text-shadow: 0 0 6px rgba(9,234,225,0.6);
  }
  .contact-container {
    flex-direction: column;
  }
  .contact-left,
  .contact-right {
    flex: 0 0 100%;
    width: 100%;
  } 
  .contact-map iframe {
    min-height: 300px;
  }
  .fullwidth-border {
    width: 100%;
    height: 0;
    border-top: 1px solid #e1e1e1;
    margin: 20px 0 18px 0;
    left: 0;
    right: 0;
    box-sizing: border-box;
  }
  footer {
    min-height: 32px;
    font-size: 13px;
    flex-direction: column;
    gap: 5px;
    padding: 0;
  }
  .footer-container {
    flex-direction: column;
    gap: 5px;
    padding: 0 5px;
  }
  .categories-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 15px;
    gap: 15px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .categories-nav::-webkit-scrollbar {
    display: none;
  }
  .category-link {
    font-size: 0.9rem;
    white-space: nowrap;
  }
  .article-image {
    height: 180px;
  }
  .article-content {
    padding: 18px;
  }
  .article-title {
    font-size: 1.2rem;
  }
  .article-excerpt {
    font-size: 0.9rem;
  }
  .pagination {
    gap: 5px;
  }
  .pagination-btn {
    padding: 8px 10px;
    font-size: 0.85rem;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }
  .container, .header-container, .generator-box, .seo-text, .footer-container {
    width: 100%;
    max-width: 750px;
    padding: 0 18px;
    box-sizing: border-box;
    margin: 0 auto;
  }
  .header-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-height: 50px;
  }
  .logo {
    display: inline-block;
    font-size: 20px;
    margin: 0 0 0 0;
    float: none;
  }
  .nav-menu {
    gap: 15px;
  }
  .nav-link {
    font-size: 18px;
  }
  .desktop-nav {
    display: none;
  }
  .burger-menu {
    display: flex;
  }
  .mobile-nav {
    width: 50%;
    padding-top: 10px;
  }
  .generator-value {
    display: flex;
    flex-direction: row;
    gap: 16px;
    align-items: stretch;
    margin-bottom: 12px;
  }
  .value {
    flex: 1 1 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-width: 0;
    box-sizing: border-box;
    padding: 17px 12px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 7px rgba(0,0,0,0.07);
    font-size: 18px;
  }
  .value-header {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 6px; 
  }
  .value-label {
    font-size: 17px;
    color: #3778be;
    font-weight: bold;
  }
  .value-value {
    font-size: 17px;
    font-weight: bold;
    color: #000;
  }
  .value-date {
    font-size: 16px;
  }
  .generator-box {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 3px 16px rgba(0,0,0,0.09);
    padding: 22px 10px 20px 10px;
    margin: 26px 0 20px 0;
    min-height: 370px;
    max-width: 100%;
    width: 100%;
    box-sizing: border-box;
  }
  .generator {
    display: flex;
    flex-direction: column;
    gap: 7px;
  }
  .filters {
    display: flex;
    flex-direction: row;
    gap: 10px;
    flex-wrap: wrap;
  }
  #gender-form,
  .filter-group {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    margin-bottom: 2px;
  }
  #gender-form label {
    font-size: 17px;
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding-left: 0;
  }
  #gender-form input[type="radio"] {
    margin-right: 9px;
    accent-color: #3a6dff;
  }
  .filter-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 100%;
  }
  .filter-group label {
    font-size: 17px;
    color: #225;
  }
  #meaning-filter {
    width: 100%;
    padding: 12px 15px;
    border-radius: 8px;
    border: 1px solid #cfd8dc;
    font-size: 17px;
    background: #f9fafb;
    box-sizing: border-box;
  }
  .filter-group input[type="checkbox"] {
    accent-color: #3a6dff;
    margin-right: 8px;
  }
  .button-group {
    flex-direction: row;
    gap: 12px;
    width: 100%;
  }
  .button-group button,
  #clear-btn {
    width: 100%;
    min-width: 0;
    padding: 13px 0;
    border-radius: 8px;
    border: none;
    background: #3a6dff;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 1px 2px rgba(0,0,0,0.04);
    transition: background 0.16s;
  }
  .button-group button:active,
  .button-group button:focus,
  #clear-btn:active,
  #clear-btn:focus {
    background: #1f47b9;
  }
  #clear-btn {
    background: #f6faff;
    color: #3466df;
    border: 1px solid #d0d7e2;
    margin-top: 0;
    font-weight: 500;
  }
  #clear-btn:hover {
    background: #e0e9f7;
  }
  .fact-wrapper, #fact {
    display: none !important;
  }
  .name-card.short-card,
  .name-card.full-card {
    padding: 7px 13px;
    border-radius: 8px;
    font-size: 17px;
    margin-bottom: 13px;
    line-height: 1;
    box-shadow: 0 2px 5px rgba(0,0,0,0.07);
  }
  .name-card .name,
  .short-card .generated-ru-name,
  .full-card .generated-ru-name,
  .name-card .meaning {
    font-size: 17px;
    line-height: 1.1;
    font-weight: 500;
  }
  .name-card .copy-btn {
    min-width: 24px;
    font-size: 14px;
    padding: 3px;
  }
  .name-card .copy-btn img {
    width: 55px;
    height: 55px;
  } 
  .results {
    margin-top: 13px;
    display: flex;
    flex-wrap: wrap;
  }
  .copied-message {
    font-size: 17px;
    font-weight: bold;
    color: #000000;
    text-align: center;
    display: inline-block;
  }
  #gototop {
    right: 10px;
  }
  .no-results {
    text-align: center;
    color: #B22222;
    font-size: 16px;
    margin-top: 27px;
    margin-bottom: 17px;
    line-height: 1.4;
  }
  #all-meanings-select {
    display: none;
  }
  .seo-text {
    padding: 20px 10px 0 10px;
    max-width: 100%;
    font-size: 17px;
    line-height: 1.6;
    border-radius: 0;
  }
  .seo-text h1 { font-size: 30px; margin-bottom: 18px; color: #09EAE1; }
  .seo-text h2 { font-size: 22px; margin-top: 1.7em; color: #09EAE1; }
  .seo-text h3 { font-size: 18px; color: #09EAE1; }
  .seo-text p { margin-bottom: 1em; font-size: 17px; }
  .seo-text ul, .seo-text ol {
    margin: 1.2em 0 1.2em 1.6em;
    padding-left: 1.1em;
    font-size: 17px;
  }
  .seo-text ul li, .seo-text ol li {
    margin-bottom: 0.25em;
    font-size: 17px;
  }
  .seo-text a { font-size: 17px; }
  .seo-text-image {
    border-radius: 12px;
    margin: 1.1rem auto;
    max-width: 100%;
    width: 100%;
    box-shadow: 0 3px 10px rgba(0,0,0,0.09);
  }
  .seo-text-image img {
    border-radius: 12px;
    max-width: 100%;
    height: auto;
  }
  .seo-text .faq-section {
    margin-top: 2em;
    padding-top: 1.2em;
    border-top: 1px solid #e0e5ed;
  }
  .seo-text .faq-section h2,
  .seo-text .faq-section h3 {
    font-size: 17px;
    margin-top: 1.2em;
    color: #09EAE1;
  }
  .seo-text .faq-list {
    margin: 1.2em 0;
    font-size: 17px;
  }
  .faq-item {
    border-radius: 8px;
    padding: 15px 11px 10px 15px;
    margin-bottom: 15px;
    font-size: 17px;
  }
  .seo-text .faq-question {
    font-size: 17px;
    margin-bottom: 0.22em;
  }
  .faq-answer {
    margin: 0 0 15px 0;
    font-size: 17px;
  }
  .faq-item h3 {
    padding-right: 23px;
    font-size: 17px;
  }
  .faq-item h3::after {
    font-size: 14px;
    right: 4px;
    top: 3px;
  }
  .seo-hidden-content {
    max-height: 370px;
    filter: blur(1px);
  }
  .seo-text.expanded .seo-hidden-content {
    max-height: 8000px;
    filter: none;
  }
  .seo-overlay {
    border-radius: 0 0 10px 10px;
  }
  .seo-expand-btn {
    font-size: 17px;
    padding: 12px 22px;
    border-radius: 8px;
    margin: 20px auto 22px auto;
  }
  .author-block {
    flex-direction: row;
    align-items: center;
    gap: 1.4rem;
    padding: 1.3rem 0 0.8rem 0;
    text-align: left;
  }
  .author-block H2 {
    font-size: 22px;
  }  
  .author-block__avatar {
    width: 250px;
    height: 280px;
    margin-bottom: 0;
    flex: 0 0 auto;
    border-radius: 10px;
  }
  .author-block__inner {
    width: 100%;
    padding: 0;
  }
  .author-block__content {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    line-height: 1.65;
    color: #ffffff;
  }
  .author-block__social {
    justify-content: flex-start;
    gap: 0.65rem;
    margin-top: 0.7rem;
  }
  .author-block__social a {
    width: 38px;
    height: 38px;
    color: var(--accent) !important;
    text-decoration-color: rgba(9,234,225,0.8) !important;
    text-shadow: 0 0 6px rgba(9,234,225,0.6);
  }
  .contact-container {
    flex-direction: column;
  } 
  .contact-left,
  .contact-right {
    flex: 0 0 100%;
    width: 100%;
  }
  .contact-map iframe {
    min-height: 300px;
  }
  .fullwidth-border {
    width: 100%;
    height: 0;
    border-top: 1px solid #e1e1e1;
    margin: 32px 0 25px 0;
    left: 0;
    right: 0;
    box-sizing: border-box;
  }
  footer {
    min-height: 38px;
    font-size: 15px;
    flex-direction: row;
    gap: 11px;
    padding: 0;
  }
  .footer-container {
    flex-direction: row;
    gap: 11px;
    padding: 0 18px;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  #all-meanings-select {
    display: none;
  }
  html, body {
    max-width: 100%;
    overflow-x: hidden;
  }
  .header-container {
    width: 100%;
    max-width: 750px;
    padding: 0 18px;
    box-sizing: border-box;
    margin: 0 auto;
  }
}

:root {
  --bg-space: #050611;
  --panel: rgba(10,12,26,0.78);
  --panel-strong: #0f1226;
  --panel-soft: rgba(15,18,38,0.65);
  --text: #eaf2ff;
  --muted: #a6b5dd;
  --muted-2: #8a97bf;
  --line: rgba(166,181,221,0.22);
  --accent: #09EAE1;
  --accent-2: #8F00FE;
  --accent-3: #00C1CB;
  --danger: #ff4d6d;
}

html, body {
  background-color: var(--bg-space) !important;
  color: var(--text) !important;
}

body {
  background-image:
    radial-gradient(1200px 800px at 75% -10%, rgba(143,0,254,0.20) 0%, rgba(143,0,254,0) 60%),
    radial-gradient(900px 600px at 10% 110%, rgba(0,193,203,0.20) 0%, rgba(0,193,203,0) 60%),
    radial-gradient(600px 400px at 85% 70%, rgba(9,234,225,0.14) 0%, rgba(9,234,225,0) 60%),
    radial-gradient(1600px 900px at 50% 0%, rgba(0,0,0,0.8) 40%, rgba(0,0,0,0.95) 100%);
  background-attachment: fixed, fixed, fixed, fixed;
  background-size: cover, cover, cover, cover;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.65) 45%, transparent 46%),
    radial-gradient(1.5px 1.5px at 60% 70%, rgba(255,255,255,0.55) 45%, transparent 46%),
    radial-gradient(1.5px 1.5px at 80% 20%, rgba(255,255,255,0.5) 45%, transparent 46%),
    radial-gradient(1.5px 1.5px at 30% 80%, rgba(255,255,255,0.45) 45%, transparent 46%),
    radial-gradient(1.2px 1.2px at 40% 50%, rgba(255,255,255,0.5) 45%, transparent 46%),
    radial-gradient(1.2px 1.2px at 70% 40%, rgba(255,255,255,0.45) 45%, transparent 46%);
  background-repeat: no-repeat;
  z-index: 0;
  opacity: 0.7;
  filter: drop-shadow(0 0 2px rgba(255,255,255,0.2));
}

.container { position: relative; z-index: 1; }

header {
  background: linear-gradient(180deg, rgba(10,12,26,0.85) 0%, rgba(10,12,26,0.35) 100%) !important;
  border-bottom: 1px solid var(--line) !important;
  backdrop-filter: blur(8px);
}

.logo { color: var(--text) !important; }
.logo:hover {
  text-shadow: 0 0 6px rgba(255,255,255,0.5);
}

.nav-link {
  color: var(--muted) !important;
  text-decoration: none;
  position: relative;
  transition: color .2s ease, text-shadow .2s ease;
}
.nav-link:hover {
  color: var(--accent) !important;
  text-shadow: 0 0 8px rgba(9,234,225,0.8);
}
.nav-link::after {
  background-color: var(--accent) !important;
  box-shadow: 0 0 8px rgba(9,234,225,0.8);
}

.burger-menu .bar { background-color: var(--text) !important; }

.mobile-nav {
  background: var(--panel-strong) !important;
  box-shadow: 0 0 20px rgba(0,0,0,0.5) !important;
}
.mobile-link {
  color: var(--muted) !important;
}
.mobile-link:hover {
  background: rgba(143,0,254,0.12) !important;
  color: var(--accent) !important;
}

.generator-value {
  color: var(--text) !important;
}
.value {
  background: var(--panel) !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 0 14px rgba(143,0,254,0.12) !important;
}
.value-label { color: var(--accent) !important; }
.value-value, .value-date { color: var(--text) !important; }

.generator-box {
  background: var(--panel-soft) !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 0 30px rgba(9,234,225,0.12), inset 0 0 24px rgba(15,18,38,0.35) !important;
}

.generator { color: var(--text) !important; }
.filters { color: var(--text) !important; }

#gender-form label { color: var(--muted) !important; }
#gender-form input[type="radio"] {
  accent-color: var(--accent);
}

.filter-group label { color: var(--muted) !important; }
.filter-group input[type="text"], .filter-group select {
  background: rgba(7,9,22,0.8) !important;
  color: var(--text) !important;
  border: 1px solid var(--line) !important;
  box-shadow: inset 0 0 10px rgba(143,0,254,0.08);
}
.filter-group input[type="text"]::placeholder {
  color: #7b88b1;
}
.filter-group input[type="text"]:focus, .filter-group select:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(9,234,225,0.18), 0 0 12px rgba(9,234,225,0.2) !important;
  outline: none;
}

#fact {
  color: var(--muted) !important;
  text-shadow: 0 0 6px rgba(143,0,254,0.28);
}

.button-group button,
.seo-expand-btn,
.read-more-btn,
.pagination-btn,
.submit-btn {
  background: transparent !important;
  color: var(--accent) !important;
  border: 2px solid var(--accent) !important;
  box-shadow: 0 0 0 rgba(9,234,225,0) !important;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.button-group button:hover,
.seo-expand-btn:hover,
.read-more-btn:hover,
.pagination-btn:hover,
.submit-btn:hover {
  background: var(--accent) !important;
  color: #000 !important;
  box-shadow: 0 0 14px rgba(9,234,225,0.85) !important;
  transform: translateY(-1px);
}

#clear-btn {
  border-color: var(--accent-2) !important;
  color: var(--accent-2) !important;
}
#clear-btn:hover {
  background: var(--accent-2) !important;
  color: #fff !important;
  box-shadow: 0 0 14px rgba(143,0,254,0.85) !important;
}

.results { color: var(--text) !important; }
.name-card.short-card,
.name-card.full-card {
  background: rgba(12,15,32,0.8) !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 0 18px rgba(143,0,254,0.08) !important;
  color: var(--text) !important;
}
.short-card .generated-ru-name,
.full-card .generated-ru-name { color: var(--text) !important; }
.short-card .generated-name,
.full-card .generated-name { color: var(--accent) !important; }

.copy-btn {
  color: var(--muted) !important;
}
.copy-btn:hover {
  color: var(--accent) !important;
  filter: drop-shadow(0 0 8px rgba(9,234,225,0.8));
}

.no-results { color: var(--danger) !important; }

.seo-text {
  color: var(--text) !important;
  background: transparent !important;
}
.seo-text h1, .seo-text h2, .seo-text h3, .seo-text h4, .seo-text h5 {
  color: #09EAE1;
  text-shadow: 0 0 8px rgba(255,255,255,0.08);
}
.seo-text a {
  color: var(--accent) !important;
  text-decoration-color: rgba(9,234,225,0.8) !important;
  text-shadow: 0 0 6px rgba(9,234,225,0.6);
}
.seo-text a:hover {
  color: var(--accent-2) !important;
  text-shadow: 0 0 10px rgba(143,0,254,0.9);
}

.faq-item {
  background: var(--panel) !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 0 12px rgba(0,0,0,0.3) !important;
}
.seo-text .faq-question { color: var(--accent) !important; }
.faq-item.active .faq-answer { color: var(--text) !important; }
.faq-item h3::after { color: var(--accent) !important; }

.breadcrumbs a { color: var(--muted) !important; }
.breadcrumbs a:hover { color: var(--accent) !important; }
.breadcrumbs span { color: var(--muted-2) !important; }

.article-card {
  background: rgba(12,15,32,0.85) !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 0 24px rgba(0,0,0,0.4), 0 0 20px rgba(9,234,225,0.08) !important;
}
.article-title { color: var(--text) !important; }
.article-excerpt { color: var(--muted) !important; }
.article-meta { color: var(--muted-2) !important; }
.article-category {
  background: rgba(143,0,254,0.18) !important;
  color: #fff !important;
  border: 1px solid rgba(143,0,254,0.35) !important;
  box-shadow: 0 0 8px rgba(143,0,254,0.5);
}
.read-more-btn {
  border-width: 1.5px !important;
}

.pagination-btn {
  border-color: var(--line) !important;
  color: var(--muted) !important;
}
.pagination-btn.active,
.pagination-btn:hover {
  background: var(--accent) !important;
  color: #000 !important;
  border-color: var(--accent) !important;
  box-shadow: 0 0 12px rgba(9,234,225,0.8);
}

.author-section-contact-us,
.contact-section,
.faq-section-contact-us {
  background: rgba(12,15,32,0.85) !important;
  border: 1px solid var(--line) !important;
  box-shadow: 0 0 22px rgba(0,0,0,0.35) !important;
}
.author-block__name-contact-us { color: var(--text) !important; }
.author-block__content-contact-us { color: var(--muted) !important; }

.form-group label { color: var(--muted) !important; }
.form-group input,
.form-group textarea {
  background: rgba(7,9,22,0.85) !important;
  color: var(--text) !important;
  border: 1px solid var(--line) !important;
  box-shadow: inset 0 0 10px rgba(143,0,254,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: #7b88b1; }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent) !important;
  box-shadow: 0 0 0 3px rgba(9,234,225,0.18), 0 0 12px rgba(9,234,225,0.2) !important;
  outline: none;
}

footer {
  background: linear-gradient(180deg, rgba(10,12,26,0.15) 0%, rgba(10,12,26,0) 100%) !important;
  border-top: 1px solid var(--line) !important;
  color: var(--muted) !important;
}
footer a {
  color: var(--accent) !important;
  text-shadow: 0 0 6px rgba(9,234,225,0.6);
}
footer a:hover {
  color: var(--accent-2) !important;
  text-shadow: 0 0 10px rgba(143,0,254,0.9);
}

.fullwidth-border {
  border-top: 1px solid var(--line) !important;
}

#gototop {
  background: rgba(255,255,255,0.08) !important;
  box-shadow: 0 0 8px rgba(143,0,254,0.65);
}
#gototop:hover {
  background: rgba(255,255,255,0.18) !important;
  box-shadow: 0 0 14px rgba(9,234,225,0.85);
}
.gototop-icon { fill: #fff !important; }

.error-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  padding: 4rem 0;
  min-height: 70vh;
  margin-bottom: 100px;
}

.error-content {
  flex: 1;
  max-width: 500px;
}

.error-number {
  font-size: 8rem;
  font-weight: 900;
  color: var(--accent);
  text-shadow: 0 0 30px rgba(9,234,225,0.5);
  line-height: 1;
  margin-bottom: 1rem;
}

.error-title {
  font-size: 2.5rem;
  color: var(--text);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.error-description {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 2.5rem;
}

.error-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

.error-btn {
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 2px solid;
}

.error-btn.primary {
  background: var(--accent);
  color: #000;
  border-color: var(--accent);
  box-shadow: 0 0 20px rgba(9,234,225,0.4);
}

.error-btn.primary:hover {
  background: transparent;
  color: var(--accent);
  box-shadow: 0 0 30px rgba(9,234,225,0.6);
  transform: translateY(-2px);
}

.error-btn.secondary {
  background: transparent;
  color: var(--accent-2);
  border-color: var(--accent-2);
}

.error-btn.secondary:hover {
  background: var(--accent-2);
  color: #fff;
  box-shadow: 0 0 20px rgba(143,0,254,0.4);
  transform: translateY(-2px);
}

.error-search {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.error-search p {
  color: var(--muted);
  margin-bottom: 0.5rem;
}

.error-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.error-link:hover {
  color: var(--accent-2);
  text-shadow: 0 0 10px rgba(143,0,254,0.6);
}

.error-graphic {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 400px;
}

.planet-404 {
  position: relative;
  width: 200px;
  height: 200px;
  background: linear-gradient(135deg, #4C6EF5 0%, #8F00FE 100%);
  border-radius: 50%;
  box-shadow: 
    0 0 60px rgba(76, 110, 245, 0.4),
    inset -20px -20px 40px rgba(0, 0, 0, 0.3);
  animation: float 6s ease-in-out infinite;
}

.planet-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: linear-gradient(45deg, #3B5BDB 0%, #7048E8 100%);
  border-radius: 50%;
  box-shadow: inset 10px 10px 30px rgba(0, 0, 0, 0.4);
}

.planet-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(20deg);
  width: 300px;
  height: 40px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  border-radius: 20px;
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.crater {
  position: absolute;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 50%;
}

.crater-1 {
  width: 30px;
  height: 30px;
  top: 40px;
  left: 50px;
}

.crater-2 {
  width: 20px;
  height: 20px;
  bottom: 60px;
  right: 40px;
}

.crater-3 {
  width: 25px;
  height: 25px;
  top: 80px;
  right: 50px;
}

.stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.star {
  position: absolute;
  background: #fff;
  border-radius: 50%;
  animation: twinkle 3s infinite ease-in-out;
}

.star-1 { top: 20%; left: 30%; width: 3px; height: 3px; animation-delay: 0s; }
.star-2 { top: 60%; left: 70%; width: 2px; height: 2px; animation-delay: 1s; }
.star-3 { top: 80%; left: 20%; width: 4px; height: 4px; animation-delay: 2s; }
.star-4 { top: 30%; left: 80%; width: 2px; height: 2px; animation-delay: 1.5s; }
.star-5 { top: 70%; left: 40%; width: 3px; height: 3px; animation-delay: 0.5s; }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

@keyframes twinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

@media (max-width: 768px) {
  .error-section {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding: 2rem 0;
  }
  
  .error-number {
    font-size: 6rem;
  }
  
  .error-title {
    font-size: 2rem;
  }
  
  .error-description {
    font-size: 1.1rem;
  }
  
  .error-actions {
    justify-content: center;
  }
  
  .planet-404 {
    width: 150px;
    height: 150px;
  }
  
  .planet-ring {
    width: 220px;
    height: 30px;
  }
}

@media (max-width: 480px) {
  .error-number {
    font-size: 4rem;
  }
  
  .error-title {
    font-size: 1.5rem;
  }
  
  .error-description {
    font-size: 1rem;
  }
  
  .error-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .error-btn {
    width: 200px;
  }
  
  .planet-404 {
    width: 120px;
    height: 120px;
  }
  
  .planet-ring {
    width: 180px;
    height: 25px;
  }
}