.donate-main {
    min-height: calc(100vh - 170px);
    padding: 70px 20px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.donate-box {
    position: relative;
    overflow: hidden;

    width: 100%;
    max-width: 520px;

    padding: 42px;

    border-radius: 30px;

    background:
        radial-gradient(circle at 80% 0%, rgba(56,189,248,.22), transparent 35%),
        rgba(11, 33, 61, 0.82);

    border: 1px solid rgba(96, 165, 250, 0.18);

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.45),
        0 0 45px rgba(37, 99, 235, 0.16);

    backdrop-filter: blur(16px);
}

.donate-box::before {
    content: "";
    position: absolute;

    width: 260px;
    height: 260px;

    right: -90px;
    top: -90px;

    background: rgba(37, 99, 235, 0.18);
    border-radius: 50%;
    filter: blur(70px);
}

.donate-title {
    position: relative;
    z-index: 2;
    text-align: center;
    margin-bottom: 32px;
}

.donate-title span {
    display: inline-block;

    margin-bottom: 14px;
    padding: 8px 14px;

    border-radius: 999px;

    color: #7dd3fc;
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(125, 211, 252, 0.18);

    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.donate-title h1 {
    font-size: 42px;
    margin-bottom: 12px;

    background: linear-gradient(135deg, #ffffff, #60a5fa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.donate-title p {
    color: #bfdbfe;
    line-height: 1.5;
}

.donate-form {
    position: relative;
    z-index: 2;

    display: flex;
    flex-direction: column;
    gap: 18px;
}

.donate-form label {
    color: #dbeafe;
    font-weight: 700;
    font-size: 15px;
}

.donate-form input {
    width: 100%;

    margin-top: 8px;
    padding: 16px 17px;

    border-radius: 15px;

    border: 1px solid rgba(96, 165, 250, 0.16);
    background: rgba(3, 10, 25, 0.72);

    color: white;
    font-size: 16px;

    outline: none;
    transition: 0.25s;
}

.donate-form input:focus {
    border-color: rgba(96, 165, 250, 0.55);
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.14);
}

.donate-form input::placeholder {
    color: #64748b;
}

.donate-btn {
    margin-top: 10px;

    width: 100%;
    padding: 17px;

    border: none;
    border-radius: 16px;

    background: linear-gradient(135deg, #2563eb, #38bdf8);

    color: white;
    font-size: 17px;
    font-weight: 900;

    cursor: pointer;
    transition: 0.25s;

    box-shadow: 0 14px 35px rgba(37, 99, 235, 0.35);
}

.donate-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 45px rgba(37, 99, 235, 0.45);
}

.donate-note {
    position: relative;
    z-index: 2;

    margin-top: 22px;

    text-align: center;
    color: #94a3b8;
    font-size: 14px;
    line-height: 1.5;
}

.server-select {
    margin-top: 10px;

    display: flex;
    flex-direction: column;
    gap: 14px;
}

.server-option input {
    display: none;
}

.server-box {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 20px;

    border-radius: 18px;

    background: rgba(3, 10, 25, 0.72);

    border: 1px solid rgba(96, 165, 250, 0.12);

    transition: 0.25s;
    cursor: pointer;
}

.server-option:hover .server-box {
    transform: translateY(-2px);
    border-color: rgba(96, 165, 250, 0.32);
}

.active-server input:checked + .server-box {
    border-color: rgba(96, 165, 250, 0.55);

    box-shadow:
        0 0 0 4px rgba(37, 99, 235, 0.12),
        0 12px 30px rgba(37, 99, 235, 0.18);

    background:
        linear-gradient(
            135deg,
            rgba(37,99,235,.18),
            rgba(56,189,248,.08)
        ),
        rgba(3, 10, 25, 0.72);
}

.server-name {
    font-size: 17px;
    font-weight: 800;
    color: white;
}

.server-status {
    font-size: 13px;
    font-weight: 700;

    padding: 7px 12px;
    border-radius: 999px;
}

.online-status {
    background: rgba(34,197,94,.14);
    color: #4ade80;
}

.offline-status {
    background: rgba(239,68,68,.12);
    color: #f87171;
}

.disabled-server {
    opacity: 0.55;
}

.disabled-server .server-box {
    cursor: not-allowed;
}

.disabled-server:hover .server-box {
    transform: none;
    border-color: rgba(96, 165, 250, 0.12);
}

@media (max-width: 768px) {
    .donate-main {
        padding: 40px 18px;
        align-items: flex-start;
    }

    .donate-box {
        padding: 30px 22px;
        border-radius: 24px;
    }

    .donate-title h1 {
        font-size: 34px;
    }
}

.success-popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.success-popup.active {
  display: flex;
}

.success-box {
  background: #1e1e2e;
  padding: 40px;
  border-radius: 16px;
  text-align: center;
  max-width: 350px;
  width: 90%;
  color: #fff;
  animation: popupFade .3s ease;
}

.success-box .checkmark {
  font-size: 50px;
  color: #4CAF50;
  margin-bottom: 15px;
}

.success-box h2 {
  margin-bottom: 10px;
}

.success-box button {
  margin-top: 20px;
  padding: 10px 25px;
  border-radius: 8px;
  border: none;
  background: linear-gradient(90deg, #449fea 4.17%, #5eaae8);
  color: #fff;
  cursor: pointer;
}

@keyframes popupFade {
  from { transform: scale(.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.error-mark {
  font-size: 50px;
  color: #ff4d4d;  /* красный крестик */
  margin-bottom: 15px;
}

.error-popup .success-box {
  border: 2px solid #ff4d4d33;
}