* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
:root {
  --primary-color: #ffd000;
  --primary-hover: #e6ba00;
  --background-color: #0c0c0c;
  --text-color: #ffffff;
  --accent-color: #ffcc00;
  --highlight-color: #ff9900;
  --countdown-bg: #ffde33;
  --countdown-text: #1a1a1a15;
  --btn-text-color: #000000;
  --overlay-pattern: rgba(255, 215, 0, 0.1);
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #fff;
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

:root {
  --primary-color: #ffd000;
  --primary-hover: #e6ba00;
  --background-color: #0c0c0c;
  --text-color: #ffffff;
  --accent-color: #ffcc00;
  --highlight-color: #ff9900;
  --cta-gradient: linear-gradient(135deg, #ffd000, #ff9900);
}

body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: var(--background-color);
  color: var(--text-color);
}

.site-header {
  background: #000;
  padding: 15px 20px;
  position: sticky;
  top: 0;
  z-index: 999;
}

.container-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  color: var(--primary-color);
  letter-spacing: 1px;
  text-decoration: none;
}
.logo span {
  color: var(--highlight-color);
}

.nav ul {
  list-style: none;
  display: flex;
  gap: 25px;
  margin: 0;
  padding: 0;
}

.nav a {
  color: var(--text-color);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
}
.nav a:hover {
  color: var(--accent-color);
}

.language-switcher {
  display: flex;
  gap: 8px;
  margin-right: 20px;
}
.language-switcher .lang {
  background: transparent;
  border: 1px solid var(--primary-color);
  padding: 6px 12px;
  border-radius: 999px;
  font-weight: 600;
  color: var(--text-color);
  text-decoration: none;
  font-size: 14px;
}
.language-switcher .active {
  background: var(--primary-color);
  color: #000;
}
.header-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

.cta-button {
  background: var(--cta-gradient);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: bold;
  color: #000;
  text-decoration: none;
  font-size: 14px;
  animation: ctaPulse 1.6s infinite ease-in-out;
  box-shadow: 0 0 0 rgba(255, 208, 0, 0.6);
  transition: transform 0.3s;
  position: relative;
  z-index: 1;
}

@keyframes ctaPulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.06) translateY(-2px);
  }
  100% {
    transform: scale(1);
  }
}

.burger {
  background: none;
  border: none;
  font-size: 26px;
  color: var(--primary-color);
  display: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav {
    display: none;
    width: 100%;
  }

  .nav.active {
    display: block;
    background: #111;
    padding: 10px 0;
  }

  .nav ul {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .burger {
    display: block;
  }

  .header-controls {
    display: flex;
    align-items: center;
    gap: 12px;
  }
}
@media (max-width: 768px) {
  .header-controls {
    width: 100%;
    justify-content: space-between;
    margin-top: 10px;
  }

  .language-switcher {
    margin-right: auto;
  }

  .cta-button {
    font-size: 13px;
    padding: 8px 16px;
  }
}

.hero {
  position: relative;
  overflow: hidden;
  background-color: #131313;
  padding: 100px 20px 60px;
  color: #fff;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-color: #101010;
  background-image: radial-gradient(rgba(255, 215, 0, 0.6) 2px, transparent 2px),
    radial-gradient(rgba(255, 215, 0, 0.4) 2px, transparent 2px);
  background-size: 60px 60px;
  background-position: 0 0, 20px 20px;
  opacity: 0.6;
  filter: blur(0.5px);
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  flex-direction: column;
  z-index: 1;
  position: relative;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-align: center;
  text-shadow: 2px 2px 0 #000, 4px 4px 10px rgba(0, 0, 0, 0.5);
  transform: perspective(1000px) translateZ(5px);
}

.hero h1 span {
  color: var(--highlight-color);
  font-size: 3rem;
  text-shadow: 1px 1px 0 #000, 2px 2px 8px rgba(0, 0, 0, 0.4);
  display: inline-block;
  transform: scale(1.02);
}

.hero-subtitle {
  font-size: 1.6rem;
  color: #ccc;
  margin-bottom: 35px;
  line-height: 1.6;
  text-align: center;
}

.hero-subtitle strong {
  color: var(--accent-color);
  font-weight: 600;
}

.hero-cta-wrap {
  margin-bottom: 40px;
}

.cta-glow {
  background: var(--primary-color);
  color: #000;
  font-weight: bold;
  padding: 14px 30px;
  border-radius: 999px;
  font-size: 1rem;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 0 0 rgba(255, 208, 0, 0.7);
  animation: pulseMove 1.6s infinite ease-in-out;
  transition: transform 0.3s ease;
}

@keyframes pulseMove {
  0%,
  100% {
    transform: scale(1);
    box-shadow: 0 0 10px 2px rgba(255, 208, 0, 0.5);
  }
  50% {
    transform: scale(1.06) translateY(-2px);
    box-shadow: 0 0 20px 6px rgba(255, 208, 0, 0.75);
  }
}

.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.stat-item {
  text-align: left;
}
.stat-item strong {
  display: block;
  font-size: 2rem;
  color: var(--primary-color);
}
.stat-item span {
  font-size: 0.95rem;
  color: #aaa;
}

@media (max-width: 768px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }

  .hero-left,
  .hero-right {
    flex: 1 1 100%;
  }

  .hero h1 {
    font-size: 2.4rem;
  }

  .hero h1 span {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-stats {
    justify-content: center;
    gap: 20px;
  }
}

.promo-timer {
  position: relative;
  padding: 60px 20px;
  text-align: center;
  color: var(--text-color);
  overflow: hidden;
  z-index: 1;
}

.promo-timer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("images/banner1.jpg") center center / cover no-repeat;
  filter: blur(2px);
  z-index: -2;
}

.promo-timer::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.6),
    rgba(0, 0, 0, 0.9)
  );
  z-index: -1;
}

.promo-wrapper h2 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.timer-grid {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.time-square {
  width: 100px;
  height: 100px;
  background: radial-gradient(circle, #111, #000);
  border-radius: 12px;
  border: 2px solid var(--highlight-color);
  box-shadow: 0 0 15px rgba(255, 208, 0, 0.6),
    inset 0 0 10px rgba(255, 208, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  animation: glowbox 2s infinite ease-in-out;
}

@keyframes glowbox {
  0%,
  100% {
    box-shadow: 0 0 10px rgba(255, 208, 0, 0.4);
  }
  50% {
    box-shadow: 0 0 20px rgba(255, 208, 0, 0.8);
  }
}

.value {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-color);
}

.label {
  font-size: 0.85rem;
  color: #bbb;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Адаптивность */
@media (max-width: 768px) {
  .time-square {
    width: 70px;
    height: 70px;
  }

  .value {
    font-size: 1.4rem;
  }

  .label {
    font-size: 0.75rem;
  }

  .promo-wrapper h2 {
    font-size: 1.2rem;
  }
}

.bonus-section {
  padding: 4rem 0;
}

.heading-block {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 20px;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  text-transform: uppercase;
  background: linear-gradient(90deg, #ffd000, #ff9900);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  animation: shimmer 4s linear infinite;
  margin-bottom: 12px;
}

@keyframes shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

.section-subtitle {
  font-size: 1.15rem;
  color: #fff;
  font-weight: 600;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 1.6rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .section-title {
    font-size: 1.4rem;
  }

  .section-subtitle {
    font-size: 0.95rem;
  }
}

.bonus-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.bonus-card {
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.1),
    rgba(0, 0, 0, 0.8)
  );
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  border: 2px solid #ffd700;
  position: relative;
  transition: transform 0.3s, box-shadow 0.3s;
}

.bonus-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(255, 215, 0, 0.3);
}

.bonus-card.featured {
  border: 3px solid #ffd700;
  background: linear-gradient(
    135deg,
    rgba(255, 215, 0, 0.2),
    rgba(0, 0, 0, 0.9)
  );
}

.bonus-card.featured::before {
  content: "PHỔ BIẾN NHẤT";
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #ffd700;
  color: #000;
  padding: 5px 20px;
  border-radius: 20px;
  font-size: 0.6rem;
  font-weight: bold;
}

.deposit-amount {
  font-size: 2rem;
  color: #ffd700;
  font-weight: bold;
}

.bonus-amount {
  font-size: 3rem;
  color: #ffd700;
  font-weight: bold;
  margin: 1rem 0;
}

.card-description {
  margin: 1rem 0;
  line-height: 1.6;
}
.cta-highlight {
  position: relative;
  background: url("images/banner3.jpg") center/cover no-repeat;
  border-radius: 16px;
  overflow: hidden;
  margin: 3rem 0;
  border: 2px solid #ffd700;
}

.cta-overlay {
  position: relative;
  padding: 40px 20px;
  text-align: center;
  backdrop-filter: blur(3px);
  background: linear-gradient(
    135deg,
    rgba(151, 96, 0, 0.618),
    rgba(0, 0, 0, 0.759)
  );
  color: #fff;
  z-index: 1;
}

.cta-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #ffd700;
  margin-bottom: 1rem;
}

.cta-subtitle {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}

.cta-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #f7f7f7;
}
.cta-text strong {
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .cta-title {
    font-size: 1.5rem;
  }

  .cta-subtitle {
    font-size: 1.1rem;
  }

  .cta-text {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .cta-title {
    font-size: 1.3rem;
  }

  .cta-subtitle {
    font-size: 1rem;
  }

  .cta-text {
    font-size: 0.95rem;
  }
}

.game-section {
  background: #0c0c0c;
  padding: 60px 20px;
  color: var(--text-color);
  text-align: center;
}

.section-title {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 40px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  justify-items: center;
}

.game-card {
  background: #1a1a1a;
  border-radius: 16px;
  padding: 24px 16px;
  position: relative;
  max-width: 280px;
  width: 100%;
  box-shadow: 0 0 10px rgba(255, 208, 0, 0.05);
  transition: transform 0.3s;
}
.game-card:hover {
  transform: translateY(-4px);
}

.icon-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon-circle img {
  width: 40px;
  height: 40px;
}

/* Градиенты — через отдельные классы */
.gradient-gold {
  background: radial-gradient(circle, #ffd000, #ff9900);
}
.gradient-pink {
  background: linear-gradient(135deg, #ff5e78, #ff9f9f);
}
.gradient-blue {
  background: linear-gradient(135deg, #3dc8ff, #4fffca);
}
.gradient-purple {
  background: linear-gradient(135deg, #a68cff, #d2b7ff);
}

.badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--highlight-color);
  color: #fff;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 4px 10px;
  border-radius: 999px;
}
.badge.hot {
  background: #ff5e00;
}

.game-card h3 {
  font-size: 1.1rem;
  margin: 8px 0;
  color: #fff;
}

.game-card p {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 16px;
}

.play-btn {
  display: inline-block;
  border: 1px solid var(--primary-color);
  padding: 8px 20px;
  border-radius: 999px;
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s, color 0.3s;
}
.play-btn:hover {
  background: var(--primary-color);
  color: #000;
}

/* Адаптивность */
@media (max-width: 768px) {
  .icon-circle {
    width: 60px;
    height: 60px;
  }
  .icon-circle img {
    width: 32px;
    height: 32px;
  }
  .play-btn {
    font-size: 0.9rem;
  }
}

.referral-section {
  background: #0c0c0c;
  padding: 80px 20px;
  color: var(--text-color);
  text-align: center;
}

.referral-cards {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.referral-card {
  background: #1a1a1a;
  border: 2px solid rgba(255, 215, 0, 0.2);
  border-radius: 16px;
  padding: 30px 20px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.05);
  transition: transform 0.3s ease;
}

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

.referral-title {
  color: #ffd700;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.referral-amount {
  font-size: 2.8rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: 20px;
}

.referral-text {
  text-align: center;
}
.referral-text p {
  margin: 0.5rem 0;
  font-size: 1rem;
  color: #ddd;
}

.referral-text strong {
  color: var(--primary-color);
}

.referral-text .highlight {
  color: #ffd700;
}

/* CTA buttons */
.cta-button {
  display: inline-block;
  margin-top: 1rem;
  padding: 12px 24px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 999px;
  color: #000;
  background: var(--primary-color);
  transition: background 0.3s, transform 0.3s;
}

.cta-button:hover {
  background: var(--primary-hover);
  transform: scale(1.05);
}

.cta-button.gradient {
  background: linear-gradient(45deg, #ff6b00, #ffd700);
  color: #000;
}

/* Premium card style */
.referral-card.premium {
  border: 2px solid rgba(255, 107, 0, 0.6);
  background: #221c10;
}

@media (max-width: 768px) {
  .referral-cards {
    flex-direction: column;
    align-items: center;
  }

  .referral-card {
    max-width: 100%;
  }

  .referral-amount {
    font-size: 2.2rem;
  }

  .referral-title {
    font-size: 1.2rem;
  }
}

.article-section {
  background: #0c0c0c;
  padding: 80px 20px;
  color: var(--text-color);
  line-height: 1.7;
}

.article-content {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1rem;
}

.article-content h2 {
  font-size: 1.8rem;
  margin: 40px 0 20px;
  font-weight: 800;
  color: var(--primary-color);
  text-transform: uppercase;
  position: relative;
}

.article-content h2::before {
  content: "★";
  position: absolute;
  left: -30px;
  color: var(--highlight-color);
  font-size: 1.2rem;
}

.article-content h3 {
  font-size: 1.3rem;
  margin-top: 30px;
  margin-bottom: 12px;
  font-weight: 700;
  color: #ffcc00;
  position: relative;
  padding-left: 18px;
}
.article-content h3::before {
  content: "➤";
  position: absolute;
  left: 0;
  color: var(--highlight-color);
  font-size: 1rem;
}

.article-content p {
  margin-bottom: 18px;
  color: #ddd;
}

.article-content p strong {
  margin-bottom: 18px;
  color: #ddd;
  display: inline;
  animation: none;
}
.article-content strong {
  color: var(--primary-color);
  font-weight: 700;
}

.article-content ol {
  padding-left: 20px;
  color: #fff;
  margin: 16px 0 40px;
}
.article-content ol li {
  margin-bottom: 10px;
  position: relative;
  padding-left: 8px;
}
.article-content ol li::marker {
  color: var(--highlight-color);
  font-weight: bold;
}

.article-content ul {
  padding-left: 20px;
  color: #fff;
  margin: 16px 0;
}
.article-content ul li {
  margin-bottom: 10px;
  position: relative;
}

@media (max-width: 768px) {
  .article-content {
    font-size: 0.95rem;
  }

  .article-content h2 {
    font-size: 1.4rem;
  }

  .article-content h3 {
    font-size: 1.1rem;
  }
}

footer {
  background: #000;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: #ffd700;
  margin-bottom: 1rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-section ul li a:hover {
  color: #ffd700;
}

.footer-bottom {
  border-top: 1px solid #333;
  padding-top: 1rem;
  text-align: center;
  color: #666;
}

/* Animations */
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .nav-links {
    display: none;
  }

  .hero-stats {
    gap: 1rem;
  }

  .bonus-cards,
  .games-grid,
  .referral-cards {
    grid-template-columns: 1fr;
  }
}
