html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Montserrat', sans-serif;
}

body {
  background: #04181c;
  color: #fff;
  overflow-x: hidden;
}

.hero {
  position: relative;
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(50, 70, 110, 0.40) 0%, rgba(50, 70, 110, 0.22) 45%, rgba(50, 70, 110, 0.05) 100%),
    url('images/crystalbackgroung.png') center/cover no-repeat;
  display: flex;
  flex-direction: column;
  padding: 40px 60px;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 75% 50%, rgba(120, 200, 210, 0.22), transparent 60%),
    radial-gradient(ellipse at 15% 85%, rgba(90, 180, 195, 0.18), transparent 70%);
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.navbar {
  position: fixed;
  top: 20px;
  left: 0;
  right: 0;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1600px;
  width: calc(100% - 80px);
  padding: 14px 30px;
  background: rgba(6, 20, 24, 0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(120, 200, 210, 0.15);
  border-radius: 16px;
  z-index: 100;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.navbar-left {
  display: flex;
  align-items: center;
  gap: 50px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.logo img {
  display: block;
  height: 65px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.nav-menu li {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  padding: 10px 22px;
  border-radius: 10px;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  position: relative;
}

.nav-menu li a {
  color: inherit;
  text-decoration: none;
  display: block;
  width: 100%;
  height: 100%;
}

.nav-menu li.active a {
  color: #04222a;
}

.nav-menu li:hover {
  color: #8fe3ec;
  background: rgba(120, 200, 210, 0.1);
  box-shadow: 0 0 14px rgba(120, 200, 210, 0.18);
  transform: translateY(-1px);
}

.nav-menu li.active {
  background: #b6fafb;
  color: #04222a;
}

.nav-menu li.active:hover {
  color: #04222a;
  background: #b6fafb;
  box-shadow: none;
  transform: none;
}

.navbar-right {
  display: flex;
  gap: 15px;
}

.btn-account {
  background: #b6fafb;
  color: #04222a;
  border: none;
  padding: 14px 30px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-account:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(120, 200, 210, 0.35);
}

.btn-start {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #5ec8d4);
  color: #04222a;
  border: none;
  padding: 14px 30px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: 0 8px 24px rgba(120, 200, 210, 0.35);
}

.btn-start:hover {
  background: linear-gradient(135deg, #b6fafb, #7adbe6);
  box-shadow: 0 12px 32px rgba(120, 200, 210, 0.55);
  transform: translateY(-2px);
}

.btn-start svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  transition: fill 0.25s ease;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 1600px;
  width: 100%;
  margin: 0 auto;
  padding: 180px 0 80px;
}

.hero-title {
  font-size: clamp(48px, 7vw, 110px);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -2px;
  margin-bottom: 40px;
  max-width: 1400px;
}

.hero-title .line-1 {
  display: block;
  color: #fff;
}

.hero-title .line-2 {
  display: block;
  background: linear-gradient(135deg, #b6fafb, #5ec8d4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  margin-bottom: 45px;
}

.btn-hero-cta {
  background: #b6fafb;
  color: #04222a;
  border: none;
  padding: 20px 55px;
  border-radius: 14px;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.5px;
  cursor: pointer;
  width: fit-content;
  transition: transform 0.2s, box-shadow 0.2s, background 0.25s, color 0.25s;
}

.btn-hero-cta:hover {
  background: linear-gradient(135deg, #5ec8d4, #2ea8b8);
  color: #04222a;
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(120, 200, 210, 0.4);
}

.footer {
  background: #021014;
  border-top: 1px solid rgba(120, 200, 210, 0.1);
  padding: 60px 60px 70px;
}

.footer-container {
  max-width: 1600px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.2px;
  margin-bottom: 24px;
  color: #fff;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-links li {
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: color 0.2s, opacity 0.2s;
}

.footer-links li:hover {
  color: #8fe3ec;
  opacity: 1;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: right;
}

.footer-right span {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.4);
}

.footer-links li a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links li a:hover {
  color: #8fe3ec;
}

/* ============ MEDIA ============ */
@media (max-width: 1100px) {
  .nav-menu { display: none; }
  .navbar { width: calc(100% - 40px); padding: 12px 20px; }
  .footer { padding: 40px 30px; }
  .footer-right { text-align: left; }
}

@media (max-width: 600px) {
  .navbar {
    top: 10px;
    width: calc(100% - 20px);
    padding: 10px 14px;
  }
  .navbar-right { gap: 8px; }
  .btn-account, .btn-start { padding: 10px 16px; font-size: 12px; }
  .hero { padding: 20px; }
  .hero-content { padding: 140px 0 60px; }
  .hero-description { font-size: 15px; }
  .btn-hero-cta { padding: 16px 40px; width: 100%; }
  .footer-container { flex-direction: column; }
}

.donate-wrapper {
  flex: 1;
  width: calc(100% - 80px);
  max-width: 1600px;
  margin: 0 auto;
  padding: 120px 0 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.donate-hero {
  min-height: 100vh;
  padding: 30px 40px;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(180deg, rgba(110, 150, 200, 0.45) 0%, rgba(110, 150, 200, 0.35) 100%),
    url('images/crystalbackgroung.png') center/cover no-repeat;
  background-attachment: fixed;
}

.donate-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(120, 200, 210, 0.1), transparent 65%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 0;
}

.donate-hero > *:not(.navbar) {
  position: relative;
  z-index: 1;
}

.donate-title {
  font-size: clamp(50px, 3vw, 38px);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -1px;
  text-align: center;
  margin-bottom: 14px;
  background: linear-gradient(135deg, #b6fafb, #5ec8d4);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.donate-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  background: transparent;
  border: none;
  margin-bottom: 20px;
}

.donate-tabs .tab {
  background: transparent;
  border: none;
  color: #fff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 10px;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  white-space: nowrap;
}

.donate-tabs .tab:hover {
  color: #8fe3ec;
  background: rgba(120, 200, 210, 0.1);
  box-shadow: 0 0 14px rgba(120, 200, 210, 0.18);
  transform: translateY(-1px);
}

.donate-tabs .tab.active {
  background: linear-gradient(135deg, #5ec8d4, #2ea8b8);
  color: #04222a;
  box-shadow: 0 8px 24px rgba(120, 200, 210, 0.35);
}

.donate-tabs .tab.active:hover {
  background: linear-gradient(135deg, #b6fafb, #7adbe6);
  color: #04222a;
  box-shadow: 0 12px 30px rgba(120, 200, 210, 0.5);
}

.donate-card {
  width: 100%;
  max-width: 900px;
  background: rgba(6, 20, 24, 0.85);
  border: 1px solid rgba(120, 200, 210, 0.16);
  border-radius: 16px;
  padding: 20px 28px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.donate-card-header {
  text-align: center;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 14px;
  border-radius: 10px;
  color: #8fe3ec;
  background: rgba(120, 200, 210, 0.1);
  border: 1px solid rgba(120, 200, 210, 0.2);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.field input,
.field select {
  width: 100%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(120, 200, 210, 0.16);
  border-radius: 12px;
  padding: 16px 18px;
  color: #fff;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  appearance: none;
  -webkit-appearance: none;
  color-scheme: dark;   
}

.field input::placeholder {
  color: rgba(255, 255, 255, 0.35);
  font-weight: 500;
}

.field input:focus,
.field select:focus {
  border-color: rgba(120, 200, 210, 0.6);
  background: rgba(0, 0, 0, 0.6);
  box-shadow: 0 0 0 3px rgba(120, 200, 210, 0.15);
}

.field select:-moz-focusring {
  color: transparent;
  text-shadow: 0 0 0 #fff;
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: '';
  position: absolute;
  right: 18px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(255, 255, 255, 0.6);
  border-bottom: 2px solid rgba(255, 255, 255, 0.6);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}

.field select option {
  background-color: #0a1430;
  color: #fff;
}

.btn-pay {
  margin-top: 6px;
  width: 100%;
  padding: 18px;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #04222a;
  cursor: pointer;
  background: linear-gradient(135deg, #5ec8d4, #2ea8b8);
  box-shadow: 0 10px 30px rgba(120, 200, 210, 0.35);
  transition: box-shadow 0.25s, background 0.25s;
}

.btn-pay:hover {
  background: linear-gradient(135deg, #b6fafb, #7adbe6);
  box-shadow: 0 14px 38px rgba(120, 200, 210, 0.55);
}

.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  margin-top: 4px;
  position: relative;
}

.checkbox input {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.checkbox-mark {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1px solid rgba(120, 200, 210, 0.35);
  border-radius: 6px;
  background: rgba(0, 0, 0, 0.45);
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s;
  position: relative;
  margin-top: 1px;
}

.checkbox-mark::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border-right: 2px solid #04222a;
  border-bottom: 2px solid #04222a;
  transform: rotate(45deg) scale(0);
  transition: transform 0.15s ease;
}

.checkbox input:checked + .checkbox-mark {
  background: linear-gradient(135deg, #5ec8d4, #2ea8b8);
  border-color: transparent;
  box-shadow: 0 0 12px rgba(120, 200, 210, 0.45);
}

.checkbox input:checked + .checkbox-mark::after {
  transform: rotate(45deg) scale(1);
}

.checkbox:hover .checkbox-mark {
  border-color: rgba(120, 200, 210, 0.7);
}

.checkbox input:focus-visible + .checkbox-mark {
  box-shadow: 0 0 0 3px rgba(120, 200, 210, 0.2);
}

.checkbox-text {
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.55);
  font-weight: 500;
}

.checkbox-text a {
  color: #8fe3ec;
  text-decoration: none;
  transition: color 0.2s;
}

.checkbox-text a:hover {
  color: #b6fafb;
  text-decoration: underline;
}

.catalog {
  width: 100%;
  max-width: 900px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.catalog-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.cat-tab {
  background: rgba(6, 20, 24, 0.75);
  border: 1px solid rgba(120, 200, 210, 0.14);
  color: rgba(255, 255, 255, 0.65);
  font-family: inherit;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 10px 22px;
  border-radius: 10px;
  cursor: pointer;
  transition: color 0.25s ease, background 0.25s ease,
              border-color 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.cat-tab:hover {
  color: #8fe3ec;
  border-color: rgba(120, 200, 210, 0.4);
  box-shadow: 0 0 14px rgba(120, 200, 210, 0.18);
}

.cat-tab.active {
  background: linear-gradient(135deg, #5ec8d4, #2ea8b8);
  border-color: transparent;
  color: #04222a;
  box-shadow: 0 8px 24px rgba(120, 200, 210, 0.35);
}

.catalog-body {
  width: 100%;
  min-height: 320px;
  background: rgba(6, 20, 24, 0.55);
  border: 1px solid rgba(120, 200, 210, 0.12);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 28px;
}

.catalog-empty {
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
}

.catalog-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.product-card {
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(120, 200, 210, 0.14);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease,
              box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(120, 200, 210, 0.45);
  box-shadow: 0 14px 30px rgba(120, 200, 210, 0.2);
}

.product-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: rgba(120, 200, 210, 0.06);
  border-bottom: 1px solid rgba(120, 200, 210, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.2);
  font-size: 12px;
}

.product-info {
  padding: 14px 16px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-name {
  font-size: 14px;
  font-weight: 700;
  color: #fff;
}

.product-price {
  font-size: 14px;
  font-weight: 800;
  color: #8fe3ec;
}

.product-buy {
  margin: 0 16px 16px;
  padding: 10px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #5ec8d4, #2ea8b8);
  color: #04222a;
  font-family: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, box-shadow 0.25s;
  box-shadow: 0 6px 18px rgba(120, 200, 210, 0.3);
}

.product-buy:hover {
  background: linear-gradient(135deg, #b6fafb, #7adbe6);
  box-shadow: 0 10px 24px rgba(120, 200, 210, 0.5);
}

[hidden] {
  display: none !important;
}

@media (max-width: 600px) {
  .catalog-tabs { gap: 6px; }
  .cat-tab { padding: 8px 14px; font-size: 11px; }
  .catalog-body { padding: 28px 16px; min-height: 260px; }
  .catalog-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 12, 14, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.auth-modal {
  position: relative;
  width: 100%;
  max-width: 460px;
  padding: 36px 36px 32px;
  background: rgba(3, 16, 20, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(120, 200, 210, 0.2);
  border-radius: 20px;
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.65),
    0 0 40px rgba(120, 200, 210, 0.08) inset;
  animation: modalIn 0.25s ease;
}

@keyframes modalIn {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)   scale(1); }
}

.auth-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.auth-close:hover {
  color: #8fe3ec;
  background: rgba(120, 200, 210, 0.1);
}

.auth-title {
  font-size: 28px;
  font-weight: 900;
  color: #fff;
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

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

.password-wrap {
  position: relative;
}

.password-wrap input {
  padding-right: 46px;
}

.password-toggle {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.password-toggle:hover,
.password-toggle.active {
  color: #8fe3ec;
}

.password-toggle svg {
  width: 18px;
  height: 18px;
}

.btn-auth {
  margin-top: 6px;
  width: 100%;
  padding: 16px;
  border: none;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #04222a;
  cursor: pointer;
  background: linear-gradient(135deg, #5ec8d4, #2ea8b8);
  box-shadow: 0 10px 28px rgba(120, 200, 210, 0.35);
  transition: background 0.25s, box-shadow 0.25s, filter 0.2s;
}

.btn-auth:hover {
  background: linear-gradient(135deg, #b6fafb, #7adbe6);
  box-shadow: 0 14px 34px rgba(120, 200, 210, 0.55);
}

.btn-auth:active {
  filter: brightness(0.95);
}

.legal-card {
  width: 100%;
  max-width: 900px;
  background: rgba(4, 18, 22, 0.82);
  border: 1px solid rgba(120, 200, 210, 0.16);
  border-radius: 18px;
  padding: 40px 44px 44px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  color: rgba(255, 255, 255, 0.82);
}

.legal-card h2 {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin: 32px 0 14px;
}

.legal-card h2:first-child {
  margin-top: 0;
}

.legal-card p {
  font-size: 14px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 10px;
}

.legal-card p:last-child {
  margin-bottom: 0;
}

@media (max-width: 600px) {
  .legal-card { padding: 26px 20px 30px; }
  .legal-card h2 { font-size: 16px; margin: 24px 0 12px; }
  .legal-card p { font-size: 13px; }
}