@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
  --site-bg: #050916;
  --site-bg-2: #091327;
  --site-bg-3: #0f1d37;
  --site-surface: rgba(11, 16, 31, 0.82);
  --site-surface-2: rgba(14, 21, 39, 0.92);
  --site-surface-3: rgba(20, 30, 52, 0.9);
  --site-border: rgba(255, 255, 255, 0.1);
  --site-border-strong: rgba(255, 255, 255, 0.18);
  --site-text: #eef4ff;
  --site-muted: rgba(228, 237, 255, 0.7);
  --site-accent: #ffb454;
  --site-accent-2: #34d2ff;
  --site-accent-3: #ff6b8a;
  --site-success: #44e5a7;
  --site-shadow: 0 28px 80px rgba(0, 0, 0, 0.45);
  --site-shadow-soft: 0 16px 40px rgba(0, 0, 0, 0.28);
  --site-radius: 24px;
  --nav-h: 90px;
  --nav-h-m: 76px;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  color: var(--site-text);
  font-family: 'Manrope', 'Segoe UI', sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(920px 420px at 10% 12%, rgba(255, 107, 138, 0.18), transparent 60%),
    radial-gradient(980px 520px at 100% 0%, rgba(52, 210, 255, 0.22), transparent 62%),
    radial-gradient(1100px 640px at 50% 100%, rgba(255, 180, 84, 0.14), transparent 64%),
    linear-gradient(180deg, var(--site-bg), var(--site-bg-2) 55%, var(--site-bg-3));
  overflow-x: hidden;
}

body.discord-offer-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(transparent 0 35px, rgba(255, 255, 255, 0.03) 35px 36px),
    linear-gradient(90deg, transparent 0 35px, rgba(255, 255, 255, 0.03) 35px 36px);
  background-size: 36px 36px;
  opacity: 0.28;
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  inset: -18vh -10vw auto;
  height: 52vh;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.1), transparent 62%);
  filter: blur(34px);
  opacity: 0.5;
  z-index: 0;
}

body,
body > * {
  position: relative;
  z-index: 1;
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.winter-snow {
  display: none !important;
}

#particles-js {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.34;
  mix-blend-mode: screen;
  filter: saturate(0.9);
}

.topbar-bg {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 99990;
  pointer-events: none;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background:
    linear-gradient(180deg, rgba(7, 10, 19, 0.96), rgba(7, 10, 19, 0.58)),
    radial-gradient(420px 110px at 20% 0%, rgba(255, 180, 84, 0.12), transparent 70%),
    radial-gradient(420px 110px at 85% 0%, rgba(52, 210, 255, 0.12), transparent 70%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 52px rgba(0, 0, 0, 0.38);
  transition: height 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.nav-fixed {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-h);
  z-index: 99991;
}

.nav-spacer {
  height: var(--nav-h);
}

.navbar {
  height: 100%;
  padding: 0;
}

.nav-shell {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 20px;
  min-height: var(--nav-h);
}

.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.nav-brand-mark {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    linear-gradient(180deg, rgba(255, 180, 84, 0.2), rgba(255, 180, 84, 0.06)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.24);
}

.krp_logo {
  width: 38px;
  height: 38px;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.34));
}

.nav-brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.nav-brand-title {
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #fff;
}

.nav-brand-sub {
  color: var(--site-muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-toggle {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  padding: 10px 12px;
}

.nav-toggle:focus {
  box-shadow: 0 0 0 0.2rem rgba(52, 210, 255, 0.18);
}

.nav-menu {
  min-width: 0;
}

.nav-menu-links {
  align-items: center;
  gap: 8px;
}

.navbar .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--site-muted) !important;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.8rem 0.95rem;
  border-radius: 16px;
  transition: transform 0.18s ease, color 0.18s ease, background 0.18s ease, border-color 0.18s ease;
  border: 1px solid transparent;
  white-space: nowrap;
}

.navbar .nav-link i {
  color: var(--site-accent-2);
  font-size: 0.95rem;
}

.navbar .nav-link:hover,
.navbar .nav-link.is-active {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-left: auto;
}

.nav-capsule {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--site-muted);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-capsule-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--site-success), #14b57d);
  box-shadow: 0 0 18px rgba(68, 229, 167, 0.36);
}

.btn-edge,
.btn-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 16px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease, background 0.18s ease;
}

.btn-edge {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(52, 210, 255, 0.18), rgba(52, 210, 255, 0.04));
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.22);
}

.btn-solid {
  color: #141516;
  background: linear-gradient(135deg, var(--site-accent), #ffd277);
  box-shadow: 0 18px 36px rgba(255, 180, 84, 0.22);
}

.btn-edge:hover,
.btn-solid:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  color: inherit;
}

.quick-links,
.card,
.auth-card,
.auth-hero,
.sb-aside,
.card-ui,
.hero-card,
.panel {
  border-radius: var(--site-radius);
  box-shadow: var(--site-shadow);
}

.quick-links,
.card,
.auth-card,
.auth-hero,
.sb-aside,
.panel {
  border: 1px solid var(--site-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 30%),
    var(--site-surface);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.card,
.panel {
  color: var(--site-text);
}

.quick-links {
  margin-top: 34px;
  padding: 28px;
  overflow: hidden;
}

.quick-links-head {
  max-width: 620px;
}

.quick-links-kicker,
.footer-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--site-accent-2);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.quick-links h5,
.site-footer-brand h6,
.auth-card h1,
.auth-card h2,
.auth-card .title,
.auth-hero h3 {
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.quick-links h5 {
  margin: 0 0 10px;
  font-size: clamp(1.45rem, 2vw, 2rem);
}

.quick-links p {
  margin: 0 0 18px;
  color: var(--site-muted);
  max-width: 760px;
}

.quick-links .quick-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.quick-links .quick-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  font-weight: 700;
  color: #fff;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.quick-links .quick-actions a:hover {
  transform: translateY(-2px);
  background: rgba(255, 180, 84, 0.12);
  border-color: rgba(255, 180, 84, 0.24);
}

.site-footer {
  margin-top: 34px;
  padding: 0 0 38px;
}

.site-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 28px;
  padding: 28px;
  border-radius: 30px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    radial-gradient(500px 180px at 0% 0%, rgba(255, 180, 84, 0.14), transparent 68%),
    radial-gradient(520px 220px at 100% 0%, rgba(52, 210, 255, 0.14), transparent 72%),
    rgba(9, 14, 27, 0.82);
  box-shadow: var(--site-shadow);
  backdrop-filter: blur(18px);
}

.site-footer-brand p {
  margin: 12px 0 0;
  color: var(--site-muted);
  max-width: 420px;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col-title {
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.footer-col a {
  color: var(--site-muted);
  font-weight: 700;
  transition: color 0.18s ease, transform 0.18s ease;
}

.footer-col a:hover {
  color: #fff;
  transform: translateX(2px);
}

.pay-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pay-icons img {
  width: auto;
  height: 28px;
  filter: brightness(0.95);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.pay-icons img:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.site-footer-bar {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 8px 0;
  color: var(--site-muted);
  font-size: 0.88rem;
}

.auth-shell {
  position: relative;
  z-index: 1;
  padding: 108px 0 78px;
  min-height: calc(100vh - 190px);
}

.auth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px;
  align-items: stretch;
}

.auth-card,
.auth-hero {
  padding: 34px;
}

.auth-card .lead,
.auth-meta,
.auth-hero li {
  color: var(--site-muted);
}

.auth-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.auth-field label,
.form-label,
label {
  color: rgba(238, 244, 255, 0.82);
  font-weight: 700;
}

.auth-field input,
.form-control,
input.form-control,
select.form-control,
textarea.form-control {
  background: rgba(6, 10, 22, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 14px 16px;
  color: var(--site-text);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.auth-field input:focus,
.form-control:focus,
input.form-control:focus,
select.form-control:focus,
textarea.form-control:focus {
  color: var(--site-text);
  background: rgba(7, 12, 24, 0.96);
  border-color: rgba(52, 210, 255, 0.52);
  box-shadow: 0 0 0 0.22rem rgba(52, 210, 255, 0.14);
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}

.auth-actions .button,
.btn-warning,
.btn-success,
.btn-primary {
  border: 0 !important;
  border-radius: 16px !important;
  font-weight: 800 !important;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.2);
}

.btn-warning,
.btn-success,
.btn-primary {
  color: #141516 !important;
  background: linear-gradient(135deg, var(--site-accent), #ffd277) !important;
}

.btn-outline-warning {
  border-radius: 16px !important;
}

.table,
.table-dark {
  --bs-table-bg: transparent;
  --bs-table-color: var(--site-text);
  --bs-table-hover-bg: rgba(255, 255, 255, 0.04);
}

.table td,
.table th {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

.list-group-item {
  background: transparent;
  color: var(--site-text);
  border-color: rgba(255, 255, 255, 0.08);
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.tilt-ready {
  transform-style: preserve-3d;
  transition: transform 0.16s ease, box-shadow 0.2s ease;
}

body.is-scrolled .topbar-bg {
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
  background:
    linear-gradient(180deg, rgba(5, 8, 16, 0.98), rgba(5, 8, 16, 0.66)),
    radial-gradient(420px 110px at 20% 0%, rgba(255, 180, 84, 0.15), transparent 70%),
    radial-gradient(420px 110px at 85% 0%, rgba(52, 210, 255, 0.15), transparent 70%);
}

body.ugta-profile-page .container.my-5 {
  padding-top: 18px;
}

body.ugta-profile-page .card,
body.ugta-profile-page .sb-aside {
  overflow: hidden;
}

body.ugta-rating-page .card-ui,
body.ugta-boombox-page .card,
body.ugta-roulette-page .ru-wrap,
body.ugta-roulette-page .ru-modal__box {
  box-shadow: var(--site-shadow);
}

body.ugta-roulette-page .btn-back,
body.ugta-rating-page .btn-back,
body.ugta-boombox-page .btn-back {
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
}

.discord-dock {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 10020;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: linear-gradient(135deg, #5865f2, #7b84ff);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 22px 40px rgba(41, 52, 170, 0.34);
  transition: transform 0.18s ease, filter 0.18s ease;
}

.discord-dock:hover {
  transform: translateY(-2px);
  filter: brightness(1.04);
}

.discord-offer {
  position: fixed;
  inset: 0;
  z-index: 10030;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}

.discord-offer.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.discord-offer-backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(88, 101, 242, 0.24), transparent 38%),
    radial-gradient(circle at 80% 0%, rgba(255, 107, 138, 0.16), transparent 34%),
    rgba(4, 8, 18, 0.78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.discord-offer-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 380px);
  gap: 24px;
  width: min(1120px, 100%);
  padding: 28px;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(620px 200px at 0% 0%, rgba(88, 101, 242, 0.2), transparent 64%),
    radial-gradient(520px 180px at 100% 100%, rgba(52, 210, 255, 0.14), transparent 68%),
    rgba(9, 14, 27, 0.96);
  box-shadow: 0 42px 90px rgba(0, 0, 0, 0.44);
  transform: translateY(34px) scale(0.94) rotateX(10deg);
  transform-origin: center top;
  transition: transform 0.34s cubic-bezier(.2,.9,.2,1);
  overflow: hidden;
}

.discord-offer.is-open .discord-offer-dialog {
  transform: translateY(0) scale(1) rotateX(0deg);
}

.discord-offer-burst {
  position: absolute;
  inset: -120px auto auto -120px;
  width: 320px;
  height: 320px;
  pointer-events: none;
  z-index: 0;
}

.discord-burst-ring,
.discord-burst-glow {
  position: absolute;
  inset: 0;
  border-radius: 999px;
}

.discord-burst-ring {
  border: 1px solid rgba(173, 182, 255, 0.2);
  opacity: 0;
  transform: scale(0.7);
}

.discord-burst-ring-a {
  box-shadow: 0 0 30px rgba(88, 101, 242, 0.14);
}

.discord-burst-ring-b {
  inset: 28px;
  border-color: rgba(52, 210, 255, 0.18);
}

.discord-burst-glow {
  background: radial-gradient(circle at center, rgba(88, 101, 242, 0.24), transparent 62%);
  filter: blur(14px);
  opacity: 0;
  transform: scale(0.72);
}

.discord-offer-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.discord-offer-copy {
  padding: 10px 8px 10px 4px;
  position: relative;
  z-index: 1;
}

.discord-offer-brandline {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
  opacity: 0;
  transform: translateY(18px);
}

.discord-offer-logo {
  width: 78px;
  height: 78px;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,255,255,.24), transparent 40%),
    linear-gradient(135deg, #5865f2, #7a84ff);
  box-shadow: 0 24px 44px rgba(70, 86, 230, 0.34);
  color: #fff;
  font-size: 2rem;
  transform: rotate(-8deg) scale(.86);
}

.discord-offer-spark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.discord-offer-spark span {
  display: block;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255,255,255,.18), rgba(52,210,255,.55));
  opacity: 0;
}

.discord-offer-spark span:nth-child(1) {
  width: 72px;
  height: 10px;
}

.discord-offer-spark span:nth-child(2) {
  width: 42px;
  height: 10px;
}

.discord-offer-spark span:nth-child(3) {
  width: 18px;
  height: 10px;
}

.discord-offer-kicker {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(88, 101, 242, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #aeb7ff;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(16px);
}

.discord-offer-copy h2 {
  margin: 16px 0 12px;
  font-family: 'Space Grotesk', 'Manrope', sans-serif;
  font-size: clamp(2rem, 3vw, 3.4rem);
  line-height: 0.98;
  color: #fff;
  opacity: 0;
  transform: translateY(16px);
}

.discord-offer-copy p {
  margin: 0;
  max-width: 620px;
  color: var(--site-muted);
  font-size: 1.02rem;
  line-height: 1.75;
  opacity: 0;
  transform: translateY(16px);
}

.discord-offer-points {
  display: grid;
  gap: 12px;
  margin-top: 22px;
}

.discord-offer-point {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 16px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #eef4ff;
  font-weight: 700;
  opacity: 0;
  transform: translateX(-18px);
}

.discord-offer-point i {
  color: #8da2ff;
  font-size: 1.1rem;
}

.discord-offer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
  opacity: 0;
  transform: translateY(18px);
}

.discord-offer-primary,
.discord-offer-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 22px;
  border-radius: 18px;
  font-weight: 800;
  text-decoration: none;
  transition: transform 0.18s ease, filter 0.18s ease, background 0.18s ease;
}

.discord-offer-primary {
  color: #fff;
  background: linear-gradient(135deg, #5865f2, #7a84ff);
  box-shadow: 0 22px 36px rgba(60, 78, 230, 0.26);
}

.discord-offer-secondary {
  color: #eef4ff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
}

.discord-offer-primary:hover,
.discord-offer-secondary:hover {
  transform: translateY(-2px);
  filter: brightness(1.03);
  color: inherit;
}

.discord-offer-widget {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
  opacity: 0;
  transform: translateX(24px) scale(.96);
}

.discord-widget-shell {
  width: 100%;
  padding: 12px;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(320px 120px at 50% 0%, rgba(88, 101, 242, 0.16), transparent 70%),
    rgba(255, 255, 255, 0.04);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.discord-widget-shell iframe {
  width: 100%;
  max-width: 350px;
  display: block;
  margin: 0 auto;
  border-radius: 20px;
}

.discord-offer.is-open .discord-burst-ring-a {
  animation: discordRingA 1s cubic-bezier(.16,.84,.32,1) forwards;
}

.discord-offer.is-open .discord-burst-ring-b {
  animation: discordRingB 1.15s cubic-bezier(.16,.84,.32,1) .08s forwards;
}

.discord-offer.is-open .discord-burst-glow {
  animation: discordGlow 1s ease-out forwards;
}

.discord-offer.is-open .discord-offer-brandline {
  animation: discordRise .56s cubic-bezier(.2,.9,.2,1) .12s forwards;
}

.discord-offer.is-open .discord-offer-logo {
  animation: discordLogoLaunch .7s cubic-bezier(.18,.9,.2,1) .16s forwards;
}

.discord-offer.is-open .discord-offer-spark span:nth-child(1) {
  animation: discordSpark .48s ease-out .34s forwards;
}

.discord-offer.is-open .discord-offer-spark span:nth-child(2) {
  animation: discordSpark .48s ease-out .42s forwards;
}

.discord-offer.is-open .discord-offer-spark span:nth-child(3) {
  animation: discordSpark .48s ease-out .5s forwards;
}

.discord-offer.is-open .discord-offer-kicker {
  animation: discordRise .52s ease .22s forwards;
}

.discord-offer.is-open .discord-offer-copy h2 {
  animation: discordRise .56s ease .28s forwards;
}

.discord-offer.is-open .discord-offer-copy p {
  animation: discordRise .56s ease .36s forwards;
}

.discord-offer.is-open .discord-offer-point:nth-child(1) {
  animation: discordSlide .46s ease .46s forwards;
}

.discord-offer.is-open .discord-offer-point:nth-child(2) {
  animation: discordSlide .46s ease .54s forwards;
}

.discord-offer.is-open .discord-offer-point:nth-child(3) {
  animation: discordSlide .46s ease .62s forwards;
}

.discord-offer.is-open .discord-offer-actions {
  animation: discordRise .54s ease .7s forwards;
}

.discord-offer.is-open .discord-offer-widget {
  animation: discordWidgetIn .7s cubic-bezier(.2,.9,.2,1) .38s forwards;
}

@keyframes discordRingA {
  0% { opacity: 0; transform: scale(.58); }
  45% { opacity: .85; }
  100% { opacity: .12; transform: scale(1.12); }
}

@keyframes discordRingB {
  0% { opacity: 0; transform: scale(.72); }
  45% { opacity: .7; }
  100% { opacity: .1; transform: scale(1.2); }
}

@keyframes discordGlow {
  0% { opacity: 0; transform: scale(.7); }
  40% { opacity: 1; }
  100% { opacity: .46; transform: scale(1.18); }
}

@keyframes discordRise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes discordSlide {
  from { opacity: 0; transform: translateX(-18px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes discordLogoLaunch {
  0% { transform: translate3d(-16px, 18px, 0) rotate(-14deg) scale(.72); }
  58% { transform: translate3d(0, -4px, 0) rotate(4deg) scale(1.06); }
  100% { transform: translate3d(0, 0, 0) rotate(-8deg) scale(1); }
}

@keyframes discordSpark {
  from { opacity: 0; transform: translateX(-10px) scaleX(.3); }
  to { opacity: 1; transform: translateX(0) scaleX(1); }
}

@keyframes discordWidgetIn {
  0% { opacity: 0; transform: translateX(24px) scale(.92) rotateY(-8deg); }
  60% { opacity: 1; transform: translateX(0) scale(1.02) rotateY(0deg); }
  100% { opacity: 1; transform: translateX(0) scale(1) rotateY(0deg); }
}

@media (max-width: 1199.98px) {
  .nav-menu {
    margin-top: 14px;
    padding: 14px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(7, 11, 20, 0.92);
    box-shadow: var(--site-shadow-soft);
  }

  .nav-shell {
    min-height: var(--nav-h);
    align-items: center;
    flex-wrap: wrap;
  }

  .nav-menu-links {
    align-items: stretch;
    margin-bottom: 12px;
  }

  .nav-actions {
    width: 100%;
  }

  .nav-capsule {
    width: 100%;
    justify-content: center;
  }

  .discord-offer-dialog {
    grid-template-columns: 1fr;
    max-height: calc(100vh - 48px);
    overflow: auto;
  }

  .discord-offer-widget {
    transform: translateY(24px) scale(.96);
  }

  .discord-offer.is-open .discord-offer-widget {
    animation: discordMobileWidgetIn .7s cubic-bezier(.2,.9,.2,1) .42s forwards;
  }
}

@media (max-width: 991.98px) {
  .topbar-bg,
  .nav-fixed,
  .nav-spacer {
    height: var(--nav-h-m);
  }

  .nav-shell {
    min-height: var(--nav-h-m);
  }

  .nav-brand-mark {
    width: 50px;
    height: 50px;
    border-radius: 16px;
  }

  .site-footer-inner,
  .site-footer-grid,
  .auth-grid {
    grid-template-columns: 1fr;
  }

  .site-footer-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .discord-offer {
    padding: 14px;
  }
}

@media (max-width: 767.98px) {
  .nav-brand-sub {
    display: none;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-edge,
  .btn-solid,
  .quick-links .quick-actions a {
    width: 100%;
  }

  .quick-links,
  .site-footer-inner,
  .auth-card,
  .auth-hero {
    padding: 22px;
  }

  .auth-shell {
    padding: 92px 0 58px;
  }

  .discord-dock {
    right: 14px;
    bottom: 14px;
    min-height: 48px;
    padding: 0 14px;
  }

  .discord-dock span {
    display: none;
  }

  .discord-offer-dialog {
    padding: 18px;
    border-radius: 24px;
  }

  .discord-offer-logo {
    width: 64px;
    height: 64px;
    border-radius: 20px;
    font-size: 1.7rem;
  }

  .discord-offer-copy h2 {
    font-size: 1.85rem;
  }

  .discord-offer-actions {
    flex-direction: column;
  }

  .discord-offer-primary,
  .discord-offer-secondary {
    width: 100%;
  }
}

@keyframes discordMobileWidgetIn {
  0% { opacity: 0; transform: translateY(24px) scale(.92); }
  60% { opacity: 1; transform: translateY(0) scale(1.02); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.table-responsive {
  border-radius: 20px;
  -webkit-overflow-scrolling: touch;
}

.table-responsive > .table {
  margin-bottom: 0;
}

.krp__zUpKLC6X9X {
  padding-top: clamp(28px, 4vw, 54px);
  padding-bottom: clamp(42px, 6vw, 80px);
}

.krp__ZbY9X23qd3 {
  padding: clamp(22px, 3vw, 34px);
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background:
    radial-gradient(420px 180px at 0% 0%, rgba(255, 180, 84, 0.14), transparent 70%),
    radial-gradient(420px 180px at 100% 0%, rgba(52, 210, 255, 0.12), transparent 72%),
    rgba(10, 16, 30, 0.82);
  box-shadow: var(--site-shadow);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.krp__auth-visual {
  min-height: 480px;
}

.krp__OccCB1651G {
  width: min(100%, 720px);
  object-fit: contain;
  position: absolute;
  top: -72px;
  right: 0;
}

.donate-panel {
  margin-inline: auto;
}

.donate-panel #donateForm,
.krp__ZbY9X23qd3 form {
  width: 100%;
}

.donate-panel #donate_btn {
  width: 100%;
  min-height: 52px;
}

body.ugta-profile-page .row,
body.ugta-rating-page .row,
body.ugta-boombox-page .row {
  row-gap: 24px;
}

body.ugta-profile-page .list-group-item,
body.ugta-rating-page .table td,
body.ugta-rating-page .table th {
  word-break: break-word;
}

@media (min-width: 1400px) {
  .site-footer-inner,
  .quick-links,
  .discord-offer-dialog {
    border-radius: 32px;
  }

  .krp__auth-visual {
    min-height: 560px;
  }
}

@media (max-width: 1199.98px) {
  .nav-menu-links .nav-item,
  .nav-menu-links .nav-link {
    width: 100%;
  }

  .nav-actions .btn-edge,
  .nav-actions .btn-solid {
    flex: 1 1 220px;
  }

  .site-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .krp__auth-visual {
    min-height: 420px;
  }
}

@media (max-width: 991.98px) {
  .krp__zUpKLC6X9X {
    padding-top: 26px;
    padding-bottom: 50px;
  }

  .krp__ZbY9X23qd3 {
    margin-inline: auto;
  }

  .krp__auth-visual {
    min-height: 340px;
    order: 2;
  }

  .krp__OccCB1651G {
    position: relative;
    top: 0;
    right: auto;
    width: min(100%, 480px);
    margin: 0 auto;
  }

  .discord-widget-shell iframe {
    max-width: none;
    height: min(500px, 60vh);
  }
}

@media (max-width: 767.98px) {
  .nav-shell {
    gap: 14px;
  }

  .nav-brand {
    max-width: calc(100% - 74px);
  }

  .nav-brand-title {
    font-size: 0.94rem;
  }

  .nav-menu {
    padding: 12px;
  }

  .navbar .nav-link {
    width: 100%;
    justify-content: flex-start;
  }

  .quick-links,
  .site-footer-inner,
  .auth-card,
  .auth-hero,
  .krp__ZbY9X23qd3 {
    border-radius: 22px;
    padding: 20px;
  }

  .site-footer-grid {
    grid-template-columns: 1fr;
  }

  .site-footer-bar {
    padding-top: 16px;
  }

  .auth-actions,
  .quick-links .quick-actions {
    flex-direction: column;
  }

  .auth-actions > *,
  .quick-links .quick-actions a,
  .donate-panel #donate_btn {
    width: 100%;
  }

  .krp__auth-visual {
    min-height: 0;
  }

  .krp__OccCB1651G {
    width: min(100%, 320px);
  }

  .table-responsive {
    margin-inline: -4px;
  }

  .table-responsive > .table {
    min-width: 640px;
  }

  .discord-offer {
    align-items: flex-start;
  }

  .discord-offer-dialog {
    width: min(100%, 100%);
    max-height: calc(100vh - 28px);
    max-height: calc(100svh - 28px);
  }

  .discord-widget-shell {
    padding: 10px;
    border-radius: 22px;
  }

  .discord-widget-shell iframe {
    height: min(460px, 56vh);
  }
}

@media (max-width: 575.98px) {
  .krp__zUpKLC6X9X {
    padding-top: 18px;
    padding-bottom: 38px;
  }

  .krp__ZbY9X23qd3 {
    padding: 18px;
  }

  .krp__ZbY9X23qd3 .g-recaptcha {
    transform: scale(0.92);
    transform-origin: left top;
  }

  .discord-offer {
    padding: 10px;
  }

  .discord-offer-dialog {
    padding: 16px;
    border-radius: 20px;
  }

  .discord-offer-copy h2 {
    font-size: 1.55rem;
  }

  .discord-offer-point {
    padding: 12px 14px;
  }

  .discord-widget-shell iframe {
    height: min(420px, 52vh);
  }
}
