.verification-page .verification {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow: hidden;
  color: var(--tg-text);
  background: radial-gradient(ellipse 90% 60% at 50% -30%, rgba(212, 175, 55, 0.18), transparent 60%), radial-gradient(ellipse 50% 40% at 90% 90%, rgba(139, 0, 0, 0.1), transparent), var(--tg-bg);
}
.verification-page .particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: url("./img/bgimg.webp") top center/cover no-repeat;
}
.verification-page .particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--tg-gold);
  opacity: 0;
  animation: particleRise linear infinite;
}
@keyframes particleRise {
  0% {
    transform: translateY(105vh) scale(0.5);
    opacity: 0;
  }
  15% {
    opacity: 0.35;
  }
  80% {
    opacity: 0.2;
  }
  100% {
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}
.verification-page .verification-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
  transition: opacity 0.35s ease;
  overflow-y: scroll;
  /* Hide scrollbar for IE, Edge and Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
  /* Hide scrollbar for Chrome, Safari and Opera */
}
.verification-page .verification-overlay::-webkit-scrollbar {
  display: none;
}
.verification-page .verification-card {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 440px;
  padding: 46px 38px 40px;
  margin: 50px 0;
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 28px;
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.13), transparent 45%), linear-gradient(165deg, #1c1b1a 0%, #11100f 50%, #0b0b0a 100%);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 60px rgba(212, 175, 55, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.verification-page .verification-card::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  width: 220px;
  height: 180px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.22), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.verification-page .verification-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100px;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--tg-gold-light), var(--tg-gold), transparent);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.5);
}
.verification-page .verification-title {
  position: relative;
  margin-bottom: 10px;
  color: var(--tg-gold-light);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
}
.verification-page .verification-text {
  margin: 0 auto 28px;
  color: var(--tg-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  text-align: center;
}
.verification-page .verification-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.verification-page .verification-form input.is-invalid {
  border-color: #e5484d !important;
  box-shadow: 0 0 0 1px rgba(229, 72, 77, 0.15);
  border: 1px solid rgba(220, 70, 70, 0.35);
}
.verification-page .form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.verification-page .form-group label {
  color: var(--tg-text);
  font-size: 0.875rem;
  text-align: left;
  letter-spacing: 0.4px;
}
.verification-page .form-group label span {
  color: #dc4646;
}
.verification-page .form-group input {
  width: 100%;
  min-height: 48px;
  padding: 12px 15px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 12px;
  outline: none;
  background: rgba(255, 255, 255, 0.045);
  color: var(--tg-text);
  font: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.verification-page .form-group input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.verification-page .form-group input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.verification-page .form-group input:hover {
  border-color: rgba(212, 175, 55, 0.4);
}
.verification-page .form-group input:focus {
  border-color: var(--tg-gold-light);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}
.verification-page .form-group small {
  display: block;
  color: #f5e6a3;
  font-size: 0.8rem;
  margin-top: 5px;
}
.verification-page .form-group .field-error {
  display: none;
  margin-top: 6px;
  color: #e5484d;
  font-size: 13px;
  line-height: 1.4;
}
.verification-page .form-group .field-error.visible {
  display: block;
}
.verification-page .optional {
  margin-left: 4px;
  color: var(--tg-muted) !important;
  font-size: 0.813rem;
  font-weight: 400;
}
.verification-page .affiliate-message {
  position: relative;
  margin: 0 0 22px;
  padding: 12px 15px;
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: center;
}
.verification-page .tg-verify-btn {
  position: relative;
  width: 100%;
  min-height: 50px;
  padding: 14px 34px;
  margin-top: 20px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 100px;
  background: linear-gradient(145deg, #fff3b0 0%, #f0d060 25%, #d4af37 60%, #a67c00 100%);
  color: #1a1408;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 5px 0 #7a5c00, 0 12px 30px rgba(212, 175, 55, 0.28), inset 0 2px 0 rgba(255, 255, 255, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.verification-page .tg-verify-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.verification-page .tg-verify-btn:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
  box-shadow: 0 8px 0 #7a5c00, 0 18px 38px rgba(212, 175, 55, 0.38), inset 0 2px 0 rgba(255, 255, 255, 0.6);
}
.verification-page .tg-verify-btn:hover::after {
  left: 130%;
}
.verification-page .tg-verify-btn:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #7a5c00, 0 7px 18px rgba(212, 175, 55, 0.22), inset 0 2px 0 rgba(255, 255, 255, 0.45);
}
.verification-page .tg-verify-btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
  filter: none;
}
.verification-page .tg-verify-btn.is-loading {
  cursor: wait;
}
.verification-page .tg-back-btn {
  width: 100%;
  min-height: 50px;
  position: relative;
  overflow: hidden;
  padding: 14px 34px;
  margin-top: 10px;
  border: 2px solid var(--tg-gold);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.28);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 100px;
  color: var(--tg-gold);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  display: block;
  text-align: center;
}
.verification-page .tg-back-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(148, 148, 148, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.verification-page .tg-back-btn:hover {
  filter: brightness(1.06);
}
.verification-page .tg-back-btn:hover::after {
  left: 130%;
}
.verification-page .tg-verification-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.verification-page .tg-verification-status {
  margin-top: 20px;
  padding: 12px;
  border-radius: 10px;
  display: none;
}
.verification-page .tg-verification-status.error {
  display: block;
  background: rgba(255, 50, 50, 0.15);
  border: 1px solid rgba(255, 50, 50, 0.3);
  color: #e5484d;
}
.verification-page .tg-verification-status.success {
  display: block;
  background: rgba(50, 255, 50, 0.15);
  border: 1px solid rgba(50, 255, 50, 0.3);
  color: #6bff6b;
}
.verification-page .tg-verification-status.info {
  display: block;
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #d4af37;
}
.verification-page .tg-verification-loading {
  text-align: center;
  margin-top: 20px;
}
.verification-page .tg-verification-loading p {
  color: #d4af37;
  margin-top: 10px;
  margin-bottom: 0px;
}
.verification-page .tg-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(212, 175, 55, 0.2);
  border-top: 4px solid #d4af37;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.verification-page .tg-verification-step {
  animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 520px) {
  .verification-page .affiliate {
    padding: 15px;
  }
  .verification-page .affiliate-card {
    padding: 35px 30px;
    border-radius: 22px;
  }
  .verification-page .affiliate-form {
    gap: 15px;
  }
  .verification-page .form-group input {
    min-height: 46px;
  }
}

.affiliate-user-profile {
  width: 100%;
  min-height: 100svh;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .affiliate-user-profile {
    background: #101010;
  }
}
.affiliate-user-profile-bg {
  width: calc(100% - 40px);
  min-height: calc(100svh - 40px);
  background: #101010;
  display: flex;
  justify-content: center;
  align-items: start;
  border-radius: 30px;
}
@media screen and (max-width: 768px) {
  .affiliate-user-profile-bg {
    width: 100%;
    min-height: 100svh;
    border-radius: 0px;
  }
}
.affiliate-user-profile-bg .s1 {
  width: 100%;
  min-height: calc(100svh - 40px);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
@media screen and (max-width: 768px) {
  .affiliate-user-profile-bg .s1 {
    width: 100%;
    min-height: 100svh;
  }
}
.affiliate-user-profile-bg .s1 .error-success-message {
  width: 90%;
  max-width: 430px;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  text-align: center !important;
  gap: 10px;
  position: fixed;
  top: 20px;
  z-index: 9999;
  animation: error-success-message2 0.25s linear;
}
@keyframes error-success-message2 {
  from {
    top: -50px;
  }
  to {
    top: 20px;
  }
}
.affiliate-user-profile-bg .s1 .error-success-message.success-message {
  background: #40d840;
  color: var(--tg-text);
}
.affiliate-user-profile-bg .s1 .error-success-message.error-message {
  background: #e5484d;
  color: var(--tg-text);
}
.affiliate-user-profile-bg .s1 .error-success-message .x-container {
  cursor: pointer;
  font-size: 1.2rem;
}
.affiliate-user-profile-bg .s1 .error-success-message .message-container {
  flex: 1;
}
.affiliate-user-profile-bg .s1 .error-success-message .message-container p {
  margin: 0;
}
.affiliate-user-profile-bg .s1 #errorMessages2 {
  width: 90%;
  max-width: 430px;
  color: var(--tg-text);
  background-color: #e5484d;
  border: 1px solid #e5484d;
  position: fixed;
  z-index: 999;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 5px;
  padding: 10px 20px;
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: error-success-message2 0.25s linear;
}
@keyframes error-success-message2 {
  from {
    top: -50px;
  }
  to {
    top: 20px;
  }
}
.affiliate-user-profile-bg .s1 #errorMessages2 .x-container2 {
  margin-bottom: 10px;
}
.affiliate-user-profile-bg .s1 #errorMessages2 .x-container2 i {
  cursor: pointer;
}
.affiliate-user-profile-bg .s1 #errorMessages2 p {
  color: var(--tg-text);
  font-weight: 300;
  margin: 0px;
  text-align: center;
}
.affiliate-user-profile-bg .s1_wrapper {
  margin: 50px 0;
  width: 768px;
}
@media screen and (max-width: 834px) {
  .affiliate-user-profile-bg .s1_wrapper {
    width: 90%;
  }
}
.affiliate-user-profile-bg .s1_wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.13), transparent 45%), linear-gradient(165deg, #1c1b1a 0%, #11100f 50%, #0b0b0a 100%);
  border-radius: 28px;
}
.affiliate-user-profile-bg .s1_wrapper form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
  gap: 20px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 60px rgba(212, 175, 55, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 28px;
}
.affiliate-user-profile-bg .s1_wrapper form .header_container {
  width: 100%;
  display: flex;
  flex-direction: column;
}
.affiliate-user-profile-bg .s1_wrapper form .header_container .top {
  width: 100%;
  color: var(--tg-text);
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 20px 0 15px 0;
}
.affiliate-user-profile-bg .s1_wrapper form .header_container .top h2 {
  font-weight: 400;
  font-size: 1.3em;
  margin-bottom: 0px;
  color: var(--tg-gold);
}
.affiliate-user-profile-bg .s1_wrapper form .header_container .top a {
  text-decoration: none;
}
.affiliate-user-profile-bg .s1_wrapper form .header_container .top a i {
  color: var(--tg-gold);
  font-size: 1em;
  cursor: pointer;
}
.affiliate-user-profile-bg .s1_wrapper form .header_container .divider {
  position: relative;
  width: 100%;
  height: 1px;
  margin: 5px 0 10px 0;
  background: linear-gradient(90deg, transparent, var(--tg-gold), transparent);
}
.affiliate-user-profile-bg .s1_wrapper form .header_container .divider::before, .affiliate-user-profile-bg .s1_wrapper form .header_container .divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 4px;
  height: 4px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--tg-gold);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}
.affiliate-user-profile-bg .s1_wrapper form .header_container .divider::before {
  left: 12px;
}
.affiliate-user-profile-bg .s1_wrapper form .header_container .divider::after {
  right: 12px;
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media screen and (max-width: 768px) {
  .affiliate-user-profile-bg .s1_wrapper form .fields_container {
    flex-direction: column;
    gap: 20px;
  }
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container {
  width: 47.5%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
@media screen and (max-width: 768px) {
  .affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container {
    width: 100%;
  }
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container label {
  color: var(--tg-text);
  font-size: 0.875rem;
  text-align: left;
  letter-spacing: 0.4px;
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container input {
  width: 100%;
  min-height: 48px;
  padding: 12px 15px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 12px;
  outline: none;
  background: rgba(255, 255, 255, 0.045);
  color: var(--tg-text);
  font: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container input:hover {
  border-color: rgba(212, 175, 55, 0.4);
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container input:focus {
  border-color: var(--tg-gold);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container {
  /* Chrome, Safari, Edge, Opera */
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container input[type=number]::-webkit-inner-spin-button,
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container {
  /* Firefox */
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container input[type=number] {
  -moz-appearance: textfield;
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container .password-input-wrapper {
  position: relative;
  width: 100%;
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container .password-input-wrapper input {
  padding-right: 50px;
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container .password-input-wrapper input::-ms-reveal, .affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container .password-input-wrapper input::-ms-clear {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container .password-input-wrapper input::-webkit-credentials-auto-fill-button {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  position: absolute;
  right: 0;
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container .password-input-wrapper .password-toggle {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--tg-muted);
  cursor: pointer;
  outline: none;
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container .password-input-wrapper .password-toggle i {
  font-size: 16px;
  transition: color 0.2s ease;
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container .password-input-wrapper .password-toggle:hover {
  color: var(--tg-gold);
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container .password-input-wrapper .password-toggle:focus-visible {
  border-radius: 6px;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.35);
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container .field-error {
  color: #ff6b6b;
  font-size: 0.85rem;
  margin-top: 5px;
  display: none;
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container .field-error.visible {
  display: block;
}
.affiliate-user-profile-bg .s1_wrapper form .fields_container .field_container .is-invalid {
  border-color: #ff6b6b !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2) !important;
}
.affiliate-user-profile-bg .s1_wrapper form .buttons_container {
  width: 100%;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0;
}
.affiliate-user-profile-bg .s1_wrapper form .buttons_container .button_container {
  flex: 1;
  min-width: 245px;
}
.affiliate-user-profile-bg .s1_wrapper form .buttons_container .button_container button,
.affiliate-user-profile-bg .s1_wrapper form .buttons_container .button_container .btn_investments {
  display: block;
  position: relative;
  width: 100%;
  min-height: 50px;
  padding: 14px 34px;
  margin-top: 0px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 100px;
  background: linear-gradient(145deg, #fff3b0 0%, #f0d060 25%, #d4af37 60%, #a67c00 100%);
  color: #1a1408;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  text-align: center;
}
.affiliate-user-profile-bg .s1_wrapper form .buttons_container .button_container button::after,
.affiliate-user-profile-bg .s1_wrapper form .buttons_container .button_container .btn_investments::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.affiliate-user-profile-bg .s1_wrapper form .buttons_container .button_container button:hover,
.affiliate-user-profile-bg .s1_wrapper form .buttons_container .button_container .btn_investments:hover {
  filter: brightness(1.06);
}
.affiliate-user-profile-bg .s1_wrapper form .buttons_container .button_container button:hover::after,
.affiliate-user-profile-bg .s1_wrapper form .buttons_container .button_container .btn_investments:hover::after {
  left: 130%;
}
.affiliate-user-profile-bg .s1_wrapper form .buttons_container .button_container .close {
  position: relative;
  overflow: hidden;
  min-height: 50px;
  padding: 14px 34px;
  border: 2px solid var(--tg-gold);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.28);
  background: rgba(255, 255, 255, 0.045);
  border-radius: 100px;
  color: var(--tg-gold);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  display: block;
  text-align: center;
}
.affiliate-user-profile-bg .s1_wrapper form .buttons_container .button_container .close::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(148, 148, 148, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.affiliate-user-profile-bg .s1_wrapper form .buttons_container .button_container .close:hover {
  filter: brightness(1.06);
}
.affiliate-user-profile-bg .s1_wrapper form .buttons_container .button_container .close:hover::after {
  left: 130%;
}

.affiliate-dashboard {
  width: 100%;
  min-height: 100svh;
  background: black;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 1150px) {
  .affiliate-dashboard {
    background: #101010;
  }
}
.affiliate-dashboard-bg {
  width: calc(100% - 40px);
  min-height: calc(100svh - 40px);
  background: #101010;
  display: flex;
  justify-content: center;
  align-items: start;
  border-radius: 30px;
}
@media screen and (max-width: 768px) {
  .affiliate-dashboard-bg {
    width: 100%;
    min-height: 100svh;
    border-radius: 0px;
  }
}
.affiliate-dashboard-bg .s1 {
  width: 100%;
  max-width: 1280px;
  padding: 50px 0 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.affiliate-dashboard-bg .s1 .error-success-message {
  width: 90%;
  max-width: 430px;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  text-align: center !important;
  gap: 10px;
  position: fixed;
  top: 20px;
  z-index: 9999;
  animation: error-success-message2 0.25s linear;
}
@keyframes error-success-message2 {
  from {
    top: -50px;
  }
  to {
    top: 20px;
  }
}
.affiliate-dashboard-bg .s1 .error-success-message.success-message {
  background: #40d840;
  color: var(--tg-text);
}
.affiliate-dashboard-bg .s1 .error-success-message.error-message {
  background: #e5484d;
  color: var(--tg-text);
}
.affiliate-dashboard-bg .s1 .error-success-message .x-container {
  cursor: pointer;
  font-size: 1.2rem;
}
.affiliate-dashboard-bg .s1 .error-success-message .message-container {
  flex: 1;
}
.affiliate-dashboard-bg .s1 .error-success-message .message-container p {
  margin: 0;
}
.affiliate-dashboard-bg .s1 #errorMessages2 {
  width: 85%;
  max-width: 430px;
  color: white;
  background-color: #e5484d;
  border: 1px solid #e5484d;
  position: fixed;
  z-index: 999;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 5px;
  padding: 10px 20px;
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: error-success-message2 0.25s linear;
}
@keyframes error-success-message2 {
  from {
    top: -50px;
  }
  to {
    top: 20px;
  }
}
.affiliate-dashboard-bg .s1 #errorMessages2 .x-container2 {
  margin-bottom: 10px;
}
.affiliate-dashboard-bg .s1 #errorMessages2 .x-container2 i {
  cursor: pointer;
}
.affiliate-dashboard-bg .s1 #errorMessages2 p {
  color: white;
  font-weight: 300;
  margin: 0px;
  text-align: center;
}
.affiliate-dashboard-bg .s1_wrapper {
  width: 90%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.affiliate-dashboard-bg .s1_wrapper form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: white;
  gap: 20px;
}
@media screen and (max-width: 768px) {
  .affiliate-dashboard-bg .s1_wrapper form .s1_header {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media screen and (max-width: 600px) {
  .affiliate-dashboard-bg .s1_wrapper form .s1_header {
    gap: 20px;
  }
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header .search_container {
  width: -moz-fit-content;
  width: fit-content;
}
@media screen and (max-width: 768px) {
  .affiliate-dashboard-bg .s1_wrapper form .s1_header .search_container {
    width: 100%;
  }
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header .search_container .search {
  width: 300px;
}
@media screen and (max-width: 768px) {
  .affiliate-dashboard-bg .s1_wrapper form .s1_header .search_container .search {
    width: 100%;
  }
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header .search_container .search {
  height: 40px;
  background: transparent;
  display: flex;
  align-items: center;
  text-align: center;
  color: white;
  border-radius: 0px;
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header .search_container .search .search_icon_container {
  height: 100%;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  border-bottom: 1px solid rgb(255, 255, 255);
  padding-right: 15px;
  border-radius: 0px;
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header .search_container .search .search_icon_container i {
  color: rgb(255, 255, 255);
  font-size: 1.1em;
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header .search_container .search input[type=tel] {
  width: calc(100% - 20px);
  height: 100%;
  border: none;
  font-size: 1em;
  letter-spacing: 0.3px;
  color: var(--tg-gold-light);
  background: transparent;
  border-bottom: 1px solid rgb(255, 255, 255);
  border-radius: 0px;
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header .search_container .search input[type=tel]:focus {
  outline: none;
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header .search_container .search input[type=tel]::-moz-placeholder {
  color: rgb(255, 255, 255);
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header .search_container .search input[type=tel]::placeholder {
  color: rgb(255, 255, 255);
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header .search_container .search input[type=number]::-webkit-inner-spin-button,
.affiliate-dashboard-bg .s1_wrapper form .s1_header .search_container .search input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header .buttons_container {
  width: -moz-fit-content;
  width: fit-content;
}
@media screen and (max-width: 768px) {
  .affiliate-dashboard-bg .s1_wrapper form .s1_header .buttons_container {
    width: 100%;
  }
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header .buttons_container .logout {
  height: 40px;
  border: none;
  border-radius: 40px;
  padding: 0 30px;
  background: linear-gradient(145deg, #fff3b0 0%, #f0d060 25%, #d4af37 60%, #a67c00 100%);
  color: #1a1408;
  font-weight: 450;
  font-size: 1em;
  letter-spacing: 0.25px;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  overflow: hidden;
  position: relative;
}
@media screen and (max-width: 768px) {
  .affiliate-dashboard-bg .s1_wrapper form .s1_header .buttons_container .logout {
    width: 100%;
    font-weight: 500;
    padding: 0px;
  }
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header .buttons_container .logout i {
  font-size: 1em;
  color: #1a1408;
  margin-right: 8px;
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header .buttons_container .logout::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header .buttons_container .logout:hover {
  filter: brightness(1.06);
}
.affiliate-dashboard-bg .s1_wrapper form .s1_header .buttons_container .logout:hover::after {
  left: 130%;
}
.affiliate-dashboard-bg .s1_wrapper form .table_container {
  width: 100%;
  background: #1F1F1F;
  overflow: hidden;
  border-radius: 20px;
  margin-top: 25px;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.125);
  border: 1px solid rgba(212, 175, 55, 0.38);
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table {
  width: 100%;
  padding: 0;
  border-collapse: collapse;
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .th_container {
  padding: 0px;
  height: 55px;
  background: linear-gradient(145deg, #fff3b0 0%, #f0d060 25%, #d4af37 60%, #a67c00 100%);
  -webkit-user-select: none !important;
     -moz-user-select: none !important;
          user-select: none !important;
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .th_container:hover {
  background: linear-gradient(145deg, #fff3b0 0%, #f0d060 25%, #d4af37 60%, #a67c00 100%) !important;
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .th_container .phone {
  max-width: 250px;
  border-left: none;
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .th_container .email {
  min-width: 300px;
}
@media screen and (max-width: 768px) {
  .affiliate-dashboard-bg .s1_wrapper form .table_container table .th_container .email {
    min-width: 200px;
    max-width: 200px;
  }
}
@media screen and (max-width: 550px) {
  .affiliate-dashboard-bg .s1_wrapper form .table_container table .th_container .email {
    min-width: 150px;
    max-width: 150px;
  }
}
@media screen and (max-width: 400px) {
  .affiliate-dashboard-bg .s1_wrapper form .table_container table .th_container .email {
    min-width: 120px;
    max-width: 120px;
  }
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .th_container th {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-top: none;
  border-bottom: none;
  border-spacing: 0px;
  padding: 0px;
  text-align: left;
  color: #1a1408;
  height: 50px;
  font-size: 1.05em;
  font-weight: 500;
  padding: 0 10px;
  overflow: hidden;
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .th_container .actions {
  min-width: 150px;
  border-right: 0px;
}
@media screen and (max-width: 768px) {
  .affiliate-dashboard-bg .s1_wrapper form .table_container table .th_container .actions {
    min-width: 100px;
    max-width: 100px;
  }
}
@media screen and (max-width: 550px) {
  .affiliate-dashboard-bg .s1_wrapper form .table_container table .th_container .actions {
    min-width: 80px;
    max-width: 80px;
  }
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .userRow {
  transition: 0.25s;
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .userRow:hover {
  background: #141414 !important;
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .userRow:last-child td {
  border-bottom: none !important;
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .userRow td {
  border: none;
  border-bottom: 1px solid rgba(212, 175, 55, 0.38);
  border-spacing: 0px;
  padding: 0px;
  min-height: 50px;
  text-align: left;
  color: white;
  font-size: 1em;
  font-weight: 400;
  padding: 0 10px;
  overflow: hidden;
}
@media screen and (max-width: 550px) {
  .affiliate-dashboard-bg .s1_wrapper form .table_container table .userRow td {
    min-height: 75px;
  }
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .userRow .phone {
  width: 100%;
  border-right: 1px solid rgba(212, 175, 55, 0.38);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--tg-gold-light);
}
@media screen and (max-width: 450px) {
  .affiliate-dashboard-bg .s1_wrapper form .table_container table .userRow .phone {
    gap: 8px;
  }
}
@media screen and (max-width: 400px) {
  .affiliate-dashboard-bg .s1_wrapper form .table_container table .userRow .phone {
    gap: 6px;
  }
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .userRow .phone svg {
  min-width: 20px;
  max-width: 20px;
  height: auto;
}
@media screen and (max-width: 450px) {
  .affiliate-dashboard-bg .s1_wrapper form .table_container table .userRow .phone svg {
    min-width: 18px;
    max-width: 18px;
  }
}
@media screen and (max-width: 400px) {
  .affiliate-dashboard-bg .s1_wrapper form .table_container table .userRow .phone svg {
    min-width: 16px;
    max-width: 16px;
  }
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .userRow .email {
  border-right: 1px solid rgba(212, 175, 55, 0.38);
  min-width: 300px;
}
@media screen and (max-width: 768px) {
  .affiliate-dashboard-bg .s1_wrapper form .table_container table .userRow .email {
    min-width: 200px;
    max-width: 200px;
  }
}
@media screen and (max-width: 550px) {
  .affiliate-dashboard-bg .s1_wrapper form .table_container table .userRow .email {
    min-width: 150px;
    max-width: 150px;
  }
}
@media screen and (max-width: 400px) {
  .affiliate-dashboard-bg .s1_wrapper form .table_container table .userRow .email {
    min-width: 120px;
    max-width: 120px;
  }
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .userRow .actions {
  min-width: 150px;
  justify-content: space-evenly;
  align-items: center;
  gap: 15px;
  border-top: none;
  border-right: none;
  border-left: none;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
@media screen and (max-width: 768px) {
  .affiliate-dashboard-bg .s1_wrapper form .table_container table .userRow .actions {
    min-width: 100px;
    max-width: 100px;
  }
}
@media screen and (max-width: 550px) {
  .affiliate-dashboard-bg .s1_wrapper form .table_container table .userRow .actions {
    min-width: 80px;
    max-width: 80px;
    gap: 10px !important;
  }
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .actions_td {
  display: inline-flex;
  justify-content: space-around;
}
@media screen and (max-width: 550px) {
  .affiliate-dashboard-bg .s1_wrapper form .table_container table .actions_td {
    justify-content: center !important;
    flex-direction: column;
    gap: 10px !important;
  }
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .actions_td a {
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--tg-gold-light);
  padding: 3px;
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .actions_td button {
  border: none;
  padding: 0px;
  padding: 3px;
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .actions_td .delete {
  background: transparent;
  color: #e5484d;
  cursor: pointer;
}
.affiliate-dashboard-bg .s1_wrapper form .table_container table .actions_td i {
  font-size: 1.125rem;
}
@media screen and (max-width: 768px) {
  .affiliate-dashboard-bg .s1_wrapper form .table_container table .actions_td i {
    font-size: 1rem;
  }
}
.affiliate-dashboard-bg #confirmationModal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  overflow: hidden;
  justify-content: center;
  align-items: center;
}
.affiliate-dashboard-bg #confirmationModal .modal-content {
  width: calc(90% - 60px);
  max-width: 340px;
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.13), transparent 45%), linear-gradient(165deg, #1c1b1a 0%, #11100f 50%, #0b0b0a 100%);
  padding: 30px;
  border: 1px solid rgba(212, 175, 55, 0.38);
  text-align: center;
  border-radius: 28px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 60px rgba(212, 175, 55, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  position: relative;
}
.affiliate-dashboard-bg #confirmationModal .modal-content::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  width: 220px;
  height: 180px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.22), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.affiliate-dashboard-bg #confirmationModal .modal-content::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100px;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--tg-gold-light), var(--tg-gold), transparent);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.5);
}
.affiliate-dashboard-bg #confirmationModal .modal-content h2 {
  color: var(--tg-gold);
  font-weight: 450;
  font-size: 1.375em;
  margin-bottom: 10px;
}
.affiliate-dashboard-bg #confirmationModal .modal-content p {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 35px;
  font-size: 1rem;
}
.affiliate-dashboard-bg #confirmationModal .modal-content button {
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  cursor: pointer;
}
.affiliate-dashboard-bg #confirmationModal .modal-content .cancel {
  position: relative;
  width: 100%;
  min-height: 50px;
  padding: 14px 34px;
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid rgba(229, 72, 77, 0.55);
  border-radius: 100px;
  background: linear-gradient(145deg, #ff8488 0%, #f07074 25%, #f15c61 60%, #e5484d 100%);
  color: var(--tg-text);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(229, 72, 77, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  display: inline;
}
.affiliate-dashboard-bg #confirmationModal .modal-content .cancel::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.affiliate-dashboard-bg #confirmationModal .modal-content .cancel:hover {
  filter: brightness(1.06);
  box-shadow: 0 18px 38px rgba(229, 72, 77, 0.38);
}
.affiliate-dashboard-bg #confirmationModal .modal-content .cancel:hover::after {
  left: 130%;
}
.affiliate-dashboard-bg #confirmationModal .modal-content .confirm {
  position: relative;
  width: 100%;
  min-height: 50px;
  padding: 14px 34px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 100px;
  background: linear-gradient(145deg, #fff3b0 0%, #f0d060 25%, #d4af37 60%, #a67c00 100%);
  color: #1a1408;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  display: inline;
}
.affiliate-dashboard-bg #confirmationModal .modal-content .confirm::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.affiliate-dashboard-bg #confirmationModal .modal-content .confirm:hover {
  filter: brightness(1.06);
  box-shadow: 0 18px 38px rgba(212, 175, 55, 0.38);
}
.affiliate-dashboard-bg #confirmationModal .modal-content .confirm:hover::after {
  left: 130%;
}
.affiliate-dashboard-bg .no-users {
  display: none;
}

.affiliate-page .affiliate {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow: hidden;
  color: var(--tg-text);
  background: radial-gradient(ellipse 90% 60% at 50% -30%, rgba(212, 175, 55, 0.18), transparent 60%), radial-gradient(ellipse 50% 40% at 90% 90%, rgba(139, 0, 0, 0.1), transparent), var(--tg-bg);
}
.affiliate-page .particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: url("./img/bgimg.webp") top center/cover no-repeat;
}
.affiliate-page .particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--tg-gold);
  opacity: 0;
  animation: particleRise linear infinite;
}
@keyframes particleRise {
  0% {
    transform: translateY(105vh) scale(0.5);
    opacity: 0;
  }
  15% {
    opacity: 0.35;
  }
  80% {
    opacity: 0.2;
  }
  100% {
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}
.affiliate-page .affiliate-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
  transition: opacity 0.35s ease;
  overflow-y: scroll;
  /* Hide scrollbar for IE, Edge and Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
  /* Hide scrollbar for Chrome, Safari and Opera */
}
.affiliate-page .affiliate-overlay::-webkit-scrollbar {
  display: none;
}
.affiliate-page .affiliate-card {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 440px;
  padding: 46px 38px 40px;
  margin: 50px 0;
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 28px;
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.13), transparent 45%), linear-gradient(165deg, #1c1b1a 0%, #11100f 50%, #0b0b0a 100%);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 60px rgba(212, 175, 55, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.affiliate-page .affiliate-card::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  width: 220px;
  height: 180px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.22), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.affiliate-page .affiliate-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100px;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--tg-gold-light), var(--tg-gold), transparent);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.5);
}
.affiliate-page .affiliate-title {
  position: relative;
  margin-bottom: 10px;
  color: var(--tg-gold);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
}
.affiliate-page .affiliate-text {
  margin: 0 auto 28px;
  color: var(--tg-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  text-align: center;
}
.affiliate-page .affiliate-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.affiliate-page .affiliate-form input.is-invalid {
  border-color: #e5484d !important;
  box-shadow: 0 0 0 1px rgba(229, 72, 77, 0.15);
  border: 1px solid rgba(220, 70, 70, 0.35);
}
.affiliate-page .form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.affiliate-page .form-group label {
  color: var(--tg-text);
  font-size: 0.875rem;
  text-align: left;
  letter-spacing: 0.4px;
}
.affiliate-page .form-group label span {
  color: #dc4646;
}
.affiliate-page .form-group input {
  width: 100%;
  min-height: 48px;
  padding: 12px 15px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 12px;
  outline: none;
  background: rgba(255, 255, 255, 0.045);
  color: var(--tg-text);
  font: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.affiliate-page .form-group input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.affiliate-page .form-group input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.affiliate-page .form-group input:hover {
  border-color: rgba(212, 175, 55, 0.4);
}
.affiliate-page .form-group input:focus {
  border-color: var(--tg-gold);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}
.affiliate-page .form-group .field-error {
  display: none;
  margin-top: 6px;
  color: #e5484d;
  font-size: 13px;
  line-height: 1.4;
}
.affiliate-page .form-group .field-error.visible {
  display: block;
}
.affiliate-page .form-group .password-input-wrapper {
  position: relative;
  width: 100%;
}
.affiliate-page .form-group .password-input-wrapper input {
  padding-right: 50px;
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
}
.affiliate-page .form-group .password-input-wrapper input::-ms-reveal, .affiliate-page .form-group .password-input-wrapper input::-ms-clear {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.affiliate-page .form-group .password-input-wrapper input::-webkit-credentials-auto-fill-button {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  position: absolute;
  right: 0;
}
.affiliate-page .form-group .password-input-wrapper .password-toggle {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--tg-muted);
  cursor: pointer;
  outline: none;
}
.affiliate-page .form-group .password-input-wrapper .password-toggle i {
  font-size: 16px;
  transition: color 0.2s ease;
}
.affiliate-page .form-group .password-input-wrapper .password-toggle:hover {
  color: var(--tg-gold);
}
.affiliate-page .form-group .password-input-wrapper .password-toggle:focus-visible {
  border-radius: 6px;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.35);
}
.affiliate-page .form-group .password-requirements {
  display: none;
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}
.affiliate-page .form-group .password-requirements.visible {
  display: block;
}
.affiliate-page .form-group .password-requirements .password-rule {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 5px 0;
  color: var(--tg-muted);
  font-size: 0.78rem;
}
.affiliate-page .form-group .password-requirements .password-rule .rule-icon {
  color: var(--tg-muted);
  font-size: 0.9rem;
}
.affiliate-page .form-group .password-requirements .password-rule.valid {
  color: #9ce6aa;
}
.affiliate-page .form-group .password-requirements .password-rule.valid .rule-icon {
  color: #5fcf73;
}
.affiliate-page .optional {
  margin-left: 4px;
  color: var(--tg-muted) !important;
  font-size: 0.813rem;
  font-weight: 400;
}
.affiliate-page .affiliate-message {
  position: relative;
  margin: 0 0 22px;
  padding: 12px 15px;
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: center;
}
.affiliate-page .affiliate-button {
  position: relative;
  width: 100%;
  min-height: 50px;
  padding: 14px 34px;
  margin-top: 15px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 100px;
  background: linear-gradient(145deg, #fff3b0 0%, #f0d060 25%, #d4af37 60%, #a67c00 100%);
  color: #1a1408;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 5px 0 #7a5c00, 0 12px 30px rgba(212, 175, 55, 0.28), inset 0 2px 0 rgba(255, 255, 255, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.affiliate-page .affiliate-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.affiliate-page .affiliate-button:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
  box-shadow: 0 8px 0 #7a5c00, 0 18px 38px rgba(212, 175, 55, 0.38), inset 0 2px 0 rgba(255, 255, 255, 0.6);
}
.affiliate-page .affiliate-button:hover::after {
  left: 130%;
}
.affiliate-page .affiliate-button:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #7a5c00, 0 7px 18px rgba(212, 175, 55, 0.22), inset 0 2px 0 rgba(255, 255, 255, 0.45);
}
.affiliate-page .affiliate-button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
  filter: none;
}
.affiliate-page .affiliate-button.is-loading {
  cursor: wait;
}
@media (max-width: 520px) {
  .affiliate-page .affiliate {
    padding: 15px;
  }
  .affiliate-page .affiliate-card {
    padding: 35px 30px;
    border-radius: 22px;
  }
  .affiliate-page .affiliate-form {
    gap: 15px;
  }
  .affiliate-page .form-group input {
    min-height: 46px;
  }
}

.log-in-page .log-in {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow: hidden;
  color: var(--tg-text);
  background: radial-gradient(ellipse 90% 60% at 50% -30%, rgba(212, 175, 55, 0.18), transparent 60%), radial-gradient(ellipse 50% 40% at 90% 90%, rgba(139, 0, 0, 0.1), transparent), var(--tg-bg);
}
.log-in-page .log-in .error-success-message {
  width: 90%;
  max-width: 430px;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  text-align: center !important;
  gap: 10px;
  position: fixed;
  top: 20px;
  z-index: 9999;
  animation: error-success-message2 0.25s linear;
}
@keyframes error-success-message2 {
  from {
    top: -50px;
  }
  to {
    top: 20px;
  }
}
.log-in-page .log-in .error-success-message.success-message {
  background: #40d840;
  color: var(--tg-text);
}
.log-in-page .log-in .error-success-message.error-message {
  background: #e5484d;
  color: var(--tg-text);
}
.log-in-page .log-in .error-success-message .x-container {
  cursor: pointer;
  font-size: 1.2rem;
}
.log-in-page .log-in .error-success-message .message-container {
  flex: 1;
}
.log-in-page .log-in .error-success-message .message-container p {
  margin: 0;
}
.log-in-page .particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: url("./img/bgimg.webp") top center/cover no-repeat;
}
.log-in-page .particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--tg-gold);
  opacity: 0;
  animation: particleRise linear infinite;
}
@keyframes particleRise {
  0% {
    transform: translateY(105vh) scale(0.5);
    opacity: 0;
  }
  15% {
    opacity: 0.35;
  }
  80% {
    opacity: 0.2;
  }
  100% {
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}
.log-in-page .login-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
  transition: opacity 0.35s ease;
  overflow-y: scroll;
  /* Hide scrollbar for IE, Edge and Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
  /* Hide scrollbar for Chrome, Safari and Opera */
}
.log-in-page .login-overlay::-webkit-scrollbar {
  display: none;
}
.log-in-page .login-card {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 440px;
  padding: 46px 38px 40px;
  margin: 50px 0;
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 28px;
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.13), transparent 45%), linear-gradient(165deg, #1c1b1a 0%, #11100f 50%, #0b0b0a 100%);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 60px rgba(212, 175, 55, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.log-in-page .login-card::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  width: 220px;
  height: 180px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.22), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.log-in-page .login-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100px;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--tg-gold-light), var(--tg-gold-light), transparent);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.5);
}
.log-in-page .login-title {
  position: relative;
  margin-bottom: 10px;
  color: var(--tg-gold-light);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
}
.log-in-page .login-text {
  margin: 0 auto 28px;
  color: var(--tg-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  text-align: center;
}
.log-in-page .login-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.log-in-page .login-form input.is-invalid {
  border-color: #e5484d !important;
  box-shadow: 0 0 0 1px rgba(229, 72, 77, 0.15);
  border: 1px solid rgba(220, 70, 70, 0.35);
}
.log-in-page .form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.log-in-page .form-group label {
  color: var(--tg-text);
  font-size: 0.875rem;
  text-align: left;
  letter-spacing: 0.4px;
}
.log-in-page .form-group label span {
  color: #dc4646;
}
.log-in-page .form-group input {
  width: 100%;
  min-height: 48px;
  padding: 12px 15px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 12px;
  outline: none;
  background: rgba(255, 255, 255, 0.045);
  color: var(--tg-text);
  font: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.log-in-page .form-group input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.log-in-page .form-group input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.log-in-page .form-group input:hover {
  border-color: rgba(212, 175, 55, 0.4);
}
.log-in-page .form-group input:focus {
  border-color: var(--tg-gold-light);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}
.log-in-page .form-group .field-error {
  display: none;
  margin-top: 6px;
  color: #e5484d;
  font-size: 13px;
  line-height: 1.4;
}
.log-in-page .form-group .field-error.visible {
  display: block;
}
.log-in-page .form-group .password-input-wrapper {
  position: relative;
  width: 100%;
}
.log-in-page .form-group .password-input-wrapper input {
  padding-right: 50px;
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
}
.log-in-page .form-group .password-input-wrapper input::-ms-reveal, .log-in-page .form-group .password-input-wrapper input::-ms-clear {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.log-in-page .form-group .password-input-wrapper input::-webkit-credentials-auto-fill-button {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  position: absolute;
  right: 0;
}
.log-in-page .form-group .password-input-wrapper .password-toggle {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--tg-muted);
  cursor: pointer;
  outline: none;
}
.log-in-page .form-group .password-input-wrapper .password-toggle i {
  font-size: 16px;
  transition: color 0.2s ease;
}
.log-in-page .form-group .password-input-wrapper .password-toggle:hover {
  color: var(--tg-gold-light);
}
.log-in-page .form-group .password-input-wrapper .password-toggle:focus-visible {
  border-radius: 6px;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.35);
}
.log-in-page .form-group .password-requirements {
  display: none;
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}
.log-in-page .form-group .password-requirements.visible {
  display: block;
}
.log-in-page .form-group .password-requirements .password-rule {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 5px 0;
  color: var(--tg-muted);
  font-size: 0.78rem;
}
.log-in-page .form-group .password-requirements .password-rule .rule-icon {
  color: var(--tg-muted);
  font-size: 0.9rem;
}
.log-in-page .form-group .password-requirements .password-rule.valid {
  color: #9ce6aa;
}
.log-in-page .form-group .password-requirements .password-rule.valid .rule-icon {
  color: #5fcf73;
}
.log-in-page .optional {
  margin-left: 4px;
  color: var(--tg-muted) !important;
  font-size: 0.813rem;
  font-weight: 400;
}
.log-in-page .login-message {
  position: relative;
  margin: 0 0 22px;
  padding: 12px 15px;
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: center;
}
.log-in-page .login-button {
  position: relative;
  width: 100%;
  min-height: 50px;
  padding: 14px 34px;
  margin-top: 15px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 100px;
  background: linear-gradient(145deg, #fff3b0 0%, #f0d060 25%, #d4af37 60%, #a67c00 100%);
  color: #1a1408;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 5px 0 #7a5c00, 0 12px 30px rgba(212, 175, 55, 0.28), inset 0 2px 0 rgba(255, 255, 255, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.log-in-page .login-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.log-in-page .login-button:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
  box-shadow: 0 8px 0 #7a5c00, 0 18px 38px rgba(212, 175, 55, 0.38), inset 0 2px 0 rgba(255, 255, 255, 0.6);
}
.log-in-page .login-button:hover::after {
  left: 130%;
}
.log-in-page .login-button:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #7a5c00, 0 7px 18px rgba(212, 175, 55, 0.22), inset 0 2px 0 rgba(255, 255, 255, 0.45);
}
.log-in-page .login-button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
  filter: none;
}
.log-in-page .login-button.is-loading {
  cursor: wait;
}
.log-in-page .sign-up-text-link {
  font-size: 0.875rem;
  margin-top: 10px;
  color: var(--tg-muted);
  text-align: center;
  margin: 10px 0 0 0;
}
.log-in-page .sign-up-text-link .sign-up-link {
  color: var(--tg-gold-light);
  font-size: 0.875rem;
  cursor: pointer;
}
@media (max-width: 520px) {
  .log-in-page .log-in {
    padding: 15px;
  }
  .log-in-page .login-card {
    padding: 35px 30px;
    border-radius: 22px;
  }
  .log-in-page .login-form {
    gap: 15px;
  }
  .log-in-page .form-group input {
    min-height: 46px;
  }
}

.sign-up-page .sign-up {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow: hidden;
  color: var(--tg-text);
  background: radial-gradient(ellipse 90% 60% at 50% -30%, rgba(212, 175, 55, 0.18), transparent 60%), radial-gradient(ellipse 50% 40% at 90% 90%, rgba(139, 0, 0, 0.1), transparent), var(--tg-bg);
}
.sign-up-page .sign-up .error-success-message {
  width: 90%;
  max-width: 430px;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  text-align: center !important;
  gap: 10px;
  position: fixed;
  top: 20px;
  z-index: 9999;
  animation: error-success-message2 0.25s linear;
}
@keyframes error-success-message2 {
  from {
    top: -50px;
  }
  to {
    top: 20px;
  }
}
.sign-up-page .sign-up .error-success-message.success-message {
  background: #40d840;
  color: var(--tg-text);
}
.sign-up-page .sign-up .error-success-message.error-message {
  background: #e5484d;
  color: var(--tg-text);
}
.sign-up-page .sign-up .error-success-message .x-container {
  cursor: pointer;
  font-size: 1.2rem;
}
.sign-up-page .sign-up .error-success-message .message-container {
  flex: 1;
}
.sign-up-page .sign-up .error-success-message .message-container p {
  margin: 0;
}
.sign-up-page .particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: url("./img/bgimg.webp") top center/cover no-repeat;
}
.sign-up-page .particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--tg-gold);
  opacity: 0;
  animation: particleRise linear infinite;
}
@keyframes particleRise {
  0% {
    transform: translateY(105vh) scale(0.5);
    opacity: 0;
  }
  15% {
    opacity: 0.35;
  }
  80% {
    opacity: 0.2;
  }
  100% {
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}
.sign-up-page .signup-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
  transition: opacity 0.35s ease;
  overflow-y: scroll;
  /* Hide scrollbar for IE, Edge and Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
  /* Hide scrollbar for Chrome, Safari and Opera */
}
.sign-up-page .signup-overlay::-webkit-scrollbar {
  display: none;
}
.sign-up-page .signup-card {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 440px;
  padding: 46px 38px 40px;
  margin: 50px 0;
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 28px;
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.13), transparent 45%), linear-gradient(165deg, #1c1b1a 0%, #11100f 50%, #0b0b0a 100%);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 60px rgba(212, 175, 55, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}
.sign-up-page .signup-card::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  width: 220px;
  height: 180px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.22), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.sign-up-page .signup-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100px;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--tg-gold-light), var(--tg-gold-light), transparent);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.5);
}
.sign-up-page .signup-title {
  position: relative;
  margin-bottom: 10px;
  color: var(--tg-gold-light);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 3px;
}
.sign-up-page .signup-text {
  margin: 0 auto 28px;
  color: var(--tg-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  text-align: center;
}
.sign-up-page .signup-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.sign-up-page .signup-form input.is-invalid {
  border-color: #e5484d !important;
  box-shadow: 0 0 0 1px rgba(229, 72, 77, 0.15);
  border: 1px solid rgba(220, 70, 70, 0.35);
}
.sign-up-page .form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.sign-up-page .form-group label {
  color: var(--tg-text);
  font-size: 0.875rem;
  text-align: left;
  letter-spacing: 0.4px;
}
.sign-up-page .form-group label span {
  color: #dc4646;
}
.sign-up-page .form-group input {
  width: 100%;
  min-height: 48px;
  padding: 12px 15px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 12px;
  outline: none;
  background: rgba(255, 255, 255, 0.045);
  color: var(--tg-text);
  font: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.sign-up-page .form-group input::-moz-placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.sign-up-page .form-group input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.sign-up-page .form-group input:hover {
  border-color: rgba(212, 175, 55, 0.4);
}
.sign-up-page .form-group input:focus {
  border-color: var(--tg-gold-light);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}
.sign-up-page .form-group .field-error {
  display: none;
  margin-top: 6px;
  color: #e5484d;
  font-size: 13px;
  line-height: 1.4;
}
.sign-up-page .form-group .field-error.visible {
  display: block;
}
.sign-up-page .form-group .password-input-wrapper {
  position: relative;
  width: 100%;
}
.sign-up-page .form-group .password-input-wrapper input {
  padding-right: 50px;
  -moz-appearance: none;
       appearance: none;
  -webkit-appearance: none;
}
.sign-up-page .form-group .password-input-wrapper input::-ms-reveal, .sign-up-page .form-group .password-input-wrapper input::-ms-clear {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.sign-up-page .form-group .password-input-wrapper input::-webkit-credentials-auto-fill-button {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  position: absolute;
  right: 0;
}
.sign-up-page .form-group .password-input-wrapper .password-toggle {
  position: absolute;
  top: 50%;
  right: 14px;
  width: 28px;
  height: 28px;
  padding: 0;
  border: 0;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--tg-muted);
  cursor: pointer;
  outline: none;
}
.sign-up-page .form-group .password-input-wrapper .password-toggle i {
  font-size: 16px;
  transition: color 0.2s ease;
}
.sign-up-page .form-group .password-input-wrapper .password-toggle:hover {
  color: var(--tg-gold-light);
}
.sign-up-page .form-group .password-input-wrapper .password-toggle:focus-visible {
  border-radius: 6px;
  box-shadow: 0 0 0 2px rgba(212, 175, 55, 0.35);
}
.sign-up-page .form-group .password-requirements {
  display: none;
  margin-top: 4px;
  padding: 10px 12px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.025);
}
.sign-up-page .form-group .password-requirements.visible {
  display: block;
}
.sign-up-page .form-group .password-requirements .password-rule {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 5px 0;
  color: var(--tg-muted);
  font-size: 0.78rem;
}
.sign-up-page .form-group .password-requirements .password-rule .rule-icon {
  color: var(--tg-muted);
  font-size: 0.9rem;
}
.sign-up-page .form-group .password-requirements .password-rule.valid {
  color: #9ce6aa;
}
.sign-up-page .form-group .password-requirements .password-rule.valid .rule-icon {
  color: #5fcf73;
}
.sign-up-page .optional {
  margin-left: 4px;
  color: var(--tg-muted) !important;
  font-size: 0.813rem;
  font-weight: 400;
}
.sign-up-page .signup-message {
  position: relative;
  margin: 0 0 22px;
  padding: 12px 15px;
  border-radius: 10px;
  font-size: 0.85rem;
  line-height: 1.5;
  text-align: center;
}
.sign-up-page .signup-button {
  position: relative;
  width: 100%;
  min-height: 50px;
  padding: 14px 34px;
  margin-top: 15px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 100px;
  background: linear-gradient(145deg, #fff3b0 0%, #f0d060 25%, #d4af37 60%, #a67c00 100%);
  color: #1a1408;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 5px 0 #7a5c00, 0 12px 30px rgba(212, 175, 55, 0.28), inset 0 2px 0 rgba(255, 255, 255, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.sign-up-page .signup-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.sign-up-page .signup-button:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
  box-shadow: 0 8px 0 #7a5c00, 0 18px 38px rgba(212, 175, 55, 0.38), inset 0 2px 0 rgba(255, 255, 255, 0.6);
}
.sign-up-page .signup-button:hover::after {
  left: 130%;
}
.sign-up-page .signup-button:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #7a5c00, 0 7px 18px rgba(212, 175, 55, 0.22), inset 0 2px 0 rgba(255, 255, 255, 0.45);
}
.sign-up-page .signup-button:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
  filter: none;
}
.sign-up-page .signup-button.is-loading {
  cursor: wait;
}
.sign-up-page .login-text-link {
  font-size: 0.875rem;
  margin-top: 10px;
  color: var(--tg-muted);
  text-align: center;
  margin: 10px 0 0 0;
}
.sign-up-page .login-text-link .login-link {
  color: var(--tg-gold-light);
  font-size: 0.875rem;
  cursor: pointer;
}
@media (max-width: 520px) {
  .sign-up-page .sign-up {
    padding: 15px;
  }
  .sign-up-page .signup-card {
    padding: 35px 30px;
    border-radius: 22px;
  }
  .sign-up-page .signup-form {
    gap: 15px;
  }
  .sign-up-page .form-group input {
    min-height: 46px;
  }
}

.home-page .tg-home {
  position: relative;
  min-height: calc(100svh - 80px);
  overflow: hidden;
  color: var(--tg-text);
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.13), transparent 45%), linear-gradient(165deg, #1c1b1a 0%, #00010c 50%, #00020e 100%);
}
@media screen and (max-width: 1000px) {
  .home-page .tg-home {
    min-height: 100svh;
    height: 100%;
  }
}
.home-page .tg-home .tg-prizes-overlay {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  overflow-y: auto;
  overflow-x: hidden;
}
.home-page .tg-home .tg-prizes-overlay::-webkit-scrollbar {
  display: none;
}
.home-page .tg-home .tg-prizes-overlay {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.home-page .tg-home .tg-prizes-overlay.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.home-page .tg-home .tg-prizes-overlay.visible .tg-prizes-modal {
  transform: scale(1) translateY(0);
}
.home-page .tg-home .tg-prizes-modal {
  position: relative;
  width: 100%;
  max-width: 720px;
  padding: 40px 32px 36px;
  margin: 30px 0;
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 24px;
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.15), transparent 50%), linear-gradient(165deg, #1c1b1a 0%, #11100f 50%, #0b0b0a 100%);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 0 0 60px rgba(212, 175, 55, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: scale(0.9) translateY(30px);
  transition: transform 0.4s cubic-bezier(0.34, 1.5, 0.64, 1);
}
.home-page .tg-home .tg-prizes-modal::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 120px;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #f5d76e, transparent);
  box-shadow: 0 0 14px rgba(245, 215, 110, 0.6);
}
.home-page .tg-home .tg-prizes-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 50%;
  color: #FFD76D;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  z-index: 10;
}
.home-page .tg-home .tg-prizes-close:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: #FFD76D;
  transform: rotate(90deg);
}
.home-page .tg-home .tg-prizes-close:active {
  transform: rotate(90deg) scale(0.9);
}
.home-page .tg-home .tg-prizes-close svg {
  width: 18px;
  height: 18px;
  display: block;
}
.home-page .tg-home .tg-prizes-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-bottom: 10px;
}
.home-page .tg-home .tg-prizes-header h2 {
  margin: 0;
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 4px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff8d6 0%, #f5d76e 50%, #c9932b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 25px rgba(255, 210, 100, 0.35);
}
@media (max-width: 520px) {
  .home-page .tg-home .tg-prizes-header h2 {
    font-size: 1.1rem;
    letter-spacing: 2px;
  }
}
.home-page .tg-home .tg-prizes-header .star {
  color: #f5d76e;
  font-size: 1.1rem;
  text-shadow: 0 0 10px rgba(255, 210, 100, 0.7);
}
.home-page .tg-home .tg-prizes-subtitle {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}
@media (max-width: 520px) {
  .home-page .tg-home .tg-prizes-subtitle {
    font-size: 0.8rem;
    margin-bottom: 20px;
  }
}
.home-page .tg-home .tg-prizes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
@media (max-width: 640px) {
  .home-page .tg-home .tg-prizes-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}
@media (max-width: 400px) {
  .home-page .tg-home .tg-prizes-grid {
    grid-template-columns: 1fr;
  }
}
.home-page .tg-home .tg-prize-item {
  position: relative;
  padding: 22px 12px 18px;
  border-radius: 14px;
  background: linear-gradient(165deg, #1a1a1a 0%, #0e0e0e 100%);
  border: 1px solid rgba(212, 175, 55, 0.25);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
}
.home-page .tg-home .tg-prize-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 60px;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(245, 215, 110, 0.5), transparent);
}
.home-page .tg-home .tg-prize-item:hover {
  transform: translateY(-4px);
  border-color: rgba(245, 215, 110, 0.6);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}
.home-page .tg-home .tg-prize-item .tg-prize-icon {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 6px rgba(255, 200, 60, 0.4));
}
.home-page .tg-home .tg-prize-item .tg-prize-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff8d6;
  margin-bottom: 6px;
  text-shadow: 0 0 12px rgba(255, 220, 120, 0.4);
}
@media (max-width: 640px) {
  .home-page .tg-home .tg-prize-item .tg-prize-name {
    font-size: 0.95rem;
  }
}
@media (max-width: 520px) {
  .home-page .tg-home .tg-prize-item .tg-prize-name {
    font-size: 0.85rem;
    letter-spacing: 0.5px;
  }
}
.home-page .tg-home .tg-prize-item .tg-prize-label {
  font-size: 0.65rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #f5d76e;
  opacity: 0.75;
  font-weight: 600;
}
@media (max-width: 520px) {
  .home-page .tg-home .tg-prize-item .tg-prize-label {
    font-size: 0.55rem;
  }
}
.home-page .tg-home .tg-prize-item.mega {
  border-color: rgba(245, 215, 110, 0.55);
  background: radial-gradient(circle at 50% 0%, rgba(245, 215, 110, 0.15), transparent 70%), linear-gradient(165deg, #1a1a1a 0%, #0e0e0e 100%);
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.25);
}
.home-page .tg-home .tg-prize-item.mega .tg-prize-name {
  background: linear-gradient(180deg, #fff8d6, #f5d76e, #c9932b);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-size: 1.4rem;
}
@media (max-width: 520px) {
  .home-page .tg-home .tg-prize-item.mega .tg-prize-name {
    font-size: 1.1rem;
  }
}
.home-page .tg-home .tg-prize-item.mega .tg-prize-icon {
  font-size: 2.4rem;
}
.home-page .tg-home .tg-prize-item.spin {
  border-color: rgba(255, 100, 100, 0.25);
}
.home-page .tg-home .tg-prize-item.spin:hover {
  border-color: rgba(255, 100, 100, 0.6);
  box-shadow: 0 8px 25px rgba(255, 100, 100, 0.15);
}
.home-page .tg-home .tg-prize-item.spin .tg-prize-name {
  color: #ffb3b3;
  text-shadow: 0 0 12px rgba(255, 100, 100, 0.4);
}
.home-page .tg-home .tg-prize-item.spin .tg-prize-label {
  color: #ff8080;
}
.home-page .tg-home .tg-prizes-cta {
  display: inline-block;
  margin-top: 28px;
  padding: 14px 40px;
  border-radius: 100px;
  background: linear-gradient(145deg, #fff3b0 0%, #f0d060 25%, #d4af37 60%, #a67c00 100%);
  color: #1a1408;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 5px 0 #7a5c00, 0 12px 30px rgba(212, 175, 55, 0.28), inset 0 2px 0 rgba(255, 255, 255, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.home-page .tg-home .tg-prizes-cta:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
  box-shadow: 0 8px 0 #7a5c00, 0 18px 38px rgba(212, 175, 55, 0.38), inset 0 2px 0 rgba(255, 255, 255, 0.6);
}
.home-page .tg-home .tg-prizes-cta:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #7a5c00, 0 7px 18px rgba(212, 175, 55, 0.22), inset 0 2px 0 rgba(255, 255, 255, 0.45);
}
.home-page .tg-home .error-success-message {
  width: 90%;
  max-width: 430px;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  text-align: center !important;
  gap: 10px;
  position: fixed;
  top: 20px;
  left: 50%;
  z-index: 9999;
  transform: translateX(-50%);
  animation: error-success-message2 0.25s linear;
}
@keyframes error-success-message2 {
  from {
    top: -50px;
  }
  to {
    top: 20px;
  }
}
.home-page .tg-home .error-success-message.success-message {
  background: #40d840;
  color: var(--tg-text);
}
.home-page .tg-home .error-success-message.error-message {
  background: #e5484d;
  color: var(--tg-text);
}
.home-page .tg-home .error-success-message .x-container {
  cursor: pointer;
  font-size: 1.2rem;
}
.home-page .tg-home .error-success-message .message-container {
  flex: 1;
}
.home-page .tg-home .error-success-message .message-container p {
  margin: 0;
}
.home-page .tg-page {
  position: relative;
  z-index: 2;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
@media screen and (max-width: 1000px) {
  .home-page .tg-page {
    padding: 50px 0;
    gap: 50px;
  }
}
@media screen and (max-width: 768px) {
  .home-page .tg-page {
    gap: 20px;
  }
}
.home-page .contest-timer {
  width: 100%;
  max-width: 768px;
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.13), transparent 45%), linear-gradient(165deg, #1c1b1a 0%, #11100f 50%, #0b0b0a 100%);
  border: 1px solid #FFD76D;
  border-radius: 12px;
  padding: 18px 20px 20px;
  box-shadow: 0 0 25px rgba(212, 175, 55, 0.15), inset 0 0 30px rgba(0, 0, 0, 0.8);
  position: relative;
  overflow: hidden;
}
@media screen and (max-width: 1000px) {
  .home-page .contest-timer {
    max-width: 90%;
  }
}
@media screen and (max-width: 768px) {
  .home-page .contest-timer {
    margin-top: 20px;
  }
}
.home-page .contest-timer::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 80px;
  background: radial-gradient(ellipse, rgba(255, 200, 60, 0.35), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.home-page .contest-timer .timer-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding-bottom: 12px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.25);
}
.home-page .contest-timer .timer-header h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 5px;
  text-transform: uppercase;
  background: linear-gradient(180deg, #fff8d6 0%, #f5d76e 50%, #c9932b 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(255, 210, 100, 0.3);
}
.home-page .contest-timer .timer-header .star {
  color: #f5d76e;
  font-size: 1rem;
  text-shadow: 0 0 8px rgba(255, 210, 100, 0.6);
}
.home-page .contest-timer .timer-body {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}
.home-page .contest-timer .timer-body .time-unit {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.home-page .contest-timer .timer-body .time-unit .time-value {
  width: 100%;
  padding: 10px 4px;
  text-align: center;
  font-size: 2.6rem;
  font-weight: 900;
  letter-spacing: 1px;
  line-height: 1;
  color: #fff8d6;
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.13), transparent 45%), linear-gradient(165deg, #1c1b1a 0%, #11100f 50%, #0b0b0a 100%);
  border: 1px solid #FFD76D;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 8px;
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0), inset 0 -1px 0 rgba(255, 220, 120, 0.1);
  text-shadow: 0 0 12px rgba(255, 220, 120, 0.5), 0 2px 4px rgba(0, 0, 0, 0);
  transition: transform 0.2s ease;
}
.home-page .contest-timer .timer-body .time-unit .time-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: #f5d76e;
  text-transform: uppercase;
  text-shadow: 0 0 6px rgba(255, 210, 100, 0.4);
}
.home-page .contest-timer .timer-body .time-separator {
  font-size: 1.2rem;
  color: #f5d76e;
  margin-top: 22px;
  text-shadow: 0 0 10px rgba(255, 210, 100, 0.7);
  animation: twinkle 1.5s ease-in-out infinite alternate;
}
@keyframes twinkle {
  from {
    opacity: 0.5;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1.1);
  }
}
@media (max-width: 7680px) {
  .home-page .contest-timer {
    padding: 14px 12px 16px;
  }
  .home-page .contest-timer .timer-header h3 {
    font-size: 0.85rem;
    letter-spacing: 3px;
  }
  .home-page .contest-timer .timer-body .time-unit .time-value {
    font-size: 1.8rem;
    padding: 8px 2px;
  }
  .home-page .contest-timer .timer-body .time-unit .time-label {
    font-size: 0.55rem;
    letter-spacing: 0.5px;
  }
  .home-page .contest-timer .timer-body .time-separator {
    font-size: 0.9rem;
    margin-top: 16px;
  }
}
@media (max-width: 768px) {
  .home-page .contest-timer .timer-body .time-unit .time-value {
    font-size: 1.4rem;
  }
  .home-page .contest-timer .timer-body .time-unit .time-label {
    font-size: 0.5rem;
  }
}
.home-page .tg-trust-bar {
  margin-top: 60px;
  width: 90%;
  display: flex;
  align-items: center;
  justify-content: space-around;
  gap: 25px;
  padding: 20px;
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.13), transparent 45%), linear-gradient(165deg, #1c1b1a 0%, #11100f 50%, #0b0b0a 100%);
  border: 1px solid #FFD76D;
  border-radius: 20px;
  transform: translateY(-20px);
}
@media screen and (max-width: 1280px) {
  .home-page .tg-trust-bar {
    flex-direction: column;
  }
}
@media screen and (max-width: 1000px) {
  .home-page .tg-trust-bar {
    transform: translateY(0px);
    margin: 0;
    align-items: flex-start;
  }
}
.home-page .tg-trust-bar .divider {
  background: #FFD76D;
  height: 50px;
  width: 1px;
  border-radius: 2px;
}
@media screen and (max-width: 1280px) {
  .home-page .tg-trust-bar .divider {
    width: 90%;
    height: 1px;
  }
}
.home-page .tg-trust-bar .tg-trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
}
@media screen and (max-width: 1280px) {
  .home-page .tg-trust-bar .tg-trust-item {
    gap: 25px;
  }
}
@media screen and (max-width: 768px) {
  .home-page .tg-trust-bar .tg-trust-item {
    gap: 15px;
  }
}
.home-page .tg-trust-bar .tg-trust-item .svg-icon {
  width: auto;
  height: 50px;
}
@media screen and (max-width: 768px) {
  .home-page .tg-trust-bar .tg-trust-item .svg-icon {
    height: 30px;
  }
}
.home-page .tg-trust-bar .tg-trust-item .svg-icon svg {
  height: 100%;
  width: auto;
}
.home-page .tg-trust-bar .tg-trust-item .content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
@media screen and (max-width: 768px) {
  .home-page .tg-trust-bar .tg-trust-item .content {
    gap: 2px;
  }
}
.home-page .tg-trust-bar .tg-trust-item .content h3 {
  color: #FFD76D;
  margin: 0;
}
@media screen and (max-width: 768px) {
  .home-page .tg-trust-bar .tg-trust-item .content h3 {
    font-size: 1rem;
    font-weight: 500;
  }
}
.home-page .tg-trust-bar .tg-trust-item .content p {
  color: #fff;
  margin: 0;
}
.home-page .tg-particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
  background-color: #05060d;
  background-image: url("./img/bgimg.webp");
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% auto;
}
@media screen and (max-width: 1000px) {
  .home-page .tg-particles {
    background-image: url("./img/patriotic-scene.webp");
  }
}
.home-page .tg-particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--tg-gold);
  opacity: 0;
  animation: tgParticleRise linear infinite;
}
@keyframes tgParticleRise {
  0% {
    transform: translateY(105vh) scale(0.5);
    opacity: 0;
  }
  15% {
    opacity: 0.35;
  }
  80% {
    opacity: 0.2;
  }
  100% {
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}
.home-page .tg-stage {
  width: 42.5%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media screen and (max-width: 1000px) {
  .home-page .tg-stage {
    width: 75%;
  }
}
@media screen and (max-width: 480px) {
  .home-page .tg-stage {
    width: 85%;
  }
}
.home-page .tg-stage .wheel-image-duplicate {
  opacity: 0.15;
  position: absolute;
}
.home-page .tg-stage .wheel-image {
  width: 100%;
  position: relative;
  z-index: 999;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  margin-top: -10%;
}
@media screen and (max-width: 1000px) {
  .home-page .tg-stage .wheel-image {
    margin-top: 0%;
  }
}
.home-page .tg-stage .wheel-image .wheel {
  width: 100%;
  height: auto;
  display: block;
}
.home-page .tg-stage .wheel-image::after {
  content: "";
  position: absolute;
  width: 80%;
  aspect-ratio: 1/1;
  left: 9%;
  top: 10%;
  border-radius: 50%;
  pointer-events: none;
  box-shadow: inset 0 0 18px 6px rgba(253, 190, 43, 0.65);
  z-index: -1;
}
@media screen and (max-width: 1000px) {
  .home-page .tg-stage .wheel-image::after {
    top: 9%;
    left: 10%;
  }
}
@media screen and (max-width: 450px) {
  .home-page .tg-stage .wheel-image::after {
    top: 7.25%;
    left: 9%;
  }
}
.home-page .tg-stage .wheel-image .tg-controls {
  position: absolute;
  left: 0;
  bottom: 8.95%;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5%;
  z-index: 9999;
  container-type: inline-size;
}
@media screen and (max-width: 1000px) {
  .home-page .tg-stage .wheel-image .tg-controls {
    position: relative;
    bottom: 0px;
  }
}
.home-page .tg-stage .wheel-image .tg-controls .tg-hint-short {
  display: none;
  width: 35%;
  min-height: 0;
  height: 7.27cqw;
  transform: translateY(-77.5%);
  border-radius: 500px;
  background: linear-gradient(90deg, #c57f23, #ffd468, #c57f23);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  text-align: center;
  justify-content: center;
  align-items: center;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  text-shadow: 0 0 25px rgba(255, 206, 91, 0.275);
}
@media (max-width: 520px) {
  .home-page .tg-stage .wheel-image .tg-controls .tg-hint-short {
    font-size: clamp(0.875rem, 2.2cqw, 1rem);
  }
}
@media (max-width: 430px) {
  .home-page .tg-stage .wheel-image .tg-controls .tg-hint-short {
    font-size: clamp(0.75rem, 2.2cqw, 1rem);
  }
}
@media (max-width: 365px) {
  .home-page .tg-stage .wheel-image .tg-controls .tg-hint-short {
    font-size: clamp(0.688rem, 2.2cqw, 1rem);
  }
}
.home-page .tg-stage .wheel-image .tg-controls .tg-spin-btn {
  width: -moz-fit-content;
  width: fit-content;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 15px 60px;
  cursor: pointer;
  position: relative;
  font-size: 30px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #FEEDAF;
  text-transform: uppercase;
}
@media (max-width: 1630px) {
  .home-page .tg-stage .wheel-image .tg-controls .tg-spin-btn {
    font-size: 28px;
  }
}
@media (max-width: 1280px) {
  .home-page .tg-stage .wheel-image .tg-controls .tg-spin-btn {
    font-size: 24px;
  }
}
@media (max-width: 1050px) {
  .home-page .tg-stage .wheel-image .tg-controls .tg-spin-btn {
    font-size: 20px;
    padding: 12px 40px;
  }
}
@media (max-width: 450px) {
  .home-page .tg-stage .wheel-image .tg-controls .tg-spin-btn {
    padding: 12px 20px;
    gap: 15px;
  }
}
@media (max-width: 361px) {
  .home-page .tg-stage .wheel-image .tg-controls .tg-spin-btn {
    font-size: 18px;
    text-align: center;
  }
}
@media (max-width: 340px) {
  .home-page .tg-stage .wheel-image .tg-controls .tg-spin-btn {
    font-size: 16px;
  }
}
.home-page .tg-stage .wheel-image .tg-controls .tg-spin-btn {
  text-shadow: 0px 2px 0px #5e1313, 0px 4px 5px rgba(0, 0, 0, 0.5);
  background: radial-gradient(circle at 50% 0%, rgba(245, 152, 152, 0.4) 0%, transparent 60%), linear-gradient(to bottom, #d61e1e 0%, #a30d0d 45%, #7a0505 55%, #b81414 100%);
  border: 2px solid #fceea7;
  border-radius: 20px;
  box-shadow: inset 0px 0px 20px rgba(0, 0, 0, 0.6), 0px 0px 0px 4px #b88a36, 0px 0px 0px 6px #eac96a, 0px 0px 0px 9px #2e1a05, 0px 10px 20px rgba(0, 0, 0, 0.8);
  transition: all 0.1s ease;
}
.home-page .tg-stage .wheel-image .tg-controls .tg-spin-btn span {
  margin: 0;
}
.home-page .tg-stage .wheel-image .tg-controls .tg-spin-btn .star {
  transform: translateY(-3px);
}
.home-page .tg-stage .wheel-image .tg-controls .tg-spin-btn:hover {
  transform: scale(1.05);
}
@media (max-width: 768px) {
  .home-page .tg-stage .wheel-image .tg-controls .tg-spin-btn:hover {
    transform: scale(1);
  }
}
.home-page .tg-wheel-system {
  position: absolute;
  top: 37%;
  left: 7.25%;
  min-width: 84%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #f0d878;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
  transform: translateY(-10%);
}
@media screen and (max-width: 1000px) {
  .home-page .tg-wheel-system {
    transform: translateY(0%);
    top: 33.5%;
  }
}
@media screen and (max-width: 768px) {
  .home-page .tg-wheel-system {
    top: 33.25%;
  }
}
@media screen and (max-width: 600px) {
  .home-page .tg-wheel-system {
    top: 33%;
  }
}
@media screen and (max-width: 500px) {
  .home-page .tg-wheel-system {
    top: 31.25%;
  }
}
@media screen and (max-width: 450px) {
  .home-page .tg-wheel-system {
    top: 31.5%;
    left: 8.25%;
    min-width: 82%;
  }
}
@media screen and (max-width: 375px) {
  .home-page .tg-wheel-system {
    top: 32.5%;
    left: 8.25%;
    min-width: 82%;
  }
}
.home-page .wheel-scale-animation {
  animation: wheelScaleOnce 1s ease-in-out;
}
@keyframes wheelScaleOnce {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.08);
  }
  70% {
    transform: scale(1.08);
  }
  100% {
    transform: scale(1);
  }
}
.home-page .tg-rim {
  position: absolute;
  inset: -14px;
  z-index: 1;
  border-radius: 50%;
}
.home-page .tg-lights {
  position: absolute;
  inset: 0;
  z-index: 25;
  border-radius: 50%;
  pointer-events: none;
}
.home-page .tg-light {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #f8e9a0;
  box-shadow: 0 0 10px 3px rgba(248, 233, 160, 0.75);
  animation: tgLightPulse 1.4s ease-in-out infinite alternate;
}
@keyframes tgLightPulse {
  from {
    opacity: 0.35;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1.15);
  }
}
.home-page .tg-wheel {
  position: absolute;
  inset: 0;
  z-index: 5;
  overflow: hidden;
  border-radius: 50%;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.35);
  transition: transform 3.8s cubic-bezier(0.13, 0.82, 0.18, 1);
}
.home-page .tg-wheel-labels {
  position: absolute;
  inset: 0;
  z-index: 10;
  border-radius: 50%;
  pointer-events: none;
  transition: transform 3.8s cubic-bezier(0.13, 0.82, 0.18, 1);
}
.home-page .tg-wheel-label {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 50%;
  height: 1px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 12.5%;
  transform-origin: 0 0;
  pointer-events: none;
}
@media (max-width: 768px) {
  .home-page .tg-wheel-label {
    padding-right: 10%;
  }
}
.home-page .tg-wheel-label > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
@media (max-width: 1400px) {
  .home-page .tg-wheel-label > span {
    font-size: 1rem;
  }
}
@media (max-width: 1200px) {
  .home-page .tg-wheel-label > span {
    font-size: 0.875rem;
  }
}
@media (max-width: 1000px) {
  .home-page .tg-wheel-label > span {
    font-size: 1.25rem;
    letter-spacing: 0.3px;
  }
}
@media (max-width: 850px) {
  .home-page .tg-wheel-label > span {
    font-size: 1.125rem;
    letter-spacing: 0.3px;
  }
}
@media (max-width: 768px) {
  .home-page .tg-wheel-label > span {
    font-size: 1rem;
    letter-spacing: 0.3px;
  }
}
@media (max-width: 700px) {
  .home-page .tg-wheel-label > span {
    font-size: 0.938rem;
    letter-spacing: 0.3px;
  }
}
@media (max-width: 630px) {
  .home-page .tg-wheel-label > span {
    font-size: 0.875rem;
  }
}
@media (max-width: 500px) {
  .home-page .tg-wheel-label > span {
    font-size: 0.813rem;
    letter-spacing: 0.3px;
  }
}
@media (max-width: 475px) {
  .home-page .tg-wheel-label > span {
    font-size: 0.75rem;
  }
}
@media (max-width: 430px) {
  .home-page .tg-wheel-label > span {
    font-size: 0.688rem;
  }
}
@media (max-width: 390px) {
  .home-page .tg-wheel-label > span {
    font-size: 0.625rem;
  }
}
@media (max-width: 350px) {
  .home-page .tg-wheel-label > span {
    font-size: 0.563rem;
  }
}
.home-page .tg-wheel-label > span > span {
  display: inline-block;
  font: inherit;
  color: inherit;
  line-height: inherit;
  white-space: pre;
  text-shadow: inherit;
}
.home-page .tg-wheel-label:nth-child(1) {
  color: #FFEA9F;
}
.home-page .tg-wheel-label:nth-child(2) {
  color: #141516;
}
.home-page .tg-wheel-label:nth-child(3) {
  color: #FFEA9F;
}
.home-page .tg-wheel-label:nth-child(4) {
  color: #FFEA9F;
}
.home-page .tg-wheel-label:nth-child(5) {
  color: #141516;
}
.home-page .tg-wheel-label:nth-child(6) {
  color: #FFEA9F;
}
.home-page .tg-wheel-label:nth-child(7) {
  color: #FFEA9F;
}
.home-page .tg-wheel-label:nth-child(8) {
  color: #141516;
}
.home-page .tg-wheel-label:nth-child(9) {
  color: #FFEA9F;
}
.home-page .tg-hub {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 20;
  width: 86px;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 28%, #fff8d6, #f0d878 35%, #d4af37 70%, #8a6d12);
  box-shadow: 0 0 0 7px #1a1a1e, 0 0 0 11px #ffcf3d, inset 0 5px 14px rgba(255, 255, 255, 0.35), 0 0 45px rgba(255, 195, 14, 0.85);
}
.home-page .tg-hub img {
  width: 70%;
  height: auto;
}
.home-page .tg-pointer {
  position: absolute;
  top: -30px;
  left: 50%;
  z-index: 30;
  width: 6%;
  min-width: 30px;
  height: auto;
  transform: translateX(-50%) scale(-1.3);
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.55));
}
.home-page .tg-pointer svg {
  width: 100%;
  height: 100%;
}
.home-page .tg-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  overflow-y: scroll;
  overflow-x: hidden;
  /* Hide scrollbar for IE, Edge and Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
  /* Hide scrollbar for Chrome, Safari and Opera */
}
.home-page .tg-overlay::-webkit-scrollbar {
  display: none;
}
.home-page .tg-overlay.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.home-page .tg-overlay.visible .tg-modal {
  transform: scale(1) translateY(0);
}
.home-page .tg-modal {
  max-width: 440px;
  width: 90%;
  position: relative;
  padding: 46px 38px 40px;
  margin: 25px 0;
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 28px;
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.13), transparent 45%), linear-gradient(165deg, #1c1b1a 0%, #11100f 50%, #0b0b0a 100%);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), 0 0 60px rgba(212, 175, 55, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transform: scale(0.88) translateY(30px);
  transition: transform 0.45s cubic-bezier(0.34, 1.5, 0.64, 1);
}
.home-page .tg-modal::before {
  content: "";
  position: absolute;
  top: -100px;
  left: 50%;
  width: 220px;
  height: 180px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(212, 175, 55, 0.22), transparent 70%);
  filter: blur(20px);
  pointer-events: none;
}
.home-page .tg-modal::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100px;
  height: 2px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, var(--tg-gold-light), var(--tg-gold), transparent);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.5);
}
.home-page .tg-modal-icon {
  position: relative;
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  display: grid;
  place-items: center;
  border: 2px solid rgba(255, 238, 164, 0.65);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, #fff8d6 0%, #f5e6a3 28%, #d4af37 62%, #8a6d12 100%);
  color: #211804;
  font-size: 29px;
  font-weight: 800;
  box-shadow: 0 0 0 5px rgba(212, 175, 55, 0.08), 0 0 0 9px rgba(212, 175, 55, 0.04), 0 0 35px rgba(212, 175, 55, 0.42), inset 0 3px 8px rgba(255, 255, 255, 0.45);
}
.home-page .tg-modal-icon::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  border-radius: 50%;
  animation: tgModalPulse 2s ease-in-out infinite;
}
@keyframes tgModalPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.4;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.9;
  }
}
.home-page .tg-modal-label {
  margin-bottom: 12px;
  color: var(--tg-muted);
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 3px;
}
.home-page .tg-modal-prize {
  margin: 0 0 16px;
  font-family: var(--tg-font-display);
  font-size: clamp(3.4rem, 11vw, 4.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #fff8d6 0%, #f5e6a3 20%, #d4af37 50%, #f0d060 72%, #8a6d12 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 18px rgba(212, 175, 55, 0.22));
}
.home-page .tg-modal-message {
  max-width: 330px;
  margin: 0 auto;
  color: var(--tg-text);
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.5;
}
.home-page .tg-modal-divider {
  position: relative;
  width: 90px;
  height: 1px;
  margin: 26px auto;
  background: linear-gradient(90deg, transparent, var(--tg-gold), transparent);
}
.home-page .tg-modal-divider::before, .home-page .tg-modal-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 4px;
  height: 4px;
  transform: translateY(-50%) rotate(45deg);
  background: var(--tg-gold);
  box-shadow: 0 0 8px rgba(212, 175, 55, 0.5);
}
.home-page .tg-modal-divider::before {
  left: 12px;
}
.home-page .tg-modal-divider::after {
  right: 12px;
}
.home-page .tg-verification-text {
  max-width: 320px;
  margin: 0 auto 26px;
  color: var(--tg-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}
.home-page .tg-verify-btn,
.home-page #tgLogoutBtn {
  position: relative;
  width: auto;
  min-width: 190px;
  padding: 14px 34px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 100px;
  background: linear-gradient(145deg, #fff3b0 0%, #f0d060 25%, #d4af37 60%, #a67c00 100%);
  color: #1a1408;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 5px 0 #7a5c00, 0 12px 30px rgba(212, 175, 55, 0.28), inset 0 2px 0 rgba(255, 255, 255, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.home-page .tg-verify-btn::after,
.home-page #tgLogoutBtn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.home-page .tg-verify-btn:hover,
.home-page #tgLogoutBtn:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
  box-shadow: 0 8px 0 #7a5c00, 0 18px 38px rgba(212, 175, 55, 0.38), inset 0 2px 0 rgba(255, 255, 255, 0.6);
}
.home-page .tg-verify-btn:hover::after,
.home-page #tgLogoutBtn:hover::after {
  left: 130%;
}
.home-page .tg-verify-btn:active,
.home-page #tgLogoutBtn:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #7a5c00, 0 7px 18px rgba(212, 175, 55, 0.22), inset 0 2px 0 rgba(255, 255, 255, 0.45);
}
.home-page .tg-overlay.visible {
  cursor: default;
}
.home-page .tg-overlay.visible .tg-modal {
  pointer-events: auto;
}
@media (max-width: 520px) {
  .home-page .tg-hub {
    width: 70px;
    height: 70px;
  }
  .home-page .tg-hub img {
    width: 70%;
    height: auto;
  }
  .home-page .tg-modal {
    padding: 35px 24px 30px;
  }
  .home-page .tg-modal-color {
    font-size: 3.2rem;
  }
}

/* =========================================
   HEADER STYLES
   ========================================= */
header {
  width: 100%;
  height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at 50% 0%, rgba(212, 175, 55, 0.13), transparent 45%), linear-gradient(165deg, #1c1b1a 0%, #11100f 50%, #0b0b0a 100%);
  position: relative;
  z-index: 100;
}
@media screen and (max-width: 1000px) {
  header {
    position: absolute;
    top: 0px;
    left: 0px;
    background: transparent !important;
  }
}
header .header_wrapper {
  width: 90%;
  max-width: 1280px;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
header nav {
  display: flex;
  align-items: center;
  gap: 25px;
}
@media screen and (max-width: 1000px) {
  header nav {
    display: none;
  }
}
header nav a {
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #FFD76D;
  font-size: 1.125rem;
  font-weight: 600;
}
header .btns {
  height: 44px;
  display: flex;
  align-items: center;
  gap: 25px;
}
@media screen and (max-width: 1000px) {
  header .btns {
    display: none;
  }
}
header .btns a {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 35px;
}
header .btns a.login {
  color: #FFD76D;
  border: 2px solid #FFD76D;
  border-radius: 10px;
  box-shadow: inset 0 0 5px #FFD76D, 0 0 9px rgba(206, 124, 0, 0.2196078431);
  font-weight: 700;
}
header .btns a.join {
  color: #080500;
  background: linear-gradient(#fff8ce, #FFD76D 32%, #f5c541 68%, #f1b81a);
  border-radius: 10px;
  box-shadow: 0 0 12px #FFD76D, inset 0 0 8px #fff9d7;
  font-weight: 700;
}
header .btns a.logout {
  color: #080500;
  background: linear-gradient(#fff8ce, #FFD76D 32%, #f5c541 68%, #f1b81a);
  border-radius: 10px;
  box-shadow: 0 0 12px #FFD76D, inset 0 0 8px #fff9d7;
  font-weight: 700;
}
header .header_line {
  width: 100%;
  height: 2px;
  background: var(--tg-gold-light);
}
@media screen and (max-width: 1000px) {
  header .header_line {
    display: none;
  }
}

/* =========================================
   BURGER MENU BUTTON
   ========================================= */
.burger-menu {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 10000;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  flex-direction: column;
  gap: 6px;
}

@media screen and (max-width: 1000px) {
  .burger-menu {
    display: flex !important;
  }
}
.burger-menu span {
  display: block;
  width: 34px;
  height: 4px;
  background-color: #FFD76D;
  border-radius: 4px;
  transition: all 0.3s ease;
  box-shadow: 0 0 5px rgba(255, 215, 109, 0.5);
}

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

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

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

/* =========================================
   MOBILE MENU OVERLAY
   ========================================= */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(5px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

@media screen and (min-width: 1001px) {
  .mobile-menu-overlay {
    display: none !important;
  }
}
/* =========================================
   SLIDING NAV PANEL
   ========================================= */
.mobile-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 80%;
  max-width: 400px;
  height: 100%;
  background: linear-gradient(165deg, #1c1b1a 0%, #11100f 50%, #0b0b0a 100%);
  border-right: 1px solid rgba(212, 175, 55, 0.3);
  display: flex;
  flex-direction: column;
  padding-top: 70px;
  /* Reduced from 100px to fit the close button */
  box-shadow: 5px 0 25px rgba(0, 0, 0, 0.8);
  transform: translateX(-100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
@media (max-width: 768px) {
  .mobile-nav {
    width: 100%;
    max-width: 100%;
    align-items: center;
  }
}

/* =========================================
   CLOSE BUTTON
   ========================================= */
.mobile-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.4);
  border-radius: 50%;
  color: #FFD76D;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, transform 0.3s ease, border-color 0.3s ease;
  z-index: 10;
}

.mobile-close-btn:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: #FFD76D;
  transform: rotate(90deg);
}

.mobile-close-btn:active {
  transform: rotate(90deg) scale(0.9);
}

.mobile-close-btn svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* =========================================
   NAV LINKS
   ========================================= */
.mobile-nav .nav-link {
  display: block;
  width: 100%;
  padding: 25px 20px;
  color: #FFD76D;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
  transition: background 0.3s ease, padding-left 0.3s ease;
}
@media (max-width: 1000px) {
  .mobile-nav .nav-link {
    text-align: center;
  }
}

@media (min-width: 1000px) {
  .mobile-nav .nav-link:hover {
    background: rgba(212, 175, 55, 0.08);
    padding-left: 35px;
  }
}
.mobile-nav .nav-link.login {
  margin-top: auto;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  color: #FFD76D;
  text-align: center;
}

.mobile-nav .nav-link.join {
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  background: linear-gradient(145deg, #fff3b0 0%, #f0d060 25%, #d4af37 100%);
  color: #1a1408;
  text-align: center;
}

.mobile-nav .nav-link.join:hover {
  background: linear-gradient(145deg, #fff3b0 0%, #f0d060 25%, #e5c250 100%);
  padding-left: 25px;
}

.mobile-nav .nav-link.logout {
  margin-top: auto;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
  background: linear-gradient(145deg, #fff3b0 0%, #f0d060 25%, #d4af37 100%);
  color: #1a1408;
  text-align: center;
}

.mobile-nav .nav-link.logout:hover {
  background: linear-gradient(145deg, #fff3b0 0%, #f0d060 25%, #e5c250 100%);
  padding-left: 25px;
}

:root {
  /* Brand */
  --tg-gold: #DDA955;
  --tg-gold-light: #ffcf4c;
  /* Background */
  --tg-bg: #08080a;
  /* Text */
  --tg-text: #f8f5ef;
  --tg-muted: #a8a29e;
  /* Typography */
  --tg-font-body:
      "Inter",
      system-ui,
      -apple-system,
      BlinkMacSystemFont,
      "Segoe UI",
      sans-serif;
  --tg-font-display:
      "Playfair Display",
      Georgia,
      serif;
}

html {
  margin: 0 !important;
  padding: 0;
  box-sizing: border-box;
}

#wpadminbar {
  display: none !important;
}

body {
  margin: 0 !important;
  padding: 0;
  min-height: 100vh;
  font-family: var(--tg-font-body);
  color: var(--tg-text);
  background: #000;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

img,
svg,
video,
canvas {
  display: block;
  max-width: 100%;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-top: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

.error-page .error {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 20px;
  overflow: hidden;
  color: var(--tg-text);
  background: radial-gradient(ellipse 90% 60% at 50% -30%, rgba(212, 175, 55, 0.18), transparent 60%), radial-gradient(ellipse 50% 40% at 90% 90%, rgba(139, 0, 0, 0.1), transparent), var(--tg-bg);
}
.error-page .particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background: url("./img/bgimg.webp") top center/cover no-repeat;
}
.error-page .particle {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--tg-gold);
  opacity: 0;
  animation: particleRise linear infinite;
}
@keyframes particleRise {
  0% {
    transform: translateY(105vh) scale(0.5);
    opacity: 0;
  }
  15% {
    opacity: 0.35;
  }
  80% {
    opacity: 0.2;
  }
  100% {
    transform: translateY(-10vh) scale(1);
    opacity: 0;
  }
}
.error-page .error-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(12px);
  transition: opacity 0.35s ease;
  overflow-y: scroll;
  /* Hide scrollbar for IE, Edge and Firefox */
  -ms-overflow-style: none;
  /* IE and Edge */
  scrollbar-width: none;
  /* Firefox */
  /* Hide scrollbar for Chrome, Safari and Opera */
}
.error-page .error-overlay::-webkit-scrollbar {
  display: none;
}
.error-page .error-card {
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.error-page .error-card h1 {
  font-size: clamp(3.85rem, -0.875rem + 8.333333vw, 4.65rem);
  font-weight: 600;
  margin-bottom: 10px;
  text-transform: capitalize;
  background-image: linear-gradient(135deg, #fff8e0 0%, #f5e6a3 25%, #d4af37 60%, #b8860b 100%);
  background-size: auto auto;
  background-clip: border-box;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.error-page .error-card h2 {
  color: var(--tg-text);
  font-size: clamp(1.5rem, -0.875rem + 8.333333vw, 1.75rem);
  margin-bottom: 5px;
  font-weight: 600;
}
.error-page .error-card p {
  width: 100%;
  max-width: 600px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 1em;
  line-height: 1.3em;
  margin-top: 5px;
}
@media screen and (max-width: 768px) {
  .error-page .error-card p {
    font-size: 0.95em;
  }
}
@media screen and (max-width: 600px) {
  .error-page .error-card p {
    font-size: 0.925em;
  }
}
.error-page .error-card a {
  width: 90%;
  max-width: 250px;
  display: block;
  position: relative;
  min-height: 50px;
  padding: 14px 34px;
  margin-top: 15px;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.55);
  border-radius: 100px;
  background: linear-gradient(145deg, #fff3b0 0%, #f0d060 25%, #d4af37 60%, #a67c00 100%);
  color: #1a1408;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 5px 0 #7a5c00, 0 12px 30px rgba(212, 175, 55, 0.28), inset 0 2px 0 rgba(255, 255, 255, 0.55);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.error-page .error-card a::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 65%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
}
.error-page .error-card a:hover {
  transform: translateY(-3px);
  filter: brightness(1.06);
  box-shadow: 0 8px 0 #7a5c00, 0 18px 38px rgba(212, 175, 55, 0.38), inset 0 2px 0 rgba(255, 255, 255, 0.6);
}
.error-page .error-card a:hover::after {
  left: 130%;
}
.error-page .error-card a:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #7a5c00, 0 7px 18px rgba(212, 175, 55, 0.22), inset 0 2px 0 rgba(255, 255, 255, 0.45);
}
.error-page .error-card a:disabled {
  cursor: not-allowed;
  opacity: 0.7;
  transform: none;
  filter: none;
}
.error-page .error-card a.is-loading {
  cursor: wait;
}/*# sourceMappingURL=style.css.map */