:root {
  --gold: #d4af37;
  --gold-light: #f4d06f;
  --green: #41ff8d;
  --red: #ff5252;

  --bg: #050505;
  --card: #0d0d0d;
  --card-2: #111111;

  --border: #1d1d1d;
  --text: #ffffff;
  --muted: #8a8a8a;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
  padding: 24px;
}

/* Glow dourado */

.background-glow {
  position: fixed;
  top: -350px;
  left: 50%;
  transform: translateX(-50%);
  width: 1000px;
  height: 1000px;

  background: radial-gradient(
    circle,
    rgba(212, 175, 55, 0.14),
    transparent 70%
  );

  pointer-events: none;
  z-index: 0;
}

/* Container */

.container {
  max-width: 950px;
  margin: auto;
  position: relative;
  z-index: 2;
}

/* Header */

header {
  margin-bottom: 30px;
}

.brand {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand img {
  height: 58px;
  width: auto;
}

.brand h1 {
  font-size: 1.6rem;
  font-weight: 800;
}

.brand p {
  color: var(--muted);
  font-size: 0.9rem;
}

.free-btn {
  position: relative;

  display: flex;
  align-items: center;
  gap: 10px;

  padding: 14px 22px;

  border-radius: 14px;

  text-decoration: none;

  font-weight: 800;
  font-size: 0.95rem;

  color: #000;

  background: linear-gradient(135deg, #f4d06f, #d4af37);

  box-shadow:
    0 0 20px rgba(212, 175, 55, 0.25),
    0 0 45px rgba(212, 175, 55, 0.12);

  transition: 0.25s;

  overflow: hidden;
}

.free-btn:hover {
  transform: translateY(-2px) scale(1.02);

  box-shadow:
    0 0 25px rgba(212, 175, 55, 0.45),
    0 0 65px rgba(212, 175, 55, 0.25);
}

.free-btn::before {
  content: "";

  position: absolute;

  top: 0;
  left: -120%;

  width: 80%;
  height: 100%;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.35),
    transparent
  );

  transform: skewX(-20deg);

  animation: shine 3s infinite;
}

@keyframes shine {
  100% {
    left: 140%;
  }
}

.pulse {
  width: 10px;
  height: 10px;

  border-radius: 50%;

  background: #00ff88;

  box-shadow:
    0 0 10px #00ff88,
    0 0 20px #00ff88;

  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.4);
    opacity: 0.6;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* Hero */

.hero {
  margin-bottom: 25px;
}

.hero h2 {
  font-size: 1.9rem;
  margin-bottom: 6px;
}

.hero p {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Tabs */

.tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.tab {
  height: 42px;
  padding: 0 18px;

  border: none;
  border-radius: 12px;

  background: #111;
  color: white;

  cursor: pointer;
  font-weight: 600;

  transition: 0.2s;
}

.tab:hover {
  transform: translateY(-1px);
}

.tab.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));

  color: black;
}

/* Card principal */

.card {
  background: rgba(12, 12, 12, 0.85);

  backdrop-filter: blur(20px);

  border: 1px solid rgba(255, 255, 255, 0.04);

  border-radius: 20px;

  padding: 18px;

  box-shadow: 0 0 25px rgba(212, 175, 55, 0.08);
}

/* Resumo */

.summary {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 40px;
}

.input-box {
  width: 100%;
}

.input-box label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 0.85rem;
}

.input-box input {
  width: 100%;
  height: 58px;

  background: #111;
  border: 1px solid #222;

  border-radius: 14px;

  padding: 0 18px;

  color: white;

  font-size: 1.5rem;
  font-weight: 700;

  transition: 0.2s;
}

.input-box input:focus {
  outline: none;

  border-color: var(--gold);

  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
}

/* Stats */

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat {
  background: #111;

  border: 1px solid #1d1d1d;

  border-radius: 14px;

  padding: 12px;

  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat span {
  color: var(--muted);
  font-size: 0.8rem;
}

.stat h3 {
  font-size: 1.6rem;
  font-weight: 800;
}

/* Odds */

.row {
  display: grid;

  grid-template-columns:
    55px
    140px
    120px
    1fr
    1fr
    120px;

  gap: 12px;

  align-items: center;

  background: #111;
  border: 1px solid #1e1e1e;

  border-radius: 16px;

  padding: 14px;
  margin-bottom: 12px;
}

.row:hover {
  border-color: rgba(212, 175, 55, 0.25);
}

.row-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.table-header {
  display: grid;
  align-items: center;

  grid-template-columns:
    55px
    140px
    120px
    1fr
    1fr
    120px;

  gap: 12px;

  padding: 0 14px 12px;

  color: #8f8f8f;
  font-size: 0.82rem;
  font-weight: 700;

  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.table-header div {
  text-align: left;
}

.badge {
  width: 42px;
  height: 42px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;

  background: linear-gradient(135deg, var(--gold), var(--gold-light));

  color: black;

  font-weight: 800;
}

.field {
  width: 100%;
}

.field label {
  display: none;
}

.field input {
  width: 100%;

  height: 48px;

  background: linear-gradient(180deg, #151515, #101010);

  border: 1px solid #232323;

  border-radius: 12px;

  padding: 0 14px;

  color: white;

  font-size: 18px;
  font-weight: 600;
}

.field input:focus {
  outline: none;

  border-color: var(--gold);
}

/* Resultados */

.result {
  display: flex;
  flex-direction: column;

  justify-content: center;

  gap: 4px;

  font-size: 13px;

  color: #777;
}

.result span {
  color: #fff;

  font-size: 16px;
  font-weight: 700;

  margin: 0;
}

/* Botão excluir */

.remove {
  width: 38px;
  height: 38px;

  border: none;
  border-radius: 10px;

  background: #181818;

  color: #ff5d5d;

  cursor: pointer;

  transition: 0.2s;
}

.remove:hover {
  background: #252525;
}

/* Ações */

.actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
  width: 100%;
}

.actions-left,
.actions-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.actions-right {
  margin-left: auto;
}

.actions a {
  text-decoration: none;
}

.actions a.dark-btn {
  height: 45px;
  padding: 0 16px;
  border-radius: 12px;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;

  background: #181818;
  color: white;
  border: 1px solid #262626;

  font-size: 0.9rem;
  font-weight: 700;
}

.small-action {
  height: 38px !important;
  padding: 0 13px !important;
  font-size: 0.78rem !important;
  border-radius: 11px !important;
}

.gold-btn,
.dark-btn {
  height: 45px;

  padding: 0 16px;

  border: none;

  border-radius: 12px;

  font-size: 0.9rem;
  font-weight: 700;

  cursor: pointer;

  transition: 0.2s;
}

.gold-btn {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));

  color: black;
}

.dark-btn {
  background: #181818;
  color: white;

  border: 1px solid #262626;
}

.gold-btn:hover,
.dark-btn:hover {
  transform: translateY(-1px);
}

/* Cores */

.green {
  color: var(--green);
}

.red {
  color: var(--red);
}

/* Scroll */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-thumb {
  background: #222;
  border-radius: 10px;
}

/* ===========================
   FOOTER
=========================== */

.footer {
  margin-top: 60px;

  padding: 30px 20px;

  border-top: 1px solid rgba(212, 175, 55, 0.15);

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 18px;

  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;

  gap: 12px;

  font-size: 18px;
  font-weight: 700;

  color: white;
}

.footer-brand img {
  height: 40px;
  width: auto;
}

.footer-social {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-social a {
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  font-size: 18px;
  color: #9a9a9a;

  text-decoration: none;

  padding: 10px 16px;

  border-radius: 12px;

  background: rgba(255, 255, 255, 0.03);

  border: 1px solid rgba(255, 255, 255, 0.04);

  transition: all 0.25s ease;
}

.footer-social a:hover {
  color: var(--gold);

  border-color: rgba(212, 175, 55, 0.35);

  background: rgba(212, 175, 55, 0.08);

  transform: translateY(-2px);
}

.footer-social i {
  font-size: 25px;
}

.footer-copy {
  color: #666;

  font-size: 13px;
}

.boost-hidden {
  display: none;
}

.field.boost-field input {
  width: 90px;
  text-align: center;
}

.boost-field input {
  width: 100%;
  max-width: 90px;

  margin: 0 auto;

  text-align: center;

  font-weight: 700;
}

.lock-btn {
  width: 38px;
  height: 38px;
  border: none;
  border-radius: 10px;
  background: #181818;
  color: #f4d06f;
  cursor: pointer;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
  appearance: textfield;
}

.odd-field {
  display: flex;
  align-items: center;
  gap: 10px;
}

.format-btn {
  width: 38px;
  height: 38px;

  border: none;
  border-radius: 10px;

  background: #181818;

  color: #777;

  font-weight: 800;
  font-size: 14px;

  cursor: pointer;

  position: relative;

  transition: 0.2s;
}

.format-btn:hover {
  background: #222;
}

.format-btn.active {
  color: white;
}

.format-btn.active::after {
  content: "";

  position: absolute;

  top: 5px;
  right: 5px;

  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: #2eff81;

  box-shadow: 0 0 10px rgba(46, 255, 129, 0.6);
}

.lock-btn.active {
  color: #41ff8d;
}

.row-boost {
  grid-template-columns:
    55px
    140px
    120px
    140px
    1fr
    120px;
}

.row-boost .row-actions {
  grid-column: 6;
  grid-row: 1;
}

.table-header.boost {
  grid-template-columns:
    55px
    140px
    120px
    140px
    1fr
    120px;
}

.locked-input {
  cursor: not-allowed !important;
  opacity: 0.55;
}

.input-box input:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.top-actions {
  display: none;

  justify-content: flex-end;

  margin-bottom: 18px;
}

.manual-btn {
  height: 44px;

  padding: 0 18px;

  border-radius: 12px;

  border: 1px solid #252525;

  background: linear-gradient(180deg, #141414, #0d0d0d);

  color: #9f9f9f;

  font-size: 0.82rem;
  font-weight: 700;

  letter-spacing: 0.04em;

  cursor: pointer;

  transition: 0.2s;
}

.manual-btn:hover {
  border-color: rgba(212, 175, 55, 0.25);

  color: white;

  transform: translateY(-1px);
}

.manual-btn.active {
  background: rgba(212, 175, 55, 0.12);

  border-color: rgba(212, 175, 55, 0.35);

  color: var(--gold);

  box-shadow: 0 0 18px rgba(212, 175, 55, 0.08);
}

/* Mobile */

@media (max-width: 600px) {
  body {
    padding: 12px;
  }

  .container {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  .brand {
    justify-content: space-between;
    gap: 10px;
  }

  .brand img {
    height: 58px;
  }

  .free-btn {
    max-width: 165px;
    padding: 11px 13px;
    font-size: 0.72rem;
    border-radius: 12px;
  }

  .hero h2 {
    font-size: 1.6rem;
    line-height: 1.15;
  }

  .card {
    padding: 14px;
    border-radius: 18px;
    overflow: hidden;
  }

  .tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
  }

  .tab {
    height: 42px;
    padding: 0;
    font-size: 0.73rem;
    border-radius: 11px;
  }

  .summary {
    gap: 14px;
  }

  .stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .stat {
    padding: 10px;
    border-radius: 13px;
  }

  .stat span {
    font-size: 0.72rem;
  }

  .stat h3 {
    font-size: 1rem;
    line-height: 1.1;
  }

  .input-box label {
    font-size: 0.8rem;
  }

  .input-box input {
    height: 48px;
    font-size: 1rem;
    border-radius: 13px;
  }

  .table-header {
    grid-template-columns:
      32px
      minmax(50px, 0.8fr)
      minmax(60px, 0.75fr)
      minmax(88px, 1fr)
      36px;

    gap: 7px;
    padding: 10px 8px;
    font-size: 8px;
    letter-spacing: 0.02em;
  }

  .row {
    display: grid;
    grid-template-columns:
      32px
      minmax(50px, 0.8fr)
      minmax(56px, 0.7fr)
      minmax(82px, 1fr)
      36px;

    gap: 7px;
    align-items: center;

    padding: 10px 8px;
    min-height: unset;

    background: transparent;
    border-radius: 0;

    border-left: none;
    border-right: none;
    border-top: none;
  }

  .badge {
    width: 30px;
    height: 30px;
    border-radius: 9px;
    font-size: 0.8rem;
  }

  .field input {
    width: 100%;
    min-width: 0;
    height: 36px;

    padding: 0 8px;

    font-size: 0.78rem;
    border-radius: 8px;
  }

  .result {
    font-size: 0.72rem;
    font-weight: 800;
    white-space: nowrap;
  }

  .result span {
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .result small {
    display: block;
    max-width: 80px;

    margin-top: 2px;

    font-size: 0.58rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .row-actions {
    width: auto;

    display: flex;
    align-items: center;
    justify-content: flex-end;

    gap: 4px;

    justify-self: end;
  }

  .format-btn,
  .lock-btn,
  .remove {
    width: 30px;
    height: 30px;

    border-radius: 8px;

    font-size: 0.72rem;
    flex: 0 0 auto;
  }

  .actions {
    flex-direction: column;
    align-items: stretch;
  }

  .actions-left,
  .actions-right {
    width: 100%;
  }

  .actions-left button,
  .actions-right button,
  .actions-right a {
    flex: 1;
    justify-content: center;
  }

  .gold-btn,
  .dark-btn,
  .manual-btn {
    height: 42px;
    padding: 0 14px;
    font-size: 0.78rem;
    border-radius: 12px;
  }

  .footer {
    margin-top: 48px;
    padding: 28px 10px;
  }

  .footer-brand img {
    height: 42px;
  }

  .footer-social {
    gap: 10px;
  }

  .footer-social a {
    width: 42px;
    height: 42px;
  }

  .footer-copy {
    font-size: 11px;
  }

  /* AUMENTADA NO MOBILE */

  /* AUMENTADA NO MOBILE */

  .table-header.boost {
    grid-template-columns:
      32px
      1fr
      1fr
      1fr
      1fr;

    gap: 7px;
  }

  .table-header.boost div:nth-child(6) {
    display: none;
  }

  .row-boost {
    display: grid;

    grid-template-columns:
      32px
      1fr
      1fr
      1fr
      1fr;

    grid-template-rows: auto auto;

    gap: 8px 7px;

    align-items: center;

    min-height: 92px;
  }

  /* BADGE */

  .row-boost .badge {
    grid-column: 1;
    grid-row: 1;

    align-self: center;
  }

  /* ODD */

  .row-boost .odd-field {
    grid-column: 2;
    grid-row: 1;
  }

  /* AUMENTO */

  .row-boost .boost-field {
    grid-column: 3;
    grid-row: 1;
  }

  /* INVESTIMENTO */

  .row-boost .stake-field {
    grid-column: 4;
    grid-row: 1;
  }

  /* RETORNO */

  .row-boost .result {
    grid-column: 5;
    grid-row: 1;
  }

  /* BOTÕES */

  .row-boost .row-actions {
    grid-column: 2 / 6;
    grid-row: 2;

    display: flex;

    justify-content: flex-end;
    align-items: center;

    gap: 6px;

    margin-top: -2px;
  }

  /* INPUTS */

  .row-boost .field input {
    width: 100%;
    max-width: none;
  }

  .row-boost .boost-field input {
    text-align: center;
  }

  /* BOTÕES TAMANHO */

  .row-boost .format-btn,
  .row-boost .lock-btn,
  .row-boost .remove {
    width: 28px;
    height: 28px;

    border-radius: 8px;

    font-size: 0.68rem;
  }
}
