@import url("https://fonts.googleapis.com/css2?family=Anonymous+Pro:ital,wght@0,400;0,700;1,400;1,700&family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Kdam+Thmor+Pro&family=Noto+Sans:ital,wght@0,100..900;1,100..900&family=Prata&family=Roboto:ital,wght@0,100..900;1,100..900&family=Staatliches&family=Syne:wght@400..800&display=swap");
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  color: #052218;
  font-family: Inter;
}

button {
  background-color: transparent;
  border: 0;
  cursor: pointer;
  transition: 0.3s all ease-in-out;
}

button:hover {
  opacity: 0.75;
  transform: translateY(1px);
}

body {
  width: 100%;
  min-height: 100vh;
}

span {
  font-size: 14px;
}

.bold {
  font-weight: 700;
}

/* header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 73px;
  padding: 0 34px;
  width: 100%;
  font-size: 14px;
  border-bottom: 1px solid #c9c9c9;
}
.nav {
  display: flex;
  gap: 45px;
}

.user-actions {
  display: flex;
  align-items: center;
  gap: 50px;
}
.lang {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 135px;
  height: 35px;
  background-color: transparent;
  border: 1px solid #dbdbdb;
  border-radius: 10px;
  cursor: pointer;
}
.user-profile {
  display: flex;
  align-items: center;
  gap: 20px;
}
.user-info {
  display: flex;
  flex-direction: column;
  text-align: end;
}
.user-name {
  font-weight: 700;
}
.user-image {
  height: 55px;
  width: 55px;
  border-radius: 50%;
  background-color: #dbdbdb;
} /* layout */
.layout {
  display: flex;
  gap: 20px;
  padding: 10px 34px;
  min-height: calc(100vh - 73px - 255px);
  background-color: #f9fafc;
}
.main {
  display: flex;
  flex-direction: column;
  gap: 30px;
  flex: 1 1 auto;
  min-width: 0;
  padding: 30px 0;
}
.section-header {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
  width: 100%;
}
.sign-out-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  height: 35px;
  width: 109px;
  border-radius: 10px;
  border: 1px solid #dbdbdb;
}
.section-title {
  color: #2fba8c;
  font-size: 32px;
}
.section-subtitle {
  color: #2fba8c;
  font-size: 24px;
}

.bonuspool-grid-container {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.grid-container {
  min-width: 100%;
}

.section-user-profile {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 540px;
  padding: 13px 15px;
  background-color: white;
  box-shadow: 0px 4px 4px 0px #0000001a;
  border: 1px solid #dbdbdb;
  border-radius: 10px;
}
.section-user-content {
  display: flex;
  align-items: center;
  gap: 20px;
}
.section-user-info {
  display: flex;
  flex-direction: column;
  text-align: start;
} /* sidebar */
.sidebar {
  width: 280px;
  /* Prevent flex container from shrinking the sidebar */
  flex: 0 0 280px;
  border-right: 1px solid #ccffff;
}
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.sidebar ul {
  list-style: none;
}
.sidebar ul li a {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
  height: 46px;
  font-size: 14px;
}
.sidebar-nav li:first-child a {
  color: #2fba8c;
  background: #f1f4fa;
  height: 46px;
  width: 100%;
  padding-left: 15px;
}
.mobile-sidebar {
  display: none;
}
.sidebar-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 20px;
  padding-right: 5px;
}
.sidebar-links button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  font-size: 12px;
  border: 1px solid #c9c9c9;
  border-radius: 10px;
  background-color: transparent;
}
.sidebar-links .half {
  width: 100%;
}
.sidebar-links .full {
  grid-column: span 2;
  width: 100%;
  color: #69ae49;
} /* footer */
.footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 34px;
  width: 100%;
}
.footer-top {
  display: flex;
  justify-content: space-between;
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.footer-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 40px;
  font-size: 12px;
  border: 1px solid #c9c9c9;
  border-radius: 10px;
}
.footer-links a:hover {
  background: #f9f9f9;
} /* dashboard */

.dashboard-section {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}
.dashboard-content {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  width: 100%;
}
.dashboard-grid-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1px solid #dbdbdb;
  box-shadow: 0px 4px 4px 0px #0000001a;
  background-color: white;
  overflow: hidden;
}
.dashboard-grid-item-title {
  color: #c9c9c9;
  font-size: 14px;
  font-weight: 700;
}
.dashboard-grid-item-value {
  font-weight: 700;
  font-size: 32px;
}
.dashboard-grid-item-description {
  font-size: 12px;
}
.dashboard-grid-item-line {
  transform: rotate(-2.86deg) translate(-15px);
  height: 2px;
  width: 120%;
  background-color: #2fba8c;
  margin: 15px 0;
}
.dashboard-grid-item-buttons {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.video-container {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 640px;
  aspect-ratio: 16 / 9;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  align-self: center;
}
.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 10px;
}
.video-container img {
  max-width: 80px;
  opacity: 0.5;
}
.dashboard-grid-item-button {
  display: flex;
  gap: 5px;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 10px;
  color: white;
  font-weight: 700;
  font-size: 14px;
}
.button-club {
  background-color: #5d84bf;
}
.button-taa {
  background-color: #69ae49;
}
.button-timeless {
  background-color: #00c49b;
}
.button-bonus {
  height: 49px;
  color: #5d84bf;
  border: 1px solid #5d84bf;
}
.dashboard-grid-item-more {
  display: flex;
  align-items: end;
  height: 100%;
}

/* Start Page */

.start-page {
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  width: 100vw;
  height: 100vh;
  position: relative;
  padding: 44px 34px;
  overflow: hidden;
}

.background {
  position: relative;
  width: 100vw;
  height: 100vh;
  background-color: #0e1527;
  overflow: hidden;
  clip-path: inset(0 0 0 0);
}

.background::before,
.background::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(850px);
  opacity: 0.6;
}

.background::before {
  width: 1222px;
  height: 1222px;
  top: -466px;
  left: -1048px;
  background: #db2bda;
  z-index: -1;
}

.background::after {
  width: 892px;
  height: 892px;
  top: 400px;
  right: 0;
  background: #00eeff;
}

.header-container {
  display: flex;
  justify-content: space-between;
}

.start-header-left {
  display: flex;
  gap: 10px;
  flex-direction: column;
  z-index: 5;
}

.start-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  height: 67px;
  width: 260px;
  color: white;
  border-radius: 10px;
  border: 1px solid #ffffff;
  backdrop-filter: blur(10px);
  background-color: #05221866;
}

.start-button-description {
  font-size: 12px;
  color: white;
}

.start-auth {
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 5;
}

.register-button {
  background-color: white;
  color: #052218;
}

.pink-background {
  position: absolute;
  z-index: -12;
  height: 1222px;
  width: 1222px;
  opacity: 0.48;
  border-radius: 50%;
  background: #db2bdb6a;
  backdrop-filter: blur(800px);
}

.start-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  z-index: 2;
}

.footer-title-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.footer-title {
  color: white;
  font-size: 32px;
}

.footer-description {
  color: white;
  font-size: 14px;
}

.footer-cards {
  display: flex;
  gap: 20px;
}
.footer-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 349px;
  padding: 23px;
  border-radius: 10px;
  background: #0522184c;
  backdrop-filter: blur(5px);
}

.card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: white;
  font-weight: 700;
  font-size: 20px;
}
.card-list {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-left: 20px;
  height: 100%;
}
.card-list li {
  color: white;
  font-size: 14px;
}

.planet-wrapper {
  top: 0;
  left: 0;
  position: absolute;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.planet {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  height: fit-content;
  animation: pulseBackground 10s ease-in-out infinite;
  z-index: 2;
  position: relative;
}

.planet-image {
  width: 30vw;
  height: 30vw;
}

.planet::after {
  content: "";
  position: absolute;
  bottom: -225px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 500px;
  background: #db2bda;
  z-index: -3;
  filter: blur(300px);
}

@keyframes pulseBackground {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
}

.ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid transparent;

  background: linear-gradient(180deg, #0f172b 0%, #504e94 100%) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;

  transform: translate(-50%, -50%) scale(0.8);
  opacity: 0;
  z-index: -1;
  animation: ripple 8s linear infinite;
}

.ring:nth-child(1) {
  animation-delay: 0s;
}
.ring:nth-child(2) {
  animation-delay: 1s;
}
.ring:nth-child(3) {
  animation-delay: 2s;
}
.ring:nth-child(4) {
  animation-delay: 3s;
}
.ring:nth-child(5) {
  animation-delay: 4s;
}
.ring:nth-child(6) {
  animation-delay: 5s;
}
.ring:nth-child(7) {
  animation-delay: 6s;
}
.ring:nth-child(8) {
  animation-delay: 7s;
}
.ring:nth-child(9) {
  animation-delay: 8s;
}

@keyframes ripple {
  0% {
    transform: translate(-50%, -50%) scale(0.8);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  80% {
    opacity: 0.5;
  }
  100% {
    transform: translate(-50%, -50%) scale(10);
    opacity: 0;
  }
}

/* sing up modal */

.singup-modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f172bb2;
  backdrop-filter: blur(6.599999904632568px);
  z-index: 10;
}

.singup-modal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px;
  width: 680px;
  height: 785px;
  border-radius: 10px;
  background-color: white;
  border: 1px solid #dbdbdb;
  box-shadow: 0px 4px 4px 0px #0000001a;
}

.singup-modal-button {
  height: 67px;
  width: 260px;
  color: white;
  font-weight: 700;
  font-size: 16px;
  border-radius: 10px;
  background: linear-gradient(90deg, #2fba8c 0%, #009597 100%);
}

.login-modal-button {
  height: 52px;
  width: 260px;
  color: white;
  font-weight: 700;
  font-size: 16px;
  border-radius: 10px;
  background: linear-gradient(90deg, #2fba8c 0%, #009597 100%);
}

.sinup-subtitle {
  font-size: 16px;
}
/* login page specific */
.login-modal {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 40px;
  width: 680px;
  height: auto; /* убираем фиксированную высоту, чтобы не было большого отступа */
  border-radius: 10px;
  background-color: white;
  border: 1px solid #dbdbdb;
  box-shadow: 0px 4px 4px 0px #0000001a;
  z-index: 11; /* модалка выше оверлея */
}

.login-modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #0f172bb2; /* overlay как на регистрации */
  backdrop-filter: blur(6.599999904632568px);
  z-index: 10; /* выше планеты (z-index: 2) */
}

.login-subtitle {
  font-size: 16px;
}

.login-modal form {
  display: flex;
  flex-direction: column;
  gap: 20px; /* расстояние между полями формы */
}

.login-modal .checkbox-container {
  display: flex;
  align-items: center;
  gap: 12px; /* отступ между чекбоксом и текстом */
}

.login-modal .checkbox-container input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #2fba8c; /* стиль чекбокса */
}

.login-modal .checkbox-container label {
  cursor: pointer; /* чтобы было очевидно, что по тексту можно кликнуть */
}
/* referral */

.referral-container {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.refferal-header {
  display: flex;
  align-items: end;
  gap: 20px;
  width: 100%;
}

.refferal-link-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 65%;
  padding: 13px 15px;
  border-radius: 10px;
  border: 1px solid #dbdbdb;
  background-color: white;
  box-shadow: 0px 4px 4px 0px #0000001a;
}

.link-container-left {
  display: flex;
  gap: 20px;
  align-items: center;
}

.container-left-content {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

.refferal-bold {
  font-weight: 700;
}

.link-image {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 55px;
  min-width: 55px;
  min-height: 55px;
  width: 55px;
  border-radius: 50%;
  background: linear-gradient(90deg, #2fba8c 0%, #009597 100%);
}

.input-wrapper {
  position: relative;
  display: inline-block;
  width: 35%;
}

.input {
  position: relative;
  width: 100%;
  padding: 12px 15px;
  background-color: white;
  border-radius: 10px;
  border: 1px solid #dbdbdb;
  box-shadow: 0px 4px 4px 0px #0000001a;
  background-color: white;
}

/* Invalid input state for form validation */
.input.invalid {
  border-color: #c23a2c;
}

.search-input {
  padding-left: 49px;
}

.input::placeholder {
  color: #c9c9c9;
}

.input-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  pointer-events: none;
  z-index: 1;
}

.referral-input::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 24px;
  height: 24px;
  background-image: url(./img/referrals/search.svg);
  background-repeat: no-repeat;
}

.generate-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  width: 260px;
  height: 67px;
  border-radius: 10px;
  color: white;
  background-color: #69ae49;
}
.table-wrapper {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.referrals-table-container {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.referrals-table {
  width: 100%;
  border-collapse: collapse;
  font-family: Arial, sans-serif;
  table-layout: fixed;
  min-width: 600px;
}

.referrals-table th,
.referrals-table td {
  text-align: left;
  padding: 10px 12px;
  height: 56px;
  font-size: 14px;
  border-bottom: 1px solid #c9c9c9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.referrals-table th {
  background: #f5f5f5;
  font-weight: bold;
}

/* Referral page container spacing */
.referral-container {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.table-pagination {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.table-results {
  font-size: 14px;
  color: #c9c9c9;
}

.pagination-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
}
.table-per-page {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: fit-content;
  height: 35px;

  font-size: 14px;

  color: #c9c9c9;
  border-radius: 10px;
  border: 1px solid #dbdbdb;
  background-color: white;
}
.per-page {
  width: 140px;
}

.pagination {
  width: fit-content;
  padding: 6px 11px;
}
.pagination .page {
  padding: 6px 12px;
  cursor: pointer;
  position: relative;
  color: #c9c9c9;
  display: inline-flex;
  align-items: center;
}
.pagination .page.active {
  color: #052218;
  border-radius: 4px;
}

.pagination .page:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -8px;
  color: #c9c9c9;
}

.table-per-page span {
  color: #c9c9c9;
}

/* Ensure pages container is flex-centered like design pill */
.table-per-page.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 35px;
}

.pagination-arrow {
  transform: rotate(-90deg);
}

/* profile */

.profile-section {
  display: flex;
  gap: 20px;
  width: 100%;
}

.section-child {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.child-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.profile-info-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 13px 15px;
  border: 1px solid #dbdbdb;
  border-radius: 10px;
  box-shadow: 0px 4px 4px 0px #0000001a;
  background-color: white;
}

.user-avatar-container {
  display: flex;
  flex-direction: column;
  width: fit-content;
  gap: 20px;
}

.user-avatar-header {
  display: flex;
  justify-content: space-between;
}

.user-avatar-actions {
  display: flex;
  gap: 5px;
}

.user-avatar {
  width: 147px;
  height: 147px;
  border-radius: 50%;
  background-color: #c9c9c9;
}

.user-form-row {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.user-form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.user-form-group label {
  font-weight: 700;
}

.confirm-email {
  color: #438bad;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  width: fit-content;
}

/* Inline notice near confirm email */
.inline-notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding: 8px 12px;
  border-radius: 10px;
  background-color: white;
  box-shadow: 0px 4px 4px 0px #0000001a;
  color: #438bad;
  font-size: 14px;
}
.inline-notice img {
  width: 16px;
  height: 16px;
}
.inline-notice.error {
  color: #c23a2c;
}

.verification-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.verification-button {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 43px;
  border-radius: 10px;
  border: 1px solid #438bad;
  padding: 0 12px;
  gap: 10px;
}

/* KYC delete inside button */
.kyc-delete-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0 4px;
}
.kyc-delete-btn img {
  width: 20px;
  height: 20px;
}
.kyc-verified-icon {
  width: 20px;
  height: 20px;
}

/* KYC modal confirm */
.kyc-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1000;
}
.kyc-modal {
  background: white;
  border-radius: 10px;
  padding: 20px;
  width: 360px;
  box-shadow: 0px 4px 15px 0px #0000001a;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.kyc-modal-title {
  font-size: 18px;
  color: #2fba8c;
}
.kyc-modal-text {
  font-size: 14px;
  color: #333;
}
.kyc-modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}
.kyc-modal-cancel {
  height: 35px;
  border-radius: 10px;
  border: 1px solid #c9c9c9;
  background-color: white;
  padding: 0 12px;
}
.kyc-modal-confirm {
  height: 35px;
  border-radius: 10px;
  border: 1px solid #dbdbdb;
  background-color: #69ae49;
  color: white;
  padding: 0 12px;
}

.session-info {
  font-size: 14px;
}

.browser-session-type {
  display: flex;
  align-items: center;
  gap: 20px;
}
.session-type-info {
  display: flex;
  flex-direction: column;
  font-size: 14px;
}

/* channel */

.channel-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.info-header {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 20px;
}

.info-green-gradient {
  background: linear-gradient(90deg, #2fba8c 0%, #009597 100%);
}
.info-green-gradient span {
  color: white;
}

.info-white {
  background-color: white;
}

.telegram-info-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0px 4px 15px 0px #0000001a;
}

.telegram-cards-container {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(5, 1fr);
}

.telegram-card {
  display: flex;
  align-items: center;

  padding: 20px;
  gap: 20px;
  background-color: white;
  border-radius: 15px;
  box-shadow: 0px 4px 15px 0px #0000001a;
}

.telegram-info-footer {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: 20px;
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0px 4px 15px 0px #0000001a;
}

/* Ensure form children participate in grid layout within footer */
.telegram-join-form {
  display: contents;
}

/* Footer form row: place ID and Send side-by-side, shrink inputs */
.telegram-info-footer .user-form-row {
  display: flex;
  flex-direction: row;
  align-items: flex-end; /* align children to bottom of the grid cell */
  gap: 20px;
  align-self: end; /* place the whole row at the bottom of the footer grid */
}
.telegram-info-footer .user-form-row .user-form-group {
  flex: 1;
}
.telegram-info-footer .generate-button {
  height: 42px;
}

/* advertisement */

.advertisement-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.advertisement-cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}

.advertisement-card {
  display: flex;
  flex-direction: column;
  min-width: 100%;
  gap: 10px;
}

.advertisement-card span:nth-child(2) {
  font-size: 12px;
}

.advertisement-card span:last-child {
  font-size: 32px;
}

.warning-conteiner {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 60%;
}

.white-container {
  padding: 20px;
  border-radius: 10px;
  font-size: 14px;
  background-color: white;
  /* border: 1px solid #dbdbdb; */
  box-shadow: 0px 4px 4px 0px #0000001a;
  width: fit-content;
  height: fit-content;
}

.bonuspool-first-container {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 20px;
}

.bonuspool-container:first-child {
  font-size: 14px;
}

.bonuspool-list {
  margin-left: 20px;
}
.bonuspool-list li {
  font-size: 14px;
}

.bonus-activity-cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.bonus-activity-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}
.bonus-activity-card span:last-child {
  font-size: 32px;
}
/* bonus pools */

.page-exit-button {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 67px;
  width: 165px;
  color: #c9c9c9;
  border-radius: 10px;
  font-weight: 700;
  border: 1px solid #c9c9c9;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.main-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.copy-link {
  position: relative;
}
.bonuspool-third-container {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.copy-link-input {
  width: 100%;
  height: 38px;
  padding: 0 15px;
  border-radius: 10px;
  background-color: white;
  border: 1px solid #dbdbdb;
  box-shadow: 0px 4px 4px 0px #0000001a;
}
.copy-btn {
  position: absolute;
  right: 15px;
  top: 8px;
}
.pool-card-title {
  font-weight: 400;
  font-size: 20px;
  color: white;
}
.bonus-pool-cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(5, 1fr);
}

.bonus-pool-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border-radius: 15px;
  background-color: #00c49b;
}

.green-gradient-bg {
  width: fit-content;
  color: white;
  background: linear-gradient(90deg, #2fba8c 0%, #009597 100%);
}

.green-gradient-bg h4,
.green-gradient-bg span {
  color: white;
}

.bonus-pool-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bonuspool-checkbox-cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.checkbox-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 62px;
  padding: 0 20px;
  border-radius: 15px;
  border: 1px solid #438bad;
}
.checkbox-card span {
  font-weight: 700;
  font-size: 20px;
  color: #438bad;
}

.description {
  font-size: 14px;
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bonuspool-partner-cards {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.partner-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
  border-radius: 15px;
  border: 1px solid #438bad;
}

.partner-card span {
  font-size: 20px;
  color: #438bad;
}

.bonuspool-four-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.bonus-pool-four-bottom {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}

.earnings-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: fit-content;
  gap: 16px;
  background-color: #438bad;
  width: 30%;
}

.earnings-container span {
  color: white;
}

.earnings-container span:first-child {
  font-size: 20px;
}
.earnings-container span:last-child {
  font-size: 32px;
}

.telegram-link {
  display: flex;
  gap: 20px;
  width: fit-content;
}

.telegram-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  height: 62px;
  width: 244px;
  border-radius: 15px;
  background-color: #00c49b;
  color: white;
}

.white-conteiner-text {
  max-width: 500px;
}

.orange-gradient-container {
  display: flex;
  align-items: center;
  padding: 19px 25px;
  gap: 16px;
  width: fit-content;
  border-radius: 15px;
  font-size: 14px;
  color: white;
  background: linear-gradient(90deg, #f27419 0%, #d39e3c 100%);
}

/* shop */

.order-container {
  display: flex;
  gap: 20px;
  border-radius: 10px;
  padding: 7.5px 15px;
}

.order-button {
  height: 67px;
  width: 112px;
  color: #69ae49;
  font-weight: 700;
  border-radius: 10px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.order-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.order-title {
  font-size: 26px;
  font-weight: 700;
}

.shop-cards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.card-item-image {
  width: 405px;
  aspect-ratio: 405 / 180;
  height: auto;
  object-fit: cover;
}

.green-border-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 165px;
  height: 67px;
  color: #2fba8c;
  border: 1px solid #2fba8c;
  border-radius: 10px;
}

.shop-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  border-radius: 15px;
  background-color: white;
  box-shadow: 0px 4px 15px 0px #0000001a;
  position: relative;
  /* fixed height to align footers across cards */
  height: 560px;
}
.shop-card {
  /* force exact 20px visual offset controlled by footer margin */
  padding-bottom: 0 !important;
}
.shop-card-image {
  width: 100%;
  height: 270px;
  object-fit: cover;
}

.card-price {
  position: absolute;
  top: 0;
  left: 0;
  padding: 7px 21px;
  border-radius: 15px;
  z-index: 2;
  font-size: 24px;
}
.card-item-price {
  font-size: 24px;
  padding: 7px 21px;
  border-radius: 15px;
}
.card-text {
  font-size: 14px;
}
/* Fixed description height to align buttons across cards */
.fixed-desc {
  /* consistent description block height to avoid footer overflow */
  min-height: 100px;
  overflow: hidden;
}

.card-footer {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-top: auto;
}

/* Ensure bottom offset for shop card footer */
.shop-card .card-footer {
  margin-bottom: 20px;
}

.shop-card-item {
  display: flex;
  gap: 16px;
}
.shop-card-item-footer {
  display: flex;
  gap: 16px;
}

.card-item-info {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  max-width: 500px;
}

.order-section {
  display: flex;
  gap: 20px;
}

.cart-container {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  height: 100%;
}

.delete-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 109px;
  border-radius: 10px;
  height: 35px;
  background-color: white;
  border: 1px solid #dbdbdb;
}

.cart {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cart-item {
  display: flex;
  gap: 20px;
}
.cart-item-image {
  width: 260px;
  height: 116px;
}

.line {
  width: 100%;
  height: 1px;
  background-color: #c9c9c9;
}

.cart-item-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
/* Quantity controls on order page */
.quantity-control {
  display: flex;
  align-items: center;
  gap: 10px;
}
.qty-input {
  width: 60px;
  height: 35px;
  border: 1px solid #dbdbdb;
  border-radius: 8px;
  padding: 0 8px;
}
.qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 35px;
  height: 35px;
  border: 1px solid #dbdbdb;
  border-radius: 8px;
  background: #fff;
  cursor: pointer;
}

.discount-image {
  width: 55px;
}

.order-user-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 540px;
}

.cart-footer-info {
  display: flex;
  gap: 16px;
  width: 100%;
  height: fit-content;
}

.price {
  font-size: 24px;
  color: #2fba8c;
}

.success-order-section {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: 100%;
}

.success-order-container {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 22px;
}

.success-order-title {
  font-size: 32px;
  text-align: center;
}
.success-order-text {
  font-size: 20px;
  font-weight: 700;
  text-align: center;
}

/* marketing */

.marketing-cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}

.marketing-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
  height: 100%;
}

/* information */

.information-cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}
.information-image {
  width: 280px;
  height: 280px;
}
.information-icon {
  height: 19px;
  width: 19px;
}
.information-card {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  height: 100%;
}

.information-profile-container {
  display: flex;
  gap: 20px;
}

.profile-information {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.calendar-container {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
}

.contact-info-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  justify-content: space-between;
  min-width: 260px;
  height: 100%;
  padding: 33px 20px;
}

.contact-container {
  display: flex;
  align-items: center;
  flex-direction: column;
  color: white;
  gap: 16px;
}
.contact-container h2 {
  color: white;
}

.information-footer-container {
  display: flex;
  gap: 20px;
  width: 100%;
}

.footer-child {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.id-cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.id-card {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  height: 100%;
}

.id-card span {
  text-align: center;
}

.card-image {
  height: 40px;
  width: 40px;
}

.sponsor-container {
  width: 100%;
  height: 100%;
}

.sponsor-container-green {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}
.sponsor-container-green span {
  font-size: 24px;
  text-align: center;
}

/* instruction */

.pdf-container {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.pdf-container-text {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.pdf-container-text span {
  color: white;
}

.pdf-container-text span:last-child {
  font-size: 24px;
}

.pdf-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border-radius: 10px;
  width: 260px;
  height: 67px;
  color: #69ae49;
  background-color: #ffffff;
}
.instruction-cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(5, 1fr);
}

.instruction-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 100%;
}

.card-number {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 55px;
  width: 55px;
  font-weight: 700;
  font-size: 24px;
  color: white;
  border-radius: 50%;
  background: linear-gradient(90deg, #2fba8c 0%, #009597 100%);
}

/* about us */

.aboutus-cards {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.aboutus-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.role {
  font-size: 14px;
}
.name {
  font-size: 20px;
}

/* video */

.videos-container {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
}

.video-card {
  display: flex;
  align-items: end;
  justify-content: center;
  position: relative;
  height: 250px;
  border-radius: 15px;
  background: url(../img/video/video-image.png);
  background-size: cover;
  background-repeat: no-repeat;
}

.play-button {
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}

.video-title {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 55px;
  color: white;
  background: #052218a6;
  border-radius: 15px;
}

/* contact */

.contact-card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  width: 500px;
}

.contact-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-title {
  font-size: 20px;
}

.legal-notice-section {
  display: flex;
  gap: 20px;
}

.info-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.text-container {
  width: 60%;
}
.text-container p {
  font-size: 14px;
}

.checkbox-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr) 1.3fr;
  grid-template-rows: repeat(3, 1fr);
  gap: 20px;
}
.contact-card {
  display: flex;
  width: 100%;
  height: 100%;
}

.grid-card1 {
  grid-area: 1 / 3 / 4 / 4;
}
.grid-card2 {
  grid-area: 1 / 1 / 2 / 2;
}
.grid-card3 {
  grid-area: 1 / 2 / 2 / 3;
}
.grid-card4 {
  grid-area: 2 / 2 / 3 / 3;
}
.grid-card5 {
  grid-area: 3 / 2 / 4 / 3;
}
.grid-card6 {
  grid-area: 2 / 1 / 4 / 2;
}

.card-header-title {
  font-size: 20px;
  color: #2fba8c;
}

.chat-container {
  width: 100%;
  height: 100%;
  border-radius: 15px;
}

.links-container {
  display: flex;
  gap: 16px;
}

/* colors */

.gray-bg {
  background-color: #9fa4aa;
}

.light-gray {
  color: #9fa4aa;
}

.light-gray-bg {
  background-color: #c9c9c9;
}

.blue {
  color: #5d84bf;
}

.blue-bg {
  background-color: #5d84bf;
}

.light-green {
  color: #2fba8c;
}
.light-green-bg {
  background-color: #2fba8c;
}

.green {
  color: #26af5f;
}
.green-bg {
  background-color: #26af5f;
}

.purpule {
  color: #975ba5;
}
.purpule-bg {
  background-color: #975ba5;
}

.yellow {
  color: #f0c514;
}
.yellow-bg {
  background-color: #f0c514;
}

.red {
  color: #c23a2c;
}
.red-bg {
  background-color: #c23a2c;
}

.white {
  color: white;
}

.red-gradient-bg span {
  color: white;
}

.red-gradient-bg {
  color: white;
  background: linear-gradient(90deg, #ed1f24 0%, #871215 100%);
}
.orange {
  color: #e77e23;
}
.orange-bg {
  background: #e77e23;
}

.gray {
  color: #808e8e;
}
.gray-bg {
  background: #808e8e;
}

.teal {
  color: #81ccb8;
}
.teal-bg {
  background: #81ccb8;
}

.forest {
  color: #4b8056;
}
.forest-bg {
  background: #4b8056;
}

.cyan {
  color: #67b9ce;
}
.cyan-bg {
  background: #67b9ce;
}

.violet {
  color: #8798cc;
}
.violet-bg {
  background: #8798cc;
}

.pink {
  color: #cc66a5;
}
.pink-bg {
  background: #cc66a5;
}

.magenta {
  color: #f63357;
}
.magenta-bg {
  background: #f63357;
}

.brown {
  color: #ce7057;
}
.brown-bg {
  background: #ce7057;
}

.clay {
  color: #cc9181;
}
.clay-bg {
  background: #cc9181;
}

.silver {
  color: #bdc2c8;
}
.silver-bg {
  background: #bdc2c8;
}

.beige {
  color: #ccb394;
}
.beige-bg {
  background: #ccb394;
}

.gold {
  color: #e4c15b;
}
.gold-bg {
  background: #e4c15b;
}

.bronze {
  color: #b39147;
}
.bronze-bg {
  background: #b39147;
}

.amber {
  color: #f59d1f;
}
.amber-bg {
  background: #f59d1f;
}

@media screen and (max-width: 1800px) {
  .card-footer {
    flex-direction: column;
  }
  .card-footer button {
    width: 100%;
  }
  /* On narrow screens, allow description to shrink to content */
  .fixed-desc {
    min-height: 0 !important;
  }
}


@media screen and (max-width: 1400px) {
  .bonus-pool-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .information-profile-container {
    flex-direction: column;
    align-items: center;
  }
  .information-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .instruction-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .marketing-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .order-section {
    flex-direction: column;
  }
  .shop-cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .videos-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (max-width: 1300px) {
  .dashboard-content {
    grid-template-columns: repeat(3, 1fr);
  }
  .video-container {
    max-width: 100%;
  }
  .nav {
    gap: 10px;
  }
  .text-container {
    width: 100%;
  }
  .bonuspool-partner-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .bonus-pool-four-bottom {
    flex-direction: column;
    align-items: start;
  }
  .refferal-link-container {
    width: 100%;
    gap: 10px;
  }
  .link-container-left {
    gap: 10px;
  }
  .telegram-cards-container {
    grid-template-columns: repeat(3, 1fr);
  }
  .planet-image {
    width: 375px;
    height: 375px;
  }
}
@media screen and (max-width: 1100px) {
  .header-right {
    width: 100%;
    flex-direction: column-reverse;
    align-items: end;
  }
  .section-user-profile {
    width: 100%;
  }
  .bonuspool-first-container {
    display: flex;
    flex-direction: column;
  }
  .shop-card-item {
    flex-direction: column;
  }
  .footer-card {
    width: 32%;
  }
  .footer-cards {
    gap: 10px;
    justify-content: space-between;
  }
}

@media screen and (max-width: 1000px) {
  .nav {
    display: none;
  }
  .section-title {
    font-size: 24px;
  }
  .bonuspool-grid-container {
    grid-template-columns: repeat(1, 1fr);
  }
  .pdf-container {
    flex-direction: column;
  }
}
@media screen and (max-width: 900px) {
  .sidebar {
    display: none;
  }
  .aboutus-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .bonus-pool-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .id-cards {
    display: flex;
    flex-direction: column;
  }
  .start-button {
    width: 150px;
    padding: 0 25px;
  }
  .footer-card {
    padding: 10px;
  }
  .mobile-sidebar {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 50px;
    padding: 50px 0;
    position: fixed;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    top: 0;
    left: 0;
    background-color: white;
  }
  .mobile-nav-close {
    position: absolute;
    right: 0;
    top: 50px;
    background-color: #2fba8c;
    color: white;
    height: 50px;
    width: 50px;
    border-radius: 10px 0 0 10px;
  }
  .mobile-nav {
    display: flex;
    gap: 10px;
  }
  .mobile-sidebar-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 15px;
    padding: 0 20px;
  }
  .mobile-sidebar-nav li {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border: 1px solid #cfd0d3;
    border-radius: 10px;
    padding: 15px 0;
  }
  .mobile-sidebar-nav li a {
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    width: 100%;
    font-size: 16px;
  }
}
@media screen and (max-width: 800px) {
  .advertisement-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .bonus-activity-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .earnings-container {
    width: fit-content;
  }
  .telegram-link {
    flex-direction: column;
  }
  .contact-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(5, 1fr);
    grid-column-gap: 20px;
    grid-row-gap: 20px;
  }
  .grid-card1 {
    grid-area: 4 / 1 / 6 / 3;
  }
  .dashboard-content {
    grid-template-columns: repeat(2, 1fr);
  }
  .information-footer-container {
    flex-direction: column;
  }
  .footer-child {
    gap: 10px;
  }
  .profile-section {
    flex-direction: column;
  }
  .refferal-header {
    flex-direction: column;
  }
  .input-wrapper {
    width: 50%;
  }
  .info-header {
    display: flex;
    flex-direction: column;
  }
  .start-page {
    padding: 44px 10px;
  }
  .singup-modal {
    margin: 0 10px;
    overflow: auto;
    max-height: 90vh;
  }
  .singup-modal-button {
    min-height: 60px;
  }
  .login-modal-button {
    min-height: 60px;
  }
}

@media screen and (max-width: 600px) {
  .section-header {
    flex-direction: column;
    gap: 20px;
  }
  .main {
    gap: 20px;
  }
  .main-section {
    gap: 20px;
  }
  .bonuspool-checkbox-cards {
    display: flex;
    flex-direction: column;
  }
  .bonuspool-partner-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .bonus-activity-cards {
    grid-template-columns: repeat(1, 1fr);
  }
  .info-header {
    display: flex;
    flex-direction: column;
  }
  .section-user-profile {
    width: 100%;
  }
  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
  .aboutus-cards {
    grid-template-columns: repeat(1, 1fr);
  }
  .bonuspool-four-container {
    display: flex;
    flex-direction: column;
  }
  .lang {
    font-size: 0;
    width: 50px;
    padding-left: 5px;
  }
  .header {
    gap: 10px;
    padding: 0 15px;
  }
  .user-actions {
    gap: 10px;
  }
  .user-profile {
    gap: 10px;
  }
  .user-image {
    height: 40px;
    width: 40px;
  }
  .bonus-pool-cards {
    grid-template-columns: repeat(1, 1fr);
  }
  .dashboard-content {
    grid-template-columns: repeat(1, 1fr);
  }
  .dashboard-grid-item-buttons {
    height: 150px;
  }
  .link-container-left {
    gap: 10px;
  }
  .information-cards {
    display: flex;
    flex-direction: column;
  }
  .instruction-cards {
    display: flex;
    flex-direction: column;
  }
  .legal-notice-section {
    display: flex;
    flex-direction: column;
  }
  .marketing-cards {
    display: flex;
    flex-direction: column;
  }
  .order-user-info {
    width: 100%;
    min-width: 0;
  }
  .cart-item {
    flex-direction: column;
    gap: 10px;
  }
  .cart-item-content {
    gap: 10px;
  }
  .cart-footer-info {
    flex-direction: column;
  }
  .pagination-footer {
    align-items: start;
    flex-direction: column;
    gap: 10px;
  }
  .link-container-left {
    align-items: start;
    flex-direction: column;
  }
  .referral-container {
    gap: 20px;
  }
  .shop-cards-container {
    display: flex;
    flex-direction: column;
  }
  .telegram-cards-container {
    grid-template-columns: repeat(2, 1fr);
  }
  .telegram-info-footer {
    display: flex;
    flex-direction: column;
  }
  .videos-container {
    display: flex;
    flex-direction: column;
  }
  .footer-cards {
    width: 90%;
    flex-direction: column;
  }
  .footer-card {
    width: 100%;
    padding: 20px;
  }
  .header-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .planet-wrapper {
    height: 100%;
  }
  .start-page {
    height: fit-content;
    overflow: auto;
    gap: 20px;
  }
  .start-video-container {
    display: none;
  }
  .background::after {
    display: none;
  }
  .start-button {
    width: 275px;
  }
  .start-logo {
    width: 250px;
  }

  .mobile-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 450px) {
  .advertisement-cards {
    grid-template-columns: repeat(1, 1fr);
  }
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
  .bonuspool-partner-cards {
    display: flex;
    flex-direction: column;
  }
  .bonuspool-four-container {
    display: flex;
    flex-direction: column;
  }
  .layout {
    padding: 10px 15px;
  }
  .contact-grid {
    display: flex;
    flex-direction: column;
  }
  .grid-card1 {
    min-height: 300px;
  }
  .card-item-image {
    width: 100%;
    aspect-ratio: 405 / 180;
    height: auto;
    object-fit: cover;
  }
  .telegram-cards-container {
    display: flex;
    flex-direction: column;
  }

  .mobile-sidebar-nav {
    grid-template-columns: 1fr;
  }
}
