/* ===== CSS Variables - Dark Pink Neon Theme ===== */
:root {
  --color-bg-primary: #1a0a1a;
  --color-bg-secondary: #2d0f2d;
  --color-bg-dark: #1f0f1f;
  --color-accent: #ff1493;
  --color-accent-bright: #ff69b4;
  --color-neon-pink: #ff00ff;
  --color-text-primary: #ffffff;
  --color-text-secondary: #e0b0e0;
  --color-text-muted: #b888b8;
  --color-border: rgba(255, 20, 147, 0.3);
  --shadow-neon: 0 0 20px rgba(255, 20, 147, 0.5), 0 0 40px rgba(255, 105, 180, 0.3);
  --shadow-neon-strong: 0 0 30px rgba(255, 20, 147, 0.8), 0 0 60px rgba(255, 105, 180, 0.5);
}

/* ===== Reset & Base Styles ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(180deg, var(--color-bg-primary) 0%, var(--color-bg-secondary) 50%, var(--color-bg-dark) 100%);
  color: var(--color-text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

/* ===== Header Styles ===== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(26, 10, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--color-border);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  background: rgba(45, 15, 45, 0.98);
  box-shadow: var(--shadow-neon);
  border-bottom-color: var(--color-accent);
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.header-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.header-logo:hover {
  transform: scale(1.05);
}

.header-logo img {
  height: 50px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}

.header-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
  list-style: none;
}

.header-nav a {
  color: var(--color-text-primary);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.header-nav a:hover {
  color: var(--color-accent);
  text-shadow: 0 0 10px var(--color-accent);
}

/* ===== Main Content ===== */
main {
  margin-top: 80px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  position: relative;
  z-index: 1;
}

section {
  margin-bottom: 3rem;
  padding: 2rem;
  background: rgba(45, 15, 45, 0.3);
  border-radius: 16px;
  border: 1px solid var(--color-border);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
  overflow-x: hidden;
  word-wrap: break-word;
  max-width: 100%;
}

/* Ensure error-404 section has proper top spacing */
.page-404 main.error-page-main {

  margin-top: 140px;
}

.page-404 .error-404 {
  margin-top: 0 !important;
}

section:hover {
  border-color: var(--color-accent);
  box-shadow: 0 0 20px rgba(255, 20, 147, 0.2);
}

section h1,
section h2,
section h3 {
  color: var(--color-accent-bright);
  margin-bottom: 1rem;
  text-shadow: 0 0 10px rgba(255, 20, 147, 0.5);
}

section h1 {
  font-size: 2.5rem;
  border-bottom: 2px solid var(--color-accent);
  padding-bottom: 1rem;
}

section h2 {
  font-size: 2rem;
  border-left: 4px solid var(--color-accent);
  padding-left: 1rem;
}

section p {
  margin-bottom: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

section ul,
section ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
  color: var(--color-text-secondary);
}

section li {
  margin-bottom: 0.5rem;
}

section strong {
  color: var(--color-accent-bright);
}

section dt {
  color: var(--color-accent);
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

section dd {
  color: var(--color-text-secondary);
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

/* ===== Banner Styles ===== */
.hero-banner {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  margin-top: 0;
  margin-bottom: 2rem;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  display: block;
}

.hero-banner a {
  display: block;
  width: 100%;
  text-decoration: none;
}

.hero-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* ===== Banner Carousel Styles ===== */
.hero-banner-carousel .carousel-container {
  position: relative;
  width: 100%;
}

.hero-banner-carousel .carousel-placeholder {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0;
  pointer-events: none;
}

.hero-banner-carousel .carousel-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
}

.hero-banner-carousel .carousel-image.active {
  opacity: 1;
  z-index: 2;
}

.content-banner {
  width: 100%;
  max-width: 100%;
  margin: 3rem auto;
  padding: 0;
  background: transparent;
  border: none;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  display: block;
}

.content-banner img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-neon);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.content-banner:hover img {
  box-shadow: var(--shadow-neon-strong);
  transform: scale(1.02);
}

/* ===== Footer Styles ===== */
.site-footer {
  background: linear-gradient(180deg, var(--color-bg-dark) 0%, var(--color-bg-primary) 100%);
  border-top: 2px solid var(--color-accent);
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.footer-block {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo-link {
  display: inline-block;
  transition: transform 0.3s ease;
}

.footer-logo-link:hover {
  transform: scale(1.05);
}

.footer-logo {
  width: auto;
  height: 60px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  color: var(--color-text-secondary);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.25rem 0;
}

.footer-nav a:hover {
  color: var(--color-accent);
  text-shadow: 0 0 8px var(--color-accent);
  padding-left: 0.5rem;
}

/* Footer Sign Up Button - Highlighted */
.footer-signup .footer-nav a[href="/go"] {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-accent), var(--color-neon-pink));
  color: #ffffff !important;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  text-shadow: 0 0 10px rgba(255, 20, 147, 0.8);
  box-shadow: 0 4px 15px rgba(255, 20, 147, 0.4), 0 0 20px rgba(255, 105, 180, 0.3);
  transition: all 0.3s ease;
  margin-top: 0.5rem;
  border: 2px solid transparent;
}

.footer-signup .footer-nav a[href="/go"]:hover {
  background: linear-gradient(135deg, var(--color-neon-pink), var(--color-accent));
  box-shadow: 0 6px 20px rgba(255, 20, 147, 0.6), 0 0 30px rgba(255, 105, 180, 0.5);
  transform: translateY(-2px);
  text-shadow: 0 0 15px rgba(255, 255, 255, 1);
  padding-left: 1.5rem !important;
}

.footer-text {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.footer-disclaimer {
  margin-top: 0;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--color-border);
  text-align: center;
}

.footer-disclaimer-text {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  line-height: 1.6;
  max-width: 100%;
  word-wrap: break-word;
  overflow-wrap: break-word;
  margin: 0;
}

/* ===== Responsive Design ===== */

/* Laptop */
@media (min-width: 769px) and (max-width: 1024px) {
  main > .hero-banner:first-child {
    margin-top: -80px;
  }
  
  .footer-container {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
  
  .footer-block {
    min-width: 0;
  }
}

/* Tablet */
@media (max-width: 768px) {
  main > .hero-banner:first-child {
    margin-top: 0px; /* Compensate main margin but keep space for header */
  }
  
  .hero-banner {
    margin-bottom: 2rem;
  }
  
  .content-banner {
    margin: 2rem auto;
  }
  .header-container {
    padding: 1rem;
    flex-wrap: wrap;
  }

  .header-logo img {
    height: 40px;
  }

  .header-nav {
    display: none;
  }

  main {
    padding: 1rem;
    margin-top: 94px;
  }

  section {
    padding: 1.5rem;
  }

  section h1 {
    font-size: 2rem;
  }

  section h2 {
    font-size: 1.5rem;
  }

  .site-footer {
    margin-top: 1.5rem;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    text-align: center;
  }

  .footer-block {
    align-items: center;
  }

  .footer-logo {
    height: 50px;
    margin: 0 auto;
  }

  .footer-logo-link {
    margin: 0 auto;
  }

  .footer-nav {
    align-items: center;
  }

  .footer-signup .footer-nav a[href="/go"] {
    padding: 0.65rem 1.25rem;
    font-size: 0.95rem;
  }

  .footer-disclaimer {
    padding: 1.25rem 1.5rem;
  }

  .footer-disclaimer-text {
    font-size: 0.8rem;
  }

  .page-404 main.error-page-main {

    margin-top: 140px;
  }

  .page-404 .error-404 {
    margin-top: 0 !important;
    padding: 4rem 1.5rem 3rem 1.5rem !important;
  }

  .error-404 h1 {
    font-size: 2.5rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  main > .hero-banner:first-child {
    margin-top: calc(-120px + 90px); /* Compensate main margin but keep space for header */
  }
  
  .hero-banner {
    margin-bottom: 1.5rem;
  }
  
  .content-banner {
    margin: 1.5rem auto;
    border-radius: 8px;
  }
  
  .content-banner img {
    border-radius: 8px;
  }
  .header-container {
    padding: 0.75rem;
    gap: 1rem;
    flex-wrap: wrap;
  }

  .header-nav {
    display: none;
  }

  main {
    padding: 0.75rem;
    margin-top: 120px;
  }

  section {
    padding: 1rem;
    margin-bottom: 2rem;
  }

  section h1 {
    font-size: 1.75rem;
  }

  section h2 {
    font-size: 1.25rem;
  }

  section ul,
  section ol {
    margin-left: 1.5rem;
  }

  .site-footer {
    padding: 2rem 1rem;
    margin-top: 2rem;
  }

  .footer-container {
    text-align: center;
  }

  .footer-block {
    align-items: center;
  }

  .footer-logo {
    height: 45px;
    margin: 0 auto;
  }

  .footer-logo-link {
    margin: 0 auto;
  }

  .footer-nav {
    align-items: center;
  }

  .footer-signup .footer-nav a[href="/go"] {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    width: 100%;
    max-width: 200px;
    margin: 0.5rem auto 0;
  }

  .footer-disclaimer {
    padding: 1rem;
    margin-top: 1.5rem;
  }

  .footer-disclaimer-text {
    font-size: 0.75rem;
    line-height: 1.5;
  }

  .page-404 main.error-page-main {
   
    margin-top: 140px;
  }

  .page-404 .error-404 {
    margin-top: 0 !important;
    padding: 4rem 1rem 2.5rem 1rem !important;
  }

  .error-404 h1 {
    font-size: 2rem;
  }

  .error-404 p {
    font-size: 1.1rem;
  }

  .back-to-top {
    right: 1rem;
    width: 45px;
    height: 45px;
    font-size: 1.3rem;
  }

  .promo-bar {
    padding: 0.75rem 1rem;
    min-height: auto;
    bottom: 0;
  }

  .promo-bar-content {
    gap: 0.75rem;
    flex-direction: column;
    justify-content: center;
  }

  .promo-bar-text {
    font-size: 0.9rem;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    order: 1;
  }

  .promo-bar-button {
    order: 2;
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
    width: auto;
  }
}

/* Tablet */
@media (max-width: 768px) {
  .back-to-top {
    right: 1.5rem;
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
  }

  .promo-bar {
    padding: 0.85rem 1.5rem;
    min-height: auto;
    bottom: 0;
  }

  .promo-bar-content {
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
  }

  .promo-bar-text {
    font-size: 0.95rem;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    max-width: 100%;
    order: 1;
  }

  .promo-bar-button {
    padding: 0.65rem 1.3rem;
    flex-shrink: 0;
    order: 2;
  }
}

/* ===== Utility Classes ===== */
.button-primary {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-neon-pink) 100%);
  color: var(--color-text-primary);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 20, 147, 0.3);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-neon-strong);
}

.error-404 {
  text-align: center;
  padding: 5rem 2rem 4rem 2rem !important;
  margin-top: 4rem !important;
}

.error-404 h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  color: var(--color-accent);
  text-shadow: var(--shadow-neon);
}

.error-404 p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

/* ===== Back to Top Button ===== */
.back-to-top {
  position: fixed;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-neon-pink) 100%);
  color: var(--color-text-primary);
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: bold;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-neon);
  z-index: 999;
  transition: opacity 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
  opacity: 0.9;
}

.back-to-top:hover {
  opacity: 1;
  transform: translateY(-3px);
  box-shadow: var(--shadow-neon-strong);
}

.back-to-top:active {
  transform: translateY(-1px);
}

/* ===== Promo Bar ===== */
.promo-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: linear-gradient(180deg, var(--color-bg-dark) 0%, rgba(45, 15, 45, 0.98) 100%);
  border-top: 2px solid var(--color-accent);
  box-shadow: 0 -4px 20px rgba(255, 20, 147, 0.3);
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  min-height: 60px;
  box-sizing: border-box;
}

.promo-bar-content {
  width: 100%;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  box-sizing: border-box;
}

.promo-bar-text {
  color: var(--color-text-primary);
  font-size: 1rem;
  font-weight: 500;
  margin: 0;
  text-align: center;
  max-width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.promo-bar-button {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-neon-pink) 100%);
  color: var(--color-text-primary);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 15px rgba(255, 20, 147, 0.3);
  transition: all 0.3s ease;
  flex-shrink: 0;
  box-sizing: border-box;
}

.promo-bar-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-neon-strong);
}

