:root {
  --background-main: #000000;
  --background-secondary: #080808;
  --surface: #101014;
  --surface-hover: #17171d;
  --neon-green: #67ff45;
  --neon-cyan: #2adfeb;
  --neon-magenta: #fd30d0;
  --text-primary: #f5f7f4;
  --text-secondary: #a6a6aa;
  --text-muted: #66666c;
  --border-neutral: #34343c;
  --border-green: #398e2c;
  --border-cyan: #176d7b;
  --border-magenta: #852074;
  --green-glow: rgba(103, 255, 69, 0.55);
  --cyan-glow: rgba(42, 223, 235, 0.45);
  --magenta-glow: rgba(253, 48, 208, 0.55);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html,
body,
#app {
  max-width: 100%;
  overflow-x: hidden;
  width: 100%;
}

body {
  background: var(--background-main);
  color: var(--text-primary);
  font-family: "Titillium Web", Arial, Helvetica, sans-serif;
  margin: 0;
}

body.is-access {
  overflow: hidden;
}

body.is-access .site {
  padding: 0.5rem 14px 14px;
}

.site {
  max-width: 100%;
  overflow-x: hidden;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 26px 14px;
  background:
    linear-gradient(110deg, rgba(20, 92, 12, 0.62) 0%, rgba(0, 0, 0, 0.92) 45%, rgba(7, 94, 111, 0.58) 100%),
    #000;
}

.intro {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: calc(100vh - 86px);
  min-height: calc(100dvh - 86px);
  padding: 8px 0 18px;
  text-align: center;
}

.logo {
  display: block;
  filter:
    drop-shadow(0 0 16px var(--green-glow))
    drop-shadow(0 0 30px var(--cyan-glow));
  height: 132px;
  margin: 0 auto 10px;
  object-fit: contain;
  width: 132px;
}

h1 {
  background: linear-gradient(90deg, #67ff45 0%, #2adfeb 50%, #fd30d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: clamp(2.8rem, 12vw, 6rem);
  font-weight: 700;
  line-height: 0.92;
  margin: 0;
  text-shadow: 0 0 26px rgba(103, 255, 69, 0.18);
}

.intro p {
  color: var(--text-secondary);
  font-size: 1rem;
  margin: 12px auto 8px;
  max-width: 520px;
}


.home-actions {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 18px;
}


.access-button {
  background: linear-gradient(90deg, var(--neon-green) 0%, var(--neon-cyan) 100%);
  border: 0;
  border-radius: 999px;
  box-shadow: 0 0 22px rgba(103, 255, 69, 0.28), 0 0 28px rgba(42, 223, 235, 0.18);
  color: #090909;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 700;
  overflow-wrap: anywhere;
  padding: 12px 34px;
  text-transform: uppercase;
}

.access-button:hover {
  box-shadow: 0 0 28px rgba(103, 255, 69, 0.42), 0 0 34px rgba(42, 223, 235, 0.3);
  transform: scale(0.98);
}

.access-view {
  display: none;
}

body.is-access .home-view {
  display: none;
}

body.is-access .access-grid {
  display: grid;
}

body.is-access .access-topbar {
  display: flex;
}

.access-topbar {
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0;
}

.access-brand {
  align-items: center;
  display: flex;
  flex: 1 1 auto;
  gap: 10px;
  min-width: 0;
  overflow: hidden;
}

.access-brand img {
  filter: drop-shadow(0 0 12px var(--green-glow));
  flex: 0 0 auto;
  height: 56px;
  object-fit: contain;
  width: 56px;
}

.access-brand span {
  background: linear-gradient(90deg, #67ff45 0%, #2adfeb 50%, #fd30d0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 1.35rem;
  font-weight: 700;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.access-actions {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
}

.back-button {
  align-items: center;
  background: transparent;
  border: 1px solid var(--border-magenta);
  border-radius: 999px;
  color: var(--neon-magenta);
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1;
  min-height: 34px;
  padding: 8px 14px;
  text-transform: uppercase;
}

.back-button:hover {
  border-color: var(--neon-magenta);
  box-shadow: 0 0 18px rgba(253, 48, 208, 0.22);
}

.admin-button {
  align-items: center;
  background: var(--neon-green);
  border: 1px solid var(--neon-green);
  border-radius: 999px;
  color: #090909;
  display: inline-flex;
  font-size: 0.82rem;
  font-weight: 700;
  justify-content: center;
  line-height: 1;
  min-height: 34px;
  padding: 8px 14px;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.admin-button:hover {
  box-shadow: 0 0 18px rgba(103, 255, 69, 0.24);
  color: #090909;
  transform: scale(0.98);
}

.menu-button {
  align-items: center;
  background: transparent;
  border: 1px solid var(--border-cyan);
  border-radius: 8px;
  color: var(--neon-cyan);
  display: none;
  flex: 0 0 auto;
  font-size: 1.25rem;
  height: 36px;
  justify-content: center;
  padding: 0;
  width: 40px;
}

.menu-button:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 16px rgba(42, 223, 235, 0.22);
}

.access-offcanvas {
  --bs-offcanvas-bg: var(--surface);
  --bs-offcanvas-color: var(--text-primary);
  border-left: 1px solid var(--border-cyan);
  max-width: 260px;
}

.access-offcanvas .offcanvas-header {
  border-bottom: 1px solid var(--border-neutral);
  padding: 14px;
}

.access-offcanvas .offcanvas-title {
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
}

.access-offcanvas .btn-close {
  filter: invert(1) grayscale(100%) brightness(200%);
  opacity: 0.85;
}

.access-offcanvas .offcanvas-body {
  padding: 10px 0;
}

.access-menu-nav {
  display: grid;
  gap: 2px;
}

.access-menu-link {
  color: var(--text-primary);
  display: block;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 10px 14px;
  text-decoration: none;
}

.access-menu-link:hover {
  background: var(--surface-hover);
  color: var(--neon-cyan);
}

.access-menu-link-admin {
  color: var(--neon-green);
}

.access-menu-link-admin:hover {
  color: var(--neon-green);
}

.access-grid {
  gap: 16px;
  height: calc(100vh - 94px);
  height: calc(100dvh - 94px);
  margin-top: 0;
  min-height: 0;
  overflow: hidden;
}

.simple-section {
  background: rgba(16, 16, 20, 0.88);
  border: 1px solid var(--border-neutral);
  border-radius: 8px;
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.36);
  margin-top: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  padding: 16px;
}

.simple-section h2 {
  color: var(--text-primary);
  font-size: 1.28rem;
  font-weight: 700;
  margin: 0 0 4px;
}

.simple-section p {
  color: var(--text-secondary);
  margin: 0 0 14px;
}

.platform-list,
.cashier-list {
  align-content: start;
  display: grid;
  gap: 9px;
  grid-template-columns: 1fr;
  min-height: 0;
  overflow-y: auto;
  padding-right: 4px;
  scrollbar-color: var(--neon-cyan) rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
}

.platform-list::-webkit-scrollbar,
.cashier-list::-webkit-scrollbar {
  width: 8px;
}

.platform-list::-webkit-scrollbar-track,
.cashier-list::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
}

.platform-list::-webkit-scrollbar-thumb,
.cashier-list::-webkit-scrollbar-thumb {
  background: var(--neon-cyan);
  border-radius: 999px;
}
.platform-link,
.cashier-link {
  align-items: flex-start;
  background: var(--background-secondary);
  border: 1px solid var(--border-cyan);
  border-radius: 8px;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  gap: 7px;
  justify-content: flex-start;
  min-height: 74px;
  padding: 12px;
  text-decoration: none;
  transform-origin: center;
  transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.platform-link:hover,
.cashier-link:hover {
  background: var(--surface-hover);
  color: var(--text-primary);
  transform: scale(0.98);
}

.platform-link:hover {
  border-color: var(--neon-cyan);
  box-shadow: 0 0 18px rgba(42, 223, 235, 0.2);
}

.platform-link span,
.cashier-link b {
  font-size: 1rem;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.platform-link strong,
.cashier-link em {
  align-self: flex-start;
  border-radius: 6px;
  color: #090909;
  display: inline-flex;
  font-size: 0.66rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
  padding: 4px 7px;
  white-space: nowrap;
}

.platform-link strong {
  background: var(--neon-cyan);
}

.cashier-link em {
  background: var(--neon-green);
}

.cashier-link {
  border-color: var(--border-green);
}

.cashier-link:hover {
  border-color: var(--neon-green);
  box-shadow: 0 0 18px rgba(103, 255, 69, 0.22);
}

.cashier-link span {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.cashier-link small {
  display: none;
}


@media (min-width: 700px) {
  .site {
    padding: 34px 18px;
  }

  body.is-access .site {
    padding: 0.5rem 18px 14px;
  }

  .access-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .platform-list,
  .cashier-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1200px) {
  .platform-list,
  .cashier-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1199.98px) {
  body.is-access {
    overflow: auto;
  }

  body.is-access .site {
    overflow: visible;
    padding-bottom: 22px;
  }

  body.is-access .container {
    max-width: 100%;
  }

  .access-grid {
    gap: 12px;
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
    padding-right: 0;
  }

  .simple-section {
    height: auto;
    padding: 12px;
  }

  .simple-section h2 {
    font-size: 1.05rem;
    line-height: 1.15;
  }

  .simple-section p {
    font-size: 0.92rem;
    line-height: 1.25;
    margin-bottom: 10px;
  }

  .platform-list,
  .cashier-list {
    gap: 8px;
    grid-template-columns: 1fr;
    overflow: visible;
    padding-right: 0;
  }

  .platform-link,
  .cashier-link {
    gap: 6px;
    min-height: 58px;
    padding: 9px 10px;
  }

  .platform-link span,
  .cashier-link b {
    font-size: 0.92rem;
    line-height: 1.15;
  }


}

@media (max-width: 699.98px) {
  .access-topbar {
    gap: 10px;
    min-width: 0;
  }

  .access-brand {
    gap: 8px;
    min-width: 0;
  }

  .access-brand img {
    height: 46px;
    width: 46px;
  }

  .access-brand span {
    font-size: 1.12rem;
    overflow-wrap: anywhere;
  }

  .access-actions {
    gap: 6px;
  }

  .back-button,
  .admin-button {
    flex: 0 0 auto;
    font-size: 0.68rem;
    padding: 7px 9px;
  }
}

@media (min-width: 320px) and (max-width: 424px) {
  html,
  body,
  #app,
  .site {
    max-width: 100dvw;
    overflow-x: hidden;
    width: 100dvw;
  }

  body.is-access .site {
    padding-left: 0;
    padding-right: 0;
  }

  body.is-access .container {
    margin: 0 auto;
    max-width: 100dvw;
    overflow-x: hidden;
    padding-left: 10px;
    padding-right: 10px;
    width: 100dvw;
  }

  .access-topbar,
  .access-grid,
  .simple-section,
  .platform-list,
  .cashier-list,
  .platform-link,
  .cashier-link {
    max-width: 100%;
    min-width: 0;
    width: 100%;
  }

  .access-topbar {
    gap: 8px;
    overflow: hidden;
  }

  .access-brand {
    flex: 1 1 auto;
    gap: 6px;
    min-width: 0;
  }

  .access-brand img {
    height: 38px;
    width: 38px;
  }

  .access-brand span {
    font-size: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .access-actions {
    display: none;
  }

  .menu-button {
    display: inline-flex;
    height: 34px;
    margin-left: auto;
    width: 38px;
  }

  .simple-section {
    padding: 10px;
  }

  .simple-section h2 {
    font-size: 1rem;
    overflow-wrap: anywhere;
  }

  .simple-section p {
    font-size: 0.86rem;
  }

  .access-offcanvas {
    max-width: 250px;
    width: 78dvw;
  }
}