body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: linear-gradient(135deg, #fdfeff 0%, #e8f1f8 100%);
  /*background: linear-gradient(135deg, #e6f7ff 0%, #e8f1f8 100%) !important;*/
  color: #333;
  margin: 0;
  padding: 0 !important;
  padding-top: 0 !important;
  min-height: 100vh;
}

.main-header, header {
  margin-top: 0 !important;
  padding-top: 0 !important;
}


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

.card, .card-section, .hero, .symbols-section, .symbol-board-controls, .about-box, .faq-section, .symbols-container, .about-box {
  background: linear-gradient(174deg, #f8fdff 0%, #f0fcfe 100%);
  /*background: linear-gradient(120deg, #e6f7ff 0%, #e0f7fa 100%);*/
  border-radius: 24px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.05);
  margin: 32px auto 24px auto;
  padding: 48px 24px 36px 24px;
  max-width: 1600px;
  text-align: center;
  position: relative;
} 

@media (max-width: 600px) {
  .hero, .card-section { padding: 18px 4vw; }
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.2rem; }
  .card, .hero, .symbols-section, .symbol-board-controls, .about-box, .faq-section {
    padding: 18px 6px 16px 6px;
    border-radius: 14px;
  }
} 

.header.unified-header {
  background: #7928ca;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  z-index: 1002;
  width: 100%;
  padding: 8px 0;
}

.header-container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.site-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-right: 20px;
  padding: 6px;
}

.site-logo {
  display: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 8px;
  background: #7928ca;
}

.site-name {
  font-family: 'Segoe UI', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: white;
}

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  align-items: center;
  padding: 4px 0;
  background: rgba(255,255,255,0.08);
  border-radius: 32px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 12px rgba(121,40,202,0.07);
}

.nav-item {
  display: inline-block;
  padding: 12px 28px;
  margin: 4px 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.22), rgba(230,240,255,0.19));
  color: #fff;
  border-radius: 999px;
  text-decoration: none;
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  box-shadow: 0 2px 10px rgba(121,40,202,0.09);
  position: relative;
  overflow: hidden;
  transition: background 0.23s cubic-bezier(.4,2,.6,1), color 0.18s, box-shadow 0.23s, transform 0.18s;
}

.nav-item:focus {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.nav-item:hover, .nav-item:active {
  background: linear-gradient(135deg, rgba(255,255,255,0.38), rgba(121,40,202,0.23));
  color: #fff;
  box-shadow: 0 6px 24px rgba(121,40,202,0.15);
  transform: scale(1.07);
}

.nav-item::after {
  content: '';
  display: block;
  position: absolute;
  left: 50%;
  top: 0;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg,rgba(255,255,255,0.16) 0%,rgba(255,255,255,0.01) 100%);
  opacity: 0.7;
  transform: translateX(-50%);
  transition: width 0.38s cubic-bezier(.4,2,.6,1);
  pointer-events: none;
  border-radius: 999px;
  z-index: 1;
}

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


@media (max-width: 800px) {
  .header-container {
    justify-content: center;
    text-align: center;
  }
  .site-brand {
    margin-right: 0;
    margin-bottom: 10px;
  }
  .nav-menu {
    justify-content: center;
    width: 100%;
  }
}
@media (max-width: 800px) {
  .header-container { flex-wrap: wrap; justify-content: center; padding: 0.5rem 1.5vw; }
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding: 8px 0;
    width: 100%;
  }
  .nav-item {
     padding: 5px 10px;
     font-size: 0.9rem;
  }
}

.symbol-board-controls {
  position: sticky;
  top: 50px;
  z-index: 1001;
  background: white;
  padding: 15px;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  margin: 10px auto 20px auto;
  max-width: 1200px;
  width: 92%;
}


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

.site-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.site-logo {
  height: 45px;
  margin-right: 12px;
}

.site-name {
  font-size: 26px;
  font-weight: 700;
  color: #007bff;
  text-shadow: 0 2px 6px rgba(0,123,255,0.11), 0 1px 0 #fff;
  margin-left: 4px;
} 

.nav-menu {
  display: flex;
  gap: 15px;
}

.nav-item {
  text-decoration: none;
  color: #007bff;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 8px;
  transition: all 0.2s;
  background: linear-gradient(135deg, rgba(230,240,255,0.96), rgba(200,220,255,0.92));
  border: 1.5px solid rgba(0, 86, 179, 0.13);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  text-shadow: 0 1px 3px rgba(0,123,255,0.13);
  font-size: 17px;
} 

.nav-item:hover {
  color: #0056b3;
  background: linear-gradient(135deg, rgba(200,220,255,0.98), rgba(180,200,255,0.98));
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 16px rgba(0, 86, 179, 0.10);
  border: 1.5px solid #007bff;
  text-shadow: 0 2px 6px rgba(0,86,179,0.09);
} 

.symbol-board-controls {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.6), rgba(230, 240, 255, 0.6));
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-radius: 0 0 12px 12px;
  position: sticky;
  top: 65px;
  z-index: 999;
  margin-bottom: 20px;
}

.textarea-container {
  position: relative;
  width: 100%;
  max-width: 100%;
}

.symbol-board-textarea {
  padding: 16px;
  font-size: 22px;
  border: 3px solid #007bff;
  border-radius: 18px;
  width: 100%;
  resize: vertical;
  box-sizing: border-box;
  background: #fff;
  margin-bottom: 10px;
} 

.textarea-buttons {
  position: absolute;
  right: 10px;
  bottom: 10px;
  top: auto;
  transform: none;
  display: flex;
  gap: 8px;
  z-index: 2;
}

.textarea-buttons button {
  display: inline-block;
  box-sizing: border-box;
  margin-bottom: -12px !important;
  background: linear-gradient(174deg, #007bff 0%, #4361ee 100%) !important;
}


.button {
  background: #007bff!important;
  border: 2px solid #007bff;
  border-radius: 16px;
  padding: 10px 32px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  margin-left: 8px;
  box-shadow: 0 4px 24px 0 rgba(194,24,139,0.10), 0 1.5px 0 #fff inset;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.18s cubic-bezier(.4,2,.6,1), box-shadow 0.18s;
  outline: none;
}


.button:hover, .button:focus {
  background: rgba(194,24,139,0.12);
  color: #007bff;
  box-shadow: 0 6px 32px 0 rgba(194,24,139,0.18), 0 2px 0 #fff inset;
  border-color: #7928ca;
}

.button:active {
  background: rgba(194,24,139,0.22);
  box-shadow: 0 2px 8px 0 rgba(194,24,139,0.18) inset;
  color: #007bff;
}

.button:hover, .button:focus {
  background: rgba(194,24,139,0.22);
  color: #fff;
  box-shadow: 0 6px 32px 0 rgba(194,24,139,0.22), 0 2px 0 #fff inset;
  border-color: #007bff;
  transform: translateY(-2px) scale(1.04);
}



.button {
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  margin: 8px;
}

.symbols-container {
  text-align: center;
}

.symbols-title {
  font-size: 24px;
  margin-bottom: 16px;
  color: #007bff;
  font-weight: 700;
  margin-top: 10px;
}
.hero-title {
  font-size: 2.8rem;
  color: #007bff;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 16px;
  text-shadow: 0 2px 8px #f0f8ff;
}
.hero-desc {
  font-size: 1.25rem;
  color: #555;
  margin-bottom: 20px;
} 

.symbols {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  text-decoration: none;
}

.symbol {
  transition: transform 0.18s, box-shadow 0.18s;
  box-shadow: 0 1px 6px rgba(0,123,255,0.06);
  background: #fafaff;
  border: 1.5px solid #e0e0e0;
  font-size: 2rem;
  margin: 8px;
  font-family: inherit;
  border-radius: 8px;
  position: relative;
  cursor: pointer;
  user-select: none;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 60px;
  min-height: 60px;
  text-decoration: none;
}
.symbol:hover, .symbol:focus {
  transform: scale(1.18) rotate(-3deg);
  background: #cfe2ff;
  box-shadow: 0 4px 18px #007bff33;
  border-color: #007bff;
  outline: none;
  cursor: pointer;
} 

.related-symbols-container {
  text-align: center;
}

.my-related-symbol {
  font-size: 24px;
  position: relative;
  cursor: pointer;
  user-select: none;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60px;
  margin: 8px;
  border-radius: 8px;
  transition: transform 0.2s;
  flex-wrap: wrap;
  text-decoration: none;
}

.related-symbol {
  --color: #55758e;
  --hover-color: #3b5c72;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  margin:5px;
  padding: 3px 2px 1px 2px;
  background: var(--color);
  border-radius: 8px;
  color: #fff !important;
  text-decoration: none !important;
  font-size: 18px;
  font-weight: bold;
  border: 2px solid #fff;
  box-shadow: 0px 2px 4px #ccc;
  transition: all 0.3s ease-in-out;
}

.related-symbol:hover {
  background: var(--hover-color);
  transform: translateY(-3px);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.related-symbol.disabled {
  color: #d3d3d3;
  pointer-events: none;
  text-decoration: none;
}

.symbol:hover {
  transform: scale(1.1);
}

.additional-symbol-categories {
  margin-top: 50px;
  margin-bottom: 50px;
  text-align: center;
}

.symbol-categories-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.symbol-category {
  appearance: none;
  background-color: #FAFBFC;
  border: 1px solid rgba(27, 31, 35, 0.15);
  border-radius: 6px;
  box-shadow: rgba(27, 31, 35, 0.04) 0 1px 0, rgba(255, 255, 255, 0.25) 0 1px 0 inset;
  box-sizing: border-box;
  color: #24292E;
  cursor: pointer;
  display: inline-block;
  font-family: -apple-system, system-ui, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
  font-size: 20px;
  margin: 5px;
  font-weight: 500;
  line-height: 20px;
  list-style: none;
  padding: 6px 16px;
  position: relative;
  transition: background-color 0.2s cubic-bezier(0.3, 0, 0.5, 1);
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
  vertical-align: middle;
  white-space: nowrap;
  word-wrap: break-word;
}

.symbol-category:hover {
  background-color: #bbdefb;
}

.symbol-category a {
  text-decoration: none;
  color: inherit;
}

.symbol-category a:hover {
  color: #0056b3;
}

.coolsymbolshub-about-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
  overflow-x: auto;
}

.coolsymbolshub-about-table th, .coolsymbolshub-about-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

.coolsymbolshub-about-table th {
  background-color: #f4f4f4;
  color: #333;
}

.coolsymbolshub-about-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.coolsymbolshub-about-table tbody tr:hover {
  background-color: #f1f1f1;
}

.coolsymbolshub-about-table tbody tr td:first-child {
  background-color: #ffffff;
}

.coolsymbolshub-about-table tbody tr td:nth-child(2) {
  background-color: #f7f7f7;
}

.coolsymbolshub-about-table tbody tr td:last-child {
  background-color: #f0f0f0;
}

.section-title {
  color: #333;
  margin-bottom: 10px;
  text-align: center;
}

.section-subtitle {
  color: #333;
  margin-bottom: 10px;
  text-align: center;
}
.section-description {
  text-align: center;
  color: #777;
  margin-bottom: 20px;
}

h4 {
  text-align: center;
  color: #333;
  margin-top: 20px;
}

p, ul {
  color: #555;
}

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

ul.section-description li {
  list-style: none;
  margin: 12px 0 12px 0;
  padding-left: 0;
  display: flex;
  align-items: flex-start;
}

ul li {
  margin-bottom: 10px;
  padding-left: 20px;
  position: relative;
}

ul li:before {
  content: "•";
  color: #333;
  position: absolute;
  left: 0;
}

@media (max-width: 1200px) {
  .coolsymbolshub-about-table th, .coolsymbolshub-about-table td {
    font-size: 14px;
  }
}

@media (max-width: 992px) {
  .coolsymbolshub-about-table th, .coolsymbolshub-about-table td {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .coolsymbolshub-about-table th, .coolsymbolshub-about-table td {
    font-size: 10px;
  }
}

@media (max-width: 576px) {
  .coolsymbolshub-about-table th, .coolsymbolshub-about-table td {
    font-size: 8px;
  }
}

.faq-section {
  margin-top: 40px;
  background-color: #e3f2fd;
  padding: 32px;
  border-radius: 8px;
}
.faq-grid > div {
  background: #fafaff;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(0,0,0,0.05);
  margin: 10px 0;
  padding: 18px 16px;
  transition: box-shadow 0.2s;
}
.faq-grid > div:hover {
  box-shadow: 0 6px 24px #007bff22;
} 

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  text-align: left;
}

.faq-title {
  font-size: 20px;
  margin-bottom: 8px;
  color: #0056b3;
}

.footer {
  background: linear-gradient(90deg, #fff 60%, #e6f7ff 100%);
  border-radius: 18px 18px 0 0;
  margin-top: 32px;
  padding: 16px;
  box-shadow: 0 -2px 8px rgba(0,123,255,0.07);
  text-align: center;
}

.footer-text {
  margin: 0;
  color: #555;
}

.footer-nav {
  display: flex;
  justify-content: center;
  margin-top: 8px;
  flex-wrap: wrap;
}

.footer-link {
  color: #007bff;
  text-decoration: none;
  margin: 8px;
}

.footer-link:hover {
  color: #0056b3;
}

@media screen and (max-width: 992px) {
  .header-container {
    padding: 0 15px;
  }
  .site-logo {
    height: 40px;
  }
  .site-name {
    font-size: 22px;
  }
  .nav-menu {
    gap: 10px;
  }
  .nav-item {
    padding: 8px 12px;
    font-size: 14px;
  }
}

@media screen and (max-width: 768px) {
  body {
    padding-top: 60px;
  }
  .header.unified-header {
    padding: 8px 0;
  }
  .header-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .site-brand {
    margin-bottom: 5px;
  }
  .site-logo {
    height: 35px;
  }
  .site-name {
    font-size: 20px;
  }
  .nav-menu {
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: 100%;
  }
  .nav-item {
    padding: 6px 10px;
    font-size: 13px;
  }
  .symbol-board-controls {
    top: 100px;
    border-radius: 12px;
  }
  .symbol-board-textarea {
    width: 100%;
    margin-bottom: 16px;
  }
}

@media (prefers-color-scheme: dark) {
  body {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #e6e6e6;
  }
  .header.unified-header {
    background: linear-gradient(135deg, rgba(22, 33, 62, 0.93), rgba(15, 52, 96, 0.93));
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-bottom: 1.5px solid rgba(255, 255, 255, 0.09);
    box-shadow: 0 6px 24px rgba(0,0,0,0.33);
  }
  .site-name {
    color: #ff7ecb;
    text-shadow: 0 2px 6px rgba(255,126,203,0.16), 0 1px 0 #233;
  }

/* Full-width responsive header - Unified Modern Version */
.main-header {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 3vw;
  background: #fff;
  border-bottom: 1px solid #eee;
  box-sizing: border-box;
  position: relative;
  z-index: 100;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-left a {
  text-decoration: none;
  color: inherit;
}
.site-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 6px #007bff22;
}
.site-name {
  font-weight: bold;
  color: #007bff;
  font-size: 1.3rem;
  letter-spacing: 1px;
}
.main-nav {
  display: flex;
  gap: 24px;
}
.main-nav a {
  color: #7928ca;
  font-size: 1.08rem;
  font-weight: 600;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover {
  background: #f2e7fa;
  color: #007bff;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #7928ca;
  margin-left: 16px;
  cursor: pointer;
}
@media (max-width: 700px) {
  .main-header {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    padding: 10px 2vw;
    position: relative;
  }
  .header-left {
    gap: 10px;
  }
  .site-logo {
    width: 32px;
    height: 32px;
  }
  .site-name {
    font-size: 1.1rem;
  }
  .menu-toggle {
    display: block;
    margin-left: 10px;
    z-index: 1100;
  }
  .main-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 0;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    border-top: 1px solid #eee;
    box-sizing: border-box;
    z-index: 1000;
  }
  .main-nav a {
    width: 100%;
    padding: 16px 24px;
    font-size: 1.12rem;
    border-radius: 0;
    border-bottom: 1px solid #eee;
    box-sizing: border-box;
  }
  .main-nav a:last-child {
    border-bottom: none;
  }
  .main-nav a:hover {
    background: #f8f8f8;
    color: #007bff;
  }
  .main-nav.nav-open {
    display: flex;
  }
}

  .nav-item {
    color: #ff7ecb;
    background: linear-gradient(135deg, rgba(67, 97, 238, 0.88), rgba(58, 12, 163, 0.80));
    border: 1.5px solid rgba(67, 97, 238, 0.19);
    text-shadow: 0 2px 6px rgba(255,126,203,0.16);
    font-size: 17px;
  }
  .nav-item:hover {
    color: #fff;
    background: linear-gradient(135deg, rgba(67, 97, 238, 1), rgba(58, 12, 163, 0.97));
    border: 1.5px solid #4361ee;
    text-shadow: 0 3px 8px rgba(67,97,238,0.19);
  }
  .symbol-board-controls {
    background: linear-gradient(135deg, rgba(22, 33, 62, 0.86), rgba(15, 52, 96, 0.83));
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.22);
  }
  .symbol, .about-box {
    background-color: #0f3460;
    color: #e6e6e6;
    border: 2px solid #4361ee;
  }
}

/* === Modern Copy Notification === */
.copy-success {
  display: none;
  position: fixed;
  top: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: #7928ca;
  color: #fff;
  padding: 12px 32px;
  border-radius: 24px;
  font-size: 1.1rem;
  font-weight: 600;
  z-index: 2000;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, top 0.3s;
}
.copy-success.show {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 700px) {
  .main-nav.nav-open ~ .copy-success,
  body.nav-open .copy-success {
    top: 180px;
  }
  body.nav-open .symbol-board-controls {
    margin-top: 110px !important;
  }
}

.copy-success.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-10px);
}
.copy-success::before {
  content: '✓ ';
  font-weight: bold;
  margin-right: 5px;
}

/* HEADER CLEANUP */
/* Remove or comment out these unused/conflicting styles:
.header.unified-header, .header-container, .site-brand, .nav-menu, .nav-item
*/

/* Main header styles for your HTML structure */
.main-header {
  width: 100%;
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 3vw;
  background: #fff;
  border-bottom: 1px solid #eee;
  box-sizing: border-box;
  position: relative;
  z-index: 100;
}
.header-left {
  display: flex;
  align-items: center;
  gap: 11px;
}
.header-left a {
  text-decoration: none;
  color: inherit;
}
.site-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 6px #007bff22;
}
.site-name {
  font-weight: bold;
  color: #007bff;
  font-size: 1.18rem;
  letter-spacing: 1px;
}
.main-nav {
  display: flex;
  gap: 20px;
}
.main-nav a {
  color: #7928ca;
  font-size: 1.04rem;
  font-weight: 600;
  text-decoration: none;
  padding: 4px 9px;
  border-radius: 7px;
  transition: background 0.15s, color 0.15s;
}
.main-nav a:hover {
  background: #f2e7fa;
  color: #007bff;
}
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #7928ca;
  margin-left: 10px;
  cursor: pointer;
}
@media (max-width: 700px) {
  .main-header {
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    min-height: 48px;
    padding: 8px 2vw;
  }
  .header-left {
    gap: 7px;
  }
  .site-logo {
    width: 26px;
    height: 26px;
  }
  .site-name {
    font-size: 1rem;
  }
  .menu-toggle {
    display: block;
    z-index: 1100;
  }
  .main-nav {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 0;
    box-shadow: 0 3px 8px rgba(0,0,0,0.1);
    border-top: 1px solid #eee;
    box-sizing: border-box;
    z-index: 1000;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
  }
  .main-nav.nav-open {
    display: flex;
  }
  .main-nav a {
    width: 100%;
    padding: 12px 3vw;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 0;
    box-sizing: border-box;
    font-size: 1rem;
  }
  .main-nav a:last-child {
    border-bottom: none;
  }
  .main-nav a:hover {
    background: #f8f8f8;
    color: #007bff;
  }
}