/* ============================================
   Layout System — Top Profit Club Dark Gold
   ============================================ */

/* ---- Fixed Background ---- */
.bg-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  background: var(--bg-page);
}

.bg-fixed::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 40% at 50% 0%, rgba(201, 168, 76, 0.10) 0%, transparent 70%),
    radial-gradient(ellipse 50% 30% at 80% 100%, rgba(201, 168, 76, 0.07) 0%, transparent 65%),
    var(--gradient-bg);
}

/* Subtle diagonal grain */
.bg-fixed::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(-45deg,
      rgba(201, 168, 76, 0.055) 0px,
      rgba(201, 168, 76, 0.055) 1px,
      transparent 1px,
      transparent 32px);
  pointer-events: none;
}

/* ---- Page Wrapper ---- */
.page-wrapper {
  position: relative;
  z-index: 1;
  overflow-x: hidden;
}

/* ---- Section ---- */
.section {
  width: 100%;
  padding: var(--section-padding);
}

.section-inner {
  max-width: var(--section-max-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* Gold ornamental divider between sections */
/* .section+.section::before {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: var(--gradient-gold-h);
  margin: 0 auto -40px;
  opacity: 0.5;
} */

/* ---- Row ---- */
.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
  padding: 12px 0;
}

.row-center {
  justify-content: center;
}

/* ---- Column ---- */
.col {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 8px 4px;
  width: 100%;
}

/* ---- Responsive ---- */
@media (max-width: 480px) {
  .section-inner {
    padding: 0 16px;
  }

  .row {
    flex-direction: column;
  }

  .desktop-only {
    display: none !important;
  }
}

@media (min-width: 481px) {
  .mobile-only {
    display: none !important;
  }
}

/* ---- Utility ---- */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.gap-sm {
  gap: 8px;
}

.gap-md {
  gap: 16px;
}

.gap-lg {
  gap: 24px;
}

/* ---- Gold Rule ---- */
.gold-rule {
  width: 48px;
  height: 1px;
  background: var(--gradient-gold-h);
  border: none;
  border-radius: var(--radius-pill);
  margin: 20px auto;
  opacity: 0.7;
}