:root {
  --black: #000000;
  --surface: #0e0e0e;
  --surface-card: #191919;
  --surface-high: #1f1f1f;
  --surface-highest: #262626;
  --yellow: #FFB300;
  --yellow-light: #ffc563;
  --yellow-deep: #feb300;
  --amber: #ff8f00;
  --on-yellow: #523700;
  --white: #ffffff;
  --body-text: #ababab;
  --gray: #191919;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--black);
  color: var(--white);
  font-family: 'Plus Jakarta Sans', 'DM Sans', sans-serif;
  overflow-x: hidden;
}

/* ─── BEE INTRO ANIMATION ─── */
#bee-intro {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeOutIntro 0.8s 3s forwards;
  pointer-events: none;
}
@keyframes fadeOutIntro {
  to { opacity: 0; visibility: hidden; }
}

.bee-path {
  display: inline-block;
  vertical-align: middle;
  margin: 0 0.2em;
  animation: flyInInline 3s ease-in-out forwards;
}
@keyframes flyInInline {
  0%   { transform: translate(-100px, 100px) rotate(-30deg) scale(0.3); opacity: 0; }
  20%  { opacity: 1; }
  50%  { transform: translate(20px, -20px) rotate(10deg) scale(1.1); }
  70%  { transform: translate(-10px, 10px) rotate(-5deg) scale(1); }
  85%  { transform: translate(5px, -5px) rotate(5deg) scale(1.05); }
  100% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 1; }
}

.bee-svg { width: 1.4em; height: 1.4em; }

.intro-text {
  position: absolute;
  bottom: 38%;
  text-align: center;
  animation: fadeText 1s 1.5s forwards;
  opacity: 0;
  width: 100%;
}
@keyframes fadeText {
  to { opacity: 1; }
}
.intro-text h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3rem, 8vw, 6rem);
  color: var(--yellow);
  letter-spacing: 0.08em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1em;
  white-space: nowrap;
}
.intro-text p {
  font-size: 1rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.6;
  margin-top: 0.5rem;
}

/* ─── HONEYCOMB BG PATTERN ─── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='100'%3E%3Cpath d='M28 66L0 50V18L28 2l28 16v32L28 66zm0-6l22-12.7V24.7L28 12 6 24.7v22.6L28 60z' fill='none' stroke='%23f5c51820' stroke-width='1'/%3E%3Cpath d='M28 100L0 84V52L28 36l28 16v32L28 100zm0-6l22-12.7V58.7L28 46 6 58.7v22.6L28 94z' fill='none' stroke='%23f5c51820' stroke-width='1'/%3E%3C/svg%3E");
  opacity: 0.4;
  pointer-events: none;
  z-index: 0;
}

/* ─── NAV ─── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #0E0E0E;
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 3rem;
  box-shadow: 0 1px 0 rgba(255,179,0,0.08);
}
.nav-cta {
  background: linear-gradient(135deg, var(--yellow-light), var(--yellow));
  color: var(--on-yellow);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  padding: 0.55rem 1.4rem;
  border-radius: 100px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
  white-space: nowrap;
}
.nav-cta:hover { opacity: 0.88; transform: translateY(-1px); }
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--yellow);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.nav-logo span { font-size: 1.6rem; }

/* ─── HAMBURGER MENU ─── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 0.4rem;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
  margin-left: auto;
}
.nav-hamburger span {
  width: 24px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}
.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}
.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(8px, -8px);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: 2.5rem;
}
.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
}
.nav-menu ul a {
  text-decoration: none;
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-menu ul a:hover, .nav-menu ul a.active { color: var(--yellow); }

/* ─── HERO ─── */
.hero {
  position: relative;
  z-index: 1;
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5rem 2rem 4rem;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 200px;
  background: linear-gradient(transparent, var(--black));
  pointer-events: none;
}
.hero-hex {
  position: absolute;
  opacity: 0.07;
  font-size: 30vw;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  filter: blur(2px);
}
.hero-badge {
  display: inline-block;
  border: 1px solid var(--yellow);
  color: var(--yellow);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  padding: 0.35rem 1.2rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
  animation: slideUp 0.8s 3.2s both;
}
.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  line-height: 1;
  color: var(--yellow);
  text-shadow: 0 0 80px rgba(245,197,24,0.3);
  animation: slideUp 0.8s 3.4s both;
}
.hero h2 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  color: var(--white);
  opacity: 0.7;
  margin-top: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: slideUp 0.8s 3.6s both;
}
@keyframes slideUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-bees {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.floating-bee {
  position: absolute;
  opacity: 0.18;
  animation: floatBee var(--dur, 8s) var(--delay, 0s) ease-in-out infinite alternate;
}
@keyframes floatBee {
  from { transform: translate(0, 0) rotate(-10deg); }
  to   { transform: translate(var(--mx, 20px), var(--my, -15px)) rotate(10deg); }
}

/* ─── SECTIONS ─── */
section { position: relative; z-index: 1; padding: 5rem 2rem; }
.container { max-width: 1100px; margin: 0 auto; }

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--yellow);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--yellow-deep);
  opacity: 0.4;
}
h2.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

/* ─── ABOUT ─── */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(253,248,238,0.75);
  margin-bottom: 1rem;
}
.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.hex-card {
  background: var(--gray);
  border: 1px solid rgba(245,197,24,0.2);
  border-radius: 8px;
  padding: 1.5rem 1rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}
.hex-card:hover { border-color: var(--yellow); transform: translateY(-4px); }
.hex-card .icon { font-size: 2rem; margin-bottom: 0.5rem; }
.hex-card h4 { font-family: 'Playfair Display', serif; color: var(--yellow); font-size: 0.9rem; }

/* ─── SEGMENTS ─── */
.segments { background: var(--gray); }
.segments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.segment-card {
  background: var(--black);
  border: 1px solid rgba(245,197,24,0.15);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s;
}
.segment-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(245,197,24,0.05) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}
.segment-card:hover { transform: translateY(-6px); border-color: var(--yellow); }
.segment-card:hover::before { opacity: 1; }
.seg-num {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  color: var(--yellow);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: -1rem;
}
.seg-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--yellow);
  margin-bottom: 1rem;
}
.segment-card p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: rgba(253,248,238,0.65);
}

/* ─── PEOPLE ─── */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.person-card {
  background: var(--gray);
  border: 1px solid rgba(245,197,24,0.12);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.2rem;
  transition: border-color 0.3s, transform 0.3s;
}
.person-card:hover { border-color: rgba(245,197,24,0.5); transform: translateY(-3px); }
.avatar {
  width: 120px;
  height: 120px;
  min-width: 120px;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background: linear-gradient(135deg, var(--yellow-deep), var(--yellow));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--black);
  font-weight: 900;
  overflow: hidden;
}
.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.person-info {
  width: 100%;
}
.person-info h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem;
  color: var(--yellow);
  margin-bottom: 0.3rem;
}
.person-info .role {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,197,24,0.5);
  margin-bottom: 0.6rem;
}
.person-info p {
  font-size: 0.82rem;
  line-height: 1.65;
  color: rgba(253,248,238,0.6);
}

/* ─── JOIN CTA ─── */
.join-section {
  text-align: center;
  padding: 6rem 2rem;
  position: relative;
  overflow: hidden;
}
.join-section::before {
  content: '⬡';
  position: absolute;
  font-size: 60vw;
  color: var(--yellow);
  opacity: 0.03;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.join-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--yellow);
  margin-bottom: 1rem;
}
.join-section p {
  font-size: 1.1rem;
  color: rgba(253,248,238,0.65);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}
.cta-btn {
  display: inline-block;
  background: var(--yellow);
  color: var(--black);
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 1rem 2.5rem;
  border-radius: 100px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.cta-btn:hover { background: var(--yellow-light); transform: scale(1.04); }

/* ─── FOOTER ─── */
footer {
  background: var(--gray);
  border-top: 1px solid rgba(245,197,24,0.2);
  padding: 3rem 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}
footer .footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--yellow);
  margin-bottom: 0.5rem;
}
footer p { font-size: 0.82rem; color: rgba(253,248,238,0.4); }
footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 1.5rem 0;
  flex-wrap: wrap;
}
footer .footer-links a {
  color: rgba(253,248,238,0.55);
  text-decoration: none;
  font-size: 0.82rem;
  transition: color 0.2s;
}
footer .footer-links a:hover { color: var(--yellow); }
footer .contact-info {
  margin: 1rem 0;
  font-size: 0.82rem;
  color: rgba(253,248,238,0.4);
  line-height: 1.9;
}
.social-links { display: flex; justify-content: center; gap: 1rem; margin-top: 1.5rem; }
.social-links a {
  width: 38px; height: 38px;
  border: 1px solid rgba(245,197,24,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--yellow);
  text-decoration: none;
  font-size: 0.85rem;
  transition: background 0.2s, border-color 0.2s;
}
.social-links a:hover { background: var(--yellow); color: var(--black); }

/* ─── DIVIDER ─── */
.hex-divider {
  text-align: center;
  font-size: 2rem;
  color: var(--yellow);
  opacity: 0.3;
  margin: 2rem 0;
  letter-spacing: 0.5rem;
}

/* ─── PAGE HERO (subpages) ─── */
.page-hero {
  position: relative;
  z-index: 1;
  min-height: 38vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 2rem 3rem;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 120px;
  background: linear-gradient(transparent, var(--black));
  pointer-events: none;
}
.page-hero .hero-hex {
  position: absolute;
  opacity: 0.06;
  font-size: 30vw;
  line-height: 1;
  user-select: none;
  pointer-events: none;
  filter: blur(2px);
}
.page-hero .hero-badge {
  animation: none;
  opacity: 1;
}
.page-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 6vw, 5rem);
  line-height: 1;
  color: var(--yellow);
  text-shadow: 0 0 60px rgba(245,197,24,0.25);
  animation: none;
  opacity: 1;
}
.page-hero h2 {
  font-family: 'DM Sans', sans-serif;
  font-weight: 300;
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  color: var(--white);
  opacity: 0.6;
  margin-top: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  animation: none;
}

/* ─── CONTACT CARDS ─── */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}
.contact-card {
  background: var(--gray);
  border: 1px solid rgba(245,197,24,0.15);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s;
}
.contact-card:hover { border-color: var(--yellow); transform: translateY(-4px); }
.contact-icon { font-size: 2rem; margin-bottom: 0.8rem; }
.contact-card h4 {
  font-family: 'Playfair Display', serif;
  color: var(--yellow);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}
.contact-card p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(253,248,238,0.6);
}
.contact-card a {
  color: rgba(253,248,238,0.6);
  text-decoration: none;
  transition: color 0.2s;
}
.contact-card a:hover { color: var(--yellow); }

/* ─── MEMBERSHIP PAGE ─── */
.m-body {
  background: #0e0e0e;
  padding: 7rem 2rem;
}

.m-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.m-intro {
  margin-bottom: 4rem;
}

.m-intro h2 {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.m-intro p {
  font-size: 0.95rem;
  color: #ababab;
  line-height: 1.75;
  max-width: 680px;
}

/* Fee notice */
.m-fee-notice {
  background: linear-gradient(135deg, #ffc56333, #FFB30022);
  border-left: 4px solid #FFB300;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
  max-width: 720px;
}

.m-fee-notice strong {
  color: #FFB300;
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.m-fee-notice p {
  color: #ababab;
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
}

/* Form container */
.m-form-wrapper {
  background: #191919;
  border-radius: 1rem;
  padding: 3rem;
  max-width: 720px;
}

.m-form-group {
  margin-bottom: 1.5rem;
}

.m-form-group:last-child {
  margin-bottom: 0;
}

.m-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.m-form-label {
  display: block;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #FFB300;
  margin-bottom: 0.5rem;
}

.m-form-input,
.m-form-select,
.m-form-textarea {
  width: 100%;
  background: #0e0e0e;
  border: 1.5px solid #262626;
  border-radius: 0.5rem;
  padding: 0.875rem 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.95rem;
  color: #fff;
  transition: all 0.2s;
}

.m-form-input:focus,
.m-form-select:focus,
.m-form-textarea:focus {
  outline: none;
  border-color: #FFB300;
  background: #1a1a1a;
}

.m-form-input::placeholder,
.m-form-textarea::placeholder {
  color: #666;
}

.m-form-textarea {
  resize: vertical;
  min-height: 120px;
  font-size: 0.9rem;
}

.m-form-select {
  cursor: pointer;
}

.m-form-select option {
  background: #191919;
  color: #fff;
}

/* Checkbox group */
.m-checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.8rem;
  margin-bottom: 1.5rem;
}

.m-checkbox-input {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin-top: 0.2rem;
  cursor: pointer;
  accent-color: #FFB300;
}

.m-checkbox-label {
  font-size: 0.85rem;
  color: #ababab;
  line-height: 1.5;
  cursor: pointer;
}

.m-checkbox-label a {
  color: #FFB300;
  text-decoration: none;
  transition: opacity 0.2s;
}

.m-checkbox-label a:hover {
  opacity: 0.8;
}

/* Form button */
.m-form-submit {
  width: 100%;
  background: linear-gradient(135deg, #ffc563, #FFB300);
  color: #1a0900;
  border: none;
  border-radius: 0.5rem;
  padding: 1rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 1rem;
}

.m-form-submit:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.m-form-submit:active {
  transform: translateY(0);
}

/* Success message */
.m-success-message {
  display: none;
  background: #1a3a1a;
  border-left: 4px solid #4ade80;
  border-radius: 0.5rem;
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  color: #4ade80;
}

.m-success-message.show {
  display: block;
}

.m-error-message {
  display: none;
  background: #3a1a1a;
  border-left: 4px solid #f87171;
  border-radius: 0.5rem;
  padding: 1.2rem;
  margin-bottom: 1.5rem;
  color: #f87171;
}

.m-error-message.show {
  display: block;
}

/* Modal Popup */
.m-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  animation: fadeIn 0.2s ease;
}

.m-modal.active {
  display: flex;
}

.m-modal-content {
  background: #191919;
  border-radius: 0.75rem;
  padding: 3rem 2rem;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  position: relative;
  animation: slideUp 0.3s ease;
}

.m-modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: #ababab;
  font-size: 1.8rem;
  cursor: pointer;
  padding: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.m-modal-close:hover {
  color: #FFB300;
}

.m-modal-icon {
  font-size: 3rem;
  color: #51cf66;
  margin-bottom: 1rem;
  animation: checkmark 0.5s ease;
}

@keyframes checkmark {
  0% { transform: scale(0) rotate(-45deg); opacity: 0; }
  50% { transform: scale(1.2); }
  100% { transform: scale(1); opacity: 1; }
}

.m-modal-content h2 {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 0.8rem;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
}

.m-modal-content p {
  color: #ababab;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.m-modal-btn {
  background: linear-gradient(135deg, #ffc563, #FFB300);
  color: #523700;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: opacity 0.2s;
  width: 100%;
}

.m-modal-btn:hover {
  opacity: 0.9;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Magazine section styles */
.magazine-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

@media (max-width: 768px) {
  nav { 
    padding: 1rem 1.5rem; 
    flex-wrap: wrap;
    gap: 1rem;
    overflow: visible;
  }
  .nav-hamburger {
    display: flex;
  }
  .nav-menu {
    order: 3;
    width: 100%;
    flex-direction: column;
    gap: 1rem;
    display: none;
    margin-left: 0;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 179, 0, 0.1);
    z-index: 100;
  }
  .nav-menu.active {
    display: flex !important;
  }
  .nav-menu ul { 
    gap: 0.75rem;
    flex-direction: column;
    margin: 0;
    width: 100%;
  }
  .nav-menu ul a { 
    font-size: 0.85rem; 
    padding: 0.4rem 0.6rem;
  }
  .nav-menu .nav-cta {
    width: 100%;
    text-align: center;
    padding: 0.5rem 1rem !important;
    font-size: 0.75rem !important;
  }
  
  /* Membership responsive */
  .m-body {
    padding: 4rem 1.5rem;
  }

  .m-container {
    padding: 0 1.5rem;
  }

  .m-form-wrapper {
    padding: 2rem;
  }

  .m-form-row {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  * { 
    -webkit-tap-highlight-color: transparent;
  }
  
  nav {
    padding: 0.75rem 1rem;
    flex-direction: column;
    gap: 0.75rem;
    overflow: visible;
  }

  .nav-menu {
    display: none !important;
  }

  .nav-menu.active {
    display: flex !important;
  }
  
  nav ul {
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  
  nav ul li {
    flex: 1 1 auto;
    min-width: 60px;
  }
  
  nav ul a {
    font-size: 0.65rem;
    padding: 0.35rem 0.5rem;
  }
  
  .nav-logo img {
    height: 35px !important;
  }
  
  .nav-cta {
    width: 100%;
    text-align: center;
    padding: 0.5rem 1rem !important;
    font-size: 0.65rem !important;
  }
  
  button, a.h-btn-primary, a.h-btn-ghost {
    min-height: 44px;
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  input, textarea {
    min-height: 44px;
    font-size: 16px;
  }
}
