@font-face {
  font-family: 'Minecraft';
  src: url('assets/Monocraft.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  color-scheme: dark;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: #38383e #0d0d11;
}

body {
  width: 100%;
  min-height: 100vh;
  background-color: #0b0303;
  color: #ffffff;
  font-family: 'Montserrat', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #0d0d11;
}

::-webkit-scrollbar-thumb {
  background-color: #38383e;
  border-radius: 9999px;
  border: 3px solid #0d0d11;
}

::-webkit-scrollbar-thumb:hover {
  background-color: #52525c;
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 44px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #ffffff;
}

.brand-logo {
  width: 32px;
  height: 32px;
  display: block;
  flex-shrink: 0;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #ffffff;
  user-select: none;
}

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

.nav-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.98rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: opacity 0.2s ease, color 0.2s ease;
  opacity: 0.88;
}

.nav-link:hover {
  opacity: 1;
  color: #ffffff;
}

.nav-link.active {
  color: #e53935;
  opacity: 1;
  font-weight: 600;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 100vh;
  background-image: 
    radial-gradient(ellipse at center, rgba(15, 3, 3, 0.15) 0%, rgba(10, 2, 2, 0.65) 100%),
    url('assets/Background.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  text-align: center;
  padding: 80px 20px 40px;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  user-select: none;
}

.hero-title {
  font-size: clamp(3.2rem, 7.5vw, 5.8rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  line-height: 1.05;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.85);
}

.hero-subtitle {
  font-size: clamp(1.15rem, 2.4vw, 1.8rem);
  font-weight: 500;
  letter-spacing: 0.02em;
  color: #ffffff;
  margin-top: 14px;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9);
}

.server-hero-actions {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.server-online-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  border: 2px solid #e53935;
  border-radius: 9999px;
  padding: 10px 18px;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.45));
  user-select: none;
  box-sizing: border-box;
}

.server-online-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background-color: #22c55e;
  flex-shrink: 0;
}

.server-online-count {
  font-size: 1.05rem;
  font-weight: 700;
  color: #16a34a;
  letter-spacing: 0.02em;
  line-height: 1;
}

.server-badge {
  display: inline-flex;
  align-items: stretch;
  filter: drop-shadow(0 4px 18px rgba(0, 0, 0, 0.45));
}

.server-ip {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border: 2px solid #e53935;
  border-right: none;
  border-radius: 9999px 0 0 9999px;
  padding: 10px 22px 10px 26px;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.server-ip:hover {
  background-color: #f8fafc;
}

.server-ip-text {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #1a0b0b;
}

.ip-tooltip {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background-color: #383838;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 6px 14px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
  z-index: 30;
}

.ip-tooltip::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid #383838;
}

.ip-tooltip.visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.server-play {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #e53935;
  color: #ffffff;
  border: 2px solid #e53935;
  border-radius: 0 9999px 9999px 0;
  padding: 10px 28px 10px 22px;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.server-play:hover {
  background-color: #c62828;
  border-color: #c62828;
}

.server-play:active {
  background-color: #b71c1c;
  border-color: #b71c1c;
  transform: scale(0.98);
}

@media (max-width: 768px) {
  .header {
    padding: 18px 24px;
    flex-direction: column;
    gap: 16px;
  }

  .nav-list {
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-link {
    font-size: 0.9rem;
  }

  .hero-subtitle {
    margin-top: 10px;
  }
}

.about {
  position: relative;
  background-color: #080202;
  padding: 100px 32px 120px;
  color: #ffffff;
  border-top: 1px solid rgba(229, 57, 53, 0.2);
  overflow: hidden;
}

.about::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, #160404 0%, #080202 65%, #040101 100%);
  z-index: 0;
}

.about-backdrop {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 0.45s ease;
  pointer-events: none;
  z-index: 1;
}

.about-backdrop::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(12, 3, 3, 0.5) 0%, rgba(5, 1, 1, 0.88) 100%);
}

.about-backdrop.active {
  opacity: 1;
}

.about-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.about-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 300;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 56px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.7);
  position: relative;
  display: inline-block;
}

.about-title::after {
  content: '';
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, transparent, #e53935, transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: start;
}

.about-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease;
}

.about-card:hover {
  transform: translateY(-4px);
}

.about-image-wrapper {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(229, 57, 53, 0.22);
  background-color: #120404;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.about-card:hover .about-image-wrapper {
  border-color: rgba(229, 57, 53, 0.75);
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.85);
}

.about-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.about-card:hover .about-image {
  transform: scale(1.05);
}

.about-card-title {
  margin-top: 18px;
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-align: center;
  transition: color 0.2s ease;
}

.about-card:hover .about-card-title {
  color: #ff6b6b;
}

@media (max-width: 900px) {
  .about {
    padding: 70px 24px 90px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin: 0 auto;
    gap: 36px;
  }

  .about-title {
    margin-bottom: 44px;
  }
}

.plugins-page {
  background-color: #0b0303;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.plugins-main {
  position: relative;
  padding: 130px 24px 100px;
  background-image: 
    radial-gradient(ellipse at center, rgba(15, 3, 3, 0.25) 0%, rgba(10, 2, 2, 0.75) 100%),
    url('assets/Background.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  min-height: 100vh;
}

.plugins-container {
  max-width: 960px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.plugins-title {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 50px;
  color: #ffffff;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.85);
  text-transform: uppercase;
}

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

.plugin-item {
  border: 2px solid #e53935;
  border-radius: 14px;
  overflow: hidden;
  background-color: rgba(12, 3, 4, 0.95);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.plugin-item.active {
  box-shadow: 0 8px 26px rgba(0, 0, 0, 0.7);
}

.plugin-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 28px;
  background-color: #e53935;
  color: #ffffff;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: background-color 0.2s ease;
}

.plugin-header:hover {
  background-color: #c62828;
}

.plugin-name {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.plugin-chevron {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1;
  color: #ffffff;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-block;
}

.plugin-item.active .plugin-chevron {
  transform: rotate(90deg);
}

.plugin-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.plugin-item.active .plugin-body {
  grid-template-rows: 1fr;
}

.plugin-content {
  overflow: hidden;
  background: rgba(12, 3, 4, 0.95);
}

.plugin-inner {
  padding: 22px 28px 28px;
  border-top: 2px solid #e53935;
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 28px;
  align-items: center;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.25s ease 0.08s, transform 0.25s ease 0.08s;
}

.plugin-item.active .plugin-inner {
  opacity: 1;
  transform: translateY(0);
}

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

.plugin-desc {
  font-size: 0.98rem;
  line-height: 1.65;
  color: #ffffff;
}

.plugin-usage-box {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #e0d0d0;
}

.plugin-usage-box strong {
  display: block;
  margin-bottom: 6px;
  color: #ffffff;
  font-weight: 600;
}

.plugin-usage-box strong + br {
  display: none;
}

.plugin-cmd {
  display: inline-block;
  background: #e53935;
  color: #ffffff;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 3px 12px;
  border-radius: 6px;
  margin-top: 4px;
}

.plugin-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ff8585;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 0.92rem;
  margin-top: 4px;
  transition: color 0.2s ease;
}

.plugin-link:hover {
  color: #ffffff;
}

.plugin-image-wrapper {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: none;
  background: transparent;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.plugin-img {
  max-width: 100%;
  height: auto;
  max-height: 240px;
  object-fit: contain;
  display: block;
  border-radius: 10px;
}

@media (max-width: 820px) {
  .plugins-main {
    padding: 110px 20px 70px;
  }

  .plugin-header {
    padding: 14px 20px;
  }

  .plugin-inner {
    padding: 16px 20px 24px;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .plugin-image-wrapper {
    max-width: 100%;
  }
}

.socials {
  position: relative;
  padding: 100px 40px 120px;
  background-image: url('assets/twitch.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  scroll-margin-top: 20px;
}

.socials::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #0b0303 0%, rgba(11, 3, 3, 0.6) 20%, rgba(11, 3, 3, 0.45) 80%, #0b0303 100%), radial-gradient(circle at center, transparent 30%, rgba(11, 3, 3, 0.7) 100%);
  pointer-events: none;
}

.socials-container {
  position: relative;
  z-index: 2;
  max-width: 1040px;
  margin: 0 auto;
}

.socials-title {
  font-size: 2.1rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-align: center;
  margin-bottom: 50px;
  color: #ff6b6b;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
}

.socials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
  align-items: start;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
  transition: transform 0.3s ease;
}

.social-card:hover {
  transform: translateY(-6px);
}

.social-image-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(229, 57, 53, 0.3);
  background-color: #0d0606;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.7);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.social-card:hover .social-image-wrapper {
  border-color: rgba(229, 57, 53, 0.85);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.85);
}

.social-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.social-card:hover .social-image {
  transform: scale(1.05);
}

.social-card-title {
  margin-top: 18px;
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: #ffffff;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: rgba(255, 255, 255, 0.4);
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.social-card:hover .social-card-title {
  color: #ff6b6b;
  text-decoration-color: #ff6b6b;
}

@media (max-width: 900px) {
  .socials {
    padding: 70px 24px 90px;
  }

  .socials-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
    margin: 0 auto;
    gap: 36px;
  }

  .socials-title {
    margin-bottom: 38px;
  }
}

.footer {
  background-color: #07070a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 56px 44px 44px;
  position: relative;
  z-index: 5;
}

.footer-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
}

.footer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer-brand-name {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.footer-social-icons {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.footer-social-btn:hover {
  background-color: rgba(229, 57, 53, 0.15);
  border-color: rgba(229, 57, 53, 0.5);
  color: #ffffff;
  transform: translateY(-2px);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.95rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-arrow {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.4);
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-link:hover {
  color: #ffffff;
}

.footer-link:hover .footer-arrow {
  color: #ff6b6b;
  transform: translate(2px, -2px);
}

.footer-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-top: 10px;
}

.footer-copyright {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.35);
  letter-spacing: 0.02em;
}

.footer-disclaimer {
  text-align: right;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.35);
}

@media (max-width: 768px) {
  .footer {
    padding: 44px 24px 36px;
  }

  .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 28px;
  }

  .footer-nav {
    align-items: flex-start;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .footer-disclaimer {
    text-align: left;
  }
}

.donate-window-container {
  max-width: 760px;
  margin: 0 auto;
}

.donate-window {
  background: rgba(16, 5, 7, 0.95);
  border: 2px solid #e53935;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
  padding: 34px 36px 30px;
  position: relative;
}

.donate-cat-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.donate-cat-btn {
  flex: 1 1 auto;
  text-align: center;
  padding: 11px 20px;
  border-radius: 10px;
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.22);
  font-family: inherit;
  font-size: 0.96rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.donate-cat-btn:hover {
  background: #ffffff;
  color: #100406;
  border-color: #ffffff;
}

.donate-cat-btn.active {
  background: #e53935;
  border-color: #e53935;
  color: #ffffff;
  font-weight: 600;
}

.donate-field-group {
  margin-bottom: 22px;
}

.donate-field-label {
  display: block;
  font-size: 0.86rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #ffffff;
  margin-bottom: 8px;
}

.donate-select-wrap {
  position: relative;
  width: 100%;
}

.donate-select {
  width: 100%;
  padding: 14px 44px 14px 18px;
  background-color: #18060a;
  color: #ffffff;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 500;
  border: 2px solid #e53935;
  border-radius: 12px;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.donate-select:hover,
.donate-select:focus {
  border-color: #ffffff;
  background-color: #20080d;
}

.donate-select option {
  background-color: #18060a;
  color: #ffffff;
  padding: 10px;
}

.donate-select-arrow {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #e53935;
  font-size: 1.4rem;
  line-height: 1;
  pointer-events: none;
  transition: color 0.2s ease;
}

.donate-select-wrap:hover .donate-select-arrow {
  color: #ffffff;
}

.donate-input {
  width: 100%;
  padding: 14px 18px;
  background-color: #18060a;
  color: #ffffff;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 500;
  border: 2px solid #e53935;
  border-radius: 12px;
  outline: none;
  box-sizing: border-box;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.donate-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.donate-input:hover,
.donate-input:focus {
  border-color: #ffffff;
  background-color: #20080d;
}

.donate-input.error {
  border-color: #ff1744;
  background-color: rgba(255, 23, 68, 0.12);
}

.donate-color-section {
  margin-top: 14px;
}

.clan-color-control-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 4px;
}

.clan-color-picker {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

.clan-color-picker::-webkit-color-swatch-wrapper {
  padding: 0;
}

.clan-color-picker::-webkit-color-swatch {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
}

.clan-color-picker::-moz-color-swatch {
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
}

.clan-color-input {
  width: 110px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #150508;
  color: #ffffff;
  font-family: monospace;
  font-size: 0.95rem;
  text-transform: uppercase;
  outline: none;
  box-shadow: none;
}

.clan-color-input:focus {
  border-color: #ffffff;
}

.donate-tag-preview-box {
  margin-top: 14px;
  padding: 0;
  background: transparent;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.preview-box-label {
  font-size: 0.78rem;
  color: #a0a0a0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.preview-box-render {
  font-family: 'Minecraft', 'Segoe UI Symbol', monospace;
  font-size: 1.15rem;
  font-weight: normal;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.45);
}

.clan-cmd {
  display: flex;
  align-items: center;
  gap: 10px;
  overflow-wrap: anywhere;
}

.clan-copy-btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #150508;
  color: #ffffff;
  cursor: pointer;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.clan-copy-btn:hover,
.clan-copy-btn.copied {
  color: #ff6b6b;
  border-color: #ff6b6b;
}

.donate-duration-group {
  margin-bottom: 22px;
}

.donate-duration-pills {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.donate-duration-btn {
  padding: 10px 22px;
  border-radius: 10px;
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.22);
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.donate-duration-btn:hover {
  border-color: #ffffff;
}

.donate-duration-btn.active {
  background: #e53935;
  border-color: #e53935;
  color: #ffffff;
  font-weight: 600;
}

.donate-duration-forever {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(229, 57, 53, 0.15);
  border: 1px solid #e53935;
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 500;
}

.donate-preview-card {
  padding: 4px 0 0;
  background: transparent;
  border: none;
  border-radius: 0;
  margin-bottom: 26px;
}

.donate-preview-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #e2d8d8;
  margin: 0;
}

.donate-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0;
  border-top: none;
  gap: 20px;
  flex-wrap: wrap;
}

.donate-total-price {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  line-height: 1;
  margin: 0;
}

.donate-total-price span {
  color: #ff6b6b;
  margin-left: 8px;
  font-weight: 600;
}

.donate-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 36px;
  border-radius: 12px;
  background-color: #e53935;
  color: #ffffff;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: 2px solid #e53935;
  cursor: pointer;
  line-height: 1;
  box-sizing: border-box;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.donate-submit-btn:hover {
  background-color: #ffffff;
  color: #e53935;
  border-color: #ffffff;
}

.payment-main {
  min-height: 100vh;
}

.payment-container {
  max-width: 760px;
  margin: 0 auto;
}

.payment-header-block {
  margin-bottom: 24px;
}

.payment-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s ease, transform 0.2s ease;
}

.payment-back-btn:hover {
  color: #ff6b6b;
  transform: translateX(-3px);
}

.payment-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin: 14px 0 6px;
}

.payment-subtitle {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.payment-card {
  background: rgba(16, 5, 7, 0.95);
  border: 2px solid #e53935;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
  padding: 34px 36px 30px;
}

.payment-order-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 26px;
}

.payment-order-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.payment-order-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.45);
}

.payment-order-val {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  word-break: break-word;
}

.payment-order-val.accent {
  color: #ff4d4d;
}

#summaryClanTag {
  font-family: 'Minecraft', 'Segoe UI Symbol', monospace;
  letter-spacing: 0.04em;
  text-shadow: 1px 1px 0px rgba(0, 0, 0, 0.4);
}

.payment-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 26px;
}

.payment-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 18px 20px;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.payment-step.highlight {
  background: rgba(229, 57, 53, 0.05);
  border-color: rgba(229, 57, 53, 0.45);
}

.payment-step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e53935;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.payment-step-content {
  flex: 1;
  min-width: 0;
}

.payment-step-header {
  margin-bottom: 8px;
}

.payment-step-target {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
}

.payment-copy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: #0b0303;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  padding: 10px 14px;
  margin-bottom: 8px;
}

.payment-copy-row.highlight {
  border-color: rgba(229, 57, 53, 0.5);
  background: #120406;
}

.payment-copy-value {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  word-break: break-all;
  user-select: all;
}

.payment-copy-value.code {
  color: #ff6b6b;
  font-family: 'Consolas', 'Courier New', monospace;
  letter-spacing: 0.02em;
}

.payment-copy-btn {
  background: #e53935;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  padding: 8px 16px;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background-color 0.2s ease, transform 0.15s ease, color 0.2s ease;
}

.payment-copy-btn:hover {
  background: #ffffff;
  color: #120508;
}

.payment-copy-btn.copied {
  background: #2e7d32;
  color: #ffffff;
}

.payment-step-hint {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.52);
  line-height: 1.45;
}

.payment-actions {
  margin-bottom: 22px;
}

.payment-go-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0 24px;
  border-radius: 12px;
  background-color: #e53935;
  color: #ffffff;
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-decoration: none;
  border: 2px solid #e53935;
  cursor: pointer;
  box-sizing: border-box;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.payment-go-btn:hover {
  background-color: #ffffff;
  color: #e53935;
  border-color: #ffffff;
  transform: translateY(-2px);
}

.payment-info-box {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 14px 18px;
}

.payment-info-icon {
  flex-shrink: 0;
  color: #ff6b6b;
  margin-top: 2px;
}

.payment-info-box p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.oferta-main {
  min-height: 100vh;
}

.oferta-container {
  max-width: 860px;
  margin: 0 auto;
}

.oferta-header-block {
  margin-bottom: 24px;
}

.oferta-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin: 14px 0 6px;
}

.oferta-subtitle {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
}

.oferta-card {
  background: rgba(16, 5, 7, 0.95);
  border: 2px solid #e53935;
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.85);
  padding: 38px 42px;
}

.oferta-intro {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 24px;
}

.oferta-intro p {
  font-size: 0.96rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 12px;
}

.oferta-intro p:last-child {
  margin-bottom: 0;
}

.oferta-section {
  margin-bottom: 28px;
}

.oferta-section:last-child {
  margin-bottom: 0;
}

.oferta-section-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ff6b6b;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.oferta-paragraph {
  font-size: 0.94rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 10px;
}

.oferta-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.oferta-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.94rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
}

.oferta-list li::before {
  content: '•';
  position: absolute;
  left: 6px;
  color: #e53935;
  font-weight: 700;
}

.oferta-highlight-box {
  background: rgba(229, 57, 53, 0.06);
  border-left: 3px solid #e53935;
  border-radius: 0 10px 10px 0;
  padding: 14px 18px;
  margin: 14px 0;
}

.oferta-highlight-box p {
  font-size: 0.93rem;
  line-height: 1.6;
  color: #ffffff;
  margin-bottom: 8px;
}

.oferta-highlight-box p:last-child {
  margin-bottom: 0;
}

.oferta-contacts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.oferta-contact-item {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.oferta-contact-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.45);
}

.oferta-contact-val {
  font-size: 0.95rem;
  font-weight: 600;
  color: #ffffff;
  word-break: break-all;
}

.oferta-contact-val a {
  color: #ff6b6b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.oferta-contact-val a:hover {
  color: #ffffff;
}

@media (max-width: 680px) {
  .donate-window {
    padding: 24px 18px 22px;
  }

  .donate-cat-btn {
    padding: 9px 12px;
    font-size: 0.88rem;
  }

  .donate-bottom-bar {
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 14px;
  }

  .donate-total-price {
    justify-content: center;
  }

  .donate-submit-btn {
    width: 100%;
  }

  .payment-card {
    padding: 24px 18px 22px;
  }

  .payment-order-summary {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    padding: 12px 14px;
  }

  .payment-title {
    font-size: 1.7rem;
  }

  .payment-step {
    padding: 14px 14px;
    gap: 12px;
  }

  .payment-copy-row {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .payment-copy-btn {
    width: 100%;
    text-align: center;
  }

  .oferta-card {
    padding: 24px 18px 22px;
  }

  .oferta-title {
    font-size: 1.7rem;
  }

  .oferta-contacts-grid {
    grid-template-columns: 1fr;
  }
}


