/* ========================================
   UURust Radio — Premium Design System
   ======================================== */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

/* ========================================
   Design Tokens
   ======================================== */
:root {
  --ink: #07090a;
  --ink-rgb: 7, 9, 10;
  --panel: rgba(14, 18, 20, 0.7);
  --panel-solid: #0e1214;
  --panel-2: rgba(20, 26, 29, 0.8);
  --glass: rgba(16, 22, 25, 0.55);
  --line: rgba(255, 255, 255, 0.07);
  --line-hover: rgba(255, 255, 255, 0.14);
  --text: #eef1f0;
  --text-secondary: #b0bab9;
  --muted: #6b7a79;
  --yellow: #f2bd25;
  --yellow-dim: rgba(242, 189, 37, 0.15);
  --yellow-glow: rgba(242, 189, 37, 0.25);
  --blue: #2d7cf6;
  --red: #e05244;
  --red-dim: rgba(224, 82, 68, 0.12);
  --green: #34d399;
  --radius: 12px;
  --radius-sm: 8px;
  --radius-xs: 6px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-float: 0 24px 80px rgba(0, 0, 0, 0.5), 0 8px 24px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 0 40px rgba(242, 189, 37, 0.08);
}

/* ========================================
   Reset & Base
   ======================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  background: var(--ink);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  min-height: 100vh;
  background-color: var(--ink);
  background-image:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(242, 189, 37, 0.04) 0%, transparent 60%),
    radial-gradient(circle at 20% 80%, rgba(45, 124, 246, 0.03) 0%, transparent 40%);
  overflow-x: hidden;
}

button, input, select, textarea { font: inherit; }
[hidden] { display: none !important; }

a { color: var(--yellow); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ========================================
   Top Bar (Navbar)
   ======================================== */
.topbar {
  position: sticky;
  z-index: 100;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  padding: 0 max(20px, calc((100vw - 1060px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(var(--ink-rgb), 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: inherit;
  text-decoration: none;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.brand img { width: 36px; height: 36px; object-fit: contain; }

.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
  margin: 0 auto;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 14px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  border-radius: var(--radius-xs);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  text-decoration: none;
}
.nav-link.is-active {
  color: var(--yellow);
  background: var(--yellow-dim);
}

.identity {
  display: flex;
  align-items: center;
  gap: 10px;
}
.identity img {
  width: 34px;
  height: 34px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 50%;
}
.identity span { display: grid; font-size: 12px; }
.identity small { color: var(--muted); text-transform: uppercase; letter-spacing: 0.5px; font-size: 10px; font-weight: 700; }

/* ========================================
   Main Content
   ======================================== */
main {
  width: min(1060px, calc(100% - 32px));
  margin: auto;
  padding: 56px 0 140px;
}

/* Intro Hero */
.intro {
  display: grid;
  justify-items: center;
  text-align: center;
  padding-bottom: 20px;
  animation: rise 0.7s ease both;
}
.intro img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  filter: drop-shadow(0 16px 32px rgba(242, 189, 37, 0.15));
  animation: float 5s ease-in-out infinite;
}
.intro h1 {
  margin: 16px 0 0;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #fff 0%, var(--yellow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.intro p {
  margin: 8px 0 0;
  color: var(--yellow);
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* ========================================
   Tabs
   ======================================== */
.tabs {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 44px 0 20px;
  overflow: auto;
  animation: rise 0.7s 0.1s ease both;
}
.tabs button, .tab-link {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--glass);
  backdrop-filter: blur(12px);
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition);
}
.tabs button:hover, .tab-link:hover {
  border-color: var(--line-hover);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-1px);
  text-decoration: none;
}
.tabs button.is-active {
  border-color: var(--yellow);
  background: linear-gradient(135deg, var(--yellow) 0%, #e0a800 100%);
  color: var(--ink);
  box-shadow: 0 4px 20px var(--yellow-glow);
}

/* ========================================
   Panels (glassmorphism)
   ======================================== */
.panel {
  display: none;
  min-height: 380px;
  padding: clamp(24px, 5vw, 44px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-float), var(--shadow-glow);
}
.panel.is-active {
  display: block;
  animation: panel-in 0.4s ease both;
}

.panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.panel h2 {
  margin: 0;
  font-size: clamp(24px, 3.5vw, 38px);
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.quota {
  color: var(--yellow);
  font-size: 13px;
  font-weight: 800;
  background: var(--yellow-dim);
  padding: 6px 14px;
  border-radius: 20px;
  white-space: nowrap;
}

.login-gate {
  display: grid;
  place-items: center;
  min-height: 220px;
}

/* ========================================
   Buttons
   ======================================== */
.steam-button, .primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--blue) 0%, #1a5fc4 100%);
  color: white;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
  box-shadow: 0 4px 16px rgba(45, 124, 246, 0.25);
}
.steam-button:hover, .primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(45, 124, 246, 0.35);
  text-decoration: none;
}

/* ========================================
   Upload Form
   ======================================== */
.upload {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 16px;
  align-items: end;
  margin-top: 24px;
  padding: 22px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--yellow);
  border-radius: var(--radius-sm);
  background: var(--panel-2);
  backdrop-filter: blur(8px);
}
.upload label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.upload input[type=text],
.upload input:not([type]) {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: rgba(var(--ink-rgb), 0.6);
  color: var(--text);
  transition: border-color var(--transition);
}
.upload input:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px var(--yellow-dim);
}
.file-field input {
  max-width: 100%;
  color: var(--text-secondary);
  font-size: 13px;
}
.upload .check {
  display: flex;
  align-items: center;
  gap: 8px;
  grid-column: 1 / -1;
  color: var(--text-secondary);
  font-size: 13px;
}
.upload .check input[type=checkbox] {
  width: 18px;
  height: 18px;
  accent-color: var(--yellow);
  cursor: pointer;
}
.upload small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
}

/* ========================================
   Track / Station Lists
   ======================================== */
.track-list, .station-list {
  display: grid;
  margin-top: 16px;
}
.track, .station {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
  border-radius: var(--radius-xs);
  transition: background var(--transition);
  animation: rise 0.35s ease both;
}
.track:hover, .station:hover {
  background: rgba(255, 255, 255, 0.02);
}

.track-info, .station-info { min-width: 0; }

.track strong, .station strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-weight: 600;
  font-size: 14px;
}
.track small, .station small {
  color: var(--muted);
  font-size: 12px;
}

.track-actions, .station-actions {
  display: flex;
  gap: 6px;
}

/* Icon Buttons */
.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
}
.icon-button:hover {
  transform: translateY(-1px);
  border-color: var(--yellow);
  color: var(--text);
  background: rgba(242, 189, 37, 0.08);
  box-shadow: 0 4px 16px var(--yellow-glow);
}
.icon-button.danger {
  color: var(--red);
  border-color: var(--red-dim);
}
.icon-button.danger:hover {
  background: var(--red-dim);
  border-color: var(--red);
  box-shadow: 0 4px 16px rgba(224, 82, 68, 0.2);
}
.icon-button.listen-btn {
  background: linear-gradient(135deg, var(--yellow-dim) 0%, rgba(242, 189, 37, 0.08) 100%);
  color: var(--yellow);
  border-color: rgba(242, 189, 37, 0.2);
  font-weight: 700;
}
.icon-button.listen-btn:hover {
  background: linear-gradient(135deg, rgba(242, 189, 37, 0.25) 0%, var(--yellow-dim) 100%);
  box-shadow: 0 4px 20px var(--yellow-glow);
}

.empty {
  padding: 60px 0;
  color: var(--muted);
  text-align: center;
  font-size: 14px;
}

/* ========================================
   Bottom Audio Player
   ======================================== */
.player {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: 16px;
  display: grid;
  grid-template-columns: minmax(140px, 1fr) minmax(220px, 380px) 110px 40px;
  gap: 14px;
  align-items: center;
  width: min(880px, calc(100% - 24px));
  padding: 14px 22px;
  border: 1px solid rgba(242, 189, 37, 0.2);
  border-radius: var(--radius);
  background: rgba(14, 18, 20, 0.75);
  backdrop-filter: blur(28px) saturate(200%);
  -webkit-backdrop-filter: blur(28px) saturate(200%);
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  transform: translateX(-50%);
  animation: player-in 0.35s ease both;
}
.player div { display: grid; min-width: 0; }
.player small {
  color: var(--yellow);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  opacity: 0.9;
}
.player strong {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.3px;
}
.player audio {
  width: 100%;
  height: 36px;
  border-radius: var(--radius-xs);
}
.player button {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xs);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 20px;
  cursor: pointer;
  transition: all var(--transition);
}
.player button:hover {
  background: var(--red-dim);
  border-color: var(--red);
  color: var(--red);
}

audio::-webkit-media-controls-panel {
  background-color: rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-xs);
}
audio::-webkit-media-controls-current-time-display,
audio::-webkit-media-controls-time-remaining-display {
  color: var(--yellow);
}

/* Visualizer */
.visualizer {
  width: 100%;
  height: 42px;
  display: block;
  border-radius: var(--radius-xs);
  background: transparent;
}

/* ========================================
   Rename Modal
   ======================================== */
.modal-overlay {
  position: fixed;
  z-index: 500;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.modal {
  width: min(440px, calc(100% - 40px));
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-solid);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.6);
  transform: scale(0.95) translateY(10px);
  transition: transform 0.3s ease;
}
.modal-overlay.is-open .modal {
  transform: scale(1) translateY(0);
}
.modal h3 {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
}
.modal p {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 13px;
}
.modal input[type=text] {
  width: 100%;
  min-height: 48px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(var(--ink-rgb), 0.6);
  color: var(--text);
  font-size: 15px;
  font-weight: 500;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.modal input[type=text]:focus {
  outline: none;
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px var(--yellow-dim);
}
.modal-char-count {
  text-align: right;
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 600;
}
.modal-char-count.is-limit { color: var(--red); }
.modal-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 24px;
}
.modal-actions button {
  min-height: 42px;
  padding: 0 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all var(--transition);
}
.modal-cancel {
  background: transparent;
  color: var(--muted);
}
.modal-cancel:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}
.modal-confirm {
  background: linear-gradient(135deg, var(--yellow) 0%, #e0a800 100%);
  color: var(--ink);
  border-color: var(--yellow);
  box-shadow: 0 4px 16px var(--yellow-glow);
}
.modal-confirm:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px var(--yellow-glow);
}

/* ========================================
   Toast
   ======================================== */
.toast {
  position: fixed;
  z-index: 600;
  right: 20px;
  top: 80px;
  max-width: 380px;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--yellow);
  border-radius: var(--radius-sm);
  background: var(--panel-solid);
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  opacity: 0;
  transform: translateX(20px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.toast.is-visible {
  opacity: 1;
  transform: none;
}

/* ========================================
   Admin Styles
   ======================================== */
.admin-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 12px;
}
.admin-tabs button {
  background: transparent;
  border: 1px solid transparent;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: var(--radius-xs);
  transition: all var(--transition);
}
.admin-tabs button:hover {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}
.admin-tabs button.is-active {
  background: var(--yellow);
  color: var(--ink);
  border-color: var(--yellow);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
  font-size: 13px;
}
.data-table th, .data-table td {
  padding: 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.data-table th {
  color: var(--muted);
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}
.data-table select {
  background: rgba(var(--ink-rgb), 0.6);
  color: var(--text);
  border: 1px solid var(--line);
  padding: 6px 10px;
  border-radius: var(--radius-xs);
}
.data-table button {
  padding: 6px 12px;
  font-size: 12px;
  min-height: 30px;
}

/* Chat */
.chat-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 400px;
  overflow-y: auto;
  padding: 20px;
  background: rgba(var(--ink-rgb), 0.5);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 16px;
}
.chat-message {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  max-width: 80%;
  line-height: 1.5;
  font-size: 14px;
}
.chat-message.user {
  align-self: flex-end;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-bottom-right-radius: 2px;
}
.chat-message.bot {
  align-self: flex-start;
  background: var(--yellow-dim);
  color: var(--text);
  border-bottom-left-radius: 2px;
  border: 1px solid rgba(242, 189, 37, 0.15);
}
.chat-message.error {
  color: var(--red);
  background: var(--red-dim);
  border-color: rgba(224, 82, 68, 0.15);
}
.chat-form {
  display: flex;
  gap: 8px;
}
.chat-form input {
  flex: 1;
  min-height: 44px;
  padding: 0 16px;
  background: rgba(var(--ink-rgb), 0.6);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: border-color var(--transition);
}
.chat-form input:focus {
  outline: none;
  border-color: var(--yellow);
}

/* ========================================
   Animations
   ======================================== */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}
@keyframes panel-in {
  from { opacity: 0; transform: translateY(10px) scale(0.99); }
  to { opacity: 1; transform: none; }
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
@keyframes player-in {
  from { opacity: 0; transform: translate(-50%, 14px); }
  to { opacity: 1; transform: translate(-50%, 0); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 720px) {
  main {
    width: min(100% - 20px, 1060px);
    padding-top: 36px;
  }
  .topbar { padding-inline: 12px; }
  .brand span, .identity span { display: none; }
  .intro img { width: 68px; height: 68px; }
  .intro h1 { font-size: 34px; }
  .tabs { justify-content: flex-start; margin-top: 32px; }
  .panel { padding: 20px; min-height: 340px; }
  .panel-heading { align-items: flex-start; flex-direction: column; }
  .upload { grid-template-columns: 1fr; }
  .track, .station { grid-template-columns: 1fr; }
  .track-actions, .station-actions { flex-wrap: wrap; }
  .player { grid-template-columns: 1fr 36px; }
  .player audio, .player canvas { grid-column: 1 / -1; grid-row: 2; }
  .player > button { grid-column: 2; grid-row: 1; }
  .nav-links { display: none; }
  .modal { padding: 24px; }
}


/* Background Canvas */
.bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  opacity: 0.2;
  pointer-events: none;
}

/* Modal Player */
.player-modal {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(22, 28, 30, 0.85);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  padding: 16px 24px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 400px;
  max-width: 90vw;
  box-shadow: 0 10px 40px rgba(0,0,0,0.5);
  z-index: 100;
}

.player-info {
  text-align: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--yellow);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.player-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
}

.player-btn {
  background: transparent;
  border: none;
  color: var(--text);
  cursor: pointer;
  opacity: 0.8;
  transition: 0.2s;
  display: flex;
}
.player-btn:hover { opacity: 1; color: var(--yellow); }
.player-btn.play-pause {
  background: var(--yellow);
  color: var(--ink);
  width: 40px; height: 40px;
  border-radius: 50%;
  align-items: center; justify-content: center;
  opacity: 1;
}
.player-btn.play-pause:hover { transform: scale(1.05); }

.player-progress-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--muted);
}
.player-progress, .player-volume {
  flex: 1;
  accent-color: var(--yellow);
  height: 4px;
}

.player-volume-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.player-close {
  position: absolute;
  top: 8px; right: 8px;
  background: transparent; border: none;
  color: var(--muted); cursor: pointer;
  font-size: 20px; line-height: 1;
}
.player-close:hover { color: var(--text); }

.steam-button {
  background: #1b2838 !important;
  color: #fff !important;
  border: 1px solid #2a475e !important;
  border-radius: 4px;
}
.steam-button::before {
  content: '';
  display: inline-block;
  width: 16px; height: 16px;
  background: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="%23fff" xmlns="http://www.w3.org/2000/svg"><path d="M12 0C5.373 0 0 5.373 0 12c0 6.628 5.373 12 12 12 6.628 0 12-5.373 12-12 0-6.627-5.372-12-12-12zm7.143 8.357c-.201 1.705-1.125 3.033-2.611 3.842l-1.849-2.584c.323-.178.618-.415.867-.714.823-1.002.663-2.502-.358-3.344-1.021-.842-2.508-.707-3.329.3-.591.72-.731 1.685-.386 2.527L8.91 10.155c-.214.02-.432.046-.653.078C5.811 10.606 4 12.87 4 15.545c0 3.008 2.44 5.447 5.45 5.447 3.009 0 5.449-2.44 5.449-5.448 0-.442-.054-.871-.157-1.282l2.39-3.32c2.091-.689 3.491-2.639 3.754-4.887l-1.743-2.435zM9.45 18.232c-1.464 0-2.651-1.187-2.651-2.651 0-1.464 1.187-2.65 2.65-2.65 1.465 0 2.652 1.186 2.652 2.65 0 1.464-1.187 2.651-2.651 2.651z"/></svg>') no-repeat center;
  margin-right: 8px;
  vertical-align: middle;
}
.intro img { border-radius: 16px; }
