/* Combined CSS from codes copy.html, pandp copy.html, future copy.html, and rules copy.html */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f8f9fa;
  background-image: 
    linear-gradient(rgba(59, 130, 246, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.1) 1px, transparent 1px),
    linear-gradient(rgba(59, 130, 246, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(59, 130, 246, 0.05) 1px, transparent 1px);
  background-size: 20px 20px, 20px 20px, 100px 100px, 100px 100px;
  background-position: -1px -1px, -1px -1px, -1px -1px, -1px -1px;
  color: #000000;
  line-height: 1.5;
  font-size: 16px;
  font-weight: 400;
}

/* Navigation */
.nav-container {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-bottom: 1px solid #000000;
  z-index: 1000;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 64px;
}

.nav-brand {
  font-weight: 700;
  font-size: 18px;
  color: #000000;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 0;
  list-style: none;
}

.nav-link {
  color: #000000;
  text-decoration: none;
  padding: 20px 16px;
  font-size: 14px;
  font-weight: 500;
  transition: background-color 0.15s ease;
  border-left: 1px solid #e5e5e5;
  position: relative;
}

.nav-link:hover {
  background: #f5f5f5;
}

.nav-link.active {
  background: #000000;
  color: #ffffff;
}

.nav-link.active:hover {
  background: #333333;
}

/* Mobile Navigation Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
  z-index: 1001;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: #000000;
  margin: 3px 0;
  transition: 0.3s;
  transform-origin: center;
}

/* Hamburger Animation */
.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 999;
  border-top: 1px solid #e5e5e5;
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu .nav-links {
  flex-direction: column;
  padding: 0;
  margin: 0;
  height: 100%;
}

.mobile-menu .nav-link {
  padding: 20px 24px;
  border-left: none;
  border-bottom: 1px solid #e5e5e5;
  font-size: 16px;
  width: 100%;
  display: block;
}

.mobile-menu .nav-link:hover {
  background: #f5f5f5;
}

.mobile-menu .nav-link.active {
  background: #000000;
  color: #ffffff;
}

/* Main Content */
.main {
  margin-top: 64px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  padding: 48px 24px;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.page-subtitle {
  font-size: 16px;
  color: #666666;
  margin-bottom: 48px;
  font-weight: 400;
}

.intro-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 48px;
  color: #333333;
}

/* Section Styling */
.section {
  margin-bottom: 48px;
  border: 1px solid #e5e5e5;
  padding: 32px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(1px);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}

.section-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.section-badge {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  border: 1px solid #000000;
  background: #000000;
  color: #ffffff;
}

.section-description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
  color: #333333;
}

.features-title {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.features-list {
  list-style: none;
  margin-bottom: 0;
}

.features-list li {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 8px;
  padding-left: 16px;
  position: relative;
  color: #555555;
}

.features-list li:before {
  content: '—';
  position: absolute;
  left: 0;
  color: #000000;
}

.features-list li:last-child {
  margin-bottom: 0;
}

/* Table Styling (from rules copy.html) */
.classification-table {
  width: 100%;
  border-collapse: collapse;
  margin: 16px 0 24px 0;
  font-size: 14px;
}

.classification-table th,
.classification-table td {
  padding: 12px;
  text-align: left;
  border: 1px solid #e5e5e5;
}

.classification-table th {
  background: #f8f9fa;
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.classification-table td {
  color: #555555;
}

/* Theme Grid (from rules copy.html) */
.theme-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
  margin: 16px 0;
}

.theme-item {
  background: #f8f9fa;
  border: 1px solid #e5e5e5;
  padding: 8px 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Code/Example Styling (from rules copy.html) */
.example-text {
  background: #f8f9fa;
  border: 1px solid #e5e5e5;
  padding: 16px;
  margin: 16px 0;
  font-family: 'Inter', monospace;
  font-size: 14px;
  line-height: 1.4;
  color: #333333;
}

.example-text strong {
  color: #000000;
}

.theme-example {
  background: #f8f9fa;
  border: 1px solid #e5e5e5;
  padding: 12px;
  margin: 12px 0;
  font-family: 'Inter', monospace;
  font-size: 16px;
  text-align: center;
  letter-spacing: 0.1em;
  font-weight: 500;
}

/* Quote Styling (from codes copy.html, with rules copy.html properties in specific contexts) */
.quote {
  border-left: 4px solid #000000;
  padding-left: 20px;
  margin: 24px 0;
  font-style: italic;
  color: #555555;
  background: #f8f9fa;
  padding: 20px;
  border-radius: 0 8px 8px 0;
}

/* Response Styling (from rules copy.html) */
.response {
  margin-left: 16px;
  color: #666666;
  font-size: 14px;
}

/* Contact Section (from future copy.html and rules copy.html) */
.contact-section {
  border: 1px solid #e5e5e5;
  padding: 32px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(1px);
  margin-top: 48px;
}

.contact-section.rules-contact {
  border-top: 1px solid #e5e5e5;
  padding-top: 48px;
}

.contact-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.contact-text {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 16px;
  color: #333333;
}

.contact-email {
  font-size: 16px;
  font-weight: 500;
  color: #000000;
  text-decoration: none;
  border-bottom: 1px solid #000000;
  font-family: 'Inter', monospace;
}

.contact-email:hover {
  background: #000000;
  color: #ffffff;
}

/* Subsection Styling (from rules copy.html) */
.subsection {
  margin: 24px 0;
  padding: 20px;
  background: rgba(0, 0, 0, 0.02);
  border-left: 3px solid #333333;
}

.subsection-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #000000;
}

/* Button Styling (from codes copy.html and rules copy.html) */
.codes-button {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #ffffff;
  background: #000000;
  border: 2px solid #000000;
  padding: 12px 20px;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.15s ease;
  margin: 16px 0;
}

.codes-button:hover {
  background: #ffffff;
  color: #000000;
}

/* Who Goes First Special Styling (from codes copy.html) */
.section.who-goes-first {
  background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
  border: 2px solid #16a34a;
  position: relative;
  overflow: hidden;
}

.section.who-goes-first::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.1) 0%, transparent 70%);
  z-index: 0;
}

.section.who-goes-first * {
  position: relative;
  z-index: 1;
}

.section.who-goes-first .section-title {
  color: #15803d;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.section.who-goes-first .section-description {
  color: #166534;
  font-weight: 500;
}

.section.who-goes-first .codes-button {
  background: #16a34a;
  border: 2px solid #16a34a;
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 0 #15803d;
  transform: translateY(0);
  transition: all 0.1s ease;
}

.section.who-goes-first .codes-button:hover {
  background: #15803d;
  border-color: #15803d;
  transform: translateY(2px);
  box-shadow: 0 2px 0 #14532d;
}

/* Fire Section Swiss Styling (from rules copy.html) */
.fire-section {
  background: #fafafa;
  border-left: 4px solid #dc2626;
}

.tactical-options {
  background: #fee2e2;
  border: 1px solid #dc2626;
  padding: 20px;
  margin: 0 0 32px 0;
  font-size: 15px;
  line-height: 1.6;
}

.attack-title {
  font-size: 18px;
  font-weight: 700;
  margin: 32px 0 20px 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #dc2626;
  border-bottom: 2px solid #dc2626;
  padding-bottom: 8px;
}

.attack-step {
  margin: 24px 0;
  padding: 24px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
}

.step-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #000000;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.step-description {
  font-size: 14px;
  margin-bottom: 12px;
  color: #333333;
}

.command-quote {
  background: #f8f9fa;
  border-left: 3px solid #dc2626;
  padding: 16px;
  margin: 16px 0;
  font-family: 'Inter', monospace;
  font-size: 14px;
  font-style: italic;
  color: #dc2626;
}

.surrender-quote {
  font-size: 13px;
  line-height: 1.5;
}

.responses-label {
  font-size: 14px;
  font-weight: 600;
  margin: 20px 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.response-grid {
  display: grid;
  gap: 16px;
  margin: 16px 0;
}

.response-item {
  padding: 16px;
  background: #f8f9fa;
  border: 1px solid #e5e5e5;
  font-size: 14px;
  line-height: 1.5;
}

.response-item.victory {
  border-left: 4px solid #16a34a;
  background: #f0fdf4;
}

.response-item.defeat {
  border-left: 4px solid #dc2626;
  background: #fef2f2;
}

.response-text {
  margin-top: 8px;
  font-family: 'Inter', monospace;
  font-style: italic;
  color: #666666;
  font-size: 13px;
}

/* Join The Fleet Special Styling (from rules copy.html) */
.subsection.join-fleet {
  background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
  border: 2px solid #f59e0b;
  border-radius: 4px;
  position: relative;
  margin-top: 32px;
}

.subsection.join-fleet::before {
  content: '';
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  background: linear-gradient(45deg, #f59e0b, #d97706, #f59e0b);
  border-radius: 4px;
  z-index: -1;
}

.subsection.join-fleet .subsection-title {
  color: #92400e;
  font-weight: 700;
}

.subsection.join-fleet .section-description {
  color: #78350f;
}

.subsection.join-fleet .example-text {
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #f59e0b;
}

.subsection.join-fleet .contact-email {
  color: #92400e;
  border-bottom-color: #92400e;
}

.subsection.join-fleet .contact-email:hover {
  background: #92400e;
  color: #ffffff;
}

.subsection.join-fleet .quote {
  border-left-color: #f59e0b;
  color: #78350f;
  background: rgba(255, 255, 255, 0.6);
  padding: 12px 16px;
  margin: 16px 0;
}

/* Fancy Numbered Steps (from codes copy.html) */
.steps-container {
  margin: 24px 0;
}

.step-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 24px;
  position: relative;
}

.step-item:last-child {
  margin-bottom: 0;
}

.step-number {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #000000 0%, #333333 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 24px;
  margin-right: 20px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  border: 3px solid #ffffff;
  font-family: 'Inter', sans-serif;
  line-height: 1;
}

.step-item:not(:last-child) .step-number::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, #333333, transparent);
  transform: translateY(-50%);
}

.step-content {
  flex: 1;
  background: #ffffff;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  padding: 20px;
  margin-top: 8px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.step-content::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 20px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-right: 12px solid #e5e5e5;
}

.step-content::after {
  content: '';
  position: absolute;
  left: -10px;
  top: 22px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-right: 10px solid #ffffff;
}

/* Response Options Styling (from codes copy.html) */
.response-options {
  margin-top: 16px;
}

.response-option {
  display: flex;
  align-items: flex-start;
  margin-bottom: 12px;
  padding: 12px;
  background: #f8f9fa;
  border-radius: 6px;
  border-left: 4px solid #333333;
}

.response-option:last-child {
  margin-bottom: 0;
}

.option-label {
  font-weight: 600;
  color: #000000;
  min-width: 80px;
  margin-right: 12px;
}

.option-description {
  color: #555555;
  font-size: 14px;
  line-height: 1.4;
}

/* Feature Cards (from pandp copy.html) */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-bottom: 48px;
}

.feature-card {
  border: 1px solid #e5e5e5;
  padding: 32px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(1px);
}

.feature-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.feature-number {
  font-size: 24px;
  font-weight: 700;
  color: #000000;
  background: #f5f5f5;
  padding: 8px 12px;
  border: 1px solid #e5e5e5;
  min-width: 48px;
  text-align: center;
}

.feature-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.feature-description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
  color: #333333;
}

/* Fleet Form Styles (from pandp copy.html) */
.fleet-form-container {
  margin-top: 20px;
  width: 100%;
}

.fleet-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  width: 100%;
}

.fleet-input-group {
  position: relative;
  width: 100%;
}

.fleet-input {
  width: 100%;
  padding: 12px 50px 12px 15px;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 8px;
  color: #000000;
  font-size: 16px;
  transition: all 0.3s ease;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  box-sizing: border-box;
  min-width: 0;
}

.fleet-input:focus {
  outline: none;
  border-color: #000000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.fleet-input-button {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  background: #000000;
  border: none;
  border-radius: 6px;
  color: white;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.fleet-input-button:hover {
  background: #333333;
  transform: translateY(-50%) scale(1.05);
}

.fleet-submit-btn {
  padding: 12px 24px;
  background: #000000;
  border: none;
  border-radius: 8px;
  color: white;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.fleet-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Toggle Container Styles (from pandp copy.html) */
.toggle-container {
  background: #f8f8f8;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 15px;
}

.toggle-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: #e8e8e8;
  padding: 4px;
  border-radius: 8px;
  margin-bottom: 0;
}

.toggle-btn {
  padding: 0.75rem 1rem;
  background: #ffffff;
  border: none;
  border-radius: 6px;
  color: #333333;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.toggle-btn.active {
  background: #000000;
  color: #ffffff;
}

.toggle-btn:hover:not(.active) {
  background: #f0f0f0;
  color: #000000;
}

.manual-words {
  display: none;
  grid-template-columns: 1fr;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e5e5;
  margin-top: 1rem;
}

.manual-words.show {
  display: grid;
}

.word-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.word-label {
  font-size: 0.75rem;
  font-weight: 600;
  color: #666666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.word-input {
  padding: 0.75rem;
  background: #ffffff;
  border: 1px solid #e5e5e5;
  border-radius: 6px;
  color: #000000;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  text-transform: uppercase;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.word-input:focus {
  outline: none;
  border-color: #000000;
  box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.word-input.error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

/* Phase Cards (from future copy.html) */
.phase {
  margin-bottom: 48px;
  border: 1px solid #e5e5e5;
  padding: 32px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(1px);
}

.phase-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 16px;
}

.phase-title {
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.phase-status {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 8px;
  border: 1px solid #000000;
  background: transparent;
}

.phase-status.planning {
  border-color: #666666;
  color: #666666;
}

.phase-status.development {
  border-color: #000000;
  color: #000000;
  background: #000000;
  color: #ffffff;
}

.phase-status.future {
  border-color: #cccccc;
  color: #cccccc;
}

.phase-description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
  color: #333333;
}

/* Media Queries */
@media (max-width: 768px) {
  .nav {
    padding: 0 16px;
    height: 56px;
  }

  .nav-brand {
    font-size: 16px;
  }

  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-menu {
    top: 56px;
  }

  .nav-link.active {
    font-weight: bold;
  }

  .main {
    margin-top: 56px;
    padding: 32px 16px;
  }

  .page-title {
    font-size: 28px;
  }

  .section {
    padding: 24px;
    margin-bottom: 32px;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .features-list li {
    padding-left: 12px;
  }

  .classification-table {
    font-size: 12px;
  }

  .classification-table th,
  .classification-table td {
    padding: 8px;
  }

  .theme-grid {
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  }

  .feature-card {
    padding: 24px;
  }

  .feature-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .feature-number {
    align-self: flex-start;
  }

  .phase {
    padding: 24px;
    margin-bottom: 32px;
  }

  .contact-section {
    padding: 24px;
  }

  .phase-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  /* Mobile Step Adjustments (from codes copy.html) */
  .step-number {
    width: 50px;
    height: 50px;
    font-size: 20px;
    margin-right: 16px;
  }

  .step-number::after {
    width: 16px;
  }

  .step-content {
    padding: 16px;
  }

  .step-title {
    font-size: 16px;
  }

  .step-description {
    font-size: 14px;
  }

  .response-option {
    padding: 10px;
  }

  .option-label {
    min-width: 70px;
    font-size: 14px;
  }

  .option-description {
    font-size: 13px;
  }
}

@media (min-width: 769px) {
  .nav-toggle {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  .response-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media print {
  .nav-container {
    display: none;
  }
  
  .main {
    margin-top: 0;
  }
}

/* Mobile Menu Overlay */
.mobile-menu {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #ffffff;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  z-index: 999;
  border-top: 1px solid #e5e5e5;
}

.mobile-menu.active {
  transform: translateX(0);
}

/* Mobile menu links container */
.mobile-menu .nav-links {
  flex-direction: column !important;
  padding: 0 !important;
  margin: 0 !important;
  height: 100% !important;
  display: flex !important;
}

/* Individual mobile menu links */
.mobile-menu .nav-link {
  padding: 20px 24px !important;
  border-left: none !important;
  border-bottom: 1px solid #e5e5e5 !important;
  font-size: 16px !important;
  width: 100% !important;
  display: block !important;
  color: #000000 !important;
  text-decoration: none !important;
  background: #ffffff !important;
  transition: background-color 0.15s ease !important;
}

.mobile-menu .nav-link:hover {
  background: #f5f5f5 !important;
}

.mobile-menu .nav-link.active {
  background: #000000 !important;
  color: #ffffff !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .mobile-menu {
    top: 56px !important;
  }
}