.content-main {
  background: var(--paper);
}

.page-hero {
  padding: 5rem 0 3rem;
  background: linear-gradient(135deg, var(--ink-1000) 0%, var(--ink-900) 100%);
  border-bottom: 4px solid var(--gold);
  text-align: center;
}

.page-title {
  font-family: var(--font-display);
  font-size: 52px;
  color: #ffffff;
  text-shadow: 3px 3px 0 var(--orange-fire), 5px 5px 0 var(--violet-core);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.page-subtitle {
  font-size: 20px;
  color: var(--ink-200);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.6;
}

.content-section {
  padding: 5rem 0;
}

.content-article {
  max-width: 900px;
  margin: 0 auto;
  background: var(--ink-900);
  padding: 4rem;
  border-radius: 30px;
  border: 3px solid var(--ink-700);
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.3);
}

.article-block {
  margin-bottom: 3rem;
}

.article-block:last-child {
  margin-bottom: 0;
}

.article-block h2 {
  font-family: var(--font-heading);
  font-size: 32px;
  color: var(--gold);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--violet-core);
}

.article-block p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--ink-200);
  margin-bottom: 1.2rem;
}

.article-block p:last-child {
  margin-bottom: 0;
}

.signature {
  text-align: center;
  padding-top: 2rem;
  border-top: 2px solid var(--ink-700);
}

.signature-line {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--teal-neon);
  font-style: italic;
  margin-top: 1rem;
}

.rules-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.rule-card {
  background: var(--ink-1000);
  padding: 2rem;
  border-radius: 25px;
  border: 3px solid var(--violet-core);
  transition: all 0.3s ease;
}

.rule-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 0 25px rgba(142, 91, 255, 0.4);
}

.rule-number {
  display: inline-block;
  width: 50px;
  height: 50px;
  background: var(--gradient-gold);
  border-radius: 50%;
  border: 3px solid var(--amber-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-numeric);
  font-size: 24px;
  color: var(--ink-1000);
  margin-bottom: 1rem;
}

.rule-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--teal-neon);
  margin-bottom: 1rem;
}

.rule-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-200);
}

.rule-card ul {
  list-style: none;
  margin-top: 1rem;
  padding-left: 0;
}

.rule-card li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-200);
  padding: 0.5rem 0 0.5rem 1.5rem;
  position: relative;
}

.rule-card li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 18px;
}

.highlight-box {
  background: linear-gradient(135deg, var(--violet-core) 0%, #6a3fb8 100%);
  padding: 2.5rem;
  border-radius: 25px;
  border: 4px solid var(--amber-soft);
  margin: 3rem 0;
  box-shadow: 0 10px 0 var(--orange-fire);
}

.highlight-box h3 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-align: center;
}

.highlight-box p {
  font-size: 17px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  text-align: center;
}

.highlight-box ul {
  list-style: none;
  margin-top: 1.5rem;
}

.highlight-box li {
  font-size: 16px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.95);
  padding: 0.8rem 0 0.8rem 2rem;
  position: relative;
}

.highlight-box li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--amber-soft);
  font-size: 20px;
  font-weight: bold;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 3rem 0;
}

.resource-card {
  background: var(--ink-900);
  padding: 2rem;
  border-radius: 30px;
  border: 3px solid var(--teal-neon);
  text-align: center;
  transition: all 0.3s ease;
}

.resource-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 30px rgba(30, 240, 193, 0.5);
}

.resource-icon {
  font-size: 56px;
  margin-bottom: 1rem;
}

.resource-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 1rem;
}

.resource-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-200);
  margin-bottom: 1.5rem;
}

.resource-link {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  background: var(--gradient-aqua);
  color: var(--ink-1000);
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 40px;
  border: 2px solid var(--teal-neon);
  transition: all 0.18s ease;
}

.resource-link:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 0 var(--emerald);
}

.tips-list {
  background: var(--ink-1000);
  padding: 2.5rem;
  border-radius: 25px;
  border: 3px solid var(--ink-700);
  margin: 2rem 0;
}

.tips-list h3 {
  font-family: var(--font-heading);
  font-size: 26px;
  color: var(--gold);
  margin-bottom: 1.5rem;
  text-align: center;
}

.tips-list ol {
  counter-reset: tip-counter;
  list-style: none;
  padding-left: 0;
}

.tips-list li {
  counter-increment: tip-counter;
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-200);
  padding: 1.2rem 0 1.2rem 3rem;
  position: relative;
  border-bottom: 1px solid var(--ink-700);
}

.tips-list li:last-child {
  border-bottom: none;
}

.tips-list li::before {
  content: counter(tip-counter);
  position: absolute;
  left: 0;
  top: 1rem;
  width: 35px;
  height: 35px;
  background: var(--gradient-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-numeric);
  font-size: 18px;
  color: var(--ink-1000);
  font-weight: bold;
}

@media (max-width: 968px) {
  .page-title {
    font-size: 38px;
  }

  .content-article {
    padding: 2.5rem;
  }

  .rules-grid,
  .resources-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact Page Styles - Matching Main Page Design */
.contact-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.contact-info h2,
.contact-form-section h2 {
  font-family: var(--font-display);
  font-size: 48px;
  color: #ffffff;
  text-shadow: 3px 3px 0 var(--orange-fire), 5px 5px 0 var(--violet-core);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.contact-details {
  margin-top: 2rem;
}

.contact-item {
  margin-bottom: 2rem;
  padding: 2rem;
  background: var(--ink-900);
  border-radius: 20px;
  border: 3px solid var(--violet-core);
  box-shadow: 0 0 30px rgba(142, 91, 255, 0.4), 0 10px 0 var(--orange-fire);
  transition: all 0.26s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
  overflow: hidden;
}

.contact-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.contact-item:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(142, 91, 255, 0.5);
}

.contact-item h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 10px currentColor);
}

.contact-item p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-200);
}

.contact-form {
  background: var(--ink-900);
  padding: 2.5rem;
  border-radius: 25px;
  border: 3px solid var(--violet-core);
  box-shadow: 0 0 30px rgba(142, 91, 255, 0.4), 0 10px 0 var(--orange-fire);
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

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

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--teal-neon);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 1rem;
  background: var(--ink-1000);
  border: 3px solid var(--ink-700);
  border-radius: 20px;
  color: var(--ink-200);
  font-size: 16px;
  transition: all 0.3s ease;
  font-family: var(--font-body);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal-neon);
  box-shadow: 0 0 20px rgba(30, 240, 193, 0.5);
  transform: translateY(-2px);
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  color: var(--ink-200);
  font-family: var(--font-body);
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin-right: 0.5rem;
  transform: scale(1.2);
}

.contact-form .btn-primary {
  width: 100%;
  margin-top: 1rem;
  padding: 1rem 2.5rem;
  background: var(--gradient-gold);
  color: var(--ink-1000);
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 60% / 45%;
  border: 4px solid var(--gold);
  box-shadow: 0 10px 0 var(--orange-fire);
  transition: all 0.14s cubic-bezier(0.2, 0.9, 0.2, 1.3);
  position: relative;
  overflow: hidden;
}

.contact-form .btn-primary::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.contact-form .btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 14px 0 var(--orange-fire);
}

.contact-form .btn-primary:active {
  transform: translateY(2px) scale(0.98);
  box-shadow: 0 6px 0 var(--orange-fire);
}

.faq-section {
  margin-top: 4rem;
  padding-top: 3rem;
  border-top: 3px solid var(--ink-700);
}

.faq-section h2 {
  font-family: var(--font-display);
  font-size: 48px;
  color: #ffffff;
  text-shadow: 3px 3px 0 var(--orange-fire), 5px 5px 0 var(--violet-core);
  text-align: center;
  margin-bottom: 2rem;
  letter-spacing: 1px;
}

.faq-list {
  max-width: 900px;
  margin: 0 auto;
}

.faq-item {
  background: var(--ink-900);
  margin-bottom: 1.5rem;
  border-radius: 30px;
  border: 3px solid var(--ink-700);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--teal-neon);
  box-shadow: 0 0 20px rgba(30, 240, 193, 0.3);
}

.faq-question {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: var(--gold);
  padding: 1.5rem 2rem;
  cursor: pointer;
  user-select: none;
}

.faq-answer {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-200);
  padding: 0 2rem 1.5rem;
}

@media (max-width: 968px) {
  .contact-content {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Who We Are Page Styles */
.who-we-are-page {
  background: var(--paper);
}

.story-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, var(--paper) 0%, var(--ink-900) 100%);
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.story-card {
  background: var(--ink-900);
  padding: 3rem;
  border-radius: 30px;
  border: 3px solid var(--violet-core);
  transition: all 0.3s ease;
}

.story-card.highlight-card {
  background: var(--gradient-violet);
  border-color: var(--gold);
}

.story-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 0 30px rgba(142, 91, 255, 0.5);
}

.story-icon {
  font-size: 56px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 10px currentColor);
}

.story-card h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.story-card.highlight-card h2 {
  color: #ffffff;
}

.story-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-200);
  margin-bottom: 1rem;
}

.story-card.highlight-card p {
  color: rgba(255, 255, 255, 0.95);
}

.mission-section {
  padding: 5rem 0;
  background: var(--ink-1000);
}

.mission-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.mission-card {
  background: var(--ink-900);
  padding: 2.5rem;
  border-radius: 25px;
  border: 3px solid var(--teal-neon);
  text-align: center;
  transition: all 0.3s ease;
}

.mission-card:hover {
  transform: translateY(-10px);
  border-color: var(--gold);
  box-shadow: 0 0 25px rgba(30, 240, 193, 0.4);
}

.mission-icon {
  font-size: 64px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 0 15px currentColor);
}

.mission-card h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 1rem;
}

.mission-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-200);
}

.team-section {
  padding: 5rem 0;
  background: linear-gradient(
    180deg,
    var(--paper) 0%,
    var(--ink-900) 100%
  ) !important;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.team-card {
  background: var(--ink-900);
  padding: 2.5rem;
  border-radius: 35% / 30%;
  border: 3px solid var(--violet-core);
  text-align: center;
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--gold);
  box-shadow: 0 0 30px rgba(142, 91, 255, 0.5);
}

.team-icon {
  font-size: 56px;
  margin-bottom: 1rem;
}

.team-card h3 {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--teal-neon);
  margin-bottom: 1rem;
}

.team-card p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-200);
}

.team-highlight {
  margin-top: 3rem;
  padding: 2.5rem;
  background: var(--gradient-aqua);
  border-radius: 25px;
  border: 4px solid var(--teal-neon);
  box-shadow: 0 10px 0 var(--emerald);
  text-align: center;
}

.team-highlight p {
  font-size: 18px;
  line-height: 1.8;
  color: var(--ink-1000);
  font-weight: 600;
}

.values-section {
  padding: 5rem 0;
  background: var(--ink-900);
}

.values-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.value-tab {
  background: var(--ink-1000);
  padding: 2.5rem;
  border-radius: 25px;
  border: 3px solid var(--ink-700);
  transition: all 0.3s ease;
}

.value-tab:hover {
  border-color: var(--violet-core);
  box-shadow: 0 0 25px rgba(142, 91, 255, 0.3);
}

.tab-icon {
  font-size: 48px;
  margin-bottom: 1rem;
}

.value-tab h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.tab-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-200);
  margin-bottom: 1.5rem;
}

.value-list {
  list-style: none;
  padding: 0;
}

.value-list li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-200);
  padding: 0.8rem 0 0.8rem 2rem;
  position: relative;
  border-bottom: 1px solid var(--ink-700);
}

.value-list li:last-child {
  border-bottom: none;
}

.value-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--teal-neon);
  font-size: 18px;
  font-weight: bold;
}

.value-list strong {
  color: var(--teal-neon);
}

.future-section {
  padding: 5rem 0;
  background: linear-gradient(180deg, var(--ink-900) 0%, var(--ink-1000) 100%);
}

.future-intro {
  text-align: center;
  font-size: 18px;
  line-height: 1.8;
  color: var(--ink-200);
  max-width: 800px;
  margin: 2rem auto;
}

.future-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.future-card {
  background: var(--ink-900);
  padding: 2rem;
  border-radius: 25px;
  border: 3px solid var(--violet-core);
  text-align: center;
  transition: all 0.3s ease;
}

.future-card:hover {
  transform: translateY(-8px);
  border-color: var(--gold);
  box-shadow: 0 0 25px rgba(142, 91, 255, 0.4);
}

.future-icon {
  font-size: 48px;
  margin-bottom: 1rem;
}

.future-card h3 {
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--teal-neon);
  margin-bottom: 0.8rem;
}

.future-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-200);
}

.closing-section {
  padding: 5rem 0;
  background: var(--paper);
}

.closing-card {
  max-width: 900px;
  margin: 0 auto;
  background: var(--gradient-violet);
  padding: 4rem;
  border-radius: 35% / 30%;
  border: 4px solid var(--gold);
  box-shadow: 0 0 40px rgba(142, 91, 255, 0.6), 0 15px 0 var(--orange-fire);
  text-align: center;
}

.closing-card h2 {
  font-family: var(--font-display);
  font-size: 36px;
  color: #ffffff;
  text-shadow: 3px 3px 0 var(--orange-fire);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
}

.closing-card p {
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 1.5rem;
}

.signature-line {
  font-family: var(--font-heading);
  font-size: 22px;
  color: var(--amber-soft);
  font-style: italic;
  margin: 2rem 0;
}

.closing-card .btn-primary {
  margin-top: 2rem;
}

@media (max-width: 968px) {
  .story-grid,
  .mission-content,
  .team-grid,
  .values-tabs {
    grid-template-columns: 1fr;
  }

  .future-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .closing-card {
    padding: 3rem 2rem;
  }
}

@media (max-width: 640px) {
  .page-title {
    font-size: 32px;
  }

  .content-article {
    padding: 2rem 1.5rem;
  }

  .article-block h2 {
    font-size: 26px;
  }

  .article-block p {
    font-size: 16px;
  }

  .highlight-box {
    padding: 1.5rem;
  }

  .contact-form {
    padding: 2rem 1.5rem;
  }

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

  .story-card,
  .mission-card,
  .team-card,
  .value-tab {
    padding: 2rem;
  }

  .closing-card {
    padding: 2rem 1.5rem;
  }

  .closing-card h2 {
    font-size: 28px;
  }
}

/* Success Notification Styles */
.success-notification {
  background: linear-gradient(135deg, var(--emerald) 0%, var(--teal-neon) 100%);
  border: 3px solid var(--gold);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 0 30px rgba(36, 210, 180, 0.3);
  animation: slideInDown 0.5s ease-out;
}

.notification-content {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.notification-icon {
  font-size: 2.5rem;
  flex-shrink: 0;
}

.notification-text h3 {
  font-family: var(--font-heading);
  font-size: 24px;
  color: var(--ink-1000);
  margin-bottom: 0.5rem;
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.3);
}

.notification-text p {
  color: var(--ink-1000);
  font-size: 16px;
  margin: 0;
  opacity: 0.9;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive notification */
@media (max-width: 768px) {
  .notification-content {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .notification-icon {
    font-size: 2rem;
  }

  .notification-text h3 {
    font-size: 20px;
  }
}
