/* Pussy888 · ooichinlee.com.my: corporate fresh purple / yellow game UI */
:root {
  --purple-900: #3b1468;
  --purple-800: #4c1d95;
  --purple-700: #5b2c9d;
  --purple-600: #6d3bb5;
  --purple-100: #f3ecfb;
  --purple-50: #faf7fd;
  --yellow-500: #f5c518;
  --yellow-400: #ffd84d;
  --yellow-100: #fff8dc;
  --blue-900: #1e3a5f;
  --blue-700: #2a4a73;
  --blue-100: #e8eef6;
  --ink: #1a1a2e;
  --muted: #5c6478;
  --line: #e4dff0;
  --white: #ffffff;
  --radius: 1rem;
  --shadow: 0 10px 30px rgba(75, 29, 149, 0.12);
}

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

html {
  scroll-behavior: smooth;
}

.site-body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  color: var(--ink);
  background:
    radial-gradient(ellipse 80% 50% at 100% -10%, rgba(245, 197, 24, 0.12), transparent 50%),
    radial-gradient(ellipse 60% 40% at 0% 20%, rgba(91, 44, 157, 0.08), transparent 45%),
    linear-gradient(180deg, var(--purple-50) 0%, var(--white) 28%, var(--blue-100) 100%);
  font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

.skip-link:focus {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1080;
  padding: 0.5rem 0.75rem;
  background: var(--yellow-500);
  color: var(--ink);
  border-radius: 0.5rem;
}

/* Header */
.site-header {
  background: linear-gradient(90deg, var(--purple-900), var(--purple-700) 55%, var(--blue-900));
  box-shadow: 0 2px 16px rgba(30, 58, 95, 0.28);
  border-bottom: 3px solid var(--yellow-500);
}

.site-header .navbar {
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.brand-logo {
  border-radius: 0.65rem;
  background: var(--white);
  object-fit: contain;
}

.brand-text {
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--white);
}

.site-header .nav-link {
  color: rgba(255, 255, 255, 0.88) !important;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.45rem 0.9rem !important;
  border-radius: 999px;
  transition: background 0.2s ease, color 0.2s ease;
}

.site-header .nav-link:hover,
.site-header .nav-link:focus {
  color: var(--ink) !important;
  background: var(--yellow-500);
}

.site-header .nav-link.active {
  color: var(--ink) !important;
  background: var(--yellow-500);
}

.navbar-toggler {
  color: var(--yellow-500);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(245, 197, 24, 0.35);
}

/* Hero / sections */
.hero {
  padding: 2.5rem 0 3rem;
}

.hero-split {
  min-height: 0;
}

.hero-banner {
  border-radius: calc(var(--radius) + 0.25rem);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(91, 44, 157, 0.15);
  background: var(--purple-900);
}

.hero-banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* Square 1:1 banner sits on the side, not full-width center */
.hero-banner--square {
  width: min(100%, 420px);
  margin-left: auto;
  margin-right: 0;
  aspect-ratio: 1 / 1;
}

.hero-banner--square img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 991.98px) {
  .hero-banner--square {
    width: min(100%, 280px);
    margin-left: 0;
    margin-right: auto;
  }
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  background: var(--yellow-100);
  color: var(--purple-800);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-title {
  font-size: clamp(1.75rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--purple-900);
  line-height: 1.15;
}

.lead-text {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 40rem;
}

.section {
  padding: 3rem 0;
}

.section-title {
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 750;
  color: var(--purple-900);
  letter-spacing: -0.02em;
}

.section-sub {
  color: var(--muted);
  line-height: 1.65;
}

/* Cards: corporate game */
.feature-card {
  height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 0 4px 18px rgba(30, 58, 95, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}

.icon-badge {
  width: 3rem;
  height: 3rem;
  border-radius: 0.85rem;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, var(--purple-100), var(--yellow-100));
  color: var(--purple-700);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--blue-900);
  margin-bottom: 0.5rem;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.metric-strip {
  background: linear-gradient(90deg, var(--purple-800), var(--blue-700));
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.metric-item {
  text-align: center;
  padding: 0.5rem;
}

.metric-item strong {
  display: block;
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--yellow-400);
}

.metric-item span {
  font-size: 0.85rem;
  opacity: 0.9;
}

.panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: 0 4px 18px rgba(30, 58, 95, 0.05);
}

.panel-soft {
  background: linear-gradient(160deg, var(--purple-50), var(--white) 55%, var(--yellow-100));
}

.step-num {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--purple-700);
  color: var(--yellow-400);
  font-weight: 800;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.content-block h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--purple-800);
  margin-top: 1.75rem;
  margin-bottom: 0.75rem;
}

.content-block h2:first-child {
  margin-top: 0;
}

.content-block p,
.content-block li {
  color: var(--muted);
  line-height: 1.7;
}

.content-block ul {
  padding-left: 1.15rem;
}

/* Single CTA button per page */
.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.9rem 1.6rem;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, var(--yellow-500), var(--yellow-400));
  color: var(--purple-900) !important;
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none !important;
  box-shadow: 0 8px 20px rgba(245, 197, 24, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-cta:hover,
.btn-cta:focus {
  transform: translateY(-2px);
  filter: brightness(1.03);
  box-shadow: 0 12px 26px rgba(245, 197, 24, 0.5);
  color: var(--purple-900) !important;
}

.btn-cta:focus-visible {
  outline: 3px solid var(--purple-600);
  outline-offset: 3px;
}

.text-link {
  color: var(--purple-700);
  font-weight: 600;
  text-decoration: none;
}

.text-link:hover {
  color: var(--purple-900);
  text-decoration: underline;
}

.game-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--blue-900);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Footer */
.site-footer {
  background: linear-gradient(180deg, var(--purple-900), var(--blue-900));
  color: rgba(255, 255, 255, 0.86);
  margin-top: auto;
}

.footer-accent {
  height: 4px;
  background: linear-gradient(90deg, var(--yellow-500), var(--purple-600), var(--yellow-400));
}

.footer-brand {
  color: var(--white);
  font-size: 1.05rem;
}

.footer-copy {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.92rem;
  line-height: 1.65;
  max-width: 28rem;
}

.footer-heading {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--yellow-400);
  font-weight: 700;
  margin-bottom: 0.85rem;
}

.footer-links li + li {
  margin-top: 0.45rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.92rem;
}

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

.footer-links span {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.65);
}

.badge-age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  padding: 0.25rem 0.55rem;
  border-radius: 0.45rem;
  background: var(--yellow-500);
  color: var(--purple-900);
  font-weight: 800;
  font-size: 0.8rem;
}

@media (max-width: 575.98px) {
  .hero {
    padding-top: 1.5rem;
  }

  .metric-strip .row > div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    margin-top: 0.75rem;
    padding-top: 0.75rem;
  }
}
