:root {
  --green: #6674ff;
  --purple: #cf35ed;
  --nk-cyan: #10bdf4;
  --nk-blue: #2864f5;
  --nk-violet: #7c3ef2;
  --nk-magenta: #d82fe8;
  --nk-gradient: linear-gradient(120deg, #1677ff 0%, #315ff5 52%, #7448ee 100%);
  --nk-soft: rgba(105, 84, 255, .16);
  --nk-line: rgba(119, 91, 255, .45);
}

::selection { background: rgba(124, 62, 242, .55); color: #fff; }

/* Current NK identity */
.nk-current-brand {
  display: flex !important;
  flex: 0 0 64px !important;
  width: 64px !important;
  min-width: 64px !important;
  height: 56px !important;
  align-items: center !important;
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
  filter: none !important;
  gap: 8px !important;
  letter-spacing: .1em !important;
}
.site-header .nk-current-brand::before,
.site-header.menu-open .nk-current-brand::before {
  content: none !important;
  display: none !important;
  background: none !important;
}
.nk-current-brand img {
  width: 50px !important;
  max-width: 50px !important;
  height: 50px !important;
  object-fit: contain;
  filter: none !important;
  box-shadow: none !important;
}
.nk-current-brand b { display: none !important; }
.nk-core-logo {
  display: block;
  width: 112px;
  height: 112px;
  object-fit: contain;
  filter: drop-shadow(0 0 24px rgba(99, 76, 255, .48));
}
.core .nk-core-logo { transform: none !important; animation: none !important; }
.hero .core { background-image: none !important; }
.ref-footer-brand img,
.auth-current-logo img {
  object-fit: contain !important;
  object-position: left center !important;
  filter: drop-shadow(0 0 18px rgba(85, 86, 255, .3)) !important;
}
.ref-footer-brand img { width: 108px !important; height: 76px !important; }
.auth-current-logo { width: 170px !important; min-height: 108px !important; }
.auth-current-logo img { max-height: 108px !important; }
.nk-admin-brand img {
  width: 88px !important;
  height: 58px !important;
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 0 12px rgba(94, 83, 255, .35));
}
.nk-admin-brand span,
.nk-admin-brand b { display: none !important; }

/* Global brand points */
.nav-wrap nav a.on:after,
.mobile-menu:after,
.progress-track i { background: var(--nk-gradient) !important; }
.eyebrow,
.eyebrow i,
.admin-link,
.apy,
.card-link,
.text-link,
.step-grid span,
.security-grid article > span,
.news-card > span,
.faq-list summary b,
.guide-steps article > span,
.news-list span,
.article-index,
.daily-history summary,
.green,
.positive,
.status-good,
.coin-menu-apy,
.article-image.placeholder span,
.news-hero h1 em,
.content-list span,
.admin-main > header span,
.card-head a {
  color: #7784ff !important;
}
.wp-page .check-list i,
.security-page .check-list i,
.docs-page .check-list i,
.partner-page .check-list i,
.roadmap strong,
.roadmap em,
.audit-result,
.success,
.check,
.proof-line,
.status.paid,
.status.complete {
  color: #7784ff !important;
}
.eyebrow i { background: #7784ff !important; box-shadow: 0 0 14px rgba(119,132,255,.8) !important; }
.hero h1 em,
.security h2 em,
.page-head h1 em,
.section-title h2 em,
.wp-hero h1 em {
  background: var(--nk-gradient) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}

/* Buttons and selected controls */
.btn:not(.ghost):not(.light),
.primary,
.mini:not(.danger),
.claim-btn,
button[type="submit"],
.copy-address,
.deposit-copy,
.support-button {
  border-color: transparent !important;
  background: var(--nk-gradient) !important;
  color: #fff !important;
  box-shadow: 0 10px 30px rgba(83, 70, 255, .2);
}
.btn:not(.ghost):not(.light)::before,
.btn:not(.ghost):not(.light)::after,
.primary::before,
.primary::after,
.mini:not(.danger)::before,
.mini:not(.danger)::after,
.claim-btn::before,
.claim-btn::after,
button[type="submit"]::before,
button[type="submit"]::after,
.copy-address::before,
.copy-address::after,
.deposit-copy::before,
.deposit-copy::after,
.support-button::before,
.support-button::after {
  content: none !important;
  display: none !important;
  background: none !important;
  background-image: none !important;
  box-shadow: none !important;
}
.btn:not(.ghost):hover,
.primary:hover,
.mini:not(.danger):hover,
button[type="submit"]:hover {
  box-shadow: 0 14px 38px rgba(128, 53, 242, .34) !important;
}
.coin-tab.active,
.periods input:checked + span,
input:focus,
textarea:focus,
select:focus {
  border-color: #765cff !important;
}
.coin-tab.active,
.periods input:checked + span,
.sidebar nav a:hover,
.sidebar nav a.on {
  background: rgba(92, 69, 210, .15) !important;
}
.amount-field b,
.periods small,
.reward-number span,
.address-box code,
.coin-live-price strong,
.empty > span,
.auth-switch a,
.important input {
  color: #7784ff !important;
}
.deposit-step > span,
.live-valuation span em.live-badge,
.status.active,
.status.claimed,
.badge.active {
  background: rgba(87, 68, 194, .2) !important;
  color: #8f91ff !important;
}
.deposit-address-card {
  border-color: rgba(106, 82, 225, .5) !important;
  background: rgba(39, 28, 86, .28) !important;
}

/* Blue-purple atmosphere in place of mint glows */
.hero:before {
  background: linear-gradient(90deg,rgba(6,7,10,.98) 0%,rgba(6,7,10,.82) 44%,rgba(6,7,10,.08)),
    radial-gradient(circle at 76% 45%,rgba(86,55,204,.48) 0,transparent 38%) !important;
}
.orbit.o2 { border-color: rgba(106, 96, 255, .28) !important; }
.core { box-shadow: 0 0 100px rgba(102, 65, 235, .38) !important; }
.cta,
.wp-cta { background: radial-gradient(circle at center,rgba(77,48,161,.5),#11131a 48%,#08090c) !important; }

/* Home coin cards: replace the legacy mint frame and values with the NK palette. */
.premium-coin-card {
  border-color: rgba(85, 101, 255, .72) !important;
  box-shadow: 0 0 16px rgba(48, 104, 255, .22), inset 0 0 12px rgba(116, 72, 238, .07) !important;
}
.premium-coin-card::before {
  background: linear-gradient(110deg, transparent 25%, rgba(29, 154, 255, .18) 42%, #c8d5ff 50%, rgba(116, 72, 238, .9) 56%, transparent 72%) !important;
  background-size: 260% 100% !important;
}
.premium-coin-card:hover {
  border-color: #7865ff !important;
  box-shadow: 0 0 30px rgba(91, 75, 255, .34), inset 0 0 14px rgba(49, 95, 245, .1) !important;
}
.premium-coin-stats div:first-child strong,
.premium-coin-card:hover .premium-stake-link {
  color: #7784ff !important;
}

/* Home security block: blue-violet logo colors instead of the old mint accent. */
.premium-security .security-copy h2 em {
  background: var(--nk-gradient) !important;
  background-clip: text !important;
  -webkit-background-clip: text !important;
  color: transparent !important;
  -webkit-text-fill-color: transparent !important;
}
.premium-security-grid article:hover {
  border-color: rgba(99, 91, 255, .42) !important;
  box-shadow: 0 18px 48px rgba(0,0,0,.28), 0 0 25px rgba(92, 76, 255, .13) !important;
}

@media (max-width: 900px) {
  .nk-current-brand { min-width: 70px; }
  .nk-current-brand img { width: 54px !important; max-width: 54px !important; height: 54px !important; }
  .site-header .nav-user .btn.small,
  .site-header .nav-user a[href="/signup"] {
    background: var(--nk-gradient) !important;
    border-color: transparent !important;
    color: #fff !important;
  }
}

@media (max-width: 520px) {
  .nk-current-brand { min-width: 58px; }
  .nk-current-brand img { width: 50px !important; max-width: 50px !important; height: 50px !important; }
  .hero .core { position: absolute !important; }
  .hero .core .nk-core-logo {
    position: absolute !important;
    left: 50% !important;
    top: 50% !important;
    width: 112px !important;
    height: 112px !important;
    margin: 0 !important;
    transform: translate(-50%, -50%) !important;
  }
  .hero .core small {
    position: absolute !important;
    left: 50% !important;
    bottom: 14px !important;
    margin: 0 !important;
    transform: translateX(-50%) !important;
  }
}
