@import url('../blackjack/style.css');

.game-header-title::after {
  content: 'Punto Banco';
  display: inline-flex;
  margin-left: 10px;
  padding: 3px 8px;
  border: 1px solid rgba(94, 234, 212, 0.22);
  border-radius: 999px;
  color: #5eead4;
  background: rgba(94, 234, 212, 0.07);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  vertical-align: middle;
}

.bac-wager-buttons.diff-buttons {
  height: auto;
  min-height: 52px;
  align-items: stretch;
  gap: 8px;
}

.bac-wager-buttons .bac-wager-btn.diff-btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  white-space: normal;
  text-align: center;
  padding: 12px 10px;
  min-height: 70px;
  line-height: 1.15;
  font-size: 11px;
  border: 1px solid rgba(129, 154, 166, 0.22);
  border-radius: 12px;
  background:
    radial-gradient(circle at 50% -20%, rgba(255, 255, 255, 0.08), transparent 46%),
    linear-gradient(180deg, rgba(18, 28, 40, 0.95), rgba(8, 13, 21, 0.95));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05), 0 8px 22px rgba(0, 0, 0, 0.18);
  transform: none !important;
  margin: 0 !important;
  top: auto !important;
  transition: border-color 0.16s, background 0.16s, box-shadow 0.16s, color 0.16s;
}

.bac-wager-buttons .bac-wager-btn.diff-btn::before {
  content: '';
  position: absolute;
  inset: 7px;
  z-index: -1;
  border-radius: 9px;
  border: 1px solid transparent;
  transition: border-color 0.16s, background 0.16s;
}

.bac-wager-buttons .bac-wager-btn.diff-btn::after {
  content: '';
  position: absolute;
  top: 9px;
  right: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #39495c;
  box-shadow: 0 0 0 3px rgba(57, 73, 92, 0.16);
  transition: background 0.16s, box-shadow 0.16s;
}

.bac-wager-buttons .bac-wager-btn.diff-btn:hover {
  border-color: rgba(207, 254, 26, 0.26);
  background:
    radial-gradient(circle at 50% -20%, rgba(207, 254, 26, 0.09), transparent 46%),
    linear-gradient(180deg, rgba(22, 34, 48, 0.96), rgba(9, 15, 24, 0.96));
}

.bac-wager-buttons .bac-wager-btn.diff-btn.active {
  border-color: rgba(207, 254, 26, 0.58);
  background:
    radial-gradient(circle at 50% -18%, rgba(207, 254, 26, 0.18), transparent 50%),
    linear-gradient(180deg, rgba(22, 33, 28, 0.98), rgba(9, 16, 17, 0.98));
  box-shadow: inset 0 0 0 1px rgba(207, 254, 26, 0.16), 0 10px 24px rgba(0, 0, 0, 0.2);
  transform: none !important;
}

.bac-wager-buttons .bac-wager-btn.diff-btn.active::before {
  border-color: rgba(207, 254, 26, 0.14);
  background: rgba(207, 254, 26, 0.05);
}

.bac-wager-buttons .bac-wager-btn.diff-btn.active::after {
  background: #cffe1a;
  box-shadow: 0 0 0 3px rgba(207, 254, 26, 0.16), 0 0 18px rgba(207, 254, 26, 0.45);
}

.bac-w-line1 {
  color: #e8f2f6;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bac-w-line2 {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #7f95a0;
  text-transform: none;
  max-width: 100%;
}

.bac-wager-buttons .bac-wager-btn.diff-btn.active .bac-w-line1 { color: #cffe1a; }
.bac-wager-buttons .bac-wager-btn.diff-btn.active .bac-w-line2 { color: #d9e7a5; }

.bac-selected-card {
  display: grid;
  gap: 5px;
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(207, 254, 26, 0.18);
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(207, 254, 26, 0.08), rgba(94, 234, 212, 0.05));
}

.bac-selected-kicker {
  color: #6f8593;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bac-selected-card strong {
  color: #cffe1a;
  font-size: 18px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.bac-selected-card small {
  color: #8fa3ae;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.35;
}

.bj-table {
  position: relative;
}

.bac-table-status {
  position: absolute;
  top: 18px;
  left: 50%;
  z-index: 7;
  transform: translateX(-50%);
  display: inline-grid;
  min-width: 190px;
  padding: 10px 16px;
  border: 1px solid rgba(207, 254, 26, 0.24);
  border-radius: 12px;
  background: rgba(8, 13, 22, 0.76);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
  text-align: center;
  backdrop-filter: blur(8px);
}

.bac-table-status span,
.bac-table-status small {
  color: #78909d;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bac-table-status strong {
  color: #cffe1a;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.bac-table-status.dealing {
  border-color: rgba(94, 234, 212, 0.34);
}

.bac-bet-zones {
  position: absolute;
  left: 50%;
  bottom: 29%;
  z-index: 6;
  display: grid;
  grid-template-columns: repeat(3, minmax(86px, 1fr));
  gap: 8px;
  width: min(76%, 430px);
  transform: translateX(-50%);
}

.bac-bet-zone {
  appearance: none;
  border: 1px solid rgba(130, 156, 170, 0.22);
  border-radius: 14px;
  background: rgba(7, 14, 20, 0.48);
  color: #d7e4ec;
  cursor: pointer;
  display: grid;
  gap: 2px;
  min-height: 58px;
  padding: 10px 8px;
  text-align: center;
  transition: transform 0.16s, border-color 0.16s, background 0.16s, box-shadow 0.16s;
}

.bac-bet-zone span {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.bac-bet-zone small {
  color: #7f95a0;
  font-size: 10px;
  font-weight: 800;
}

.bac-bet-zone:hover {
  transform: translateY(-1px);
  border-color: rgba(207, 254, 26, 0.28);
}

.bac-bet-zone.active {
  border-color: rgba(207, 254, 26, 0.52);
  background: rgba(207, 254, 26, 0.1);
  box-shadow: inset 0 0 0 1px rgba(207, 254, 26, 0.13), 0 12px 34px rgba(0, 0, 0, 0.26);
}

.bac-bet-zone.active span { color: #cffe1a; }

.bac-felt-label {
  width: 100%;
  text-align: center;
  margin-bottom: 8px;
}

.bac-felt-it {
  display: block;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bac-felt-en {
  display: block;
  margin-top: 2px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #6b8294;
  text-transform: none;
}

.bac-felt-banco .bac-felt-it {
  color: #c4b5fd;
}

.bac-felt-punta .bac-felt-it {
  color: #5eead4;
}

.bj-dealer-area .bac-felt-label {
  order: -1;
}

/* Baccarat rules tab copy */

.bac-rules-block .bet-label {
  margin-bottom: 8px;
}

.bac-rules-text {
  font-size: 13px;
  font-weight: 600;
  color: #88969c;
  line-height: 1.55;
  margin-bottom: 12px;
}

.bac-rules-text strong {
  color: #cfd8e4;
  font-weight: 700;
}

@media (max-width: 760px) {
  .bac-table-status {
    top: 10px;
    min-width: 152px;
    padding: 8px 12px;
  }

  .bac-table-status strong {
    font-size: 16px;
  }

  .bac-bet-zones {
    bottom: 25%;
    width: 92%;
    gap: 5px;
  }

  .bac-bet-zone {
    min-height: 48px;
    border-radius: 10px;
    padding: 8px 5px;
  }

  .bac-bet-zone span {
    font-size: 10px;
  }
}
