/* ========== VARIABLES ========== */
/* ========== VARIABLES ========== */
:root {
  /* Base colors */
  --bg-dark: #1e1e1e;
  --bg-light: #2b2b2b;
  --text-light: #ffffff;
  --accent: #ff6600;
  --accent-hover: #e65c00;
  --gray: #3a3a3a;
  --gray-light: #505050;

  /* Body background */
  --gradient-body-1: #1a1a1a;
  --gradient-body-2: #252525;
  --gradient-body-3: #2e2e2e;

  /* Hero gradient */
  --gradient-hero-1: #1a1a1a;
  --gradient-hero-2: #292929;
  --gradient-hero-3: #333333;
  --gradient-hero-4: #ff6600;
  --gradient-hero-5: #ff9966;

  /* Nav gradient */
  --gradient-nav-1: #1a1a1a;
  --gradient-nav-2: #2a2a2a;

  /* Bonus popup gradient */
  --gradient-bonus-1: #292929;
  --gradient-bonus-2: #404040;
  --gradient-bonus-3: #ff6600;
  --gradient-bonus-4: #ff3300;

  /* Floating CTA gradient */
  --gradient-cta-1: #2a2a2a;
  --gradient-cta-2: #3a3a3a;
  --gradient-cta-3: #4a4a4a;
  --gradient-cta-4: #ff6600;
  --gradient-cta-5: #ff9966;
  --gradient-cta-6: #fff2e6;

  /* Footer gradient */
  --gradient-footer-1: #1a1a1a;
  --gradient-footer-2: #262626;
  --gradient-footer-3: #333333;
}
/* ========== RESET ========== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ========== GLOBAL BASE ========== */
body {
  font-family: Arial, sans-serif;
  background: linear-gradient(
    135deg,
    var(--gradient-body-1),
    var(--gradient-body-2),
    var(--gradient-body-3)
  );
  color: var(--text-light);
  line-height: 1.7;
}

main > h1,
main > h2,
main > h3,
main > p,
main > ul,
main > ol,
main > blockquote,
main > pre {
  max-width: 1200px;
  margin: 1em auto;
  padding: 0 20px;
}

main > h1 {
  font-size: 2rem;
  text-align: center;
  color: var(--accent);
  margin: 40px auto 1.5em;
  line-height: 1.3;
  font-weight: 700;
}

main > h2 {
  font-size: 1.6rem;
  margin: 2em auto 0.8em;
  color: var(--accent);
  border-bottom: 2px solid var(--gray-light);
  padding-bottom: 6px;
}

main > h3 {
  font-size: 1.3rem;
  margin: 1.8em auto 0.6em;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

main a {
  color: var(--accent);
  text-decoration: underline;
}

main a:hover {
  color: var(--accent-hover);
}

main ul,
main ol {
  padding-left: 2.2em;
}

main li {
  margin-bottom: 0.6em;
}

main img {
  max-width: 100%;
  height: auto;
  margin: 20px auto;
  display: block;
  border-radius: 8px;
}

main code {
  background: var(--gray-light);
  color: var(--accent);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 0.95em;
}

main pre {
  background: var(--gray);
  color: var(--text-light);
  padding: 16px;
  overflow-x: auto;
  border-radius: 6px;
  font-family: 'Courier New', monospace;
  font-size: 0.95em;
  line-height: 1.5;
}

main blockquote {
  padding: 1em 1.5em;
  background-color: var(--gray);
  border-left: 4px solid var(--accent);
  font-style: italic;
  border-radius: 4px;
}
/* ========== HEADER ========== */
.header-container {
  margin: 15px;
}

header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  max-width: 1150px;
  margin: 15px auto;
}

.logo {
  display: flex;
  justify-content: center;
}

.logo img {
  width: 100px;
  height: auto;
}

.menu-toggle {
  font-size: 28px;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--text-light);
}

.header-actions {
  display: flex;
  gap: 12px;
}

/* ========== NAVIGATION ========== */
nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 80%;
  max-width: 300px;
  height: 100%;
  background: linear-gradient(
    135deg,
    var(--gradient-nav-1),
    var(--gradient-nav-2)
  );
  box-shadow: 2px 0 10px rgba(0, 0, 0, 0.4);
  padding: 30px 20px;
  transition: left 0.8s ease, opacity 0.8s ease;
  opacity: 0;
  z-index: 1000;overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

nav.open {
  left: 0;
  opacity: 1;
}

nav .close-menu {
  font-size: 24px;
  cursor: pointer;
  margin-bottom: 20px;
  background: none;
  border: none;
  float: right;
  color: var(--text-light);
}

nav .menu-inner {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0;
  margin: 0 auto;
}

nav ul li a {
  display: block;
  padding: 10px 14px;
  background: var(--gray);
  color: var(--text-light);
  text-decoration: none;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  transition: background-color 0.3s ease, color 0.3s ease;
}

nav ul li a:hover {
  background-color: var(--accent);
  color: #fff;
}
/* ========== BONUS SECTION ========== */
.site-description {
  position: relative;
  margin: 0 auto;
  padding: 60px;
  background: linear-gradient(
    135deg,
    var(--gradient-hero-1),
    var(--gradient-hero-2),
    var(--gradient-hero-3),
    var(--gradient-hero-4),
    var(--gradient-hero-5)
  );
  background-size: 400% 400%;
  animation: animatedCasinoGradient 12s ease infinite;
  color: var(--text-light);
}

@keyframes animatedCasinoGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.bonus-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  max-width: 1150px;
  margin: 0 auto;
}

.bonus-wrapper .text-block {
  flex: 1 1 60%;
  min-width: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.text-bonus {
  font-size: 2rem;
  margin-bottom: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.bonus-wrapper p {
  line-height: 1.7;
  margin: 0;
}

.bonus-popup {
  align-self: center;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  background: linear-gradient(
    145deg,
    var(--gradient-bonus-1),
    var(--gradient-bonus-2),
    var(--gradient-bonus-3),
    var(--gradient-bonus-4)
  );
  background-size: 300% 300%;
  animation: bonusGradient 8s ease infinite;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3),
              0 0 10px rgba(255, 188, 0, 0.5),
              inset 0 0 8px rgba(255, 255, 255, 0.1);
}

@keyframes bonusGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.bonus-icon {
  font-size: 60px;
  display: block;
  margin-bottom: 10px;
  animation: pulse 1.5s infinite ease-in-out;
}

@keyframes pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); }
}

.bonus-content {
  margin: 10px;
}

.bonus-content p {
  font-size: 24px;
  margin: 5px auto;
}

.bonus-button {
  background: var(--accent);
  color: #fff;
  font-weight: bold;
  border: none;
  padding: 10px;
  width: 100%;
  border-radius: 5px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  text-decoration: none;
}

.bonus-button:hover {
  color: #fff;
  background: var(--accent-hover);
}
/* ========== ACTION BUTTONS ========== */
.actions {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
}

.actions a {
  padding: 12px 24px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  font-size: 15px;
  text-align: center;
  transition: all 0.25s ease-in-out;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.5px;
}

.actions a.login {
  background-color: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

.actions a.login:hover {
  background-color: var(--accent);
  color: #fff;
}

.actions a.register {
  background-color: var(--accent);
  color: white;
  border: 2px solid var(--accent);
}

.actions a.register:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

/* ========== FLOATING CTA BAR ========== */
.floating-cta-bar {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  background: linear-gradient(
    135deg,
    var(--gradient-cta-1),
    var(--gradient-cta-2),
    var(--gradient-cta-3),
    var(--gradient-cta-4),
    var(--gradient-cta-5),
    var(--gradient-cta-6)
  );
  background-size: 400% 400%;
  animation: floatingBarGradient 10s ease infinite;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
  z-index: 998;
  padding: 16px 28px;
  opacity: 0;
pointer-events: none;
transform: translateX(-50%) translateY(20px);
}
.floating-cta-bar.visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

@keyframes floatingBarGradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.floating-cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.cta-text {
  font-size: 1.2rem;
  color: var(--text-light);
  font-weight: 600;
  flex: 1 1 auto;
}

.cta-button {
  background-color: var(--accent);
  color: white;
  padding: 12px 24px;
  font-weight: bold;
  border-radius: 8px;
  text-decoration: none;
  white-space: nowrap;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s ease, transform 0.2s ease;
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 rgba(255, 136, 0, 0.7);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 0 12px rgba(255, 136, 0, 0.9),
                0 0 24px rgba(255, 136, 0, 0.6);
    transform: scale(1.05);
  }
  100% {
    box-shadow: 0 0 0 rgba(255, 136, 0, 0.7);
    transform: scale(1);
  }
}

.cta-button:hover {
  background-color: var(--accent-hover);
  transform: translateY(-2px);
}

/* ========== FOOTER ========== */
.site-footer {
  background: linear-gradient(
    135deg,
    var(--gradient-footer-1),
    var(--gradient-footer-2),
    var(--gradient-footer-3)
  );
  color: var(--text-light);
  padding: 40px 20px 20px;
  margin-top: 60px;
  font-size: 0.95rem;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.footer-section {
  flex: 1 1 200px;
  min-width: 200px;
}

.footer-section h3 {
  color: var(--accent);
  margin-bottom: 12px;
  font-size: 1.1rem;
  font-weight: bold;
}

.footer-section p,
.footer-section ul li {
  line-height: 1.6;
  color: var(--text-light);
}

.footer-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-section ul li a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-section ul li a:hover {
  color: var(--accent-hover);
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  border-top: 1px solid var(--gray-light);
  padding-top: 20px;
  font-size: 0.9rem;
  color: #aaa;
}

/* ========== MEDIA QUERIES ========== */
@media (max-width: 1024px) {
  .bonus-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .bonus-popup {
    width: 100%;
    max-width: 320px;
    margin-top: 20px;
  }

  .site-description {
    max-width: 1200px;
    padding: 20px;
  }
}

@media (max-width: 820px) {
  .floating-cta-bar {
    width: 85%;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
  }

  .floating-cta-bar.visible {
    transform: translateX(-50%) translateY(0);
  }

  .floating-cta-inner {
    flex-direction: column;
    text-align: center;
  }

  .cta-button {
    width: 100%;
  }
}


@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  nav ul li {
    max-width: 100%;
  }

  .actions a {
    width: 100%;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .bonus-icon {
    font-size: 30px;
  }

  .bonus-button {
    padding: 8px;
  }
}
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 999;
}

.menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
