:root {
  --header-offset: 120px; /* Desktop: total height of header + button area not exceeding this value */
  --primary-color: #FFD700; /* Gold */
  --secondary-color: #1E90FF; /* Deep Sky Blue */
  --dark-blue-bg: #0A192F; /* Dark background for header-top */
  --light-gold-bg: #FFEC8B; /* Light background for main-nav */
  --text-color-dark: #333;
  --text-color-light: #fff;
}

@media (max-width: 768px) {
  :root {
    --header-offset: 200px; /* Mobile: total height of marquee/header/button area not exceeding this value */
  }
}

/* Base styles */
body {
  margin: 0;
  font-family: 'Arial', sans-serif;
  line-height: 1.6;
  color: var(--text-color-dark);
}

body.no-scroll {
  overflow: hidden;
}

/* Site Header - Fixed Navigation (Desktop First) */
.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  background-color: transparent; /* Base for fixed header */
  display: flex;
  flex-direction: column;
}

/* Header Top Section (Desktop) */
.header-top {
  background-color: var(--dark-blue-bg); /* Dark blue background */
  width: 100%;
  padding: 10px 0;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px; /* Padding for logo and buttons from container edge */
}

.logo {
  font-size: 28px;
  font-weight: 900;
  color: var(--primary-color); /* Gold color for logo text */
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block; /* Ensure logo is visible */
}

.desktop-nav-buttons {
  display: flex; /* Visible on desktop */
  gap: 12px; /* Spacing between buttons */
}

/* Buttons */
.btn {
  padding: 10px 20px;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  white-space: nowrap; /* Prevent buttons from wrapping */
  display: inline-block; /* Ensure padding and dimensions work */
  text-align: center;
}

.btn-login {
  background-color: var(--secondary-color); /* Blue for Login */
  color: var(--text-color-light);
}

.btn-login:hover {
  background-color: #1a7ad9; /* Darker blue on hover */
  transform: translateY(-2px);
}

.btn-register {
  background-color: var(--primary-color); /* Gold for Register */
  color: var(--dark-blue-bg); /* Dark text for contrast */
}

.btn-register:hover {
  background-color: #e6c200; /* Darker gold on hover */
  transform: translateY(-2px);
}

/* Main Navigation (Desktop) */
.main-nav {
  background-color: var(--light-gold-bg); /* Light gold background */
  width: 100%;
  display: flex; /* Visible on desktop */
  justify-content: center;
  align-items: center;
  padding: 10px 0;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: row; /* Horizontal layout for desktop */
  justify-content: center;
  align-items: center;
  padding: 0 20px;
}

.nav-link {
  color: var(--dark-blue-bg); /* Dark text for light gold background */
  text-decoration: none;
  padding: 10px 15px;
  font-size: 16px;
  font-weight: 600;
  transition: color 0.3s ease, background-color 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover {
  color: var(--secondary-color); /* Blue on hover */
  background-color: rgba(255, 255, 255, 0.2);
  border-radius: 5px;
}

/* Hamburger Menu (Hidden on Desktop) */
.hamburger-menu {
  display: none; /* Hidden on desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 24px;
  position: relative;
  z-index: 1001;
}

.hamburger-menu span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: var(--primary-color); /* Gold for hamburger icon */
  margin-bottom: 5px;
  position: relative;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-menu span:last-child {
  margin-bottom: 0;
}

.hamburger-menu.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active span:nth-child(2) {
  opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Buttons (Hidden on Desktop) */
.mobile-nav-buttons {
  display: none; /* Hidden on desktop */
  background-color: var(--dark-blue-bg); /* Same as header-top */
  padding: 10px 20px;
  justify-content: center;
  gap: 12px;
  width: 100%;
  box-sizing: border-box;
}

/* Mobile Menu Overlay (Hidden on Desktop) */
.mobile-menu-overlay {
  display: none; /* Hidden by default on desktop */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  transition: opacity 0.3s ease;
  opacity: 0;
}

.mobile-menu-overlay.active {
  display: block;
  opacity: 1;
}

/* Footer Styles */
.site-footer {
  background-color: var(--dark-blue-bg); /* Dark blue background for footer */
  color: var(--text-color-light);
  padding: 40px 20px 20px;
  font-size: 14px;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
}

.footer-col {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
}

.footer-col h3 {
  color: var(--primary-color); /* Gold for footer headings */
  font-size: 18px;
  margin-bottom: 15px;
}

.footer-col p {
  line-height: 1.8;
  color: #bbb;
}

.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin-bottom: 8px;
}

.footer-nav a {
  color: #bbb;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav a:hover {
  color: var(--primary-color); /* Gold on hover */
}

.footer-bottom {
  max-width: 1200px;
  margin: 30px auto 0;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 20px;
  color: #aaa;
}

/* Mobile Specific Styles */
@media (max-width: 768px) {
  .header-container {
    width: 100%; /* Mobile container must be full width */
    max-width: none; /* Remove max-width constraint */
    padding: 0 15px; /* Smaller padding for mobile */
    justify-content: space-between; /* Hamburger left, Logo middle, empty space right */
  }

  .hamburger-menu {
    display: block; /* Show hamburger on mobile */
    z-index: 1001;
  }

  .logo {
    flex: 1; /* Allow logo to take remaining space */
    text-align: center; /* Center the text within its flex space */
    font-size: 24px;
  }

  .desktop-nav-buttons {
    display: none; /* Hide desktop buttons on mobile */
  }

  .mobile-nav-buttons {
    display: flex; /* Show mobile buttons */
    justify-content: center;
    padding-top: 5px;
    padding-bottom: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    z-index: 998;
    position: relative;
    width: 100%;
    box-sizing: border-box;
  }

  .site-header {
    flex-direction: column;
    height: auto;
  }

  .main-nav {
    display: none; /* Hidden by default on mobile */
    position: fixed;
    top: 0; /* Will be adjusted by JS to below header-top and mobile-nav-buttons */
    left: 0;
    width: 80%; /* Menu takes 80% width */
    height: 100vh; /* Full viewport height */
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    background-color: var(--dark-blue-bg); /* Dark background for mobile menu */
    transform: translateX(-100%); /* Slide out to the left */
    transition: transform 0.3s ease;
    padding: var(--header-offset) 0 20px; /* Padding from top for content */
    box-sizing: border