html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Segoe UI', sans-serif;
  color: white;
  background: url("../images/background.jpg") no-repeat center center/cover;
  overflow: hidden;
}

.content {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 40px 60px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Top Bar */
.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0px;
}

.status {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  padding: 6px 12px;
  border-radius: 12px;
  width: 200px;
}

.status img {
  width: 20px;
  height: 20px;
  margin-right: 10px;
}

.status-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.online-bar {
  height: 4px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  margin-top: 4px;
  overflow: hidden;
}

#online-fill {
  height: 100%;
  width: 0%;
  background-color: #4caf50;
  transition: width 0.3s;
}

/* Center */
.center {
  width: 100%;
}

.center h1 {
  font-size: 40px;
  margin-bottom: 12px;
}

.offline {
  color: green;
}

.center p {
  font-size: 14px;
  color: #ccc;
  margin-bottom: 30px;
}

/* Donate Panel */
.donate-columns {
  display: flex;
  flex-wrap: wrap;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
  margin-top: 30px;
  backdrop-filter: blur(10px);
}

/* Left Column */
.donate-left {
  flex: 1;
  min-width: 280px;
  margin-right: 40px;
}

.donate-left label {
  display: block;
  font-weight: bold;
  font-size: 14px;
}

.donate-left select,
.donate-left input {
  width: 100%;
  padding: 13px 20px;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  font-size: 14px;
  font-weight: normal;
  color: white;
  text-align: left;
  background-color: rgba(255, 255, 255, 0.06);
  transition: background 0.3s;
}

.donate-left select option {
  background-color: #1e1e2f;
  color: white;
}

.donate-left input:focus,
.donate-left select:focus {
  border-color: #7b4dfb;
  background-color: rgba(255, 255, 255, 0.12);
  outline: none;
}

/* Right Column */
.donate-right {
  flex: 1;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: stretch;
}

.payment-buttons button {
  width: 100%;
  padding: 12px 20px;
  margin-bottom: 16px;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: bold;
  color: white;
  text-align: left;
  display: flex;
  align-items: center;
  transition: all 0.3s;
}

.payment-buttons button:hover {
  transform: scale(1.02);
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.payment-buttons button img {
  height: 18px;
  margin-right: 10px;
}

.payment-buttons span {
  margin-left: auto;
  font-weight: bold;
}

/* PayPal */
.btn-paypal {
  background-color: #0070ba;
}

.btn-paypal:hover {
  background-color: #005fa3;
}

/* USDT */
.btn-usdt {
  background-color: #26a17b;
}

.btn-usdt:hover {
  background-color: #1f8563;
}

/* Revolut */
.btn-revolut {
  background-color: #2c2e36;
}

.btn-revolut:hover {
  background-color: #3c3e46;
}

/* Payment Info Block */
.payment-info {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 20px;
  font-size: 13px;
  color: #ccc;
  opacity: 0.75;
  font-style: italic;
}

.payment-info .method {
  display: flex;
  align-items: center;
  margin-right: 16px;
}

.payment-info .method:last-of-type {
  margin-right: 0;
}

.payment-info .method img {
  height: 16px;
  margin-right: 6px;
  vertical-align: middle;
}

.payment-error {
  display: none;
  background: linear-gradient(to right, #ff3d3d, #d00000);
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  color: white;
  animation: fadeIn 0.3s ease;
  margin-top: 10px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.payment-info .separator {
  margin-right: 16px;
  font-weight: bold;
  color: #888;
  font-size: 14px;
}

/* Discount */
.discount-bar {
  color: white;
  font-size: 13px;
  background-color: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 24px;
  margin-top: 30px;
  backdrop-filter: blur(10px);
}

.discount-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 4px;
}

.progress-track {
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

#discount-progress {
  height: 100%;
  width: 0%;
  background: linear-gradient(to right, #7b4dfb, #a678ff);
  transition: width 0.3s ease-in-out;
}

.discount-footer {
  display: flex;
  justify-content: space-between;
  margin-top: 6px;
  font-size: 13px;
  color: #ccc;
}

#discount-info {
  font-weight: bold;
  color: #fff;
  cursor: help;
}

#raw-eur-preview {
  text-align: right;
}

/* Footer */
.footer {
  text-align: right;
  font-size: 13px;
  padding-top: 10px;
  color: #ccc;
}



.qr-modal {
  display: none;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 10, 20, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  justify-content: center;
  align-items: center;
}

/* Контейнер модалки */
.qr-modal-content {
  background: linear-gradient(to bottom right, #1e1e2f, #2c2c3d);
  border: 1px solid rgba(123, 77, 251, 0.4);
  border-radius: 16px;
  padding: 25px 30px;
  text-align: center;
  color: white;
  animation: scaleFade 0.3s ease-in-out;
  min-width: 260px;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  position: relative;
}

/* Заголовок */
.qr-modal-content h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #7b4dfb;
}

/* QR canvas */
.qr-modal-content canvas {
  border-radius: 8px;
  background-color: white;
  padding: 10px;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
}

/* Кнопка закрытия */
.qr-close {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 24px;
  font-weight: bold;
  color: #aaa;
  cursor: pointer;
  transition: color 0.3s ease;
}

.qr-close:hover {
  color: #fff;
}

/* Анимация появления */
@keyframes scaleFade {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

#trc20-input {
  padding: 10px 15px;
  font-size: 14px;
  color: white;
  background-color: #222138;
  border: 1px solid #6f60e8;
  border-radius: 6px;
}

#trc20-input::placeholder {
  color: #9999cc;
}

#trc20-input:focus {
  outline: none;
  border-color: #9a8fff;
  background-color: #2a2650;
}

#trc20-confirm {
  margin-top: 12px;
  padding: 12px 0;
  font-weight: 600;
  font-size: 15px;
  color: #222138;
  background-color: #9a8fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#trc20-confirm:hover {
  background-color: #7b4dfb;
  color: white;
  box-shadow: 0 0 14px #7b4dfb;
}

/* Кнопка копирования */
.copy-btn {
  background-color: #7b4dfb;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
  font-size: 13px;
  transition: background 0.3s;
  margin-top: 10px;
}

.copy-btn:hover {
  background-color: #9a6fff;
  box-shadow: 0 0 10px #7b4dfb;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .donate-columns {
    flex-direction: column;
  }

  .donate-left {
    margin-right: 0;
    margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .center h1 {
    font-size: 24px;
  }

  .payment-buttons button {
    font-size: 13px;
    padding: 10px;
  }
}
