/* Обновлённый стиль клуба Clubnika */

body {
  margin: 0;
  font-family: 'Orbitron', sans-serif;
  background: #12001f;
  color: #fff;
}

header {
  background: rgba(18, 0, 31, 0.85);
  backdrop-filter: blur(6px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 40px;
  flex-wrap: wrap;
}

.logo {
  height: 60px;
}

nav {
  flex: 1;
  text-align: center;
}

nav a {
  color: #ff4ddb;
  margin: 0 15px;
  text-decoration: none;
  font-weight: 600;
  font-size: 16px;
}

nav a:hover {
  color: #00ffff;
}

.header-buttons {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.header-buttons a {
  padding: 10px 16px;
  border-radius: 8px;
  font-weight: bold;
  text-decoration: none;
  font-size: 14px;
  transition: 0.3s ease;
  white-space: nowrap;
}

.btn-login {
  border: 2px solid #ff4ddb;
  color: #ff4ddb;
  background: transparent;
}

.btn-register {
  background: #00ffff;
  color: #000;
}

.btn-download {
  background: transparent;
  border: 2px solid #00ffff;
  color: #00ffff;
}

.btn-login:hover,
.btn-download:hover {
  background: #ff4ddb;
  color: #fff;
}

.btn-register:hover {
  background: #fff;
  color: #000;
}

/* HERO + адаптация */
.hero {
  position: relative;
  text-align: center;
  height: 400px;
  overflow: hidden;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.hero-text {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-shadow: 0 0 10px #ff4ddb;
  padding: 10px;
  text-align: center;
}

.hero-text h1 {
  font-size: 48px;
  color: #00ffff;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 20px;
  color: #ff4ddb;
  line-height: 1.5;
}

main {
  padding: 30px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

h2 {
  color: #00ffff;
  text-align: center;
}

/* Таблицы и список */
table {
  width: 100%;
  background: #1a002a;
  border-collapse: collapse;
  margin-bottom: 30px;
  border: 1px solid #333;
}

td {
  padding: 10px;
  border: 1px solid #333;
}

td a {
  color: #00ffff;
  text-decoration: none;
}

.content-with-sidebar {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.main-content {
  flex: 3;
}

.sidebar {
  flex: 1;
  max-width: 300px;
  background: #1f0033;
  padding: 20px;
  border-radius: 12px;
  border: 2px solid #ff4ddb;
  color: #ff4ddb;
}

.promo-box {
  background: #12001f;
  padding: 15px;
  border-radius: 8px;
  border: 1px dashed #00ffff;
  text-align: center;
  margin-top: 10px;
}

.promo-code-container {
  background: #000;
  border: 1px solid #00ffff;
  padding: 10px;
  border-radius: 6px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.promo-code-container button {
  background: #00ffff;
  color: #000;
  font-weight: bold;
  border: none;
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
}

/* Карточки бонусов */
.bonus-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 40px;
  justify-items: center;
}

.bonus-tile {
  background: linear-gradient(145deg, #1e0033, #290046);
  border: 2px solid #ff00ff;
  box-shadow: 0 0 20px rgba(255, 0, 255, 0.3), inset 0 0 15px rgba(0, 255, 255, 0.2);
  border-radius: 16px;
  padding: 20px;
  text-align: center;
  position: relative;
  transition: transform 0.3s ease;
  max-width: 280px;
  width: 100%;
  box-sizing: border-box;
}

.bonus-tile:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
}

.bonus-icon {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 15px;
}

.bonus-tile h3 {
  color: #00ffff;
  font-size: 18px;
  margin-bottom: 10px;
}

.bonus-tile p {
  color: #ccc;
  font-size: 14px;
  margin-bottom: 20px;
}

.bonus-tile .bonus-button {
  background: #ff00ff;
  color: #fff;
  border: none;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  display: inline-block;
  font-weight: bold;
  transition: 0.3s;
}

.bonus-tile .bonus-button:hover {
  background: #00ffff;
  color: #000;
}

/* SEO-блоки и список */
.seo-block ul {
  padding-left: 20px;
  margin: 15px 0;
  list-style-type: none;
}

.seo-block ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 8px;
  color: #eee;
}

.seo-block ul li::before {
  content: "🍓";
  position: absolute;
  left: 0;
  top: 0;
}

.seo-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 30px;
  background-color: #1a002a;
  box-shadow: 0 0 10px rgba(255, 0, 255, 0.3);
}

.seo-table th, .seo-table td {
  border: 1px solid #444;
  padding: 12px 16px;
  color: #fff;
  font-size: 14px;
}

.seo-table th {
  background: #320045;
  color: #ff00ff;
  text-align: left;
}

/* ======= МЕДИА СТИЛИ (мобильная адаптация) ======= */
@media (max-width: 768px) {
  .content-with-sidebar {
    flex-direction: column;
  }

  .sidebar {
    max-width: 100%;
    margin-top: 20px;
  }

  .hero {
    height: auto;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    position: relative;
    padding: 20px;
  }

  .hero img {
    display: none;
  }

  .hero-text {
    position: static;
    transform: none;
    max-width: 100%;
    padding: 0;
  }

  .hero-text h1 {
    font-size: 24px;
  }

  .hero-text p {
    font-size: 16px;
    margin-top: 10px;
  }

  .bonus-tile {
    max-width: 100%;
    width: 100%;
  }

  .bonus-button {
    margin-left: 0;
    margin-top: 10px;
  }

  nav {
    margin-top: 10px;
  }
}
