@font-face {
  font-family: 'Minecraft Rus';
  src: url("../fonst/Minecraft.eot");
  src: local("Minecraft Rus Regular"), local("Minecraft"), url("../fonst/Minecraft.eot?#iefix") format("embedded-opentype"), url("../fonst/Minecraft.woff2") format("woff2"), url("../fonst/Minecraft.woff") format("woff"), url("../fonst/Minecraft.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Inter';
  src: url("../fonts/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  src: url("../fonts/inter-cyr-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  src: url("../fonts/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  src: url("../fonts/inter-cyr-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  src: url("../fonts/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  src: url("../fonts/inter-cyr-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  src: url("../fonts/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  src: url("../fonts/inter-cyr-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Inter';
  src: url("../fonts/inter-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Inter';
  src: url("../fonts/inter-cyr-800.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

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

:root {
  --gold-100: #FFF9E6;
  --gold-300: #FFD54F;
  --gold-400: #FFC107;
  --gold-500: #F5A623;
  --gold-600: #D4920A;
  --color-primary: #D4920A;
  --color-secondary: #FFC107;
  --color-accent: #FFE566;
  --gradient-main: linear-gradient(135deg, #FFE566 0%, #FFC107 40%, #F5A623 75%, #D4920A 100%);
  --gradient-hover: linear-gradient(135deg, #FFF176 0%, #FFD54F 50%, #FFB300 100%);
  --gradient-soft: linear-gradient(160deg, #FFFDF5 0%, #FFF8E1 45%, #FFECB3 100%);
  --gradient-shimmer: linear-gradient(90deg, #D4920A, #FFC107, #FFE566, #FFC107, #D4920A);
  --surface: rgba(255, 253, 245, 0.94);
  --surface-border: rgba(212, 146, 10, 0.16);
  --text: #2C2416;
  --text-muted: #6B5D45;
  --radius-lg: 24px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 4px 16px rgba(212, 146, 10, 0.12);
  --shadow-md: 0 8px 32px rgba(212, 146, 10, 0.16);
  --shadow-lg: 0 16px 48px rgba(212, 146, 10, 0.2);
  --nav-height: 76px;
}

body {
  background: var(--gradient-soft);
  background-attachment: fixed;
  -webkit-transition: background .3s ease;
  transition: background .3s ease;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 15px;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 20% -10%, rgba(255, 213, 79, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(245, 166, 35, 0.12) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

.wrapper {
  position: relative;
  z-index: 1;
}

@keyframes shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 4px 16px rgba(212, 146, 10, 0.15); }
  50% { box-shadow: 0 6px 24px rgba(212, 146, 10, 0.25); }
}

.textstyle__title,
.donate__title-main,
.hero-card__title .textstyle__title,
.player-count {
  background: var(--gradient-shimmer);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

.textstyle__link {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

.textstyle__link:hover {
  background: var(--gradient-hover);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

a {
  text-decoration: none;
}

a, button {
  color: inherit;
  background-color: inherit;
}

::-webkit-scrollbar {
  width: 10px;
  height: 8px;
  background: linear-gradient(135deg, #FFF8E7 0%, #FFF8E1 100%);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #FFE566 0%, #FFC107 40%, #F5A623 75%, #D4920A 100%);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(135deg, #D4920A 0%, #FFC107 100%);
}

._container {
  max-width: 1560px;
  padding-right: 10px;
  padding-left: 10px;
  margin: 0 auto;
}

._container2 {
  max-width: 1160px;
  padding-right: 10px;
  padding-left: 10px;
  margin: 0 auto;
}

.textstyle__title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.color-red {
  color: #ff0000;
}

.block {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
  left: 0;
  right: 0;
}

.nav {
  -webkit-transition: background .3s ease, box-shadow .3s ease;
  transition: background .3s ease, box-shadow .3s ease;
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 18px 0;
  position: fixed;
  z-index: 100;
  width: 100%;
  top: 0;
  left: 0;
  border-bottom: 1px solid var(--surface-border);
  -webkit-box-shadow: var(--shadow-sm);
          box-shadow: var(--shadow-sm);
}

.nav::before {
  content: '';
  width: 100%;
  height: 5%;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFFBF0 100%);
  -webkit-transition: padding-bottom 1.2s ease, background .3s ease;
  transition: padding-bottom 1.2s ease, background .3s ease;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  padding-bottom: 0;
}

.nav ._container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: opacity .3s ease;
}

.nav__logo {
  flex-shrink: 0;
}

.player-count {
  background: linear-gradient(135deg, #FFE566 0%, #FFC107 40%, #F5A623 75%, #D4920A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: bold;
}

body.theme-dark .player-count {
  background: var(--gradient-shimmer);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 600;
}

.nav.active {
  height: 100vh;
  background-color: unset;
}

.nav.active::before {
  padding-bottom: 100vh;
}

.nav.active ._container {
  height: 100%;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}

.nav.active .nav__list {
  display: block;
}

.nav.active .nav__list-item {
  margin-right: 0;
  margin-bottom: 40px;
  text-align: center;
}

.nav.active .nav__list-itemACT {
  margin-right: 0;
  margin-bottom: 40px;
  text-align: center;
}

.nav.active .nav__control-theme {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.nav.active .nav__control-online {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.nav.active .nav__control-burger {
  position: absolute;
  top: 26px;
  right: 10px;
}

.nav.active .nav__control-burger__line1 {
  top: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(45deg);
          transform: translateX(-50%) translateY(-50%) rotate(45deg);
}

.nav.active .nav__control-burger__line2 {
  opacity: 0;
}

.nav.active .nav__control-burger__line3 {
  top: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
          transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}

.nav__logo img {
  max-height: 50px;
  max-width: 200px;
}

.nav__list {
  display: flex;
  gap: 6px;
  align-items: center;
  flex: 1;
  justify-content: center;
}

.nav__list-item {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-right: 0;
  text-transform: none;
  cursor: pointer;
  position: relative;
  padding: 10px 16px;
  background: transparent;
  border-radius: var(--radius-sm);
  transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 14px;
  border: 1px solid transparent;
  width: auto;
  height: auto;
  min-height: 40px;
  text-align: center;
  box-shadow: none;
  line-height: 1.2;
  color: var(--text-muted);
  white-space: nowrap;
}

.nav__list-itemACT {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  margin-right: 0;
  text-transform: none;
  cursor: pointer;
  position: relative;
  padding: 10px 18px;
  background: var(--gradient-main);
  border-radius: var(--radius-sm);
  transition: color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              background 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  width: auto;
  height: auto;
  min-height: 40px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  line-height: 1.2;
  color: #1A1408;
  white-space: nowrap;
}

@media (min-width: 1320px) {
  .nav__list {
    gap: 8px;
  }
}

@media (min-width: 1620px) {
  .nav__list {
    gap: 10px;
  }
}

@media (min-width: 2220px) {
  .nav__list {
    gap: 12px;
  }
}

@media (min-width: 4220px) { 
  .nav__list {
    gap: 14px;
  }
}

 .nav__list-itemACT:hover {
  background: var(--gradient-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.nav__list-item:hover {
  background: rgba(212, 146, 10, 0.08);
  color: var(--color-primary);
  box-shadow: none;
  transform: none;
}

.nav__list-item:last-child {
  margin-right: 0;
}

.nav__control {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav__control-item {
  background: var(--gradient-main);
  transition: background 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              border-color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: var(--radius-sm);
  color: #1A1408;
  cursor: pointer;
  height: 44px;
  border: 1px solid transparent;
}

.nav__control-icon {
  width: 44px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav__control-icon a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: inherit;
}

.nav__control-theme__icon {
  width: 22px;
  height: 22px;
  display: block;
}

.nav__control-item:hover {
  background: var(--gradient-hover);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.nav__control-online {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 16px;
  width: auto;
  min-width: 0;
  position: relative;
  overflow: visible;
  cursor: pointer;
}

.nav__control-item.nav__control-online {
  overflow: visible;
}

.nav__control-online__icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.nav__control-online__avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  object-fit: cover;
  border: 2px solid rgba(255, 224, 130, 0.45);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  image-rendering: pixelated;
  background: rgba(255, 255, 255, 0.08);
}

.hero-server-widget {
  display: none;
  align-items: center;
  gap: 14px;
  width: 100%;
  margin: 0 0 18px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 193, 7, 0.22);
  background: linear-gradient(135deg, rgba(255, 248, 225, 0.92), rgba(255, 236, 179, 0.55));
  box-shadow: 0 10px 30px rgba(212, 146, 10, 0.12);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.hero-server-widget::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, 0.35) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
  pointer-events: none;
}

.hero-server-widget:active {
  transform: scale(0.98);
}

.hero-server-widget:hover::before {
  transform: translateX(120%);
}

.hero-server-widget__avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.hero-server-widget__avatar {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  object-fit: cover;
  border: 2px solid rgba(255, 193, 7, 0.55);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
  image-rendering: pixelated;
  background: #fff;
}

.hero-server-widget__pulse {
  position: absolute;
  right: -2px;
  bottom: -2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #4caf50;
  border: 2px solid #fff;
  box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.55);
  animation: serverPulse 2s infinite;
}

@keyframes serverPulse {
  0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); }
  100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

.hero-server-widget__body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.hero-server-widget__label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
}

.hero-server-widget__ip {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  font-family: 'Inter', monospace;
}

.hero-server-widget__status,
#server-status-mobile {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
}

.hero-server-widget__action {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 999px;
  background: var(--gradient-main);
  color: #fff;
  white-space: nowrap;
}

.nav__control-online__info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.2;
  min-width: 0;
}

.nav__control-online__ip {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.nav__control-online__status,
#server-status {
  margin: 0;
  font-size: 11px;
  font-weight: 500;
  opacity: 0.8;
  white-space: nowrap;
}

.nav__control-online__tooltip {
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  bottom: auto;
  transform: translateX(-50%) translateY(-4px);
  background: rgba(20, 16, 10, 0.92);
  color: #FFF8E1;
  font-size: 11px;
  padding: 6px 10px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 120;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.nav__control-online__tooltip::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-bottom-color: rgba(20, 16, 10, 0.92);
}

.nav__control-online:hover .nav__control-online__tooltip {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.nav__control-online__checked {
  color: #FFE082;
}

.nav__control-online__hover {
  display: none !important;
}

.nav__control-burger {
  margin-left: 12px;
  width: 47px;
  position: relative;
  display: none;
}

.nav__control-burger__line {
  height: 4px;
  width: 60%;
  border-radius: 3px;
  background-color: #fff;
  position: absolute;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  -webkit-transition: top .3s ease, left .3s ease, bottom .3s ease, opacity .3s ease, -webkit-transform .3s ease;
  transition: top .3s ease, left .3s ease, bottom .3s ease, opacity .3s ease, -webkit-transform .3s ease;
  transition: transform .3s ease, top .3s ease, left .3s ease, bottom .3s ease, opacity .3s ease;
  transition: transform .3s ease, top .3s ease, left .3s ease, bottom .3s ease, opacity .3s ease, -webkit-transform .3s ease;
}

.nav__control-burger__line1 {
  top: 22%;
}

.nav__control-burger__line2 {
  top: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
          transform: translateX(-50%) translateY(-50%);
}

.nav__control-burger__line3 {
  bottom: 22%;
}

.news {
  padding-top: calc(var(--nav-height) + 40px);
  margin-bottom: 80px;
}

.hero-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  padding: 48px;
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-main);
}

.hero-card__content {
  flex: 1;
  max-width: 560px;
}

.hero-card__badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(212, 146, 10, 0.08);
  color: var(--color-primary);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero-card__title {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.15;
  margin-bottom: 16px;
  font-weight: 700;
}

.hero-card__title .textstyle__title {
  font-size: inherit;
}

.hero-card__text {
  font-size: 17px;
  line-height: 1.65;
  color: var(--text-muted);
  margin-bottom: 28px;
}

.hero-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-card__cta {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 14px 24px;
  background: var(--gradient-main);
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-family: inherit;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.hero-card__cta:hover {
  background: var(--gradient-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.hero-card__cta-label {
  font-size: 11px;
  font-weight: 500;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.hero-card__cta-ip {
  font-size: 16px;
  font-weight: 700;
  font-family: 'Inter', monospace;
}

.hero-card__media {
  flex-shrink: 0;
  max-width: 380px;
}

.hero-card__media img {
  width: 100%;
  max-height: 280px;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.news__title {
  text-align: center;
  margin-bottom: 23px;
}

.news__content {
  position: relative;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  height: 300px;
}

.news__content .textstyle__title {
  font-size: 36px;
  line-height: 200%;
}

.news__info {
  max-width: 600px;
  font-size: 24px;
  line-height: 130%;
}

.news__image img {
  width: 110%;
}

.donate {
  margin-bottom: 110px;
}

.donate__title {
  text-align: center;
  margin-bottom: 23px;
}

.donate__title-main {
  text-align: center;
  font-size: 28px;
  margin-bottom: 10px;
  font-weight: 700;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  width: 100%;
  letter-spacing: -0.02em;
}

.donate__notice-main {
  text-align: center;
  font-size: 14px;
  margin-bottom: 32px;
  color: var(--text-muted);
  width: 100%;
}

.donate__box {
  background: var(--surface);
  -webkit-transition: background .3s ease, box-shadow .3s ease;
  transition: background .3s ease, box-shadow .3s ease;
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--surface-border);
}

.donate__sidebar {
  padding-right: 24px;
  max-width: 235px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  position: relative;
  margin-right: 32px;
}

.donate__sidebar-header {
  margin-bottom: 30px;
}

.donate__sidebar-title {
  text-align: center;
  font-size: 22px;
  margin-bottom: 20px;
  font-weight: 700;
}

.donate__sidebar-item {
  cursor: pointer;
  padding: 16px 56px;
  font-size: inherit;
  font-family: inherit;
  background: linear-gradient(135deg, #FFE566 0%, #FFC107 40%, #F5A623 75%, #D4920A 100%);
  color: #fff;
  margin-bottom: 10px;
  border: none;
  outline: none;
  width: 100%;
  border-radius: 5px;
  -webkit-box-shadow: 0px 4px 8px rgba(212, 146, 10, 0.3);
          box-shadow: 0px 4px 8px rgba(212, 146, 10, 0.3);
  -webkit-transition: background .3s ease-out, -webkit-box-shadow .3s ease-out, -webkit-transform .3s ease-out;
  transition: background .3s ease-out, -webkit-box-shadow .3s ease-out, -webkit-transform .3s ease-out;
  transition: box-shadow .3s ease-out, transform .3s ease-out, background .3s ease-out;
  transition: box-shadow .3s ease-out, transform .3s ease-out, background .3s ease-out, -webkit-box-shadow .3s ease-out, -webkit-transform .3s ease-out;
}

.donate__sidebar-item:last-child {
  margin-bottom: 0;
}

.donate__sidebar-item:hover {
  -webkit-box-shadow: 0px 4px 12px rgba(212, 146, 10, 0.5);
          box-shadow: 0px 4px 12px rgba(212, 146, 10, 0.5);
  -webkit-transform: translateY(-2px);
          transform: translateY(-2px);
  background: linear-gradient(135deg, #FFF176 0%, #FFD54F 50%, #FFB300 100%);
}

.donate__sidebar-item.active {
  background: linear-gradient(135deg, #D4920A 0%, #FFC107 100%);
  -webkit-box-shadow: 0px 0px 15px rgba(212, 146, 10, 0.6);
          box-shadow: 0px 0px 15px rgba(212, 146, 10, 0.6);
}

.donate__sidebar-item.active:hover {
  background: linear-gradient(135deg, #FFD54F 0%, #FFB84D 100%);
  -webkit-transform: scale(1.02);
          transform: scale(1.02);
}

.donate__sidebar-footer {
  text-align: center;
  background: linear-gradient(135deg, #FFE566 0%, #FFC107 40%, #F5A623 75%, #D4920A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.donate__sidebar::before {
  content: '';
  position: absolute;
  right: -5px;
  top: 0;
  height: 100%;
  width: 5px;
  background-color: #fffcef;
  opacity: .5;
  border-radius: 5px;
}

@-webkit-keyframes animateCart {
  0% {
    -webkit-transform: scale(0.8) translateY(-20px);
            transform: scale(0.8) translateY(-20px);
    opacity: 0;
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1) translateY(0);
            transform: scale(1) translateY(0);
  }
}

@keyframes animateCart {
  0% {
    -webkit-transform: scale(0.8) translateY(-20px);
            transform: scale(0.8) translateY(-20px);
    opacity: 0;
  }
  100% {
    opacity: 1;
    -webkit-transform: scale(1) translateY(0);
            transform: scale(1) translateY(0);
  }
}

.donate__products {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.donate__products-carts {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  margin: -12px;
  display: none;
  gap: 12px;
  width: 100%;
}

.donate__products-carts.active {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin: 0;
  width: 100%;
}

.donate__products-carts.active .donate__products-item {
  -webkit-animation: animateCart 0.4s ease-out;
          animation: animateCart 0.4s ease-out;
  animation-fill-mode: both;
}

.donate__products-carts.active .donate__products-item:nth-child(1) { animation-delay: 0.05s; }
.donate__products-carts.active .donate__products-item:nth-child(2) { animation-delay: 0.1s; }
.donate__products-carts.active .donate__products-item:nth-child(3) { animation-delay: 0.15s; }
.donate__products-carts.active .donate__products-item:nth-child(4) { animation-delay: 0.2s; }
.donate__products-carts.active .donate__products-item:nth-child(5) { animation-delay: 0.25s; }
.donate__products-carts.active .donate__products-item:nth-child(6) { animation-delay: 0.3s; }
.donate__products-carts.active .donate__products-item:nth-child(7) { animation-delay: 0.35s; }
.donate__products-carts.active .donate__products-item:nth-child(8) { animation-delay: 0.4s; }

.donate__products-item {
  padding: 16px;
  border-radius: var(--radius-md);
  background: var(--surface);
  text-align: center;
  cursor: default;
  margin: 0;
  position: relative;
  transition: border-color 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
  width: 100%;
  max-width: 220px;
  min-height: 280px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--surface-border);
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

.donate__products-item:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 146, 10, 0.35);
  box-shadow: var(--shadow-md);
}

.donate__products-image {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 248, 225, 0.5);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  border: 1px solid var(--surface-border);
  transition: background 0.35s ease;
}

.donate__products-image img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
}

.donate__products-name {
  background: var(--gradient-shimmer);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 6px;
  line-height: 1.3;
  min-height: 2.6em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.donate__products-price {
  background: var(--gradient-shimmer);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 14px;
}

.donate__products-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: auto;
}

.donate__products-button {
  cursor: pointer;
  outline: none;
  border: none;
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  width: 100%;
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
  -webkit-text-fill-color: currentColor;
  background-clip: border-box;
  -webkit-background-clip: border-box;
}

.donate__products-button:hover {
  transform: translateY(-1px);
  opacity: 0.95;
}

.donate__products-info {
  background: rgba(255, 255, 255, 0.85);
  color: var(--text);
  border: 1px solid var(--surface-border);
}

.donate__products-description {
  display: none;
}

.donate__products-buy {
  background: var(--gradient-main);
  color: #1A1408;
  box-shadow: var(--shadow-sm);
}

.last {
  margin-bottom: 92px;
}

.last__title {
  text-align: center;
  margin-bottom: 32px;
  font-size: 24px;
}

.last__box {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  gap: 24px;
}

.last__box-item {
  width: 170px;
  min-height: 195px;
  background: var(--surface);
  -webkit-transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
  transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
  border-radius: var(--radius-md);
  align-items: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--surface-border);
  padding: 12px;
}

.last__box-item img {
  border-radius: var(--radius-sm);
}

.last__box-item hr {
  border: none;
  border-top: 1px solid var(--surface-border);
  margin: 8px 0;
}

.last__box-item:hover {
  transform: translateY(-5px);
  box-shadow: 0px 6px 16px rgba(212, 146, 10, 0.4);
}

.footer__nav {
  padding: 28px 0;
  background: var(--surface);
  -webkit-transition: background .3s ease;
  transition: background .3s ease;
  border-top: 1px solid var(--surface-border);
  box-shadow: none;
}

.footer__nav ._container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
}

.footer__logo {
  justify-self: start;
}

.footer__list {
  justify-self: center;
}

.footer__up {
  justify-self: end;
  cursor: pointer;
  padding: 12px;
  background: var(--gradient-main);
  border-radius: var(--radius-sm);
  transition: background 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
}

.footer__logo img {
  max-height: 44px;
  max-width: 180px;
  opacity: 0.95;
}

.footer__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.footer__list-item {
  text-transform: uppercase;
  margin-right: 56px;
}

.footer__list-item:last-child {
  margin-right: 0;
}

.footer__up:hover {
  background: var(--gradient-hover);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.footer__copyright {
  background: rgba(212, 146, 10, 0.04);
  -webkit-transition: background .3s ease;
  transition: background .3s ease;
  padding: 20px 0;
  border-top: 1px solid var(--surface-border);
}

.footer__copyright-text {
  text-align: center;
  line-height: 1.7;
  font-size: 13px;
  color: var(--text-muted);
}

.modals {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 102;
  display: none;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.modals.active {
  display: flex;
}

.modals__item {
  background-color: #fffcef;
  padding: 30px;
  color: #2C2416;
  border-radius: 10px;
  min-height: 200px;
  position: relative;
  display: none;
}

.modals__item.active {
  display: block;
  animation: modalIn 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  overscroll-behavior: contain;
  width: 100%;
}

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

.modals__item--product {
  max-width: 560px;
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-lg);
}

.product-modal {
  padding: 28px 32px 32px;
}

.product-modal__header {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 24px;
}

.product-modal__image {
  flex-shrink: 0;
  width: 120px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 248, 225, 0.5);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
}

.product-modal__image img {
  max-width: 100px;
  max-height: 100px;
  object-fit: contain;
}

.product-modal__meta {
  flex: 1;
  min-width: 0;
  padding-top: 4px;
}

.product-modal__name {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 8px;
  background: var(--gradient-shimmer);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-modal__price {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-primary);
}

.product-modal__label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 10px;
}

.product-modal__description {
  background: rgba(255, 248, 225, 0.4);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  max-height: 240px;
  overflow-y: auto;
  overscroll-behavior: contain;
  margin-bottom: 24px;
  white-space: pre-wrap;
  word-break: break-word;
}

.product-modal__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.product-modal__buy {
  flex: 1;
  min-width: 140px;
}

@media (max-width: 520px) {
  .product-modal__header {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .product-modal {
    padding: 24px 20px;
  }
}

.modals__title {
  color: #2C2416;
  font-size: 20px;
  color: #755600;
  text-align: center;
  margin-bottom: 20px;
}

.modals [modal-item="buy"] {
  padding: 69px 85px;
  text-align: center;
  border: 3px solid #FFB84D;
  box-shadow: 0px 0px 30px rgba(212, 146, 10, 0.4);
}

.modals__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-pack: distribute;
      justify-content: space-around;
}

.modals__cart {
  padding: 45px;
  background: linear-gradient(135deg, #FFF8E7 0%, #FFF8E1 100%);
  min-height: 404px;
  width: 404px;
  border-radius: 20px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: space-evenly;
      -ms-flex-pack: space-evenly;
          justify-content: space-evenly;
  margin-right: 30px;
  border: 2px solid #FFB84D;
  box-shadow: 0 0 20px rgba(212, 146, 10, 0.3);
}

.modals__cart-reverse {
  border-radius: 20px;
}

.modals__cart:last-child {
  margin-right: 0;
}

.modals__product {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 10px;
  background-color: #ffffff;
  padding: 10px 30px;
  border-radius: 20px;
}

.modals__product-image {
  width: 70%;
  min-width: 150px;
  height: 105px;
  border-radius: 5px;
  z-index: 5;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}

.modals__product-image img {
  max-width: 150px;
  max-height: 155px;
}

.modals__product-info {
  padding: 25px 40px;
  text-align: center;
  border-radius: 10px 10px 10px 10px;
  margin-top: -10px;
}

.modals__product-name {
  background: linear-gradient(135deg, #FFE566 0%, #FFC107 40%, #F5A623 75%, #D4920A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 16px;
  margin-bottom: 9px;
  word-break: break-all;
  font-weight: bold;
}

.modals__product-price {
  background: linear-gradient(135deg, #FFE566 0%, #FFC107 40%, #F5A623 75%, #D4920A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 24px;
  font-weight: bold;
}

.modals__form {
  width: 100%;
  padding: 0 20px;
}

.modals__input {
  padding: 10px 20px;
  border-radius: 10px;
  width: 100%;
  outline: unset;
  border: 2px solid #FFB84D;
  background: linear-gradient(135deg, #FFF8E7 0%, #FFF8E1 100%);
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.modals__input:focus {
  border-color: #D4920A;
  box-shadow: 0 0 10px rgba(212, 146, 10, 0.3);
}

.modals__input#nickname {
  margin-bottom: 20px;
}

.modals__amount {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-bottom: 20px;
}

.modals__amount-control {
  background: linear-gradient(135deg, #FFE566 0%, #FFC107 40%, #F5A623 75%, #D4920A 100%);
  border-radius: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  cursor: pointer;
  -webkit-transition: background .3s ease;
  transition: background .3s ease;
  position: relative;
  color: #fff;
  font-weight: bold;
}

.modals__amount-control:hover {
  background: linear-gradient(135deg, #FFF176 0%, #FFD54F 50%, #FFB300 100%);
  box-shadow: 0 4px 12px rgba(212, 146, 10, 0.4);
}

.modals__amount-minus {
  padding: 15px;
}

.modals__amount-result {
  background: linear-gradient(135deg, #FFF8E7 0%, #FFF8E1 100%);
  padding: 15px 20px;
  cursor: auto;
  border-radius: 5px;
  color: #D4920A;
  font-weight: bold;
}

.modals__amount-plus {
  padding: 15px;
}

.modals__amount.disabled .modals__amount-control::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  border-radius: 5px;
  background-color: #ffed1a;
  opacity: .3;
  cursor: not-allowed;
}

.modals__payment {
  position: relative;
  margin-bottom: 30px;
}

.modals__payment-control {
  padding: 10px 20px;
  border-radius: 5px 5px 0 0;
  border-bottom: 2px solid #ffd400;
  background-color: #fffef1;
  text-align: start;
  color: rgba(58, 0, 56, 0.7);
  cursor: pointer;
  -webkit-transition: background-color .3s ease;
  transition: background-color .3s ease;
  line-height: 170%;
}

.modals__payment-control:hover {
  background-color: #FFF8E1;
}

.modals__payment-selected {
  color: #fff47f;
  padding: 5px;
  background-color: #160020;
  border-radius: 3px;
  margin-left: 10px;
  font-size: 16px;
  text-align: start;
}

.modals__payment-list {
  display: none;
  position: absolute;
  bottom: 0;
  left: 0;
  -webkit-transform: translateY(100%);
          transform: translateY(100%);
  text-align: start;
  width: 100%;
  border-radius: 0px 0px 5px 5px;
  overflow: hidden;
}

.modals__payment-list.active {
  display: block;
}

.modals__payment-item {
  padding: 5px 20px;
  background-color: #ffffff;
  -webkit-transition: background-color .3s ease;
  transition: background-color .3s ease;
  color: #F4A900;
  cursor: pointer;
}

.modals__payment-item:hover {
  background-color: #FFE082;
}

.modals__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border: none;
  outline: none;
  background: var(--gradient-main);
  color: #1A1408;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
  -webkit-text-fill-color: #1A1408;
  background-clip: border-box;
  -webkit-background-clip: border-box;
  box-shadow: var(--shadow-sm);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
  animation: none;
}

.modals__button:hover {
  background: var(--gradient-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

/* Universal button — без багов background-clip */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  border: none;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: normal;
  cursor: pointer;
  text-decoration: none;
  -webkit-font-smoothing: antialiased;
  -webkit-text-fill-color: currentColor;
  background-clip: border-box;
  -webkit-background-clip: border-box;
  transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease, opacity 0.35s ease;
  animation: none !important;
}

.btn--primary {
  background: var(--gradient-main);
  color: #1A1408;
  box-shadow: var(--shadow-sm);
}

.btn--primary:hover {
  background: var(--gradient-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--text);
  border: 1px solid var(--surface-border);
}

.btn--ghost:hover {
  background: rgba(255, 193, 7, 0.1);
  border-color: rgba(255, 193, 7, 0.25);
}

.modals__close {
  width: 40px;
  height: 40px;
  background-color: #ffffff;
  -webkit-transition: background-color .3s ease;
  transition: background-color .3s ease;
  border-radius: 5px;
  position: absolute;
  top: 10px;
  right: 10px;
}

.modals__close-line {
  background-color: #FAFAFA;
  height: 3px;
  width: 60%;
  -webkit-transition: width .3s ease;
  transition: width .3s ease;
  border-radius: 2px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translateX(-50%) translateY(-50%);
          transform: translateX(-50%) translateY(-50%);
}

.modals__close-line:first-child {
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(45deg);
          transform: translateX(-50%) translateY(-50%) rotate(45deg);
}

.modals__close-line:last-child {
  -webkit-transform: translateX(-50%) translateY(-50%) rotate(-45deg);
          transform: translateX(-50%) translateY(-50%) rotate(-45deg);
}

.modals__close:hover {
  background-color: #ffffff;
}

.modals__close:hover .modals__close-line {
  width: 70%;
}

@media screen and (max-width: 1245px) {
@media screen and (max-width: 710px) {
  .footer__list {
    display: none;
  }
}
  
@media (max-width: 1000px) {
  .nav__list { 
    display: none;
  }
}
  
  .nav__control-burger {
    display: block;
  }
  .modals__row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .modals__cart {
    width: 100%;
    margin-right: 0;
    margin-bottom: 10px;
  }
  .modals [modal-item="buy"] {
    padding: 20px;
  }
}

@media screen and (max-width: 800px) {
  .donate__box {
    position: relative;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  } 
  .donate__box .donate__products-carts.active {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 2px;
  }
.donate__products-item {
    padding: 0px;
    border-radius: 10px;
    background-color: #fffcef;
    text-align: center;
    cursor: pointer;
    margin: 2px;
    position: relative;
    -webkit-transition: -webkit-box-shadow .9s ease;
    transition: -webkit-box-shadow .9s ease;
    transition: box-shadow .9s ease;
    transition: box-shadow .9s ease, -webkit-box-shadow .9s ease;
    max-width: 166px;
}
  .donate__box .donate__sidebar {
    max-width: -webkit-max-content;
    max-width: -moz-max-content;
    max-width: max-content;
    margin-bottom: 50px;
    margin-right: 0;
    position: -webkit-sticky;
    top: 50px;
    z-index: 9;
    padding: 0;
    background-color: rgba(255, 255, 255, 0.8);
    padding-bottom: 30px;
  }
  .donate__box .donate__sidebar::before {
    display: none;
  }
  .donate__box .donate__sidebar-header {
    margin-bottom: 20px;
  }
  .donate__box .donate__sidebar-carts {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    overflow-x: scroll;
    padding: 10px 0;
  }
  .donate__box .donate__sidebar-item {
    margin-bottom: 0;
    margin-right: 30px;
  }
  .donate__box .donate__sidebar-item:last-child {
    margin-right: 0;
  }
  .donate__box .donate__sidebar-item.active {
    margin-top: 4px;
  }
  .donate__box .donate__products .donate__products-title {
    text-align: center;
  }
  .news__content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .news__content .news__info {
    text-align: center;
    margin-bottom: 30px;
  }
  .hero-card {
    flex-direction: column;
    padding: 32px 24px;
    text-align: center;
    gap: 32px;
  }
  .hero-card__content {
    max-width: 100%;
  }
  .hero-card__actions {
    justify-content: center;
  }
  .hero-card__cta {
    align-items: center;
    width: 100%;
    max-width: 280px;
  }
  .hero-card__media {
    max-width: 260px;
  }
}

@media screen and (max-width: 1245px) {
  .nav__control-online {
    display: none;
  }
  .hero-server-widget {
    display: flex;
  }
  .nav__control-burger {
    margin-left: 0;
  }
}

@media screen and (max-width: 520px) {
  .hero-server-widget {
    flex-wrap: wrap;
    gap: 12px;
    padding: 12px;
  }
  .hero-server-widget__action {
    width: 100%;
    text-align: center;
  }
  .hero-server-widget__avatar {
    width: 52px;
    height: 52px;
  }
}

@media screen and (max-width: 450px) {
  .news__info {
    font-size: 18px;
    word-wrap: break-all;
  }
  .news__info .textstyle__title {
    font-size: 20px;
  }
  .modals__cart {
    padding: 10px;
  }
}

 .collapsible {
  cursor: pointer;
  padding: 40px;
  width: 100%;
  border: none;
  text-align: center;
  outline: none;
  font-size: 18px;
  background: linear-gradient(135deg, #FFE566 0%, #FFC107 40%, #F5A623 75%, #D4920A 100%);
  border-radius: 10px;
  margin: 5px;
  font-family: 'Minecraft Rus';
  font-weight: normal;
  border: 2px solid #FFB84D;
  transition: background 0.5s ease;
  box-shadow: 0px 4px 12px rgba(212, 146, 10, 0.4);
  color: #fff;
}

 .collapsible:hover {
  background: linear-gradient(135deg, #FFF176 0%, #FFD54F 50%, #FFB300 100%);
}

 .content {
  background: linear-gradient(135deg, #FFF8E7 0%, #FFF8E1 100%);
  border-radius: 10px;
  margin: 0 5px;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  border: 2px solid #FFB84D;
  line-height: 1.7;
  font-size: 18px;
  max-height: 0px;
  padding: 0 15px;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.5s ease-out, opacity 0.5s ease-out, margin-top 0.5s ease-out;
  margin-top: -6px;
  margin-bottom: 15px;
  box-shadow: 0px 4px 12px rgba(212, 146, 10, 0.3);
}

/* Добавьте этот CSS в ваш стилевой файл */

 .team-member {
  display: flex;
  align-items: center;
  border: 2px solid #FFB84D;
  border-radius: 10px;
  padding: 15px;
  background: linear-gradient(135deg, #FFF8E7 0%, #FFF8E1 100%);
  margin: 10px;
  width: 332px;
  box-shadow: 0px 4px 12px rgba(212, 146, 10, 0.3);
}

.team-member2 {
  display: flex;
  align-items: center;
  border: 2px solid #FFB84D;
  border-radius: 10px;
  padding: 15px;
  background: linear-gradient(135deg, #FFF8E7 0%, #FFF8E1 100%);
  margin: 10px;
  width: 332px;
  animation: spark-border 1s infinite alternate;
  box-shadow: 0px 4px 12px rgba(212, 146, 10, 0.3);
}


body.theme-dark .team-member {
  display: flex;
  align-items: center;
  border: 2px solid #FFD54F;
  border-radius: 10px;
  padding: 15px;
  background: linear-gradient(135deg, #3D3420 0%, #2A2418 100%);
  margin: 10px;
  width: 332px;
  box-shadow: 0px 4px 12px rgba(212, 146, 10, 0.4);
}

body.theme-dark .team-member2 {
  display: flex;
  align-items: center;
  border: 2px solid #FFD54F;
  border-radius: 10px;
  padding: 15px;
  background: linear-gradient(135deg, #3D3420 0%, #2A2418 100%);
  margin: 10px;
  width: 332px;
  animation: spark-border 1s infinite alternate;
  box-shadow: 0px 4px 12px rgba(212, 146, 10, 0.4);
}
.team-member__image img {
  width: 75px; /* Установите фиксированный размер для изображения */
  height: 75px; /* Установите фиксированный размер для изображения */
  border-radius: 10%;
  margin-right: 15px; /* Добавьте отступ справа от изображения */
  box-shadow: 0px 0px 10px rgb(0 0 0 / 40%)
}

.team-member__info {
  text-align: left;
  position: relative; /* Для позиционирования картинки относительно этого блока */
}

.team-member__name {
  font-size: 18px;
  margin-bottom: 5px;
  color: #00c900;
  white-space: nowrap; /* Это предотвратит перенос текста */
  font-family: 'Minecraft Rus';
  font-weight: normal;
}


.team-member__position {
  font-size: 14px;
  color: #555;
  margin-top: 10px; 
  white-space: nowrap; /* Это предотвратит перенос текста */
}

.team-member__contact {
  font-size: 14px;
  color: #999; /* Вы можете выбрать другой цвет, если хотите */
  margin-top: 10px;
  white-space: nowrap; /* Это предотвратит перенос текста */
}

@media (max-width: 768px) {
    .team-member {
        flex-basis: 100%; /* На экранах меньше 768px элементы будут занимать всю ширину контейнера */
    }
}

@media (max-width: 1160px) {
    .team-member {
        flex-basis: 100%; /* На экранах меньше 768px элементы будут занимать всю ширину контейнера */
    }
}

@media (max-width: 768px) {
    .team-member2 {
        flex-basis: 100%; /* На экранах меньше 768px элементы будут занимать всю ширину контейнера */
    }
}

@media (max-width: 1160px) {
    .team-member2 {
        flex-basis: 100%; /* На экранах меньше 768px элементы будут занимать всю ширину контейнера */
    }
}

.team-member__info .crown-image {
    position: absolute; /* Позиционирование картинки */
    top: -50; /* Верхний угол */
    right: 240; /* Правый угол */
    width: 70px; /* Ширина картинки */
    height: 50px; /* Высота картинки */
}

@keyframes spark-border {
  0%, 100% {
    box-shadow: 0 0 15px rgba(212, 146, 10, 0.5);
  }
  50% {
    box-shadow: 0 0 25px rgba(255, 153, 46, 0.8);
  }
}

  @keyframes fall {
    to {
      transform: translateY(100vh);
    }
  }

/* Стили для страницы описания товара */
.product-detail {
  display: flex;
  flex-direction: column;
  gap: 40px;
  background: linear-gradient(135deg, #FFFFFF 0%, #FFFBF0 100%);
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0px 4px 20px rgba(212, 146, 10, 0.2);
  border: 2px solid #FFF8E7;
  transition: all 0.3s ease;
}

.product-detail__header {
  display: flex;
  gap: 40px;
  align-items: center;
}

.product-detail__image {
  flex: 0 0 250px;
  background: linear-gradient(135deg, #FFF8E7 0%, #FFF8E1 100%);
  border-radius: 15px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 4px 12px rgba(212, 146, 10, 0.2);
  border: 2px solid #FFB84D;
}

.product-detail__image img {
  max-width: 100%;
  max-height: 250px;
  object-fit: contain;
  filter: drop-shadow(0px 4px 8px rgba(212, 146, 10, 0.3));
}

.product-detail__header-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-detail__name {
  font-size: 38px;
  font-weight: 700;
  background: linear-gradient(135deg, #FFE566 0%, #FFC107 40%, #F5A623 75%, #D4920A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
  line-height: 1.3;
}

.product-detail__price {
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  padding: 15px 30px;
  background: linear-gradient(135deg, #FFE566 0%, #FFC107 40%, #F5A623 75%, #D4920A 100%);
  border-radius: 12px;
  display: inline-block;
  box-shadow: 0px 4px 12px rgba(212, 146, 10, 0.3);
  align-self: flex-start;
}

.product-detail__description-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.product-detail__description-title {
  font-size: 26px;
  font-weight: 700;
  background: linear-gradient(135deg, #FFE566 0%, #FFC107 40%, #F5A623 75%, #D4920A 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin: 0;
}

.product-detail__description {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  background: linear-gradient(135deg, #FFF8E7 0%, #FFF8E1 100%);
  padding: 30px;
  border-radius: 15px;
  border: 2px solid #FFB84D;
  box-shadow: 0px 4px 8px rgba(212, 146, 10, 0.15);
  white-space: normal;
  word-wrap: break-word;
}

.product-detail__description p {
  margin: 0 0 15px 0;
}

.product-detail__description p:last-child {
  margin-bottom: 0;
}

.product-detail__button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 35px;
  background: linear-gradient(135deg, #FFE566 0%, #FFC107 40%, #F5A623 75%, #D4920A 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 16px;
  transition: all 0.3s ease;
  box-shadow: 0px 4px 12px rgba(212, 146, 10, 0.3);
  align-self: flex-start;
}

.product-detail__button:hover {
  background: linear-gradient(135deg, #FFF176 0%, #FFD54F 50%, #FFB300 100%);
  box-shadow: 0px 6px 16px rgba(212, 146, 10, 0.5);
  transform: translateY(-2px);
}

/* Темная тема для страницы описания — см. theme-dark.css */
@media (max-width: 768px) {
  .product-detail {
    flex-direction: column;
    padding: 30px;
  }

  .product-detail__image {
    flex: 0 0 auto;
    width: 100%;
  }

  .product-detail__name {
    font-size: 28px;
  }

  .product-detail__price {
    font-size: 24px;
  }
}

/* ===== Page layout ===== */
.page-section {
  padding-top: calc(var(--nav-height) + 32px);
  padding-bottom: 80px;
}

.page-header {
  text-align: center;
  margin-bottom: 36px;
}

.page-header__title {
  font-size: clamp(26px, 4vw, 36px);
  margin-bottom: 10px;
}

.page-header__subtitle {
  color: var(--text-muted);
  font-size: 15px;
  max-width: 520px;
  margin: 0 auto;
}

.page-card {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}

.page-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-shimmer);
  background-size: 200% auto;
  animation: shimmer 4s linear infinite;
}

.page-content {
  color: var(--text);
  font-size: 15px;
  line-height: 1.75;
}

.page-content p {
  margin-bottom: 1em;
}

.page-content p:last-child {
  margin-bottom: 0;
}

.page-content strong {
  color: var(--color-primary);
  font-weight: 600;
}

/* Guide steps (how to buy) */
.guide-steps {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.guide-step {
  padding: 28px;
  background: rgba(255, 253, 245, 0.6);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  text-align: center;
}

.guide-step__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--gradient-main);
  color: #fff;
  border-radius: 50%;
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}

.guide-step__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text);
}

.guide-step__text {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 20px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.guide-step__img {
  border-radius: var(--radius-md);
  max-width: 100%;
  height: auto;
  border: 1px solid var(--surface-border);
  box-shadow: var(--shadow-sm);
}

.guide-cta {
  text-align: center;
  padding: 32px;
  margin-top: 8px;
  background: rgba(255, 236, 179, 0.25);
  border-radius: var(--radius-md);
  border: 1px solid var(--surface-border);
}

.guide-cta__title {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 8px;
}

.guide-cta__text {
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Rules accordion */
.donate__products--rules {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.collapsible {
  cursor: pointer;
  padding: 20px 24px;
  width: 100%;
  border: 1px solid var(--surface-border);
  text-align: left;
  outline: none;
  font-size: 16px;
  font-weight: 600;
  background: var(--surface);
  border-radius: var(--radius-md);
  font-family: 'Inter', sans-serif;
  color: var(--text);
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

.collapsible:hover,
.collapsible.active {
  background: var(--gradient-main);
  color: #fff;
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.content {
  background: rgba(255, 253, 245, 0.7);
  border: 1px solid var(--surface-border);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  margin-top: -4px;
  margin-bottom: 8px;
  width: 100%;
  max-height: 0;
  padding: 0 24px;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
  line-height: 1.75;
  font-size: 15px;
  color: var(--text-muted);
}

.content.active,
.content.open {
  max-height: 3000px;
  padding: 24px;
  opacity: 1;
}

.content p {
  margin: 0;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.hero-card__badge {
  background: rgba(255, 193, 7, 0.15);
  color: var(--gold-600);
}

.hero-card__cta {
  background: var(--gradient-main);
  animation: glow-pulse 4s ease-in-out infinite;
  transition: background 0.35s ease, box-shadow 0.35s ease, transform 0.35s ease;
}

.nav__list-itemACT,
.hero-card__cta,
.donate__sidebar-item.active {
  color: #1A1408;
}

.modals__cart {
  background: linear-gradient(160deg, #FFFDF5 0%, #FFF8E1 100%);
  border: 1px solid var(--surface-border);
}

.modals__item {
  background: #FFFDF5;
  border-radius: var(--radius-lg);
}

.modals [modal-item="buy"] {
  border: 2px solid rgba(255, 193, 7, 0.35);
  box-shadow: var(--shadow-lg);
}

.modals__input {
  background: #FFFDF5;
  border: 1px solid var(--surface-border);
  color: var(--text);
}

.modals__input:focus {
  border-color: var(--color-secondary);
  box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.2);
}

.modals__amount-result {
  background: #FFF8E1;
  color: var(--color-primary);
}

.footer__copyright {
  background: rgba(255, 193, 7, 0.06);
}

.donate__products-name,
.donate__products-price,
.modals__product-name,
.modals__product-price {
  background: var(--gradient-shimmer);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 5s linear infinite;
}

.product-detail {
  background: var(--surface);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}

.product-detail__name {
  background: var(--gradient-shimmer);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

.product-detail__price {
  background: none;
  padding: 0;
  box-shadow: none;
  color: var(--color-primary);
  font-weight: 800;
  font-size: 32px;
}

.product-detail__description {
  background: rgba(255, 248, 225, 0.5);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
  padding: 24px;
  color: var(--text-muted);
  line-height: 1.75;
}

.product-detail__button {
  background: var(--gradient-main);
  color: #1A1408;
}

.nav__control-online,
.nav__control-online__ip,
.nav__control-online__info,
#server-status {
  color: #1A1408;
  font-weight: 500;
}

.modals__close-line {
  background-color: #1A1408;
}

.product-detail__image {
  background: rgba(255, 248, 225, 0.6);
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-md);
}

.last__empty {
  text-align: center;
  color: var(--text-muted);
  font-size: 15px;
  padding: 40px 0;
  width: 100%;
}
