@import "tailwindcss";

:root {
  --bg: #171b25;
  --header: #323743;
  --header-deep: #252a33;
  --panel: #252b39;
  --panel-strong: #1f2430;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f3f5fa;
  --muted: #9da6b8;
  --gold: #d29b38;
  --cyan: #61d6ee;
  --danger: #ff4865;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--text);
}

body {
  margin: 0;
  min-height: 100vh;
  background: #1f2129;
  color: var(--text);
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}

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

.ggti-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(37, 43, 57, 0.96), rgba(25, 30, 41, 0.96));
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.ggti-glow {
  box-shadow: 0 0 42px rgba(92, 225, 230, 0.18), inset 0 0 0 1px rgba(216, 173, 83, 0.12);
}

.text-balance {
  text-wrap: balance;
}

.site-header {
  position: relative;
  z-index: 10;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.topbar {
  min-height: 64px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  background:
    linear-gradient(180deg, rgba(38, 43, 56, 0.98), rgba(26, 29, 39, 0.98)),
    #1f2027;
}

.summonerbar {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(circle at top right, rgba(130, 168, 255, 0.18), transparent 26%),
    linear-gradient(180deg, #2d4ea7 0%, #28479b 38%, #223b7e 100%);
}

.header-shell,
.summoner-shell {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}

.header-shell {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.06),
    0 12px 28px rgba(0, 0, 0, 0.28);
}

.brand-mark-icon {
  display: block;
  width: 36px;
  height: 36px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-mark {
  color: #fff;
  font-size: 21px;
  font-weight: 950;
  letter-spacing: -0.05em;
}

.brand-kicker {
  color: #909ab0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.top-nav-link {
  color: #b3bbcf;
  transition:
    color 150ms ease,
    opacity 150ms ease;
}

.top-nav-link:hover {
  color: #ffffff;
}

.header-region-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 38px;
  padding: 0 14px;
  border-radius: 11px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: #d7def0;
  font-size: 12px;
  font-weight: 800;
}

.header-login-button {
  height: 38px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 11px;
  background: linear-gradient(180deg, rgba(93, 100, 118, 0.94), rgba(58, 63, 80, 0.94));
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  transition:
    transform 150ms ease,
    filter 150ms ease;
}

.header-login-button:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.summoner-shell {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 18px;
  padding-bottom: 16px;
}

.search-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 320px);
  align-items: end;
  gap: 20px;
}

.search-context {
  min-width: 0;
}

.search-badge {
  display: inline-flex;
  align-items: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: #eef3ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.search-heading-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.search-title {
  margin: 0;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.04em;
}

.search-chip {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(18, 27, 64, 0.44);
  color: #dce7ff;
  font-size: 12px;
  font-weight: 800;
}

.search-caption {
  margin: 8px 0 0;
  color: #d7e1fb;
  font-size: 13px;
  line-height: 1.6;
}

.search-status-panel {
  display: grid;
  gap: 10px;
}

.status-rail {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(21, 31, 68, 0.36), rgba(15, 23, 53, 0.18));
}

.status-rail.is-subtle {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
}

.status-rail-label {
  color: #c6d2f3;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.status-rail-value {
  color: #fff;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.search-form-row {
  position: relative;
  z-index: 1;
}

.service-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  color: #d7e0f7;
  font-size: 13px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    background 150ms ease,
    color 150ms ease,
    transform 150ms ease;
}

.service-nav-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
}

@media (max-width: 1279px) {
  .search-head {
    grid-template-columns: 1fr;
    align-items: start;
  }
}

@media (max-width: 767px) {
  .header-shell,
  .summoner-shell {
    padding-left: 12px;
    padding-right: 12px;
  }

  .search-title {
    font-size: 22px;
  }

  .search-caption {
    font-size: 12px;
  }
}

.tier-badge {
  display: inline-flex;
  height: 34px;
  min-width: 54px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: #20242d;
  color: #d29b38;
  font-weight: 950;
}

.hero-portal {
  position: relative;
  min-height: 354px;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(5, 8, 15, 0.85), rgba(17, 18, 34, 0.28) 42%, rgba(3, 17, 18, 0.82)),
    radial-gradient(circle at 50% 46%, rgba(177, 80, 255, 0.64), transparent 17%),
    radial-gradient(circle at 49% 44%, rgba(218, 179, 69, 0.48), transparent 24%),
    radial-gradient(circle at 18% 56%, rgba(235, 198, 93, 0.28), transparent 26%),
    radial-gradient(circle at 82% 48%, rgba(31, 221, 207, 0.28), transparent 27%),
    linear-gradient(135deg, #111827 0%, #201b38 48%, #102b30 100%);
}

.hero-portal::before,
.hero-portal::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-portal::before {
  background:
    radial-gradient(ellipse at 8% 78%, rgba(255, 210, 80, 0.28), transparent 22%),
    radial-gradient(ellipse at 23% 48%, rgba(255, 255, 255, 0.16), transparent 12%),
    radial-gradient(ellipse at 72% 38%, rgba(90, 247, 218, 0.24), transparent 17%),
    radial-gradient(ellipse at 94% 72%, rgba(53, 255, 215, 0.22), transparent 22%);
  filter: blur(2px);
}

.hero-portal::after {
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.24), rgba(0, 0, 0, 0.36)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 120px);
}

.portal-ring {
  position: absolute;
  left: 50%;
  top: 47%;
  width: 330px;
  height: 330px;
  transform: translate(-50%, -50%);
  border-radius: 999px;
  border: 12px solid rgba(218, 179, 69, 0.28);
  box-shadow:
    0 0 40px rgba(212, 115, 255, 0.62),
    inset 0 0 50px rgba(255, 220, 116, 0.18);
  opacity: 0.88;
}

.champion-silhouette {
  position: absolute;
  bottom: -34px;
  width: 330px;
  height: 260px;
  border-radius: 48% 52% 18% 18%;
  opacity: 0.42;
  filter: blur(1px);
}

.champion-left {
  left: 8%;
  transform: rotate(-15deg);
  background: linear-gradient(135deg, rgba(240, 207, 98, 0.72), rgba(29, 33, 49, 0.15));
  clip-path: polygon(0 70%, 24% 20%, 58% 0, 100% 18%, 86% 100%, 16% 100%);
}

.champion-right {
  right: 6%;
  transform: rotate(14deg);
  background: linear-gradient(135deg, rgba(47, 244, 213, 0.64), rgba(20, 28, 43, 0.2));
  clip-path: polygon(8% 25%, 48% 0, 92% 28%, 100% 100%, 8% 100%, 0 58%);
}

.poro-logo-dot {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  color: #ff4865;
  font-size: 22px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.result-hero {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background:
    linear-gradient(180deg, rgba(7, 11, 18, 0.18), rgba(7, 11, 18, 0.78)),
    linear-gradient(120deg, rgba(15, 21, 34, 0.96), rgba(8, 14, 23, 0.88));
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.result-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(86, 219, 224, 0.16), transparent 24%),
    radial-gradient(circle at 82% 24%, rgba(216, 173, 83, 0.14), transparent 28%);
  pointer-events: none;
}

.result-overlay-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 22px 22px;
}

.champion-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.32),
    inset 0 0 0 1px rgba(216, 173, 83, 0.14);
}

.champion-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 28%, rgba(0, 0, 0, 0.26));
  pointer-events: none;
}
