:root {
  --ocean-deep: #0c4d86;
  --ocean-sky: #2f8fd4;
  --ocean-gold: #f4c14d;
  --ocean-sun: #ffe9b4;
  --ocean-navy: #123252;
}

html, body.pwa-body {
  background: #8ec8ea !important;
}

.landing-bg {
  background:
    linear-gradient(180deg, rgba(12, 70, 140, 0.22) 0%, rgba(255, 255, 255, 0.05) 42%, rgba(255, 232, 186, 0.28) 100%),
    url("/ocean-sky.jpg") center top / cover no-repeat fixed !important;
  min-height: 100vh;
}

.landing-spotlight {
  opacity: 0.35 !important;
  background: radial-gradient(circle at 18% 58%, rgba(255, 214, 110, 0.45), transparent 42%) !important;
}

header.sticky {
  background: linear-gradient(180deg, rgba(10, 55, 110, 0.28), transparent) !important;
  backdrop-filter: blur(10px);
  padding-right: min(46vw, 420px) !important;
}

header .shrink-0 {
  display: none !important;
}

header img {
  width: 46px !important;
  height: 46px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 4px 16px rgba(255, 214, 120, 0.55));
  border-radius: 0 !important;
}

h1.font-empirez,
header h1 {
  font-family: "Segoe UI", system-ui, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 0.22em !important;
  text-transform: uppercase !important;
  font-size: 20px !important;
  color: #fff !important;
  text-shadow: 0 2px 18px rgba(12, 60, 120, 0.35);
}

.surface-card {
  background: rgba(255, 255, 255, 0.78) !important;
  backdrop-filter: blur(18px) saturate(1.15);
  border: 1px solid rgba(255, 255, 255, 0.72) !important;
  box-shadow: 0 14px 40px rgba(18, 70, 130, 0.12) !important;
}

.bg-btn-primary,
button.bg-btn-primary {
  background: linear-gradient(180deg, #1b5f9a, #0e3f72) !important;
  border-color: rgba(255, 255, 255, 0.18) !important;
}

.ocean-extra {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 8px 0 28px;
}

.ocean-kicker {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 4px 0 22px;
  color: #fff;
  text-shadow: 0 2px 16px rgba(10, 50, 100, 0.35);
}

.ocean-kicker span {
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ocean-sun);
  font-weight: 700;
}

.ocean-kicker h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.12;
  font-weight: 750;
  letter-spacing: -0.03em;
  max-width: 18ch;
}

.ocean-kicker p {
  max-width: 46ch;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.ocean-grid {
  display: grid;
  gap: 14px;
  margin-bottom: 18px;
}

.ocean-stats {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.ocean-steps,
.ocean-features {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.ocean-card {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 22px;
  padding: 18px 18px 16px;
  box-shadow: 0 12px 32px rgba(18, 70, 130, 0.1);
  min-height: 118px;
}

.ocean-card .label {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5b7fa3;
  font-weight: 700;
}

.ocean-card .value {
  margin-top: 8px;
  font-size: 22px;
  color: #123252;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.ocean-card .hint {
  margin-top: 6px;
  font-size: 13px;
  color: #3d5873;
  line-height: 1.45;
  font-weight: 500;
}

.ocean-card .num {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, var(--ocean-gold), #e7a62a);
  color: #123252;
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 10px;
}

.ocean-section-title {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  margin: 8px 2px 12px;
  text-shadow: 0 2px 12px rgba(10, 50, 100, 0.3);
}

footer {
  color: rgba(255, 255, 255, 0.78) !important;
}

footer a,
footer p,
footer nav,
footer span {
  color: rgba(255, 255, 255, 0.72) !important;
}

#ocean-chrome {
  position: fixed;
  top: 18px;
  right: 20px;
  z-index: 70;
  display: flex;
  align-items: center;
  gap: 8px;
}

.ocean-tools {
  display: flex;
  align-items: center;
  gap: 8px;
}

.ocean-x {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.9);
  color: #123252;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(18, 70, 130, 0.12);
}

.ocean-x:hover { background: #fff; }

.ocean-ca {
  max-width: min(52vw, 340px);
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.95);
  color: #123252;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(18, 70, 130, 0.12);
  font: 700 11px/1 "Segoe UI", system-ui, sans-serif;
}

.ocean-ca small {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5b7fa3;
}

.ocean-ca code {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: "Segoe UI", system-ui, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.ocean-connect {
  height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(180deg, #1b5f9a, #0e3f72);
  color: #fff;
  font: 700 13px/1 "Segoe UI", system-ui, sans-serif;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(14, 63, 114, 0.28);
}

.ocean-modal-bg {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(10, 32, 58, 0.45);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  padding: 20px;
}

.ocean-modal {
  width: min(420px, 100%);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 24px 60px rgba(12, 50, 90, 0.22);
  padding: 20px 18px 16px;
}

.ocean-modal h3 {
  margin: 0 0 4px;
  font-size: 18px;
  color: #123252;
}

.ocean-modal p {
  margin: 0 0 14px;
  font-size: 13px;
  color: #5b7fa3;
  font-weight: 600;
}

.ocean-wallets {
  display: grid;
  gap: 8px;
}

.ocean-wallet {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  border: 1px solid rgba(18, 50, 82, 0.08);
  background: #fff;
  border-radius: 16px;
  padding: 10px 12px;
  cursor: pointer;
  text-align: left;
}

.ocean-wallet:hover { border-color: #2f8fd4; background: #f4f9ff; }

.ocean-wallet img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: contain;
  background: #fff;
  padding: 2px;
}

.ocean-wallet b {
  display: block;
  color: #123252;
  font-size: 14px;
}

.ocean-wallet span {
  display: block;
  color: #6b86a3;
  font-size: 11px;
  font-weight: 600;
}

.ocean-modal-note {
  margin-top: 12px;
  font-size: 11px;
  color: #6b86a3;
  text-align: center;
}

.ocean-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  z-index: 90;
  background: #123252;
  color: #fff;
  padding: 10px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}

@media (max-width: 900px) {
  .ocean-stats,
  .ocean-steps,
  .ocean-features {
    grid-template-columns: 1fr;
  }
  .ocean-ca small { display: none; }
}
