/* AUSBigJackpott — ausbigjackpott.com — Light, stylish theme */

/* Skip link — visible on focus for keyboard/screen reader */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  padding: 12px 20px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius);
  transition: top 0.2s;
}

.skip-link:focus {
  top: 16px;
  outline: 3px solid var(--accent-light);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .skip-link,
  .skip-link:focus {
    transition: none;
  }
}

:root {
  --bg: #f8f6f3;
  --surface: #fff;
  --text: #1c1c1c;
  --text-muted: #5a5a5a;
  --accent: #1a5f4a;
  --accent-light: #2d8b6f;
  --border: #e5e2dd;
  --shadow: 0 4px 20px rgba(0,0,0,0.06);
  --radius: 12px;
  --font-sans: "Segoe UI", system-ui, -apple-system, sans-serif;
  --header-h: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
}

.logo:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  color: var(--text-muted);
  font-weight: 500;
}

.nav a:hover {
  color: var(--accent);
}

/* Burger — hidden by default */
.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  border-radius: var(--radius);
}

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
  transition: transform 0.25s, opacity 0.25s;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.nav-mobile {
  display: none;
  flex-direction: column;
  padding: 20px 24px;
  gap: 12px;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.nav-mobile a {
  color: var(--text);
  font-weight: 500;
  padding: 8px 0;
}

/* At 991px and below: burger + mobile nav */
@media (max-width: 991px) {
  .burger {
    display: flex;
  }

  .nav {
    display: none;
  }

  .nav-mobile.is-open {
    display: flex;
  }
}

/* Hero — animated sports bar style */
.hero {
  position: relative;
  padding: 80px 24px 70px;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, #2c1810 0%, #4a2c1a 20%, #3d2318 40%, #5c3820 60%, #3a2216 80%, #2c1810 100%);
  background-size: 400% 400%;
  animation: heroGradient 12s ease infinite;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 80px,
    rgba(255, 200, 100, 0.03) 80px,
    rgba(255, 200, 100, 0.03) 82px
  );
  animation: heroShimmer 8s linear infinite;
  z-index: 1;
  pointer-events: none;
}

.hero .hero-content {
  position: relative;
  z-index: 2;
}

.hero .hero-content h1,
.hero .hero-tagline {
  color: #f5f0e8;
  text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.hero .hero-tagline {
  color: rgba(245, 240, 232, 0.9);
}

@keyframes heroGradient {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes heroShimmer {
  0% { transform: translateX(0); }
  100% { transform: translateX(82px); }
}

@media (prefers-reduced-motion: reduce) {
  .hero::before {
    animation: none;
  }
  .hero::after {
    animation: none;
  }
}

.hero h1 {
  margin: 0 0 16px;
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--text);
}

.hero-tagline {
  margin: 0;
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Intro */
.intro {
  padding: 56px 0;
}

.intro h2 {
  margin: 0 0 16px;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
}

.intro p {
  margin: 0;
  color: var(--text-muted);
}

/* Bars section */
.bars {
  padding: 0 0 64px;
}

.section-title {
  margin: 0 0 32px;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
}

.bar-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  margin-bottom: 28px;
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 0;
  min-height: 240px;
}

.bar-card:last-child {
  margin-bottom: 0;
}

.bar-image {
  position: relative;
  background: var(--border);
}

.bar-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bar-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bar-content {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bar-content h3 {
  margin: 0 0 12px;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text);
}

.bar-address,
.bar-desc,
.bar-links {
  margin: 0 0 10px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.bar-links:last-child {
  margin-bottom: 0;
}

.bar-links a {
  word-break: break-all;
}

@media (max-width: 768px) {
  .bar-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .bar-image {
    height: 220px;
  }

  .bar-content {
    padding: 20px 20px 24px;
  }
}

/* Footer */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 28px 0;
}

.footer p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--text-muted);
  text-align: center;
}

.footer-policies {
  margin-top: 12px !important;
}

.footer-policies a {
  color: var(--accent);
}

.footer-policies a:hover {
  text-decoration: underline;
}

/* Policies page */
.policies-main {
  padding: 48px 0 64px;
}

.policies-main h1 {
  margin: 0 0 8px;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--text);
}

.policy-updated {
  margin: 0 0 28px;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.policy-block {
  margin-bottom: 28px;
}

.policy-block h2 {
  margin: 0 0 10px;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--text);
}

.policy-block p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.policies-back {
  margin-top: 32px !important;
}

.policies-back a {
  color: var(--accent);
}
