/* Custom Font Declarations */
@font-face {
  font-family: 'Waterway';
  src: url('../fonts/Waterway-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geoform Light';
  src: url('../fonts/Geoform-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Base Page Styling (Frosted Ice Palette) */
body {
  background-color: #E2E8EE; /* Cold Pale Ice */
  color: #3B5266;           /* Deep Slate Accent */
  font-family: 'Geoform Light', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  text-align: center;
  margin: 0;
  padding: 0;
}

/* Reserved Spacing where Avatar used to sit */
.header-spacing {
  height: 96px;
  margin-top: 10%;
}

/* Profile Title Styling (Waterway Only) */
.profile-title {
  color: #243545; /* Deep Polar Navy */
  font-size: 2.75rem;
  font-weight: 400;
  font-style: normal;
  font-family: 'Waterway', Georgia, serif;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  letter-spacing: 0.02em;
}

/* Profile Bio Styling */
.profile-bio {
  color: #4A637A; /* Muted Cold Steel */
  font-size: 1.1rem;
  font-family: 'Geoform Light', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Container & Button Layout */
.button-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem; /* Spacing between buttons */
}

/* Generic Button Styling */
.button-generic {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 400px;
  height: 48px;
  background-color: #F4F7FA; /* Crisp Frost White */
  color: #243545;            /* Dark Slate Text */
  border: 1px solid rgba(120, 150, 175, 0.35); /* Cool steel border */
  border-radius: 0;           /* Sharp corners */
  font-family: 'Geoform Light', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  font-weight: 300;
  font-size: 1rem;
  text-decoration: none;
  box-sizing: border-box;
  transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
  will-change: transform, box-shadow;
}

/* Hover State (Frosted Blue Glow) */
.button-generic:hover {
  background-color: #FFFFFF; /* Pure Bright White */
  border-color: #5A82A6;      /* Vibrant Cold Blue */
  color: #162431;
  transform: translateY(-2px);
  /* Cold ambient cyan/ice glow */
  box-shadow: 0 0 10px rgba(90, 130, 166, 0.25), 
              0 0 20px rgba(90, 130, 166, 0.12);
}

.button-generic:active {
  transform: translateY(0);
  box-shadow: 0 0 5px rgba(90, 130, 166, 0.2);
}

/* Base Icon Alignment & Dark Tint Styling */
.button-generic .icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  /* Darkens icons so they are visible on light buttons */
  filter: brightness(0) opacity(0.8);
  transition: filter 0.2s ease;
}

.button-generic:hover .icon {
  filter: brightness(0) opacity(1);
}
/* Accordion Container */
.accordion-item {
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
}

/* Ensure Button Alignment Inside Wrapper */
.accordion-item .button-generic {
  width: 100%;
  cursor: pointer;
}

/* Collapsible Warning Panel */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  box-sizing: border-box;
}

/* Inner Warning Card Styling */
.warning-inner {
  background-color: rgba(244, 247, 250, 0.6); /* Slightly sheer frost */
  border: 1px solid rgba(120, 150, 175, 0.35);
  border-top: none; /* Merges smoothly with button bottom */
  padding: 1.25rem 1rem;
  box-sizing: border-box;
  text-align: center;
}

.warning-text {
  margin: 0 0 0.35rem 0;
  font-size: 0.95rem;
  font-weight: 400;
  color: #243545;
}

.warning-subtext {
  margin: 0 0 1rem 0;
  font-size: 0.85rem;
  color: #4A637A;
}

/* Call-to-Action Proceed Button */
.warning-btn {
  display: inline-block;
  width: 100%;
  padding: 10px 0;
  background-color: #243545; /* Dark Slate Navy */
  color: #F4F7FA;
  text-decoration: none;
  font-size: 0.9rem;
  font-family: 'Geoform Light', -apple-system, BlinkMacSystemFont, sans-serif;
  box-sizing: border-box;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.warning-btn:hover {
  background-color: #162431;
  color: #FFFFFF;
}
/* Layout Adjustment for Badge Alignment */
.button-generic {
  position: relative; /* Keeps badge anchored inside button */
}

/* 18+ Badge Styling */
.age-badge {
  position: absolute;
  right: 12px;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  color: #4A637A; /* Muted Cold Steel */
  border: 1px solid rgba(120, 150, 175, 0.4);
  padding: 1px 5px;
  line-height: 1.2;
  opacity: 0.85;
  transition: color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

/* Hover Accent Shift */
.button-generic:hover .age-badge {
  color: #243545; /* Dark Slate Navy */
  border-color: #5A82A6;
  opacity: 1;
}