:root {
  --radius: 18px;
  --font-main: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  font-family: var(--font-main);
}

/* RESET */
html, body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  min-height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding-top: 80px;
  padding-bottom: 100px;
  display: flex;
  justify-content: center;
}

@media(max-width: 600px) {
  body {
    padding-top: 90px;
    padding-bottom: 140px;
  }
}

/* CONTAINER */
.container {
  max-width: 1100px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

/* HERO */
.hero {
  padding: 24px;
  border-radius: 22px;
  border: 1px solid transparent;
  backdrop-filter: blur(6px) saturate(120%);
}

/* BRAND */
.brand {
  display: flex;
  gap: 14px;
  align-items: center;
}

.logo {
  width: 70px;
  height: 70px;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
}
.logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.title { font-size: 26px; font-weight: 700; }
.subtitle { font-size: 14px; }
.desc { font-size: 15px; margin-top: 16px; }

/* QUICK LINKS */
.quick-links {
  margin-top: 18px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.quick-links a {
  padding: 6px 10px;
  font-size: 12.5px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform .25s ease;
}

/* CARD AREA */
.card-area {
  padding: 18px;
  border-radius: 20px;
  display: grid;
  gap: 14px;
}

/* CARD GRID */
.card-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, 1fr);
}

@media(max-width: 600px) {
  .card-grid {
    grid-template-columns: 1fr;
  }
}

/* PORTAL CARD */
.portal-card {
  padding: 16px;
  height: 110px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 14px;
  cursor: pointer;
  transition: .22s ease;
  border: 1px solid transparent;
}

.pc-top { display: flex; gap: 12px; align-items: center; }
.pc-title { font-size: 14px; font-weight: 700; }
.pc-sub { font-size: 12.5px; }
.pc-cta { font-size: 12px; font-weight: 700; }

/* ICON */
.pc-icon {
  width: 95px;
  height: 85px;
  min-width: 95px;
  min-height: 85px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  transition: .25s ease;
}
.pc-icon img {
  width: 85px;
  height: 75px;
  object-fit: contain;
}

/* HEADER */
.topbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 64px;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid transparent;
  z-index: 999;
}
.top-left { display: flex; gap: 14px; align-items: center; }
.top-logo { width: 42px; height: 42px; border-radius: 12px; }
.top-title { font-size: 20px; font-weight: 700; }
.top-right { display: flex; gap: 14px; align-items: center; }

.theme-toggle {
  padding: 8px 18px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
}

/* FOOTER */
.glass-footer {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  height: 56px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 13px;
  border-top: 1px solid transparent;
  z-index: 999;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand .logo img {
  height: 52px;
  width: auto;
  display: block;
}

.brand .title {
  margin: 0;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}

.brand .subtitle {
  margin-top: 3px;
  font-size: 14px;
  opacity: 0.8;
  line-height: 1.2;
}
