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

body {
  font-family: "Urbanist", sans-serif;
  background-color: rgb(26, 26, 26);
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
}

.container {
  width: 100%;
  max-width: 500px;
  height: 100vh;
  margin: 0 auto;
  position: relative;
  box-shadow: 0 0 30px 12px rgba(255,140,0,0.17), 0 0 70px 25px rgba(255,140,0,0.1);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.header {
  background: linear-gradient(180deg, #1a1a1a 0%, #0f0f0f 100%);
  padding: 12px 0;
  text-align: center;
  border-bottom: 2px solid #ff9500;
}

.title {
  font-family: "Urbanist", sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
  color: #f07b0e;
  margin: 0;
  line-height: 1.2;
  letter-spacing: 0.5px;
  text-shadow: 0 0 5px rgba(240,123,14,0.5);
  animation: glowText 2s ease-in-out infinite;
}

.main-instruction {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  color: #ffe680;
  font-size: 1.43rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-align: center;
  margin: 24px 0 16px 0;
  padding: 0 !important;
  display: block;
  animation: floatInstruction 2.3s ease-in-out infinite;
}

.main-description {
  color: #ffd779;
  font-size: 1rem;
  font-weight: 400;
  text-align: center;
  margin: 6px 0 18px 0;
  line-height: 1.44;
  background: none;
}


@keyframes floatInstruction {
  0%   { transform: translateY(0);}
  35%  { transform: translateY(-7px);}
  65%  { transform: translateY(7px);}
  100% { transform: translateY(0);}
}

.content {
  flex: 1;
  background-color: #000;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 20px 0;
}

.background-image {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url("https://cryptomaker.us/user/assets/images/main-bg-img-2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.25;
  z-index: 1;
}

.logo-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  display: flex;
  flex: 0 0 auto;
  justify-content: center;
  align-items: center;
}
.logo-container {
  display: flex;
  width: 100%;
  justify-content: center;
  align-items: center;
}
.logo {
  margin: 0 auto;
  display: block;
  width: 180px;
  height: 180px;
  object-fit: contain;
}
.logo-gap {
  flex: 0 0 50px;
  min-height: 8px;
}

.telegram-support, .referral-section {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 450px;
  margin-bottom: 16px;
}

.section-title {
  color: #ff9500;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 9px;
  letter-spacing: 0.5px;
}

.tg-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 8px;
}

.tg-btn {
  width: 100%;
  padding: 16px 12px;
  background: #229ED9;
  color: #fff;
  border: none;
  border-radius: 7px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  box-shadow: 0 2px 7px rgba(34,158,217,0.13);
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.22s;
  display: flex;
  align-items: center;
  gap: 7px;
  justify-content: center;
}
.tg-btn:hover {
  background: #35b6ef;
  box-shadow: 0 4px 16px rgba(34,158,217,0.28);
}
.tg-btn:active {
  background: #1882b7;
}
.tg-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.referral-box {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}
.referral-url {
  flex: 1;
  font-size: 0.91rem;
  padding: 7px 12px;
  border: 1.2px solid #ffae0e;
  border-radius: 6px;
  background: #1a1410;
  color: #ffae42;
  outline: none;
  font-family: 'Courier New', monospace;
}
.copy-btn {
  padding: 7px 18px;
  background: #ff9500;
  color: #fff;
  font-size: 0.97rem;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.23s;
  white-space: nowrap;
}
.copy-btn:hover {
  background: #ffb84d;
}
.copy-btn:active {
  background: #e68400;
}
.copy-message {
  display: none;
  color: #4caf50;
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 5px;
}

@media (max-width: 600px) {
  .container {
    max-width: 100vw;
  }
  .main-instruction {
    font-size: 1.1rem;
    margin: 10px 0 10px 0;
  }
  .logo {
    width: 120px;
    height: 120px;
  }
  .tg-btn {
    padding: 14px 10px;
    font-size: 0.9rem;
  }
}

@media (min-width: 1200px) {
  .title {
    font-size: 1.5rem;
  }
}

@media (max-width: 430px) {
  .title {
    font-size: 1.1rem;
  }
  .logo {
    width: 90px;
    height: 90px;
  }
  .tg-btn {
    font-size: 0.87rem;
    padding: 12px 8px;
  }
  .section-title {
    font-size: 0.94rem;
  }
}

@media (max-width: 375px) {
  .title {
    font-size: 1rem;
  }
  .logo {
    width: 110px;
    height: 110px;
  }
}
