* {
  box-sizing: border-box;
}

:root {
  --bg-1: #05080f;
  --bg-2: #0c1424;
  --accent: #2dd4ff;
  --accent-2: #ffb86b;
  --panel: rgba(255, 255, 255, 0.03);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #e8eefc;
  --muted: #b8c2d6;
}

html, body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background: radial-gradient(circle at 20% 15%, rgba(45, 212, 255, 0.12), transparent 35%),
              radial-gradient(circle at 80% 10%, rgba(255, 184, 107, 0.12), transparent 28%),
              linear-gradient(140deg, var(--bg-1), var(--bg-2));
  font-family: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  color: var(--text);
}

body {
  display: flex;
  justify-content: center;
  min-height: 100vh;
  padding: 36px 14px 32px;
  flex-direction: column;
  overflow-y: auto;
}

.shell {
  width: min(1100px, calc(100% - 12px));
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.masthead {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  position: sticky;
  top: 10px;
  z-index: 10;
  padding: 10px;
  margin: 5px 0px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 14px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(8px);
}

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

.brand-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 8px 22px rgba(0, 153, 255, 0.25);
}

.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

.brand-name {
  font-weight: 700;
  font-size: 1.1rem;
}

.brand-tag {
  color: var(--muted);
  font-size: 0.92rem;
}

.grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
}

.panel {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.26);
  overflow: hidden;
}

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

.hero-copy h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  margin: 6px 0 10px;
  letter-spacing: -0.6px;
}

.lead {
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 14px;
}

.info-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  color: var(--text);
  line-height: 1;
}

.hero-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.hero-buttons.tight {
  justify-content: flex-end;
}

.hero-visual {
  display: grid;
  gap: 10px;
  justify-items: end;
}

.profile-frame {
  position: relative;
  display: inline-block;
}

.profile-img {
  width: 150px;
  height: 150px;
  background-image: url('profile.png');
  background-size: cover;
  background-position: center;
  border-radius: 26px;
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  width: 100%;
}

.stat {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 12px;
}

.stat-label {
  color: var(--muted);
  font-size: 0.9rem;
}

.stat-value {
  font-weight: 700;
  margin-top: 4px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

.section-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.section-title h2 {
  margin: 0;
}

.section h2 {
  margin: 4px 0;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  color: var(--accent);
  margin: 0;
}

.muted {
  color: var(--muted);
  margin: 0;
  line-height: 1.5;
}

.services .service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 8px;
}

.service-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ff-logo {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 6px 10px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
}

.ff-logo img {
  height: 30px;
  width: auto;
  filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.35));
}

.service-card {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  padding: 11px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.service-card:hover {
  transform: translateY(-2px);
  border-color: rgba(45, 212, 255, 0.55);
  background: rgba(45, 212, 255, 0.08);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.26);
}

.service-emoji {
  font-size: 1.5em;
  width: 32px;
  text-align: center;
}

.service-title {
  font-weight: 600;
  font-size: 1em;
}

.service-text {
  color: #d7deee;
  font-size: 0.9em;
}

.esports {
  padding: 12px 14px;
}

.esports-card {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.esports-logo {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.26);
}

.esports-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.esports-copy {
  flex: 1 1 220px;
}

.esports-copy h2 {
  margin: 0 0 4px;
  font-size: 1.2rem;
}

.appstore-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.appstore-block {
  background: transparent;
  border: none;
  padding: 4px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.appstore-block {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 16px;
}

.block-head h3 {
  margin: 0 0 6px;
  font-size: 1.1rem;
}

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

.app-placeholder {
  color: var(--muted);
  font-size: 0.95rem;
  padding: 8px 4px;
}

.app-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 12px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.app-top {
  display: flex;
  align-items: center;
  gap: 10px;
}

.app-logo {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
}

.app-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-name {
  font-weight: 600;
  font-size: 1rem;
  margin: 0;
}

.app-description {
  margin: 4px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.35;
}

.app-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.app-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text);
  text-decoration: none;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.03);
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.app-btn:hover {
  transform: translateY(-1px);
  border-color: rgba(45, 212, 255, 0.55);
  background: rgba(45, 212, 255, 0.1);
}

.app-btn i {
  font-size: 1rem;
  color: rgba(232, 238, 252, 0.72);
  transition: color 0.2s ease, transform 0.2s ease;
}

.app-btn:hover i {
  color: var(--accent);
  transform: translateY(-1px);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 13px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease, border-color 0.2s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #1ba9f5, var(--accent));
  color: #04101c;
  border-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 26px rgba(0, 153, 255, 0.24);
}

.btn.primary:hover {
  transform: translateY(-1px) scale(1.01);
  filter: brightness(1.05);
}

.btn.ghost {
  background: transparent;
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.18);
}

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

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 4px;
}

.social-icon {
  color: #dbe3f7;
  font-size: 1.8em;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.social-icon:hover {
  color: var(--accent);
  transform: translateY(-1px);
}

.footer {
  font-size: 0.85em;
  color: #d1d6e0;
  text-align: center;
  margin: 4px 0 10px;
}

@media (max-width: 720px) {
  body {
    padding: 24px 14px 28px;
  }

  .masthead {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    position: sticky;
    top: 8px;
  }

  .grid {
    gap: 10px;
  }

  .panel {
    padding: 14px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    justify-items: center;
  }

  .hero-buttons.tight,
  .service-actions .btn,
  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
  }

  .service-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .services .service-grid {
    grid-template-columns: 1fr;
  }

  .appstore-grid {
    grid-template-columns: 1fr;
  }

  .profile-img {
    width: 130px;
    height: 130px;
  }
}
