*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root {
  --bg: #0f172a;
  --accent: #38bdf8;
  --accent2: #0ea5e9;
  --glass: rgba(255, 255, 255, 0.04);
  --glass-border: rgba(56, 189, 248, 0.13);
  --muted: rgba(255, 255, 255, 0.45);
  --nitro: #a78bfa;
  --nitro2: #7c3aed;
}
body {
  min-height: 100vh;
  background: linear-gradient(-45deg, #0f172a, #0b1f3a, #0f172a, #112240);
  background-size: 400% 400%;
  animation: gradMove 12s ease infinite;
  color: white;
  font-family: "Inter", "Segoe UI", sans-serif;
  display: flex;
  flex-direction: column;
}
@keyframes gradMove {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.hidden {
  display: none !important;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 60px;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(56, 189, 248, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(15, 23, 42, 0.7);
  animation: fadeInDown 0.6s ease-out;
}
.logo {
  font-size: 24px;
  font-weight: 800;
  cursor: pointer;
  animation: slideInLeft 0.6s ease-out;
}
.logo span:first-child {
  color: white;
}
.logo span:last-child {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-right a {
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: 0.25s;
  animation: slideInRight 0.6s ease-out backwards;
}
.nav-right a:nth-child(1) {
  animation-delay: 0.1s;
}
.nav-right a:nth-child(2) {
  animation-delay: 0.2s;
}
.nav-right a:nth-child(3) {
  animation-delay: 0.3s;
}
.nav-right a:nth-child(4) {
  animation-delay: 0.4s;
}
.btn-login {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #0f172a !important;
}
.btn-login:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.4);
}
.btn-reg {
  background: rgba(56, 189, 248, 0.08) !important;
  color: var(--accent) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
}
.btn-reg:hover {
  background: rgba(56, 189, 248, 0.15) !important;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.3);
}
.btn-nitro {
  background: linear-gradient(
    135deg,
    rgba(167, 139, 250, 0.15),
    rgba(124, 58, 237, 0.1)
  ) !important;
  color: var(--nitro) !important;
  border: 1px solid rgba(167, 139, 250, 0.3) !important;
}
.btn-nitro:hover {
  background: linear-gradient(
    135deg,
    rgba(167, 139, 250, 0.25),
    rgba(124, 58, 237, 0.2)
  ) !important;
  transform: scale(1.05) translateY(-2px) !important;
  box-shadow: 0 4px 20px rgba(167, 139, 250, 0.3) !important;
}
.btn-dl {
  background: rgba(56, 189, 248, 0.08) !important;
  color: var(--accent) !important;
  border: 1px solid rgba(56, 189, 248, 0.2) !important;
}
.btn-dl:hover {
  background: rgba(56, 189, 248, 0.15) !important;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.3);
}
.btn-logout {
  background: rgba(239, 68, 68, 0.1) !important;
  color: #f87171 !important;
  border: 1px solid rgba(239, 68, 68, 0.25) !important;
}
.btn-logout:hover {
  background: rgba(239, 68, 68, 0.2) !important;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 4px 20px rgba(239, 68, 68, 0.3);
}
.nav-username {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 6px 14px;
  border-radius: 8px;
  animation: fadeInUp 0.6s ease-out backwards;
}

.hero {
  text-align: center;
  padding: 90px 20px 60px;
  animation: fadeInUp 0.8s ease-out;
}
.hero h1 {
  font-size: clamp(3rem, 8vw, 5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  animation: fadeInUp 0.8s ease-out 0.1s backwards;
}
.hero h1 span:first-child {
  color: white;
}
.hero h1 span:last-child {
  color: var(--accent);
  animation: glow 2.8s ease-in-out infinite;
}
.hero p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease-out 0.2s backwards;
}
.hero-btns a {
  text-decoration: none;
  padding: 10px 20px;
  margin: 6px;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  transition: 0.3s;
  display: inline-block;
  animation: scaleIn 0.6s ease-out backwards;
}
.hero-btns a:nth-child(1) {
  animation-delay: 0.35s;
}
.hero-btns a:nth-child(2) {
  animation-delay: 0.45s;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #0f172a;
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.3);
}
.btn-primary:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.4);
}
.btn-ghost {
  background: rgba(56, 189, 248, 0.08);
  color: var(--accent);
  border: 1px solid rgba(56, 189, 248, 0.3);
}
.btn-ghost:hover {
  background: rgba(56, 189, 248, 0.15);
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.3);
}
.badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}
.badge {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 5px 13px;
  border-radius: 20px;
  animation: fadeInUp 0.6s ease-out backwards;
}
.badge:nth-child(1) {
  animation-delay: 0.5s;
}
.badge:nth-child(2) {
  animation-delay: 0.55s;
}
.badge:nth-child(3) {
  animation-delay: 0.6s;
}
.badge:nth-child(4) {
  animation-delay: 0.65s;
}
.badge:nth-child(5) {
  animation-delay: 0.7s;
}

.cards-section {
  padding: 10px 60px 60px;
  animation: fadeInUp 0.8s ease-out 0.3s backwards;
}
.section-label {
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  animation: fadeInUp 0.6s ease-out backwards;
}
.section-title {
  text-align: center;
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  margin-bottom: 44px;
  animation: fadeInUp 0.6s ease-out 0.1s backwards;
}
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
  max-width: 1080px;
  margin: 0 auto;
}
.card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(18px);
  border-radius: 20px;
  padding: 1.8rem 1.6rem;
  transition: 0.3s;
  animation: scaleIn 0.6s ease-out backwards;
}
.card:nth-child(1) {
  animation-delay: 0.2s;
}
.card:nth-child(2) {
  animation-delay: 0.3s;
}
.card:nth-child(3) {
  animation-delay: 0.4s;
}
.card:nth-child(4) {
  animation-delay: 0.5s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 36px rgba(56, 189, 248, 0.13);
  border-color: rgba(56, 189, 248, 0.28);
}
.card-icon {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.22);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  margin-bottom: 1.1rem;
}
.card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}
.card-tag {
  display: inline-block;
  margin-top: 1.1rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  padding: 3px 9px;
  border-radius: 6px;
}

.dashboard {
  padding: 40px 60px 80px;
  flex: 1;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  animation: fadeInUp 0.8s ease-out;
}
.dash-header {
  margin-bottom: 32px;
  animation: fadeInUp 0.8s ease-out 0.1s backwards;
}
.dash-header h2 {
  font-size: 2rem;
  font-weight: 800;
}
.dash-header h2 span {
  color: var(--accent);
}
.dash-header p {
  color: var(--muted);
  margin-top: 6px;
}
.dash-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}
.dash-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  border-radius: 18px;
  padding: 1.5rem;
  transition: 0.3s;
  animation: scaleIn 0.6s ease-out backwards;
}
.dash-card:nth-child(1) {
  animation-delay: 0.2s;
}
.dash-card:nth-child(2) {
  animation-delay: 0.3s;
}
.dash-card:nth-child(3) {
  animation-delay: 0.4s;
}
.dash-card:nth-child(4) {
  animation-delay: 0.5s;
}
.dash-card:hover {
  border-color: rgba(56, 189, 248, 0.28);
  transform: translateY(-3px);
}
.dash-card.big {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}
.dash-card-icon {
  font-size: 28px;
  margin-bottom: 0.6rem;
}
.dash-card.big .dash-card-icon {
  font-size: 36px;
  margin-bottom: 0;
}
.dash-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}
.dash-card p {
  font-size: 0.83rem;
  color: var(--muted);
}
.dash-num {
  font-size: 2rem !important;
  font-weight: 800 !important;
  color: white !important;
  line-height: 1;
  margin: 4px 0 !important;
}
.dash-hint {
  font-size: 0.75rem !important;
  color: var(--muted) !important;
}
.dash-btn {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #0f172a;
  transition: 0.25s;
}
.dash-btn:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.4);
}
.dash-section-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.8);
  animation: fadeInUp 0.6s ease-out 0.3s backwards;
}
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}
.game-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  cursor: pointer;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px;
  animation: fadeInUp 0.6s ease-out backwards;
}
.game-card:nth-child(1) {
  animation-delay: 0.65s;
}
.game-card:nth-child(2) {
  animation-delay: 0.75s;
}
.game-card:nth-child(3) {
  animation-delay: 0.85s;
}
.game-card:nth-child(4) {
  animation-delay: 0.95s;
}
.game-card:nth-child(5) {
  animation-delay: 1.05s;
}
.game-card:nth-child(6) {
  animation-delay: 1.15s;
}
.game-card:hover {
  border-color: rgba(56, 189, 248, 0.3);
  transform: translateY(-3px);
}
.game-card.added {
  border-color: rgba(34, 197, 94, 0.4);
  background: rgba(34, 197, 94, 0.05);
}
.game-thumb {
  width: 44px;
  height: 44px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}
.game-info {
  flex: 1;
}
.game-info strong {
  display: block;
  font-size: 0.86rem;
  font-weight: 700;
}
.game-info span {
  font-size: 0.73rem;
  color: var(--muted);
}
.game-add {
  width: 26px;
  height: 26px;
  border-radius: 7px;
  border: 1px solid rgba(56, 189, 248, 0.3);
  background: rgba(56, 189, 248, 0.08);
  color: var(--accent);
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: 0.2s;
  flex-shrink: 0;
}
.game-add:hover {
  transform: scale(1.05) translateY(-2px);
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 4px 12px rgba(56, 189, 248, 0.25);
}
.game-add.added {
  background: rgba(34, 197, 94, 0.15);
  border-color: rgba(34, 197, 94, 0.35);
  color: #4ade80;
}

/* MODAL OVERLAY */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow-y: auto;
  animation: fadeIn 0.3s ease-out;
}
.overlay.hidden {
  display: none !important;
}

/* AUTH MODAL */
.auth-modal {
  background: #0f1c2e;
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 24px;
  padding: 2.6rem 2.8rem;
  width: 100%;
  max-width: 440px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  animation: modalIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  flex-shrink: 0;
}
.auth-logo {
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 1.4rem;
}
.auth-logo span:first-child {
  color: white;
}
.auth-logo span:last-child {
  color: var(--accent);
  text-shadow: 0 0 10px var(--accent);
}
.auth-modal h2 {
  font-size: 1.5rem;
  font-weight: 800;
  text-align: center;
  margin-bottom: 6px;
}
.auth-sub {
  text-align: center;
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 1.8rem;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: none;
  color: rgba(255, 255, 255, 0.5);
  width: 30px;
  height: 30px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  transition: 0.2s;
}
.modal-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  transform: scale(1.08);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}
.alert {
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 1.2rem;
}
.alert.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
}
.alert.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ade80;
}
.input-group {
  margin-bottom: 1.1rem;
}
.input-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 6px;
}
.input-group input {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  transition: 0.25s;
}
.input-group input:focus {
  border-color: rgba(56, 189, 248, 0.5);
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.1);
}
.input-group input::placeholder {
  color: rgba(255, 255, 255, 0.25);
}
.input-wrap {
  position: relative;
}
.input-wrap input {
  padding-right: 42px;
}
.toggle-pw {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  font-size: 15px;
  opacity: 0.5;
}
.strength-bar {
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  margin-top: 8px;
  overflow: hidden;
}
#strengthFill {
  height: 100%;
  width: 0;
  border-radius: 2px;
  transition:
    width 0.35s,
    background 0.35s;
}
.strength-label {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 4px;
  display: block;
}
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 1.2rem;
}
.checkbox-group input {
  margin-top: 3px;
  accent-color: var(--accent);
  cursor: pointer;
}
.checkbox-group label {
  font-size: 0.83rem;
  color: var(--muted);
}
.checkbox-group a {
  color: var(--accent);
  text-decoration: none;
}
.submit-btn {
  width: 100%;
  padding: 13px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #0f172a;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: 0.25s;
}
.submit-btn:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 4px 20px rgba(56, 189, 248, 0.4);
}
.spinner {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 2px solid rgba(15, 23, 42, 0.3);
  border-top-color: #0f172a;
  animation: spin 0.7s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.auth-switch {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 1.4rem;
}
.auth-switch a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
}

/* NITRO MODAL */
.nitro-modal {
  background: linear-gradient(160deg, #0d1b2e, #0f172a, #120a2e);
  border: 1px solid rgba(167, 139, 250, 0.25);
  border-radius: 28px;
  padding: 3rem 2.8rem 2.5rem;
  width: 100%;
  max-width: 860px;
  position: relative;
  box-shadow:
    0 0 80px rgba(167, 139, 250, 0.15),
    0 30px 80px rgba(0, 0, 0, 0.6);
  animation: modalIn 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  flex-shrink: 0;
}
.nitro-overlay {
  align-items: flex-start !important;
  padding: 40px 20px 80px !important;
}
.nm-header {
  text-align: center;
  margin-bottom: 2rem;
}
.nm-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 0 30px rgba(167, 139, 250, 0.4);
  animation: iconGlow 2.5s ease-in-out infinite;
}
@keyframes iconGlow {
  0%,
  100% {
    box-shadow: 0 0 28px rgba(167, 139, 250, 0.4);
  }
  50% {
    box-shadow: 0 0 50px rgba(167, 139, 250, 0.65);
  }
}
.nm-title {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
}
.nm-title span {
  color: #a78bfa;
  text-shadow: 0 0 20px rgba(167, 139, 250, 0.6);
}
.nm-sub {
  color: var(--muted);
  font-size: 0.95rem;
  margin-top: 8px;
}
.nm-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 2.5rem;
}
.nm-pill {
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.25);
  color: #c4b5fd;
  padding: 7px 16px;
  border-radius: 20px;
  opacity: 0;
  animation: pillPop 0.4s cubic-bezier(0.22, 1, 0.36, 1) var(--d) forwards;
}
@keyframes pillPop {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
.nm-plans {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  max-width: 680px;
  margin: 0 auto 1.5rem;
}
.nm-plan {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(167, 139, 250, 0.12);
  border-radius: 20px;
  padding: 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  opacity: 0;
  animation: cardSlide 0.5s cubic-bezier(0.22, 1, 0.36, 1) var(--d) forwards;
  transition: 0.3s;
}
.nm-plan:hover {
  border-color: rgba(167, 139, 250, 0.3);
  transform: translateY(-5px);
}
.nm-plan.plus {
  border-color: rgba(167, 139, 250, 0.4) !important;
  background: linear-gradient(
    160deg,
    rgba(167, 139, 250, 0.09),
    rgba(15, 23, 42, 0.95)
  ) !important;
}
@keyframes cardSlide {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.nm-plan-name {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.35);
}
.nm-plan-name.plus {
  color: #c4b5fd;
}
.nm-price-block {
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.nm-price {
  font-size: 2.4rem;
  font-weight: 900;
}
.nm-period {
  font-size: 0.85rem;
  color: var(--muted);
}
.nm-plan-desc {
  font-size: 0.78rem;
  color: var(--muted);
}
.nm-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.07);
}
.nm-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.nm-perks li {
  font-size: 0.83rem;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.fi-y {
  color: #a78bfa;
  font-weight: 700;
  flex-shrink: 0;
}
.fi-n {
  color: rgba(255, 255, 255, 0.18);
  flex-shrink: 0;
}
.nm-cta {
  display: block;
  text-align: center;
  text-decoration: none;
  padding: 12px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.88rem;
  transition: 0.25s;
}
.nm-cta.solid {
  background: linear-gradient(135deg, #a78bfa, #7c3aed);
  color: white;
  box-shadow: 0 4px 20px rgba(167, 139, 250, 0.3);
}
.nm-cta.solid:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 8px 30px rgba(167, 139, 250, 0.5);
}
.nm-cta.ghost {
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.nm-cta.ghost:hover {
  background: rgba(255, 255, 255, 0.09);
  color: white;
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.15);
}
.nm-guarantee {
  text-align: center;
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.25);
  margin-top: 8px;
}
.nm-footer {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.2);
}

/* DOWNLOAD MODAL */
.dl-modal {
  background: #0f1c2e;
  border: 1px solid rgba(56, 189, 248, 0.18);
  border-radius: 24px;
  padding: 2.5rem 2.2rem;
  width: 100%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
  animation: modalIn 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  flex-shrink: 0;
}
.dl-modal-header {
  text-align: center;
  margin-bottom: 1.6rem;
}
.dl-modal-icon {
  font-size: 2.2rem;
  margin-bottom: 10px;
}
.dl-modal-header h2 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 6px;
}
.dl-modal-header p {
  font-size: 0.88rem;
  color: var(--muted);
}
.dl-group {
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  margin: 14px 0 9px;
}
.dl-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.dl-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(56, 189, 248, 0.12);
  border-radius: 13px;
  padding: 13px 15px;
  transition: 0.25s;
  color: white;
}
.dl-btn:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.4);
  transform: translateX(4px) scale(1.02);
  box-shadow: 0 4px 15px rgba(56, 189, 248, 0.25);
}
.dl-icon {
  font-size: 24px;
  flex-shrink: 0;
}
.dl-info {
  flex: 1;
}
.dl-info strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
}
.dl-info span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
}
.dl-arrow {
  font-size: 0.9rem;
  color: var(--accent);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.2);
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}
.dl-version {
  text-align: center;
  margin-top: 1.2rem;
  font-size: 0.73rem;
  color: rgba(255, 255, 255, 0.2);
}

footer {
  text-align: center;
  padding: 22px;
  background: rgba(0, 0, 0, 0.2);
  font-size: 13px;
  color: rgba(255, 255, 255, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}
footer .footer-social {
  margin-left: 12px;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
footer .footer-social:hover {
  color: #00d4ff;
  transform: scale(1.1);
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}
footer .footer-link {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: 0.25s;
  margin: 0 12px;
  font-weight: 600;
}
footer .footer-link:hover {
  color: #00d4ff;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}
footer .tiktok-icon {
  width: 18px;
  height: 18px;
  fill: currentColor;
  flex-shrink: 0;
}

@keyframes glow {
  0%,
  100% {
    text-shadow: 0 0 10px rgba(56, 189, 248, 0.4);
  }
  50% {
    text-shadow: 0 0 28px rgba(56, 189, 248, 0.8);
  }
}
@keyframes modalIn {
  from {
    opacity: 0;
    transform: scale(0.92) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@media (max-width: 900px) {
  .dash-grid {
    grid-template-columns: 1fr 1fr;
  }
  .dash-card.big {
    grid-column: span 2;
  }
  .dashboard,
  .cards-section {
    padding-left: 24px;
    padding-right: 24px;
  }
}
@media (max-width: 640px) {
  nav {
    padding: 14px 18px;
  }
  .nm-plans {
    grid-template-columns: 1fr;
  }
  .auth-modal,
  .nitro-modal {
    padding: 2rem 1.4rem;
  }
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 640px) {
  /* NAV */
  nav {
    padding: 12px 16px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .nav-right {
    gap: 6px;
    flex-wrap: wrap;
  }
  .nav-right a {
    padding: 7px 12px;
    font-size: 0.78rem;
  }
  .btn-nitro,
  .btn-dl {
    display: none; /* Auf Handy ausblenden um Platz zu sparen */
  }

  /* HERO */
  .hero {
    padding: 50px 16px 40px;
  }
  .hero h1 {
    font-size: 2.8rem;
  }
  .hero p {
    font-size: 0.95rem;
  }
  .hero-btns {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  .hero-btns a {
    width: 100%;
    max-width: 280px;
    text-align: center;
    margin: 0;
  }
  .badges {
    gap: 7px;
  }

  /* CARDS */
  .cards-section {
    padding: 10px 16px 40px;
  }
  .cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .card {
    padding: 1.4rem 1.2rem;
  }

  /* DASHBOARD */
  .dashboard {
    padding: 20px 16px;
  }
  .dash-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .dash-card.big {
    grid-column: span 2;
    flex-direction: column;
    align-items: flex-start;
  }
  .dash-card {
    padding: 1rem;
  }
  .game-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* MODALS */
  .overlay {
    padding: 16px !important;
    align-items: flex-start !important;
  }
  .auth-modal,
  .dl-modal {
    padding: 1.6rem 1.2rem;
    border-radius: 18px;
    margin-top: 10px;
  }
  .nitro-modal {
    padding: 1.6rem 1.2rem;
    border-radius: 18px;
  }
  .nitro-overlay {
    padding: 16px 16px 60px !important;
  }
  .nm-plans {
    grid-template-columns: 1fr;
  }
  .nm-title {
    font-size: 1.8rem;
  }

  /* FOOTER */
  footer {
    padding: 16px;
    font-size: 11px;
  }
}

/* Sehr kleine Handys (z.B. iPhone SE) */
@media (max-width: 380px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .nav-right a {
    padding: 6px 9px;
    font-size: 0.72rem;
  }
  .dash-grid {
    grid-template-columns: 1fr;
  }
  .dash-card.big {
    grid-column: span 1;
  }
}

.btn-lang {
  min-width: 64px;
  justify-content: center;
}

@media (max-width: 640px) {
  .nav-right {
    flex-wrap: nowrap; /* Kein Umbrechen */
    overflow: hidden;
  }
  .btn-lang {
    min-width: 58px;
    justify-content: center;
    flex-shrink: 0; /* Schrumpft nicht */
  }
}

/* ===== NOTIFICATION BELL ===== */
.btn-notif {
  position: relative;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.2);
  color: var(--accent);
  width: 36px;
  height: 36px;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s;
  flex-shrink: 0;
}
.btn-notif:hover {
  background: rgba(56, 189, 248, 0.15);
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.3);
}
.notif-badge {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #ef4444;
  color: white;
  font-size: 10px;
  font-weight: 700;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0f172a;
}

/* ===== PROFILE MODAL ===== */
.profile-avatar-wrap {
  position: relative;
  width: 88px;
  height: 88px;
  margin: 0 auto;
}
.profile-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 900;
  color: #0f172a;
  position: relative;
  z-index: 1;
}
.profile-avatar-glow {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  opacity: 0.25;
  filter: blur(10px);
  z-index: 0;
}
.profile-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.profile-stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(56, 189, 248, 0.12);
  border-radius: 14px;
  padding: 14px 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.profile-stat-num {
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--accent);
}
.profile-stat-label {
  font-size: 0.72rem;
  color: var(--muted);
}
.profile-plan-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(167, 139, 250, 0.1);
  border: 1px solid rgba(167, 139, 250, 0.25);
  color: #c4b5fd;
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  width: fit-content;
  margin: 0 auto;
}

/* ===== NOTIFICATIONS LIST ===== */
.notif-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 320px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(56, 189, 248, 0.3) transparent;
}
.notif-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 32px 0;
  color: var(--muted);
  font-size: 0.85rem;
}
.notif-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(56, 189, 248, 0.1);
  border-radius: 12px;
  padding: 12px;
  animation: fadeInUp 0.3s ease-out;
}
.notif-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.notif-text strong {
  display: block;
  font-size: 0.83rem;
  margin-bottom: 2px;
}
.notif-text span {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ===== DASHBOARD PROGRESS BARS ===== */
.dash-progress {
  margin-top: 8px;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  overflow: hidden;
}
.dash-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent), var(--accent2));
  border-radius: 2px;
  transition: width 1s ease;
}

/* XSOLLA READY BUTTON */
.xsolla-coming {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.7rem;
  color: rgba(167, 139, 250, 0.5);
  margin-top: 6px;
  font-style: italic;
}

@media (max-width: 480px) {
  .btn-notif {
    width: 32px;
    height: 32px;
  }
}
@media (max-width: 480px) {
  nav {
    padding: 10px 12px;
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  .logo {
    font-size: 18px;
    flex-shrink: 0;
  }
  .nav-right {
    flex-wrap: nowrap;
    gap: 5px;
    align-items: center;
    flex-shrink: 0;
  }
  .nav-right a,
  .nav-right button {
    padding: 6px 10px;
    font-size: 0.72rem;
    white-space: nowrap;
  }
  .btn-login {
    padding: 6px 10px !important;
    font-size: 0.72rem !important;
  }
  .btn-reg {
    padding: 6px 10px !important;
    font-size: 0.72rem !important;
  }
  .btn-lang {
    padding: 6px 8px !important;
    font-size: 0.72rem !important;
    min-width: auto !important;
  }
  .btn-nitro,
  .btn-dl {
    display: none !important;
  }
}

@media (max-width: 360px) {
  .logo {
    font-size: 16px;
  }
  .nav-right a,
  .nav-right button {
    padding: 5px 8px;
    font-size: 0.68rem;
  }
  .btn-login {
    padding: 5px 8px !important;
    font-size: 0.68rem !important;
  }
  .btn-reg {
    padding: 5px 8px !important;
    font-size: 0.68rem !important;
  }
}
