/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #121212;
    color: #e0e0e0;
    line-height: 1.6;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #1e1e1e;
}

.logo img {
    max-width: 100px;
    height: auto;
}

.btn {
    padding: 0.7rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    color: #fff;
    font-weight: bold;
}

.btn-register {
    background-color: #8B0000; /* Тёмно-красный */
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 2rem;
}

.hero h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.hero img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
}

/* Table Section */
.table-section {
    padding: 2rem;
    overflow-x: auto;
}

.table-section h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #8B0000;
}

.table-section p {
    font-size: 1rem;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.table-section table {
    width: 100%;
    min-width: 600px;
    max-width: 100%;
    margin: 0 auto;
    display: block;
    overflow-x: auto;
    border-collapse: collapse;
    margin-top: 1rem;
}

.table-section th,
.table-section td {
    padding: 0.8rem;
    text-align: left;
    border-bottom: 1px solid #333;
}

.table-section th {
    background-color: #8B0000;
    color: #fff;
    font-weight: bold;
}

.table-section tbody tr:hover {
    background-color: rgba(139, 0, 0, 0.1);
}

/* Footer */
.footer {
    text-align: center;
    padding: 1rem;
    background-color: #1e1e1e;
    margin-top: 2rem;
}

/* Back to Top Button */
#back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: none;
    background-color: #8B0000; /* Тёмно-красный */
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 1.2rem;
    cursor: pointer;
}

/* Отступы для ПК-версии */
@media (min-width: 1024px) {
    body {
        padding-left: 4rem;
        padding-right: 4rem;
    }
}

.promo-container {
  max-width: 400px;
  margin: 50px auto;
  font-family: Arial, sans-serif;
  text-align: center;
}

.promo-title {
  font-size: 18px;
  margin-bottom: 10px;
  font-weight: bold;
}

.promo-box {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

#promoCode {
  font-size: 25px;
  padding: 10px;
  width: 150px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.copy-button {
  background: none;
  border: none;
  margin-left: 10px;
  cursor: pointer;
  padding: 0;
}

.copy-button img {
  width: 30px;
  height: 30px;
  transition: transform 0.6s ease;
}

.copy-button:hover img {
  transform: rotate(360deg) scale(1.1);
}

.copied-message {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 8px;
  background-color: #4caf50;
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.promo-title {
  color: rgb(255, 0, 0);
}
