@font-face {
  font-family: 'PingFang SC';
  src: url('../fonts/PingFangSC.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'YouSheBiaoTiHei';
  src: url('../fonts/YouSheBiaoTiHei.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  display: flex;
  justify-content: center;
  background: #f3f7fd;
}

* {
  box-sizing: border-box;
}

img {
  display: block;
  margin: 0 auto;
}

/* Landing Page Styles - Flexbox Layout */
.main-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  width: 100%;
  max-width: 550px;
  margin: 0 auto;
  background: #f3f7fd;
  position: relative;
  box-sizing: border-box;
}

/* Background decoration */
.bg-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image: url('../imgs/background-decoration.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* Logo section */
.logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 40px;
  width: 194px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
  z-index: 10;
  right: 10px;
}

.logo-section .domain-text {
  position: absolute;
  bottom: 0;
  right: 0;
}

.logo {
  width: 194px;
  height: 86px;
  max-width: 100%;
}

.domain-text {
  font-size: 17px;
  font-weight: 600;
  color: #c78b32;
  background: linear-gradient(to bottom, #c78b32 15%, #9c7336 117%);
  background-clip: text;
  letter-spacing: 1px;
  margin-top: 12px;
  line-height: 18.6px;
}

/* Main title */
.main-title {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-bottom: 47px;
  z-index: 10;
}

.main-title h1 {
  font-size: 34.7px;
  font-weight: normal;
  font-family: 'YouSheBiaoTiHei', 'PingFang SC', sans-serif;
  background: linear-gradient(to bottom, #34425b, #131827);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: rgba(0, 0, 0, 0.25) 0px 1.6px 0.64px;
  letter-spacing: 0.43px;
  margin: 0;
  line-height: normal;
}

/* Game showcase */
.game-showcase {
  display: flex;
  justify-content: center;
  z-index: 5;
  overflow: hidden;
}

.game-showcase > img {
  width: 100%;
  position: relative;
  right: -24px;
}


/* Contact button */
.contact-section {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
  z-index: 10;
}

.contact-btn {
  position: relative;
  width: 314px;
  max-width: 100%;
  height: 38px;
  background: linear-gradient(to right, #2c67d0 6.4%, #9cc0ff 47%, #0348c0 94.9%);
  border: none;
  border-radius: 7px;
  cursor: pointer;
  overflow: hidden;
}

.contact-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, #73b2ff, #3981ff);
  border-radius: 6.4px;
  box-shadow:
    0px -1.3px 1.3px 0px inset #275ec1,
    0px 1.6px 1.6px 0px inset #93c7ff;
}

.btn-text {
  position: relative;
  color: white;
  font-size: 12.7px;
  font-weight: 600;
  font-family: 'PingFang SC', sans-serif;
  z-index: 2;
}

.btn-icons {
  position: absolute;
  top: 3px;
  left: 16px;
  width: 281px;
  height: 32px;
  z-index: 1;
}



/* Footer domain */
.footer-domain {
  display: flex;
  /* flex-direction: column; */
  align-items: center;
  justify-content: center;
  /* text-align: center; */
  z-index: 10;
}

.domain-label {
  font-size: 16px;
  color: #333333;
  font-family: 'Helvetica', 'Noto Sans JP', 'Noto Sans SC', sans-serif;
}

.domain-name {
  font-size: 20px;
  color: #333333;
  font-weight: 400;
  font-family: 'Helvetica', 'Noto Sans JP', 'Noto Sans SC', sans-serif;
}

/* Contact Popup Modal Styles - New Design */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.modal-overlay.show {
  display: flex;
}

.modal-container {
  background: white;
  border-radius: 6.949px;
  width: 314px;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-header {
  position: relative;
  padding: 20px 0;
  text-align: center;
  border-bottom: none;
}

.modal-back {
  position: absolute;
  left: 10px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
}


.back-icon {
  width: 15px;
  height: 15px;
}

.modal-title {
  color: #424f72;
  font-size: 16.677px;
  font-weight: 600;
  margin: 0;
  font-family: 'PingFang SC', sans-serif;
}

.modal-content {
  padding: 0 12px 12px 12px;
}

.service-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #d9e5fd;
  border-radius: 6.949px;
  padding: 12px 16px;
  margin-bottom: 11px;
  height: 48.641px;
}

.service-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.service-icon {
  width: 20.846px;
  height: 20.846px;
}

.service-label {
  color: #424f72;
  font-size: 13px;
  font-weight: 600;
  font-family: 'PingFang SC', sans-serif;
}

.service-btn {
  background: linear-gradient(to right, #2c67d0 6.431%, #9cc0ff 46.959%, #0348c0 94.855%);
  border: none;
  border-radius: 6.949px;
  color: white;
  font-size: 13px;
  font-weight: 600;
  font-family: 'PingFang SC', sans-serif;
  padding: 6px 16px;
  cursor: pointer;
  width: 71.572px;
  height: 29.502px;
  position: relative;
  overflow: hidden;
}

.service-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, #73b2ff, #3981ff);
  border-radius: 6.365px;
  box-shadow:
    0px -1.273px 1.273px 0px inset #275ec1,
    0px 1.591px 1.591px 0px inset #93c7ff;
}

.service-btn span {
  position: relative;
  z-index: 2;
}



.service-description {
  margin-bottom: 16px;
}

.service-description p {
  color: #424f72;
  font-size: 13px;
  font-weight: 600;
  font-family: 'PingFang SC', sans-serif;
  margin: 0 0 8px 0;
}

.service-id {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.service-id span:first-child {
  color: #424f72;
  font-size: 13px;
  font-weight: 600;
  font-family: 'PingFang SC', sans-serif;
}

.copy-link {
  color: #458bff;
  font-size: 13px;
  font-weight: 600;
  font-family: 'PingFang SC', sans-serif;
  cursor: pointer;
}

.copy-link:hover {
  opacity: 0.8;
  text-decoration: underline;
}

.download-app-btn {
  width: 100%;
  background: linear-gradient(to right, #2c67d0 6.431%, #9cc0ff 46.959%, #0348c0 94.855%);
  border: none;
  border-radius: 6.949px;
  color: white;
  font-size: 12.73px;
  font-weight: 600;
  font-family: 'PingFang SC', sans-serif;
  padding: 12px;
  cursor: pointer;
  height: 38.218px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.download-app-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, #73b2ff, #3981ff);
  border-radius: 6.365px;
  box-shadow:
    0px -1.273px 1.273px 0px inset #275ec1,
    0px 1.591px 1.591px 0px inset #93c7ff;
}

.download-app-btn span {
  position: relative;
  z-index: 2;
}

.download-icons {
  width: 90%;
  height: 24px;
  position: absolute;
  z-index: 2;
}

/* Copy feedback */
.copy-feedback {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #07c160 0%, #00d51a 100%);
  color: white;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  z-index: 10000;
  box-shadow: 0 8px 16px rgba(7, 193, 96, 0.3);
}
