:root {
  --bg: #0b0b10;
  --bg-soft: #141421;
  --accent: #f7b500;
  --accent-2: #e84a5f;
  --accent-strong: #ffd24d;
  --accent-deep: #b86d00;
  --accent-cool: #6f8cff;
  --text: #f4f4f6;
  --muted: #a1a1b0;
  --border: rgba(255, 255, 255, 0.08);
  --shadow: 0 25px 70px rgba(0, 0, 0, 0.45);
  --surface: rgba(18, 18, 30, 0.9);
  --surface-strong: rgba(22, 22, 36, 0.95);
  --radius-lg: 22px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: radial-gradient(circle at 10% 10%, rgba(248, 181, 0, 0.12), transparent 45%),
    radial-gradient(circle at 90% 20%, rgba(232, 74, 95, 0.12), transparent 40%),
    linear-gradient(135deg, #0b0b10 0%, #0f1020 50%, #0b0b10 100%);
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1150px, 92vw);
  margin: 0 auto;
}

.bg-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  z-index: 0;
}

.orb-a {
  width: 320px;
  height: 320px;
  background: rgba(248, 181, 0, 0.45);
  top: -120px;
  right: -80px;
  animation: float 14s ease-in-out infinite;
}

.orb-b {
  width: 260px;
  height: 260px;
  background: rgba(232, 74, 95, 0.35);
  bottom: -110px;
  left: -70px;
  animation: float 18s ease-in-out infinite reverse;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 120px 120px;
  opacity: 0.3;
  pointer-events: none;
  z-index: 0;
}

.bg-sheen {
  position: fixed;
  inset: -40% -10%;
  background: conic-gradient(from 140deg, transparent, rgba(111, 140, 255, 0.08), transparent 45%);
  opacity: 0.5;
  z-index: 0;
  animation: spin 30s linear infinite;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  backdrop-filter: blur(14px);
  background: rgba(9, 9, 14, 0.72);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  z-index: 10;
  animation: fade-in 0.8s ease both;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: 1px;
  font-size: 22px;
}

.brand-mark {
  background: var(--accent);
  color: #111;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 18px;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.nav-link {
  color: var(--muted);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 6px 8px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.nav-link.is-active {
  color: #111;
  background: #7a5cff;
}

.header-actions {
  display: flex;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: #7a5cff;
  color: #111;
}

.btn-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, 0.35) 50%, transparent 100%);
  transform: translateX(-120%);
  transition: transform 0.6s ease;
}

.btn-primary:hover::after {
  transform: translateX(120%);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow);
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
}

.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

main {
  position: relative;
  z-index: 1;
}

.hero {
  padding: 90px 0 60px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
  align-items: center;
}

.hero h1 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(38px, 8vw, 78px);
  margin: 0 0 16px;
  letter-spacing: 2px;
  text-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.hero p {
  color: var(--muted);
  font-size: 18px;
  margin: 0 0 24px;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(26, 26, 40, 0.95), rgba(12, 12, 22, 0.95));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow);
  animation: rise 0.9s ease both;
}

.hero-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(255, 210, 77, 0.18), transparent 55%);
  pointer-events: none;
}

.section {
  padding: 70px 0;
}

.page-hero {
  padding: 90px 0 50px;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 30px;
}

.section-title-center {
  text-align: center;
  margin: 0 auto 40px;
  max-width: 720px;
}

.section-title-center h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(38px, 6vw, 64px);
  margin: 0 0 10px;
  letter-spacing: 2px;
}

.section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 36px;
  margin: 0;
  letter-spacing: 2px;
}

.section p {
  color: var(--muted);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, rgba(24, 24, 38, 0.96), rgba(10, 10, 18, 0.96));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 22px;
  min-height: 170px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  animation: rise 0.9s ease both;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(140deg, rgba(111, 140, 255, 0.4), rgba(255, 210, 77, 0.2), transparent 60%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(130deg, rgba(255, 210, 77, 0.12), transparent 45%);
  opacity: 0.8;
  pointer-events: none;
}

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

.card:hover::before {
  opacity: 1;
}

.card h3 {
  margin-top: 0;
}

.card p {
  color: var(--muted);
}

.banner {
  background: linear-gradient(120deg, rgba(248, 181, 0, 0.2), rgba(232, 74, 95, 0.2));
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 26px;
  animation: rise 0.9s ease both;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.stat {
  background: rgba(0, 0, 0, 0.35);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.stat strong {
  display: block;
  font-size: 26px;
  color: var(--accent);
}

.form-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 26px;
}

form {
  display: grid;
  gap: 16px;
}

label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
}

input,
textarea,
select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(8, 8, 14, 0.9);
  color: var(--text);
  font-family: inherit;
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.support-only {
  display: none;
}

.notice {
  padding: 14px 18px;
  border-radius: 12px;
  background: rgba(248, 181, 0, 0.12);
  border: 1px solid rgba(248, 181, 0, 0.4);
  color: var(--text);
}

.details-list {
  display: grid;
  gap: 12px;
}

details {
  background: rgba(18, 18, 28, 0.9);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 16px 20px;
}

details summary {
  cursor: pointer;
  font-weight: 600;
}

details p {
  color: var(--muted);
}

.site-footer {
  border-top: 1px solid var(--border);
  background: rgba(9, 9, 14, 0.9);
  padding: 50px 0 30px;
  margin-top: 60px;
}

.auth-card {
  max-width: 460px;
  margin: 0 auto;
  text-align: center;
}

.portal-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 16px;
  margin: 24px 0 18px;
}

.portal-stat {
  background: linear-gradient(160deg, rgba(24, 24, 38, 0.96), rgba(10, 10, 18, 0.96));
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
}

.portal-stat strong {
  display: block;
  font-size: 24px;
  color: var(--accent-cool);
}

.portal-header {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.portal-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  padding: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(22, 24, 44, 0.95), rgba(12, 12, 22, 0.95));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  align-items: center;
}

.portal-hero h2 {
  margin: 0 0 6px;
}

.portal-user {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.portal-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 18px;
  border-radius: 16px;
  background: rgba(15, 16, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.portal-topbar h3 {
  margin: 0;
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.portal-topbar .ticket-pills {
  margin: 0;
}

.portal-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.ticket-card {
  background: linear-gradient(160deg, rgba(18, 20, 38, 0.98), rgba(10, 12, 24, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.45);
  display: grid;
  gap: 12px;
  animation: rise 0.9s ease both;
}

.ticket-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.ticket-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
}

.ticket-title {
  font-weight: 600;
  font-size: 16px;
}

.ticket-meta {
  color: var(--muted);
  font-size: 13px;
}

.ticket-info {
  display: grid;
  gap: 6px;
  background: rgba(8, 10, 18, 0.65);
  border-radius: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ticket-info-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
}

.ticket-info-row span {
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 11px;
}

.ticket-details {
  background: rgba(8, 10, 18, 0.7);
  border-radius: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ticket-details summary {
  cursor: pointer;
  font-weight: 600;
}

.ticket-details p {
  color: var(--muted);
}

.ticket-body {
  background: rgba(8, 10, 18, 0.7);
  border-radius: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  gap: 6px;
}

.ticket-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ticket-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.ticket-actions {
  display: grid;
  gap: 10px;
}

.portal-grid .ticket-card:nth-child(1) {
  animation-delay: 0.05s;
}

.portal-grid .ticket-card:nth-child(2) {
  animation-delay: 0.1s;
}

.portal-grid .ticket-card:nth-child(3) {
  animation-delay: 0.15s;
}

.portal-grid .ticket-card:nth-child(4) {
  animation-delay: 0.2s;
}

.ticket-actions button[disabled],
.ticket-actions input[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
}

.ticket-actions input {
  border-radius: 12px;
}

.ticket-actions form {
  margin: 0;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}

.team-card {
  position: relative;
  padding: 28px 26px;
  border-radius: 22px;
  background: linear-gradient(160deg, rgba(18, 20, 38, 0.98), rgba(10, 12, 24, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  text-align: center;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  animation: rise 0.9s ease both;
}

.team-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(111, 140, 255, 0.2), transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.team-card:hover::after {
  opacity: 1;
}

.avatar-ring {
  width: 92px;
  height: 92px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background-image: var(--avatar-image, none), linear-gradient(130deg, rgba(111, 140, 255, 0.9), rgba(255, 210, 77, 0.8));
  background-size: cover;
  background-position: center;
  display: grid;
  place-items: center;
  padding: 4px;
  box-shadow: 0 10px 30px rgba(111, 140, 255, 0.35);
  animation: pulse 3.2s ease-in-out infinite;
}

.avatar-core {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.15), rgba(6, 8, 18, 0.9));
  display: grid;
  place-items: center;
  font-weight: 700;
  letter-spacing: 1px;
}

.team-card h3 {
  margin: 0 0 6px;
}

.role {
  margin: 0 0 12px;
  color: var(--accent-cool);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 1px;
}

.team-meta {
  color: var(--muted);
  font-size: 14px;
}

.team-links {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

.team-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  color: var(--text);
  font-size: 12px;
  transition: all 0.2s ease;
}

.team-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.team-link:hover {
  border-color: var(--accent-cool);
  color: var(--accent-cool);
  transform: translateY(-2px);
}

.blacklist-wrap {
  display: grid;
  gap: 16px;
}

.blacklist-row {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.3fr 0.6fr 0.8fr;
  gap: 16px;
  align-items: center;
  padding: 18px 20px;
  border-radius: 16px;
  background: linear-gradient(160deg, rgba(18, 20, 38, 0.98), rgba(10, 12, 24, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.4);
  animation: rise 0.9s ease both;
}

.blacklist-head {
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.tag.bad {
  color: #ffb6c1;
  border-color: rgba(255, 90, 110, 0.4);
  background: rgba(255, 90, 110, 0.12);
}

.tag.review {
  color: #b8c6ff;
  border-color: rgba(111, 140, 255, 0.4);
  background: rgba(111, 140, 255, 0.12);
}

.tag.safe {
  color: #a3f7bf;
  border-color: rgba(74, 232, 132, 0.35);
  background: rgba(74, 232, 132, 0.12);
}

.blacklist-meta {
  color: var(--muted);
  font-size: 13px;
}

.blacklist-row form {
  margin: 0;
}

.blacklist-row input[type='text'] {
  width: 100%;
  margin-top: 6px;
}

.portal-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}

.portal-filters .tag {
  cursor: pointer;
}

.portal-filters .blacklist-meta {
  margin-left: 8px;
}

.portal-search input[type='text'] {
  min-width: 220px;
  border-radius: 999px;
  padding: 10px 14px;
}

.btn-soft {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text);
}

.btn-soft:hover {
  border-color: var(--accent-cool);
  color: var(--accent-cool);
  transform: translateY(-1px);
}

.soft-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  margin: 24px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  margin-top: 28px;
  color: var(--muted);
  font-size: 13px;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(18px);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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

@keyframes fade-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.04);
  }
}

@media (max-width: 900px) {
  .site-nav {
    display: none;
  }
  .header-actions {
    display: none;
  }

  .blacklist-row {
    grid-template-columns: 1fr;
  }

  .blacklist-head {
    display: none;
  }
}

@media (max-width: 700px) {
  .hero {
    padding-top: 70px;
  }
  .hero-card {
    order: -1;
  }
}

.card-grid .card:nth-child(1),
.team-grid .team-card:nth-child(1),
.blacklist-wrap .blacklist-row:nth-child(2) {
  animation-delay: 0.05s;
}

.card-grid .card:nth-child(2),
.team-grid .team-card:nth-child(2),
.blacklist-wrap .blacklist-row:nth-child(3) {
  animation-delay: 0.1s;
}

.card-grid .card:nth-child(3),
.team-grid .team-card:nth-child(3),
.blacklist-wrap .blacklist-row:nth-child(4) {
  animation-delay: 0.15s;
}

.card-grid .card:nth-child(4),
.team-grid .team-card:nth-child(4),
.blacklist-wrap .blacklist-row:nth-child(5) {
  animation-delay: 0.2s;
}
