body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #8247E5 0%, #00FFBD 100%);
  background-attachment: fixed;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.landing-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  
  min-height: 80vh;
}

.logo-meme img {
  width: 150px;
  height: auto;
  border-radius: 18px;
}

.title-main {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 2px;
  color: #fff;
  text-shadow: 0 2px 18px #00FFBD66;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 1.4rem;
  color: #ffffffcc;
  margin-bottom: 18px;
}

.token-address-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(255,255,255,0.23);
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 1.06em;
  color: #1e0940;
  margin-bottom: 26px;
  user-select: all;
  flex-wrap: wrap;
}

.token-addr {
  font-family: monospace;
  letter-spacing: 1px;
  color: #8247E5;
  font-size: 1em;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
}

.copy-btn {
  background: #fef083;
  border: none;
  border-radius: 7px;
  color: #1e0940;
  cursor: pointer;
  padding: 4px 8px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 1.06em;
  transition: background 0.13s;
}

.copy-btn:hover {
  background: #8247E5;
  color: #fff;
}

.copied-label {
  font-size: 0.98em;
  color: #18be8d;
  margin-left: 10px;
  opacity: 1;
  animation: fadeInOut 2s;
}

@keyframes fadeInOut {
  0% { opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; }
}

.info-card {
  background: rgba(255,255,255,0.16);
  color: #2e175c;
  border-radius: 15px;
  padding: 20px 22px 14px 22px;
  margin: 0 auto 22px auto;
  max-width: 600px;
  box-shadow: 0 2px 12px #8247e51b;
  font-size: 1.07em;
}

.info-card h3 { color:#8247E5;margin-top:0;margin-bottom:11px;}
.info-card ul, .info-card ol { padding-left:22px; margin:0 0 6px 0;}

.market-data-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px 20px;
  background: rgba(255,255,255,0.12);
  border-radius: 11px;
  padding: 15px 7px 5px 7px;
  margin: 17px 0 0 0;
  font-size: 1.06em;
  list-style: none;
  box-sizing: border-box;
  text-align: center;
}

.market-item-label {
  color: #51218b;
  font-weight: 600;
  font-size: 1em;
  margin-bottom: 2px;
  letter-spacing: 0.01em;
}

.market-item-value {
  color: #fff;
  font-family: monospace;
  font-size: 1.03em;
  font-weight: bold;
  margin-top: 3px;
}

.landing-buttons {
  display: flex;
  gap: 22px;
  margin-bottom: 34px;
  flex-wrap: wrap;
  justify-content: center;
}

.landing-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.5rem;
  background: linear-gradient(90deg, #00FFBD 0%, #8247E5 100%);
  color: #fff;
  border: none;
  border-radius: 20px;
  padding: 18px 38px;
  font-weight: 700;
  box-shadow: 0 6px 26px rgba(0,255,189,0.14);
  cursor: pointer;
  transition: background 0.15s, transform 0.11s, box-shadow 0.14s;
  margin-bottom: 8px;
  min-width: 140px;
  justify-content: center;
}

.landing-btn:hover {
  background: linear-gradient(90deg, #8247E5 0%, #00FFBD 100%);
  transform: scale(1.06);
  box-shadow: 0 10px 40px #00FFBD33, 0 4px 24px #8247E533;
}

.socials-btm {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin: 38px auto 14px auto;
  width: 100vw;
}

.social-btn {
  background: #fff;
  border-radius: 50%;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px #8247E599;
  font-size: 2rem;
  color: #8247E5;
  text-decoration: none;
  transition: box-shadow 0.14s, background 0.13s;
}

.social-btn:hover {
  background: #00FFBD;
  color: #fff;
  box-shadow: 0 4px 22px #00FFBD77;
}

/* Popup Modal */
.modal-bg {
  position: fixed;
  z-index: 99;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(30,16,60,0.78);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.28s;
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-content {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 38px #8247E533;
  padding: 38px 32px 24px 32px;
  max-width: 410px; width: 94vw;
  text-align: center;
  position: relative;
  animation: popupZoom .22s;
}

@keyframes popupZoom {
  from { transform: scale(0.85); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.close-btn {
  position: absolute; top:14px; right:18px;
  font-size: 2.3rem; color: #8247E5; cursor: pointer;
  font-weight: bold; transition: color 0.13s;
}

.close-btn:hover { color: #f44; }

.leader-table {width:100%;margin-top:6px;border-spacing:0;}
.leader-table th, .leader-table td {padding:4px 2px;font-size:1em;}
.leader-table th {color:#8247E5;text-align:left;}
.leader-table td {color:#391656;}
.leader-table tr:nth-child(even) {background:#f8f4fd;}

/* Spin Wheel Canvas responsive */
#spinwheel {
  max-width: 98vw;
  max-height: 300px;
  display: block;
  margin: 0 auto 18px auto;
  background: transparent;
}

@media (max-width: 600px) {
  .landing-center {
    min-height: unset;
    padding: 3vw 0 12vw 0;
  }
  .logo-meme img {
    width: 120px !important;
    height: auto;
    border-radius: 11px;
  }
  .title-main {
    font-size: 1.3em;
    margin-bottom: 8px;
    letter-spacing: 1px;
  }
  .subtitle {
    font-size: 0.97em;
    margin-bottom: 14px;
  }
  .token-address-row {
    font-size: 0.97em;
    padding: 6px 2vw;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 5px;
  }
  .landing-btn {
    font-size: 1.5em;
    padding: 12px 9vw;
    border-radius: 14px;
    margin-bottom: 8px;
    min-width: 110px;
    width: 92vw;
    max-width: 320px;
    justify-content: center;
  }
  .landing-buttons {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
    width: 100%;
    align-items: center;
  }
  .info-card {
    font-size: 0.99em;
    padding: 14px 3vw 12px 3vw;
    margin-bottom: 15px;
    width: 96vw;
    max-width: 400px;
  }
  .market-data-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px 7px;
    font-size: 0.98em;
    padding: 10px 4px 4px 4px;
  }
  .socials-btm {
    gap: 12px;
    margin-top: 16px;
    margin-bottom: 10px;
    width: 100vw;
  }
  .social-btn {
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }
  .modal-content {
    padding: 6vw 3vw 6vw 3vw;
    max-width: 98vw;
  }
  .close-btn {
    font-size: 1.55rem;
    top: 6px;
    right: 10px;
  }
  .leader-table th, .leader-table td {
    font-size: 0.93em;
    padding: 4px 2px;
  }
  #spinwheel {
    max-width: 95vw;
    max-height: 180px;
  }
}

.info-card, .donate-section {
  text-align: left;
}
.info-card h2, .info-card h3, .donate-section h2 {
  text-align: center;
}
.donate-section .landing-btn {
  display: inline-block;
  margin: 0 auto;
}

#donate-section {
  background: #fff6f9;
  padding: 20px;
  border-radius: 12px;
  margin: 20px auto;
  max-width: 600px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  font-family: Arial, sans-serif;
}

#donate-section h2 {
  color: #e85959;
  text-align: center;
  margin-bottom: 10px;
}

.donate-address {
  text-align: center;
  font-size: 16px;
  margin: 10px 0;
}

.donate-address code {
  background: #f0f0f0;
  padding: 4px 8px;
  border-radius: 6px;
  display: inline-block;
  margin-top: 5px;
  font-family: monospace;
}

.donate-buttons {
  text-align: center;
  margin: 15px 0;
}

.donate-buttons button,
.donate-buttons a {
  background-color: #e85959;
  color: white;
  border: none;
  padding: 8px 16px;
  margin: 5px;
  border-radius: 8px;
  text-decoration: none;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
}

.donate-buttons button:hover,
.donate-buttons a:hover {
  background-color: #d14545;
}

.donate-message {
  font-size: 15px;
  line-height: 1.5;
  margin-top: 15px;
  color: #333;
}

.donate-message ul {
  padding-left: 20px;
  margin: 10px 0;
}

@media (max-width: 600px) {
  .landing-btn {
    margin-top: 8px !important;
    width: 95%;
    max-width: 330px;
  }
  .donate-section .landing-btn {
    margin-right: 0 !important;
    margin-left: 0 !important;
    display: block;
  }
}
.token-addr-box {
  display: inline-block;
  max-width: 100%;
  border-radius: 7px;
  padding: 7px 11px;
  font-family: monospace;
  font-size: 1.08em;
  color: #6b34bb;
  word-break: break-all;
  overflow-wrap: anywhere;
}
.copy-btn {
  margin-left: 7px;
  font-size: 0.99em;
  padding: 3px 11px;
  border-radius: 8px;
  background: #f3f0fd;
  color: #7045c5;
  border: none;
  cursor: pointer;
}
@media (max-width: 600px) {
  .token-addr-box {
    font-size: 0.97em;
    padding: 8px 6px;
    max-width: 97vw;
  }
}

#mainMenuPopup {
  display: none;
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(60,24,80,0.13);
  z-index: 120;
  justify-content: flex-start;
  align-items: stretch;
}
.gmeow-menu-sheet {
  background: #fff;
  width: 84vw; max-width: 340px;
  height: 100vh;
  box-shadow: 5px 0 28px #9b75ff33;
  display: flex;
  flex-direction: column;
  border-top-right-radius: 18px;
  border-bottom-right-radius: 18px;
  padding: 0;
  animation: gmeowMenuInL 0.17s;
}
@keyframes gmeowMenuInL {
  from { transform: translateX(-110%);}
  to { transform: translateX(0);}
}
.gmeow-menu-head {
  padding: 20px 15px 10px 23px;
  border-bottom: 1.5px solid #eee;
  display: flex; align-items: center; gap: 13px;
}
.gmeow-menu-title {
  font-size: 1.24em;
  font-weight: 700;
  color: #8247E5;
  letter-spacing: 1px;
}
.gmeow-menu-close {
  font-size: 1.52em;
  color: #F95FA4;
  cursor: pointer;
  line-height: 1;
  margin-right: 7px;
}
.gmeow-menu-list {
  padding: 25px 0 5px 13px;
  flex: 1;
  overflow-y: auto;
}
.gmeow-menu-link {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 1.19em;
  color: #6b2ccc;
  font-weight: 600;
  padding: 13px 0 13px 4px;
  border-radius: 0 10px 10px 0;
  text-decoration: none;
  margin-bottom: 2px;
  transition: background 0.14s, color 0.14s;
}
.gmeow-menu-link:active, .gmeow-menu-link:hover {
  background: #f6e6ff;
  color: #F95FA4;
}
.gmeow-menu-divider {
  height: 1px;
  width: 85%;
  background: #eee;
  margin: 16px 0 10px 0;
  border-radius: 1px;
}
@media (max-width:600px) {
  #topMenuBtn { top:10px; left:10px; right:auto; }
  .gmeow-menu-sheet { width: 97vw; max-width: 98vw;}
  .gmeow-menu-head { padding-left: 13px; }
}



.gmeow-footer-slogan {
  text-align: center;
  color: #a5a5b6;
  font-size: 1.04em;
  margin: 22px 0 14px 0;
  line-height: 1.6;
  word-break: break-word;
  padding: 0 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (max-width: 600px) {
  .gmeow-footer-slogan {
    font-size: 1em;
    margin: 20px 0 16px 0;
    padding: 0 7vw;
    line-height: 1.45;
  }
}

.icon-link {
    width: 24px;
    height: 24px;
    object-fit: contain;
    vertical-align: middle;
    margin-right: 8px; /* hoặc tuỳ chỉnh spacing */
    transition: filter 0.2s;
}
.icon-link:hover {
    filter: brightness(0.8);
}

@media (max-width:600px) {
  #topMenuBtn { top:10px; left:10px; right:auto; }
}

/* Khung nền popup */
.modal-bg {
  position: fixed;
  left: 0; top: 0;
  width: 100vw; height: 100vh;
  background: rgba(42,16,56,0.16);
  z-index: 99;
  display: none;
  align-items: center;
  justify-content: center;
}

/* Popup content chung */
.modal-content {
  background: #fff;
  border-radius: 17px;
  box-shadow: 0 10px 36px #8257e555;
  width: 400px;
  max-width: 97vw;
  min-width: 270px;
  padding: 28px 26px 18px 26px;
  margin: auto;
  position: relative;
  max-height: 95vh;
  overflow-y: auto;
}

/* Responsive riêng cho mobile */
@media (max-width: 600px) {
  .modal-content {
    width: 98vw !important;
    max-width: 99vw !important;
    min-width: unset;
    padding: 18vw 3vw 11vw 3vw;
    box-sizing: border-box;
    border-radius: 13px;
    max-height: 98vh;
  }
  .modal-bg {
    align-items: flex-start;
    padding-top: 4vw;
  }
}
.social-btn img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 1px 5px #0001;
  background: #fff;
  margin: 0 2px;
  transition: transform 0.1s;
  vertical-align: middle;
}
.social-btn:hover img { transform: scale(1.11);}

/* Popup Meme Hunt */
.modal-bg {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  overflow: auto;
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 8px;
  width: 90%;
  max-width: 500px;
  text-align: center;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 20px;
  color: #333;
  cursor: pointer;
}

.meme-hunt-message {
  font-size: 1.2em;
}

.meme-hunt-message h2 {
  font-size: 1.5em;
  margin-bottom: 20px;
  color: #8247E5;
}

.meme-hunt-message p {
  margin: 10px 0;
}


