/* ==========================================================================
   MARKETING ARMY - GLOBAL SATIŞ VE PAZARLAMA ORDUSU
   Kurumsal Renkler:
   - Koyu Lacivert: #0B1426
   - Altın:         #D4AF37
   - Beyaz:         #FFFFFF
   - Başarı Yeşili: #16A34A
   - Açık Gri:      #F3F4F6
   ========================================================================== */

:root {
  --navy-950: #060B16;
  --navy-900: #0B1426;
  --navy-800: #13223E;
  --navy-700: #1E335C;
  --gold-500: #D4AF37;
  --gold-400: #E5C453;
  --gold-600: #B38F22;
  --white: #FFFFFF;
  --green-600: #16A34A;
  --green-500: #22C55E;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-600: #4B5563;
  --gray-800: #1F2937;
  --danger: #DC2626;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --shadow-sm: 0 2px 8px rgba(11, 20, 38, 0.08);
  --shadow-md: 0 8px 24px rgba(11, 20, 38, 0.14);
  --shadow-gold: 0 6px 22px rgba(212, 175, 55, 0.25);
  --container-max: 1320px;
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
  color: var(--navy-900);
  background-color: var(--gray-100);
}

body {
  margin: 0;
  padding: 0;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

main {
  flex: 1;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
.table-wrapper:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
}

[inert], [inert] * {
  opacity: 0.5;
  cursor: default;
  user-select: none;
}

.visually-hidden {
  position: absolute;
  clip-path: inset(50%);
  overflow: hidden;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  white-space: nowrap;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* ==========================================================================
   HEADER LAYOUT
   - Desktop (>= 1024px): Row 1 = Logo + Quick Buttons | Row 2 = Menu BELOW Logo
   - Mobile (< 1024px): ONLY Logo + Hamburger Button in header; all buttons inside drawer
   ========================================================================== */

.site-header {
  background: var(--navy-900);
  color: var(--white);
  border-block-end: 2px solid rgba(212, 175, 55, 0.35);
  position: sticky;
  inset-block-start: 0;
  z-index: 50;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

.header-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  color: var(--white);
}

.brand-logo-mark {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--gold-500);
  line-height: 1.15;
}

.brand-subtitle {
  font-size: 0.75rem;
  color: #CBD5E1;
  letter-spacing: 0.02em;
}

/* Desktop Header Action Buttons (Hidden on mobile per user requirement!) */
.header-top-actions {
  display: none;
}

/* Desktop Row 2 Navigation Below Logo (Hidden on mobile!) */
.header-nav-row {
  display: none;
  background: var(--navy-950);
  border-block-start: 1px solid rgba(212, 175, 55, 0.2);
}

.desktop-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 0.2rem;
}

.desktop-nav-list li a {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 0.8rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: #E2E8F0;
  border-block-end: 3px solid transparent;
  white-space: nowrap;
}

.desktop-nav-list li a:hover {
  color: var(--gold-400);
  background: rgba(212, 175, 55, 0.08);
}

.desktop-nav-list li a[aria-current="page"] {
  color: var(--gold-500);
  border-block-end-color: var(--gold-500);
  background: rgba(212, 175, 55, 0.12);
  font-weight: 700;
}

/* Mobile Hamburger Trigger Button */
.hamburger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-width: 48px;
  min-height: 48px;
  padding: 0.5rem 0.85rem;
  background: var(--navy-800);
  color: var(--gold-500);
  border: 1.5px solid var(--gold-500);
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
}

.hamburger-btn:hover {
  background: rgba(212, 175, 55, 0.15);
}

@media (min-width: 1024px) {
  .hamburger-btn {
    display: none;
  }

  .header-top-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.6rem;
  }

  .header-nav-row {
    display: block;
  }
}

/* ==========================================================================
   MOBILE NAVIGATION DRAWER (<dialog class="Drawer">)
   Follows modern-web-guidance `navigation-drawer` & `dialog`
   ========================================================================== */

dialog:modal {
  overscroll-behavior: contain;
}

dialog::backdrop {
  overflow: hidden;
  overscroll-behavior: contain;
}

.Drawer {
  --drawer-width: min(22em, 84dvw, 100dvw - 24px);
  --drawer-backdrop: 0;
  inset: 0;
  width: auto;
  height: auto;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  background: transparent;
  border: 0;
  overflow: visible;
}

.Drawer::backdrop {
  background: #000;
  opacity: calc(var(--drawer-backdrop) * 0.65);
}

.Drawer-scroller {
  position: relative;
  display: grid;
  grid-template-columns: var(--drawer-width) 100%;
  overflow-x: scroll;
  overscroll-behavior: none;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
}

.Drawer-scroller::-webkit-scrollbar {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .Drawer-scroller {
    scroll-behavior: smooth;
  }
}

.Drawer-scroller::after {
  content: '';
  scroll-snap-align: end;
  scroll-initial-target: nearest;
}

.Drawer-sheet {
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100svh;
  background: var(--navy-900);
  color: var(--white);
  border-inline-end: 2px solid var(--gold-500);
  overflow-y: auto;
  scroll-snap-align: start;
  scrollbar-width: thin;
  padding: 1.25rem;
  gap: 1.25rem;
}

@supports (animation-timeline: scroll()) {
  .Drawer {
    timeline-scope: --drawer-fade;
    animation: fade-drawer-backdrop linear both;
    animation-timeline: --drawer-fade;
  }

  .Drawer-scroller {
    scroll-timeline: --drawer-fade x;
  }

  @property --drawer-backdrop {
    syntax: '<number>';
    inherits: true;
    initial-value: 0;
  }

  @keyframes fade-drawer-backdrop {
    0% { --drawer-backdrop: 1; }
    100% { --drawer-backdrop: 0; }
  }
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block-end: 0.85rem;
  border-block-end: 1px solid rgba(212, 175, 55, 0.25);
}

.drawer-close-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 48px;
  background: var(--navy-800);
  color: var(--gold-500);
  border: 1px solid var(--gold-500);
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.drawer-nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.drawer-nav-list li a {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  color: #F1F5F9;
  font-weight: 600;
  font-size: 0.95rem;
}

.drawer-nav-list li a:hover,
.drawer-nav-list li a[aria-current="page"] {
  background: rgba(212, 175, 55, 0.16);
  color: var(--gold-500);
  border-inline-start: 4px solid var(--gold-500);
}

.drawer-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  padding-block-start: 1rem;
  border-block-start: 1px solid rgba(212, 175, 55, 0.25);
}

/* ==========================================================================
   BUTTONS & BADGES
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  font: inherit;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  border: 2px solid transparent;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.btn-sm {
  min-height: 40px;
  padding: 0.45rem 0.9rem;
  font-size: 0.84rem;
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
  color: var(--navy-950);
  box-shadow: var(--shadow-gold);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #FDE047 0%, var(--gold-400) 100%);
  transform: translateY(-1px);
}

.btn-green {
  background: var(--green-600);
  color: var(--white);
}

.btn-green:hover {
  background: #15803D;
}

.btn-navy {
  background: var(--navy-900);
  color: var(--gold-500);
  border-color: var(--gold-500);
}

.btn-navy:hover {
  background: var(--navy-800);
}

.btn-outline-gold {
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold-500);
  border-color: var(--gold-500);
}

.btn-outline-gold:hover {
  background: var(--gold-500);
  color: var(--navy-950);
}

.btn-outline-light {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-outline-light:hover {
  border-color: var(--gold-500);
  color: var(--gold-500);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.badge-gold {
  background: rgba(212, 175, 55, 0.18);
  color: #9A7B1C;
  border: 1px solid rgba(212, 175, 55, 0.45);
}

.dark-section .badge-gold,
.hero-section .badge-gold {
  color: var(--gold-400);
}

.badge-green {
  background: rgba(22, 163, 74, 0.15);
  color: var(--green-600);
  border: 1px solid rgba(22, 163, 74, 0.35);
}

.badge-navy {
  background: var(--navy-900);
  color: var(--gold-500);
}

/* ==========================================================================
   HERO SECTION (Section 3)
   ========================================================================== */

.hero-section {
  background: radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.16) 0%, transparent 45%),
              linear-gradient(160deg, var(--navy-950) 0%, var(--navy-900) 60%, var(--navy-800) 100%);
  color: var(--white);
  padding-block: clamp(3rem, 6vw, 5.5rem);
  border-block-end: 3px solid var(--gold-500);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 992px) {
  .hero-grid {
    grid-template-columns: 1.25fr 0.75fr;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  background: rgba(212, 175, 55, 0.14);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: var(--gold-400);
  font-weight: 700;
  font-size: 0.85rem;
  margin-block-end: 1rem;
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.35rem);
  font-weight: 900;
  line-height: 1.12;
  margin: 0 0 0.5rem 0;
  color: var(--white);
}

.hero-title span {
  color: var(--gold-500);
}

.hero-slogan {
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 700;
  color: var(--gold-400);
  margin: 0 0 1rem 0;
}

.hero-desc {
  font-size: 1.06rem;
  color: #CBD5E1;
  max-width: 66ch;
  margin: 0 0 1.75rem 0;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-block-end: 2rem;
}

.hero-stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  padding-block-start: 1.5rem;
  border-block-start: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-stat-item strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold-500);
}

.hero-stat-item span {
  font-size: 0.84rem;
  color: #94A3B8;
}

.hero-Command-Card {
  background: rgba(19, 34, 62, 0.85);
  border: 1.5px solid rgba(212, 175, 55, 0.45);
  border-radius: var(--radius-xl);
  padding: 1.75rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
}

/* ==========================================================================
   SECTIONS, CARDS & GRIDS
   ========================================================================== */

.section {
  padding-block: clamp(3rem, 5vw, 4.75rem);
}

.section-white {
  background: var(--white);
}

.section-gray {
  background: var(--gray-100);
}

.dark-section {
  background: var(--navy-900);
  color: var(--white);
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
  margin-block-end: 2.75rem;
}

.section-header h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  font-weight: 800;
  margin: 0.5rem 0 0.75rem 0;
}

.section-header p {
  margin: 0;
  color: var(--gray-600);
  font-size: 1.02rem;
}

.dark-section .section-header p {
  color: #CBD5E1;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1.5rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: rgba(212, 175, 55, 0.5);
}

.card-dark {
  background: var(--navy-800);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: var(--white);
}

.card-dark p {
  color: #CBD5E1;
}

.icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: rgba(212, 175, 55, 0.14);
  color: var(--gold-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-block-end: 1rem;
}

/* ==========================================================================
   FORMS & VALIDATION (Follows modern-web-guidance `forms`)
   ========================================================================== */

.form-group {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.3rem;
  margin-block-end: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
}

label {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy-900);
}

.dark-section label,
.card-dark label {
  color: #F1F5F9;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="password"],
input[type="url"],
input[type="search"],
input[type="number"],
input[type="date"],
select,
textarea {
  font: inherit;
  font-size: max(1rem, 1em);
  padding: 0.75rem 0.9rem;
  min-height: 48px;
  border: 1.5px solid #767676;
  border-radius: var(--radius-sm);
  background-color: var(--white);
  color: var(--navy-900);
  width: 100%;
  box-sizing: border-box;
}

@media (pointer: coarse) {
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="password"],
  select {
    min-height: 52px;
  }
}

textarea {
  min-height: 110px;
  resize: vertical;
}

input[type="checkbox"],
input[type="radio"] {
  accent-color: var(--gold-500);
  width: 1.25rem;
  height: 1.25rem;
  cursor: pointer;
}

.checkbox-inline {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-block-end: 0.85rem;
}

.checkbox-inline label {
  font-weight: 500;
  cursor: pointer;
}

/* Non-intrusive validation styling (:user-invalid per modern-web-guidance) */
input:user-invalid,
select:user-invalid,
textarea:user-invalid,
input[aria-invalid="true"],
select[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--danger);
  background-color: #FEF2F2;
}

.field-hint {
  font-size: 0.82rem;
  color: var(--gray-600);
}

.field-error {
  font-size: 0.84rem;
  color: var(--danger);
  font-weight: 600;
}

/* ==========================================================================
   RESPONSIVE DATA TABLES (Follows modern-web-guidance `responsive-table`)
   ========================================================================== */

.table-wrapper {
  overflow: auto;
  max-inline-size: 100%;
  max-block-size: min(560px, 80vh);
  container-type: inline-size;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  background: var(--white);
}

table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.92rem;
}

caption {
  text-align: start;
  padding: 0.85rem 1rem;
  font-weight: 800;
  color: var(--navy-900);
  background: var(--gray-100);
  border-block-end: 1px solid var(--gray-200);
}

thead {
  position: sticky;
  inset-block-start: 0;
  z-index: 2;
  background: var(--navy-900);
  color: var(--gold-500);
}

th, td {
  padding: 0.85rem 1rem;
  text-align: start;
  border-block-end: 1px solid var(--gray-200);
}

tbody th {
  position: sticky;
  inset-inline-start: 0;
  background: var(--white);
  font-weight: 700;
  color: var(--navy-900);
  z-index: 1;
}

tbody tr:hover td,
tbody tr:hover th {
  background: #F8FAFC;
}

@container (width < 600px) {
  table, thead, tbody, tr, th, td {
    display: block;
  }

  thead {
    display: none;
  }

  tr {
    margin-block-end: 1rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--radius-sm);
    overflow: hidden;
  }

  tbody th {
    position: sticky;
    inset-block-start: 0;
    z-index: 2;
    background: var(--navy-900);
    color: var(--gold-500);
  }

  td {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.65rem 0.9rem;
  }

  td:nth-child(2)::before { content: var(--label-2, "Bilgi") ": "; font-weight: 700; }
  td:nth-child(3)::before { content: var(--label-3, "Detay") ": "; font-weight: 700; }
  td:nth-child(4)::before { content: var(--label-4, "Durum") ": "; font-weight: 700; }
  td:nth-child(5)::before { content: var(--label-5, "Tutar") ": "; font-weight: 700; }
  td:nth-child(6)::before { content: var(--label-6, "İşlem") ": "; font-weight: 700; }
}

/* ==========================================================================
   AVATAR SELECTOR GRID (24 Digital Characters - Section 6)
   ========================================================================== */

.avatar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(115px, 1fr));
  gap: 0.75rem;
}

.avatar-option {
  position: relative;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 0.65rem;
  text-align: center;
  cursor: pointer;
  background: var(--white);
  transition: border-color 0.2s ease, transform 0.15s ease;
}

.avatar-option:hover {
  border-color: var(--gold-500);
  transform: translateY(-2px);
}

.avatar-option input[type="radio"] {
  position: absolute;
  inset-block-start: 0.4rem;
  inset-inline-end: 0.4rem;
}

.avatar-option:has(input:checked) {
  border-color: var(--gold-500);
  background: rgba(212, 175, 55, 0.1);
  box-shadow: 0 0 0 2px var(--gold-500);
}

.avatar-svg-wrap {
  width: 64px;
  height: 64px;
  margin-inline: auto;
  margin-block-end: 0.4rem;
}

/* ==========================================================================
   ACCORDION / FAQ (<details name="faq">)
   ========================================================================== */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  max-width: 860px;
  margin-inline: auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-md);
  padding: 0.25rem 1.25rem;
}

.faq-item summary {
  padding-block: 1rem;
  font-weight: 700;
  font-size: 1.02rem;
  cursor: pointer;
  color: var(--navy-900);
}

.faq-item[open] {
  border-color: var(--gold-500);
  box-shadow: var(--shadow-sm);
}

.faq-item p {
  margin: 0 0 1rem 0;
  color: var(--gray-600);
}

/* ==========================================================================
   PANEL LAYOUT (Member Headquarters, Company Panel, Admin Panel)
   ========================================================================== */

.panel-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  padding-block: 1.75rem;
}

@media (min-width: 1024px) {
  .panel-layout {
    grid-template-columns: 270px 1fr;
    align-items: start;
  }
}

.panel-sidebar {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid rgba(212, 175, 55, 0.35);
}

.panel-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.panel-nav li a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  color: #E2E8F0;
  font-size: 0.9rem;
  font-weight: 600;
}

.panel-nav li a:hover,
.panel-nav li a[aria-current="page"] {
  background: rgba(212, 175, 55, 0.18);
  color: var(--gold-500);
  border-inline-start: 3px solid var(--gold-500);
}

.alert {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  margin-block-end: 1.25rem;
  font-weight: 600;
}

.alert-success {
  background: #DCFCE7;
  color: #166534;
  border: 1px solid #86EFAC;
}

.alert-error {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}

.alert-info {
  background: #FEF9C3;
  color: #854D0E;
  border: 1px solid #FDE047;
}

/* Modal Dialog Styling */
dialog.app-modal[open] {
  border: 2px solid var(--gold-500);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  max-width: 540px;
  width: calc(100dvw - 2rem);
  background: var(--navy-900);
  color: var(--white);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

dialog.app-modal::backdrop {
  background: rgba(6, 11, 22, 0.75);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--navy-950);
  color: #CBD5E1;
  border-block-start: 3px solid var(--gold-500);
  padding-block: 3.5rem 2rem;
  margin-block-start: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 2rem;
  margin-block-end: 2.5rem;
}

.footer-col h3 {
  color: var(--gold-500);
  font-size: 1.05rem;
  margin: 0 0 1rem 0;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links a:hover {
  color: var(--gold-400);
}

.footer-bottom {
  padding-block-start: 1.5rem;
  border-block-start: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.85rem;
  color: #94A3B8;
}

