
:root {
  --gold: #FFC928;
  --gold-light: #FFF4C7;
  --gold-dark: #E99A00;
  --orange: #FF9700;
  --orange-dark: #C96B00;

  --black: #241800;
  --gray-800: #3D321C;
  --gray-600: #6F6653;
  --gray-400: #A79C87;
  --gray-100: #F3EBDD;

  --white: #FFFFFF;
  --bg: #FFF9EC;

  --radius: 12px;
  --radius-lg: 18px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--black);
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

.shell {
  width: 100%;
  max-width: 430px;
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0 auto;
  background: var(--white);
  display: flex;
  flex-direction: column;
  overflow: clip;
  box-shadow: 0 0 35px rgba(95, 60, 0, 0.08);
}

/* NAVIGATION */

.sticky-nav,
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid #F2E4BF;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  min-width: 0;
}

.logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 10px;
}

.logo-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #A85A00;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  background: #FFF4C7;
  border: 1px solid #F4D66D;
  border-radius: 9px;
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 21px;
  height: 2px;
  background: #8F4A00;
  border-radius: 4px;
}

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 5px);
  right: 12px;
  width: min(240px, calc(100vw - 28px));
  max-height: 75vh;
  overflow-y: auto;
  background: var(--white);
  border: 1px solid #F0DFAF;
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(92, 55, 0, 0.16);
  z-index: 110;
}

.dropdown.open {
  display: block;
}

.dropdown a {
  display: block;
  padding: 11px 15px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gray-800);
  text-decoration: none;
  border-bottom: 1px solid #F5EEDC;
}

.dropdown a:last-child {
  border-bottom: none;
}

.dropdown a:hover,
.dropdown a:focus-visible {
  background: var(--gold-light);
  color: #8F4A00;
}

/* MAIN CONTENT */

.scroll {
  flex: 1;
  min-width: 0;
  padding-bottom: 30px;
}

section[id] {
  scroll-margin-top: 78px;
}

/* HERO */

.hero {
  position: relative;
  isolation: isolate;
  padding: 30px 19px 27px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  color: var(--white);
  background: linear-gradient(
    145deg,
    #FFD928 0%,
    #FFB800 42%,
    #F28A00 100%
  );
  border-bottom: 3px solid #E99A00;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(
      circle at 10% 0%,
      rgba(255, 255, 255, 0.28),
      transparent 42%
    );
  pointer-events: none;
}

.hero-logo {
  width: 82px;
  height: 82px;
  object-fit: contain;
  border-radius: 19px;
  margin-bottom: 15px;
  background: #FFFFFF;
  box-shadow: 0 5px 16px rgba(105, 54, 0, 0.18);
}

.hero h1 {
  font-size: 1.55rem;
  line-height: 1.3;
  font-weight: 800;
  color: #3A2100;
  margin-bottom: 11px;
  text-wrap: balance;
}

.hero p {
  max-width: 340px;
  margin-bottom: 19px;
  font-size: 0.9rem;
  line-height: 1.75;
  color: #4D3100;
}

.hero .note {
  width: 100%;
  margin-top: 10px;
  text-align: left;
}

/* BUTTONS */

.btn-row {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-bottom: 10px;
}

.btn {
  flex: 1;
  min-width: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 10px;
  border-radius: var(--radius);
  font-size: 0.83rem;
  line-height: 1.4;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color 0.18s ease, transform 0.18s ease;
}

.btn-primary {
  color: #3D2600;
  background: #FFFFFF;
  border-color: rgba(255, 255, 255, 0.8);
  box-shadow: 0 3px 8px rgba(107, 58, 0, 0.12);
}

.btn-primary:hover {
  background: #FFF4C7;
}

.btn-outline {
  color: #402500;
  background: rgba(255, 255, 255, 0.22);
  border-color: rgba(89, 49, 0, 0.38);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.45);
}

.btn:active {
  transform: translateY(1px);
}

/* CONTENT SECTIONS */

.sec {
  margin: 13px 12px;
  padding: 20px 16px;
  background: var(--white);
  border: 1px solid #F0E6D1;
  border-radius: var(--radius-lg);
  box-shadow: 0 3px 12px rgba(95, 60, 0, 0.035);
}

.sec h2 {
  font-size: 1.08rem;
  line-height: 1.45;
  font-weight: 800;
  color: #754000;
  margin-bottom: 13px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold-light);
}

.sec h3 {
  font-size: 0.94rem;
  line-height: 1.5;
  font-weight: 750;
  color: #754000;
  margin: 17px 0 7px;
}

.sec p {
  font-size: 0.88rem;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}

.sec ul,
.sec ol {
  padding-left: 20px;
  margin: 8px 0 12px;
}

.sec li {
  font-size: 0.87rem;
  line-height: 1.8;
  color: var(--gray-600);
  margin-bottom: 5px;
  overflow-wrap: anywhere;
}

.sec a {
  color: #B76500;
  font-weight: 700;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.sec a:hover {
  color: #874400;
  text-decoration: underline;
}

/* TABLE OF CONTENTS */

.toc-list {
  list-style: none;
  padding: 0;
  margin: 12px 0 0;
  counter-reset: toc;
}

.toc-list li {
  counter-increment: toc;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  margin: 0;
  border-bottom: 1px solid #F2EBDD;
  font-size: 0.87rem;
}

.toc-list li:last-child {
  border-bottom: none;
}

.toc-list li::before {
  content: counter(toc);
  flex: 0 0 24px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-light);
  color: #985200;
  font-size: 0.75rem;
  font-weight: 800;
}

.toc-list a {
  flex: 1;
  color: var(--gray-800);
  font-weight: 600;
  text-decoration: none;
  line-height: 1.6;
}

.toc-list a:hover {
  color: #B76500;
}

/* EXPANDABLE CONTENT / FAQ */

.sec details {
  margin: 9px 0;
  border: 1px solid #F0E2BF;
  border-radius: 10px;
  background: #FFFCF5;
  overflow: hidden;
}

.sec summary {
  position: relative;
  padding: 13px 35px 13px 13px;
  color: #704000;
  font-size: 0.88rem;
  line-height: 1.55;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.sec summary::-webkit-details-marker {
  display: none;
}

.sec summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 13px;
  transform: translateY(-50%);
  color: #B76500;
  font-size: 1.2rem;
  font-weight: 700;
}

.sec details[open] summary {
  background: #FFF3C5;
  border-bottom: 1px solid #F0E2BF;
}

.sec details[open] summary::after {
  content: "−";
}

.sec details > p,
.sec details > ol,
.sec details > ul {
  margin: 12px 13px 14px;
}

/* TABLES */

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin: 13px 0;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.data-table th {
  background: #FFF0B5;
  color: #684000;
  font-weight: 800;
  text-align: left;
}

.data-table th,
.data-table td {
  padding: 10px 9px;
  border: 1px solid #EDE1C5;
  vertical-align: top;
}

.data-table td {
  color: var(--gray-600);
  line-height: 1.65;
}

.data-table tbody tr:nth-child(even) {
  background: #FFFCF5;
}

/* INFORMATION / SAFETY NOTICE */

.note {
  padding: 13px;
  margin: 14px 0;
  background: #FFF5D4;
  border: 1px solid #F4D579;
  border-left: 4px solid #F0A000;
  border-radius: 9px;
  color: #624300;
  font-size: 0.84rem;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

.note strong {
  color: #754000;
}

/* FOOTER */

footer {
  padding: 25px 17px;
  background: #332000;
  color: #F9EBD0;
  text-align: center;
  border-top: 4px solid #FFC928;
}

footer p {
  font-size: 0.81rem;
  line-height: 1.8;
  margin-bottom: 12px;
  color: #E8D9B8;
  overflow-wrap: anywhere;
}

footer strong {
  color: #FFD34D;
}

footer a {
  color: #FFD34D;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px 15px;
  margin: 16px 0;
}

.footer-links a {
  font-size: 0.8rem;
  font-weight: 600;
}

/* KEYBOARD ACCESSIBILITY */

a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #D88A00;
  outline-offset: 3px;
}

/* MOBILE RESPONSIVENESS */

@media (max-width: 360px) {
  .hero {
    padding: 25px 14px;
  }

  .hero h1 {
    font-size: 1.35rem;
  }

  .sec {
    margin: 10px;
    padding: 17px 13px;
  }

  .btn-row {
    gap: 7px;
  }

  .btn {
    padding: 10px 7px;
    font-size: 0.77rem;
  }

  .data-table {
    font-size: 0.76rem;
  }

  .data-table th,
  .data-table td {
    padding: 8px 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
  }
}

.hero .btn-row:last-of-type {
  margin-bottom: 0;
}

.hero .btn-primary[href="contact.html"] {
  background: #3A2100;
  color: #FFFFFF;
  border: 1px solid #3A2100;
}

.hero .btn-primary[href="contact.html"]:hover {
  background: #5A3500;
}


/* Arbpay Screenshot Gallery */
.arbpay-gallery {
    position: relative;
    overflow: hidden;
    padding: 22px 36px;
    margin-top: 20px;
    background: linear-gradient(135deg, #fff9e8, #fff0c4);
    border: 1px solid #ffe1a0;
    border-radius: 20px;
}

.gallery-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar {
    display: none;
}

.gallery-slide {
    flex: 0 0 calc(50% - 10px);
    min-width: 0;
    text-align: center;
    scroll-snap-align: center;
}

.gallery-slide img {
    display: block;
    width: 100%;
    height: 290px;
    object-fit: contain;
    padding: 8px;
    background: #fff;
    border: 1px solid #ffe3a1;
    border-radius: 18px;
    box-shadow: 0 8px 20px rgba(117, 71, 0, 0.09);
}

.gallery-slide h3 {
    margin: 14px 0 6px;
    color: #8d390b;
    font-size: 16px;
}

.gallery-slide p {
    margin: 0 0 12px;
    color: #66533d;
    font-size: 13px;
    line-height: 1.6;
}

.gallery-arrow {
    position: absolute;
    top: 38%;
    z-index: 2;
    width: 34px;
    height: 34px;
    border: 1px solid #ffd16b;
    border-radius: 50%;
    background: #fff;
    color: #9a4308;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.gallery-prev {
    left: 6px;
}

.gallery-next {
    right: 6px;
}

.gallery-arrow:hover {
    background: #ffc928;
}

.gallery-dots {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin: 18px 0;
}

.gallery-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #ead5a2;
    cursor: pointer;
}

.gallery-dot.active {
    background: #f4a900;
    transform: scale(1.2);
}

@media (min-width: 700px) {
    .gallery-slide {
        flex-basis: calc(33.333% - 14px);
    }
}

@media (max-width: 420px) {
    .arbpay-gallery {
        padding: 16px 32px;
    }

    .gallery-track {
        gap: 12px;
    }

    .gallery-slide {
        flex-basis: 100%;
    }

    .gallery-slide img {
        height: 300px;
    }

    .gallery-arrow {
        top: 35%;
    }
}

@media (prefers-reduced-motion: reduce) {
    .gallery-track {
        scroll-behavior: auto;
    }
}