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

:root {
  --transition-speed: 0.6s;
}

/* empire theme */
[data-theme="empire"] {
  --bg-primary: #0a0c14;
  --bg-secondary: #0f1220;
  --bg-tertiary: #141828;
  --text-primary: #e8e0d0;
  --text-secondary: #a0a8b4;
  --text-muted: #707880;
  --accent: #c0c6d0;
  --accent-bright: #dce0e8;
  --border-color: rgba(192, 198, 208, 0.19);
  --border-strong: rgba(192, 198, 208, 0.38);
  --card-bg: rgba(13, 16, 24, 0.88);
  --card-border: rgba(192, 198, 208, 0.15);
  --glow-color: rgba(192, 198, 208, 0.13);
  --glow-strong: rgba(192, 198, 208, 0.32);
  --nav-bg: rgba(10, 12, 20, 0.92);
  --divider-line: rgba(192, 198, 208, 0.2);
}

/* wyld theme (aurora light) */
[data-theme="wyld"] {
  --bg-primary: #0D2830;
  --bg-secondary: #112e38;
  --bg-tertiary: #183a45;
  --text-primary: #F8F6EC;
  --text-secondary: #BFC7CB;
  --text-muted: #6a8890;
  --accent: #2bbfdc;
  --accent-bright: #8bc35c;
  --border-color: rgba(43, 191, 220, 0.15);
  --border-strong: rgba(43, 191, 220, 0.3);
  --card-bg: rgba(17, 46, 56, 0.8);
  --card-border: rgba(43, 191, 220, 0.12);
  --glow-color: rgba(43, 191, 220, 0.08);
  --glow-strong: rgba(43, 191, 220, 0.2);
  --nav-bg: rgba(248, 246, 236, 0.95);
  --divider-line: rgba(43, 191, 220, 0.2);
}

/* wyld dark sections, shared texture bg */
[data-theme="wyld"] body {
  background: #0D2830 url('/images/Website-BG_V1_D_hernfe.webp') center top / cover fixed;
}

[data-theme="wyld"] footer {
  background: transparent;
}

/* wyldwolf gradient keyframes */
@keyframes gradientFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* gradient text on eyebrows */
[data-theme="wyld"] .section-eyebrow,
[data-theme="wyld"] .page-eyebrow {
  background: linear-gradient(
    120deg,
    #2bbfdc 0%, #44c7bf 8%, #66cf97 16%, #8bc35c 24%,
    #66cf97 32%, #44c7bf 40%, #2bbfdc 48%, #44c7bf 56%,
    #66cf97 64%, #8bc35c 72%, #66cf97 80%, #44c7bf 90%, #2bbfdc 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 300% 300%;
  animation: gradientFlow 20s linear infinite;
}

/* gradient dividers */
[data-theme="wyld"] .section-divider {
  background: linear-gradient(90deg, transparent, #2bbfdc, #66cf97, #8bc35c, #66cf97, #2bbfdc, transparent);
  opacity: 0.4;
}

/* light titles on bg image */
[data-theme="wyld"] .page-title {
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: #F8F6EC;
  color: #F8F6EC;
}

[data-theme="wyld"] .page-header {
  background: transparent;
  border-bottom-color: rgba(43, 191, 220, 0.12);
}

[data-theme="wyld"] .page-subtitle {
  color: #BFC7CB;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: var(--accent) var(--bg-primary);
}

body {
  font-family: 'Cormorant Garamond', Georgia, serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  transition: background var(--transition-speed), color var(--transition-speed);
  line-height: 1.7;
  font-size: 18px;
}

/* nav */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-color);
  transition: background var(--transition-speed), border-color var(--transition-speed);
}

.nav-inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-top: 4px;
}

.nav-logo img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
  transition: opacity var(--transition-speed);
}

.nav-logo .nav-logo-wyld { display: none; }
[data-theme="wyld"] .nav-logo .nav-logo-empire { display: none; }
[data-theme="wyld"] .nav-logo .nav-logo-wyld { display: block; height: 44px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s;
}

.nav-links a:hover { color: var(--accent); }
.nav-links a:hover::after { width: 100%; }

/* theme switcher */
.theme-switch {
  position: relative;
  width: 44px;
  height: 44px;
  cursor: pointer;
  user-select: none;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  background: var(--bg-tertiary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.4s, background 0.4s, box-shadow 0.4s;
  overflow: hidden;
  flex-shrink: 0;
}

.theme-switch:hover {
  border-color: var(--accent);
  box-shadow: 0 0 18px var(--glow-color), inset 0 0 12px var(--glow-color);
}

.theme-switch-icon {
  position: absolute;
  width: 22px;
  height: 22px;
  transition: transform 0.5s cubic-bezier(0.68, -0.3, 0.32, 1.3),
              opacity 0.35s ease;
}

.theme-switch-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--accent);
  stroke: none;
  transition: fill 0.4s;
  filter: drop-shadow(0 0 3px var(--glow-strong));
}

.icon-crown { opacity: 1; transform: scale(1) rotate(0deg); }
.icon-tree { opacity: 0; transform: scale(0.5) rotate(90deg); }
[data-theme="wyld"] .icon-crown { opacity: 0; transform: scale(0.5) rotate(-90deg); }
[data-theme="wyld"] .icon-tree { opacity: 1; transform: scale(1) rotate(0deg); }
[data-theme="wyld"] .icon-tree svg { fill: #F8F6EC; filter: drop-shadow(0 0 3px rgba(248, 246, 236, 0.3)); }

.theme-switch::after {
  content: 'The Wyld';
  position: absolute;
  bottom: -26px;
  left: 50%;
  transform: translateX(-50%) scale(0.9);
  font-family: 'Cinzel', serif;
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

[data-theme="wyld"] .theme-switch::after { content: 'The Empire'; }
.theme-switch:hover::after { opacity: 1; transform: translateX(-50%) scale(1); }

.theme-switch::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s, transform 0.3s;
}

.theme-switch:hover::before { opacity: 0.3; transform: scale(1.05); }

/* nav buttons */
.nav-btn {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 18px;
  text-decoration: none;
  transition: all 0.3s;
  white-space: nowrap;
}

.nav-btn-primary {
  background: var(--accent);
  color: var(--bg-primary);
  border: 1px solid var(--accent);
}

/* wyld buttons: gradient fill, border, shine */
@keyframes btnShine {
  0% { left: -100%; }
  100% { left: 100%; }
}

[data-theme="wyld"] .nav-btn-primary {
  position: relative;
  background: linear-gradient(135deg, #2F4F5A, #112830);
  border: 1px solid;
  border-image: linear-gradient(120deg, #2bbfdc, #8bc35c, #2bbfdc) 1;
  color: #F8F6EC;
  overflow: hidden;
}

[data-theme="wyld"] .nav-btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transform: skewX(-20deg);
  transition: none;
}

[data-theme="wyld"] .nav-btn-primary:hover::before {
  animation: btnShine 0.6s ease forwards;
}

[data-theme="wyld"] .nav-btn-primary:hover {
  color: #fff;
  box-shadow: 0 6px 24px rgba(43, 191, 220, 0.2);
}

.nav-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px var(--glow-color);
}

.nav-btn-ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--border-strong);
}

.nav-btn-ghost:hover {
  background: var(--accent);
  color: var(--bg-primary);
  transform: translateY(-1px);
}

/* wyld light nav, dark link text */

[data-theme="wyld"] .nav-links a {
  color: #3a5560;
}

[data-theme="wyld"] .nav-links a:hover {
  color: var(--accent);
}

[data-theme="wyld"] .nav-btn-ghost {
  color: #0D2830;
  border-color: #0D2830;
}

[data-theme="wyld"] .nav-btn-ghost:hover {
  background: #0D2830;
  color: #F8F6EC;
  border-color: #0D2830;
}

[data-theme="wyld"] nav {
  border-bottom-color: rgba(43, 191, 220, 0.12);
}

[data-theme="wyld"] .mobile-menu-btn span {
  background: #0D2830;
}

/* page header */
.page-header {
  padding: 160px 40px 80px;
  text-align: center;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  transition: background var(--transition-speed);
  position: relative;
  z-index: 5;
}

.page-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

.page-title {
  font-family: 'Cinzel Decorative', serif;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.15;
}

.page-subtitle {
  font-size: 20px;
  color: var(--text-secondary);
  font-style: italic;
  max-width: 650px;
  margin: 0 auto;
}

/* partner detail cards */
.partners-list {
  max-width: 1300px;
  margin: 0 auto;
  padding: 80px 40px 40px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  position: relative;
  z-index: 5;
}

.partner-detail {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
  padding: 40px 30px;
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  transition: all 0.4s;
  position: relative;
  overflow: hidden;
}

/* top accent line */
.partner-detail::before {
  display: none;
}

.partner-detail:hover {
  border-color: var(--border-strong);
  box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}

[data-theme="empire"] .partner-detail:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

[data-theme="wyld"] .partner-detail { border-radius: 6px; }

[data-theme="wyld"] .partner-detail:hover {
  border-color: transparent;
  border-image: linear-gradient(120deg, #2bbfdc, #8bc35c, #2bbfdc) 1;
  border-radius: 0;
  box-shadow: 0 8px 32px rgba(0,0,0,0.25), 0 0 20px rgba(43, 191, 220, 0.08);
}

.partner-detail-logo {
  width: 140px;
  height: 90px;
  object-fit: contain;
  flex-shrink: 0;
  opacity: 0.9;
  transition: opacity 0.3s;
}

.partner-detail:hover .partner-detail-logo {
  opacity: 1;
}

.partner-detail-content {
  flex: 1;
}

.partner-detail-name {
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 4px;
  transition: color var(--transition-speed);
}

.partner-detail-tag {
  font-size: 13px;
  color: var(--accent);
  font-style: italic;
  margin-bottom: 16px;
  font-family: 'Cormorant Garamond', serif;
}

.partner-detail-desc {
  color: var(--text-secondary);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.partner-detail-link {
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.partner-detail-link:hover {
  color: var(--accent-bright);
  border-bottom-color: var(--accent);
}

/* back link */
.back-link-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 40px 80px;
  text-align: center;
  position: relative;
  z-index: 5;
}

.back-link {
  font-family: 'Cinzel', serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s;
}

.back-link:hover { color: var(--accent); }

/* the silence fog effect */
.fog-container {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30vh;
  height: 30dvh;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
  contain: strict;
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,0.6) 45%, rgba(0,0,0,0.2) 75%, rgba(0,0,0,0) 100%);
  mask-image: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,1) 15%, rgba(0,0,0,0.6) 45%, rgba(0,0,0,0.2) 75%, rgba(0,0,0,0) 100%);
}

.fog-layer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 300vw;
  height: 100%;
  background: url('/images/fog1.png') repeat-x;
  background-size: 33.33% 100%;
  background-position: left bottom;
  will-change: transform;
}

/* empire: screen blend so white fog glows on dark bg */
[data-theme="empire"] .fog-layer {
  mix-blend-mode: screen;
}

[data-theme="empire"] .fog-layer-1 {
  opacity: 1;
}

[data-theme="empire"] .fog-layer-2 {
  opacity: 0.7;
}

/* wyld: dark fog bank with animated wisps */
[data-theme="wyld"] .fog-container {
  background: linear-gradient(to top, rgba(13, 40, 48, 0.8) 0%, rgba(13, 40, 48, 0.4) 40%, transparent 100%);
}

[data-theme="wyld"] .fog-layer {
  mix-blend-mode: screen;
}

[data-theme="wyld"] .fog-layer-1 {
  opacity: 1;
}

[data-theme="wyld"] .fog-layer-2 {
  opacity: 0.8;
}

.fog-layer-1 {
  animation: fog-drift 80s linear infinite;
}

.fog-layer-2 {
  animation: fog-drift 55s linear infinite;
  margin-left: -200px;
}

@keyframes fog-drift {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-33.33%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .fog-layer-1, .fog-layer-2 { animation: none; }
}

/* section divider */
.section-divider {
  height: 1px;
  width: 100%;
  background: linear-gradient(90deg, transparent, var(--divider-line), transparent);
  transition: background var(--transition-speed);
}

/* footer */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  transition: background var(--transition-speed);
  position: relative;
  z-index: 5;
}

/* newsletter strip at top of footer */
.footer-newsletter {
  padding: 60px 40px;
  text-align: center;
  border-bottom: 1px solid var(--border-color);
}

.footer-newsletter-inner {
  max-width: 560px;
  margin: 0 auto;
}

.footer-newsletter-title {
  font-family: 'Cinzel', serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
  transition: color var(--transition-speed);
}

.footer-newsletter-desc {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.6;
}

.footer-newsletter-form {
  display: flex;
  gap: 0;
}

.footer-newsletter-input {
  flex: 1;
  padding: 14px 18px;
  border: 1px solid var(--border-color);
  border-right: none;
  background: var(--card-bg);
  color: var(--text-primary);
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
}

.footer-newsletter-input::placeholder {
  color: var(--text-muted);
}

.footer-newsletter-input:focus {
  border-color: var(--accent);
}

[data-theme="wyld"] .footer-newsletter-input {
  border-radius: 6px 0 0 6px;
}

.footer-newsletter-btn {
  padding: 14px 28px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: var(--bg-primary);
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.3s;
}

.footer-newsletter-btn:hover {
  background: transparent;
  color: var(--accent);
}

[data-theme="wyld"] .footer-newsletter-btn {
  border-radius: 0 6px 6px 0;
  background: linear-gradient(120deg, #2bbfdc 0%, #44c7bf 25%, #66cf97 50%, #8bc35c 75%, #66cf97 100%);
  background-size: 200% 200%;
  animation: gradientFlow 20s linear infinite;
  border-color: transparent;
  color: #0D2830;
}

[data-theme="wyld"] .footer-newsletter-btn:hover {
  background: transparent;
  border-color: #2bbfdc;
  color: #2bbfdc;
}

[data-theme="wyld"] .footer-newsletter-title {
  background: linear-gradient(
    120deg,
    #2bbfdc 0%, #44c7bf 8%, #66cf97 16%, #8bc35c 24%,
    #66cf97 32%, #44c7bf 40%, #2bbfdc 48%, #44c7bf 56%,
    #66cf97 64%, #8bc35c 72%, #66cf97 80%, #44c7bf 90%, #2bbfdc 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 300% 300%;
  animation: gradientFlow 20s linear infinite;
}

/* main footer grid */
.footer-main {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 50px;
  padding: 60px 40px;
}

/* brand column */
.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo img {
  height: 40px;
  width: auto;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
  transition: opacity var(--transition-speed);
}

.footer-logo .footer-logo-wyld { display: none; }
[data-theme="wyld"] .footer-logo .footer-logo-empire { display: none; }
[data-theme="wyld"] .footer-logo .footer-logo-wyld { display: block; height: 44px; }

.footer-tagline {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 300px;
}

/* nav columns */
.footer-nav-col h4 {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
  transition: color var(--transition-speed);
}

.footer-nav-col a {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.3s;
}

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

/* social column */
.footer-social-col h4 {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 20px;
  transition: color var(--transition-speed);
}

.footer-social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  color: var(--text-muted);
  text-decoration: none;
  padding: 6px 0;
  transition: color 0.3s;
}

.footer-social-link:hover { color: var(--accent); }

.footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

/* wyldwolf publisher bar */
.footer-publisher {
  position: relative;
  overflow: hidden;
}

.footer-publisher-bg {
  position: absolute;
  inset: -20px;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  animation: publisherBgDrift 30s ease-in-out infinite alternate;
}

@keyframes publisherBgDrift {
  0% { transform: scale(1.05) translateX(-10px); }
  50% { transform: scale(1.1) translateX(10px); }
  100% { transform: scale(1.05) translateX(-10px); }
}

.footer-publisher-inner {
  position: relative;
  z-index: 1;
  padding: 24px 40px;
  text-align: center;
}

.footer-publisher-link {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  transition: opacity 0.3s;
}

.footer-publisher-link:hover {
  opacity: 0.8;
}

.footer-publisher-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.footer-publisher-text {
  font-family: 'Cinzel', serif;
  font-size: clamp(10px, 1.3vw, 13px);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 0;
  transition: color var(--transition-speed);
}

/* bottom bar */
.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 13px;
  color: var(--text-muted);
  opacity: 0.7;
}

/* footer responsive */
@media (max-width: 480px) {
  .footer-newsletter-form {
    flex-direction: column;
    gap: 10px;
  }
  .footer-newsletter-input {
    border-right: 1px solid var(--border-color);
  }
  [data-theme="wyld"] .footer-newsletter-input {
    border-radius: 6px;
  }
  [data-theme="wyld"] .footer-newsletter-btn {
    border-radius: 6px;
  }
}

@media (max-width: 768px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 50px 40px;
    justify-items: center;
  }
  .footer-brand {
    grid-column: 1 / -1;
    text-align: center;
    align-items: center;
  }
  .footer-tagline { max-width: none; }
  .footer-logo { justify-content: center; }
  .footer-nav-col, .footer-social-col { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .footer-nav-col h4, .footer-social-col h4 { text-align: center; width: 100%; }
  .footer-nav-col a { display: block; text-align: center; width: 100%; }
  .footer-social-link { justify-content: center; width: 100%; }
  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
  .footer-publisher-link {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 40px 24px;
    justify-items: center;
  }
  .footer-newsletter { padding: 40px 24px; }
  .footer-bottom { padding: 20px 24px; }
}

/* mobile nav */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 1001;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--accent);
  position: absolute;
  left: 9px;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-menu-btn span:nth-child(1) { top: 12px; }
.mobile-menu-btn span:nth-child(2) { top: 19px; }
.mobile-menu-btn span:nth-child(3) { top: 26px; }

.mobile-menu-btn.active span:nth-child(1) {
  top: 19px;
  transform: rotate(45deg);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  top: 19px;
  transform: rotate(-45deg);
}

/* fullscreen mobile overlay */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--bg-primary);
  transition: background var(--transition-speed);
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 40px 60px;
}

.mobile-overlay.open {
  display: flex;
}

.mobile-overlay-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.mobile-overlay-links a {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text-secondary);
  padding: 18px 0;
  transition: color 0.3s;
}

.mobile-overlay-links a:hover {
  color: var(--accent);
}

.mobile-overlay-links li + li {
  border-top: 1px solid var(--border-color);
}

/* mobile cta buttons */
.mobile-overlay-cta {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 320px;
}

.mobile-cta-btn {
  display: block;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  padding: 16px 24px;
  transition: all 0.3s;
}

.mobile-cta-primary {
  background: var(--accent);
  border: 1px solid var(--accent);
}

[data-theme="empire"] .mobile-cta-primary {
  color: #0a0c14;
}
[data-theme="empire"] .mobile-cta-primary:hover {
  background: var(--accent-bright);
  border-color: var(--accent-bright);
  color: #0a0c14;
  box-shadow: 0 4px 20px rgba(192, 198, 208, 0.35);
}

[data-theme="wyld"] .mobile-cta-primary {
  color: #F8F6EC;
  background: transparent;
  border: 1px solid rgba(43, 191, 220, 0.3);
}
[data-theme="wyld"] .mobile-cta-primary:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0D2830;
  box-shadow: 0 4px 20px rgba(43, 191, 220, 0.25);
}

.mobile-cta-ghost {
  background: transparent;
  border: 1px solid var(--text-muted);
  color: var(--text-secondary);
}

.mobile-cta-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* responsive */
@media (max-width: 1255px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: block; }
}

@media (max-width: 768px) {
  .nav-btn { display: none; }
  .partners-list {
    padding: 60px 20px 20px;
    grid-template-columns: 1fr;
  }
  .partner-detail {
    padding: 36px 24px;
  }
}

/* large screens */
@media (min-width: 1600px) {
  .nav-inner { max-width: 1700px; }
  .partners-list { max-width: 1500px; }
  .footer-main { max-width: 1500px; }
  .footer-bottom { max-width: 1500px; }
}

@media (min-width: 1920px) {
  .nav-inner { max-width: 1900px; }
  .partners-list { max-width: 1700px; }
  .footer-main { max-width: 1700px; }
  .footer-bottom { max-width: 1700px; }
}
/* footer mobile centering */
@media (max-width: 768px) {
  footer .footer-nav-col,
  footer .footer-social-col {
    text-align: center !important;
  }
  footer .footer-nav-col h4,
  footer .footer-social-col h4 {
    text-align: center !important;
  }
  footer .footer-nav-col a {
    text-align: center !important;
  }
  footer .footer-social-link {
    justify-content: center !important;
  }
}
