* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg-main: #020814;
  --bg-header: rgba(3, 8, 18, 0.74);
  --text-main: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.75);
  --text-muted: rgba(255, 255, 255, 0.56);
  --green: #19db71;
  --green-soft: rgba(25, 219, 113, 0.16);
  --yellow: #ffd400;
  --yellow-dark: #111111;
  --card: rgba(255, 255, 255, 0.05);
  --card-2: rgba(255, 255, 255, 0.04);
  --card-border: rgba(255, 255, 255, 0.09);
  --shadow: 0 18px 42px rgba(0, 0, 0, 0.35);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Exo 2", sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  opacity: 1;
}

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

button,
select,
input,
textarea {
  color: #ffffff;
}

select {
  background: rgba(9, 17, 31, 0.96);
  border: 1px solid rgba(25, 219, 113, 0.22);
}

select option {
  background: #09111f;
  color: #ffffff;
}

img {
  max-width: 100%;
  display: block;
}

.hidden {
  display: none !important;
}

.page-shell {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.45s ease, transform 0.45s ease;
}

body.page-leaving .page-shell {
  opacity: 0;
  transform: translateY(10px);
}

.home-page {
  overflow-x: hidden;
}

.topo {
  position: fixed;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 32px);
  max-width: 1320px;
  min-height: 78px;
  padding: 12px 18px;
  display: grid;
  grid-template-columns: 180px 1fr auto;
  align-items: center;
  gap: 18px;
  background: linear-gradient(180deg, rgba(8, 14, 24, 0.78), rgba(8, 14, 24, 0.58));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  z-index: 1000;
}

.topo::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(25, 219, 113, 0.08),
    rgba(255, 255, 255, 0.02) 28%,
    rgba(255, 255, 255, 0.01) 72%,
    rgba(25, 219, 113, 0.06)
  );
  opacity: 0.9;
}

.logo {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  min-width: 140px;
}

.logo img {
  height: 50px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}

.menu {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.menu a {
  position: relative;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.72);
  transition: color 0.25s ease, transform 0.25s ease;
}

.menu a:hover,
.menu a.ativo {
  color: #ffffff;
  transform: translateY(-1px);
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, #19db71, #8affba);
  box-shadow: 0 0 18px rgba(25, 219, 113, 0.35);
  transition: width 0.25s ease;
}

.menu a:hover::after,
.menu a.ativo::after {
  width: 100%;
}

.header-actions {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.user-badge {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.btn-entrar,
.btn-amarelo,
.btn-transparente {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 18px;
  border-radius: 14px;
  border: none;
  cursor: pointer;
  transition: 0.25s ease;
  font-weight: 700;
}

.btn-entrar {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 16px;
  border: 1px solid rgba(25, 219, 113, 0.18);
  background: linear-gradient(180deg, #22e07a, #19db71);
  color: #04110a;
  font-weight: 800;
  box-shadow:
    0 12px 28px rgba(25, 219, 113, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-entrar:hover {
  transform: translateY(-2px);
  box-shadow:
    0 16px 34px rgba(25, 219, 113, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  filter: brightness(1.03);
}

.btn-amarelo {
  background: var(--yellow);
  color: var(--yellow-dark);
}

.btn-amarelo:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(255, 212, 0, 0.22);
}

.btn-transparente {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.btn-transparente:hover {
  background: rgba(255, 255, 255, 0.08);
}

.danger-btn {
  border-color: rgba(255, 65, 65, 0.22);
  color: #ff8181;
}

.pagina-interna .pagina-conteudo {
  max-width: 1280px;
  margin: 0 auto;
  padding: 150px 24px 52px;
}

.section-head {
  margin-bottom: 30px;
}

.section-head h2 {
  font-size: 42px;
  margin-top: 10px;
  margin-bottom: 10px;
  font-family: "Orbitron", sans-serif;
}

.section-head p {
  color: var(--text-soft);
  max-width: 740px;
  line-height: 1.6;
}

.mini-titulo {
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 1.8px;
  font-size: 12px;
  font-weight: 700;
}

.content-card,
.admin-panel {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.035));
  border: 1px solid var(--card-border);
  border-radius: 28px;
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.admin-panel-head,
.table-toolbar,
.category-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.admin-panel-head h3,
.table-toolbar h3,
.category-block-head h4 {
  font-family: "Orbitron", sans-serif;
  font-size: 24px;
}

.admin-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(25, 219, 113, 0.12);
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  border: 1px solid rgba(25, 219, 113, 0.22);
}

.admin-race-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.85fr);
  gap: 22px;
}

.admin-race-form,
.auth-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.form-group label {
  color: var(--text-main);
  font-weight: 600;
  font-size: 14px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: 48px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text-main);
  padding: 12px 14px;
  outline: none;
  transition: 0.2s ease;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(25, 219, 113, 0.6);
  box-shadow: 0 0 0 3px rgba(25, 219, 113, 0.12);
}

.field-hint {
  color: var(--text-muted);
  font-size: 12px;
}

.admin-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.admin-race-side {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.admin-preview-card,
.admin-created-list,
.championship-card,
.race-card,
.empty-state,
.mini-list-card {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
}

.admin-preview-card {
  padding: 18px;
}

.admin-preview-card img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 18px;
  margin: 14px 0;
}

.admin-preview-card h4 {
  font-size: 24px;
  margin-bottom: 10px;
  font-family: "Orbitron", sans-serif;
}

.admin-preview-card p,
.admin-preview-card span {
  color: var(--text-soft);
}

.preview-cars {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.chip-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  font-size: 13px;
  font-weight: 600;
}

.race-grid,
.championship-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.race-card {
  overflow: hidden;
}

.race-card-image {
  position: relative;
  height: 230px;
}

.race-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.race-status {
  position: absolute;
  top: 14px;
  right: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  backdrop-filter: blur(10px);
}

.status-open {
  background: rgba(25, 219, 113, 0.16);
  color: #89ffb7;
  border: 1px solid rgba(25, 219, 113, 0.24);
}

.status-soon {
  background: rgba(255, 212, 0, 0.16);
  color: #ffe77d;
  border: 1px solid rgba(255, 212, 0, 0.22);
}

.status-closed {
  background: rgba(255, 95, 95, 0.16);
  color: #ffb0b0;
  border: 1px solid rgba(255, 95, 95, 0.22);
}

.race-card-body,
.championship-card {
  padding: 20px;
}

.race-card-top {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.race-title {
  font-family: "Orbitron", sans-serif;
  font-size: 23px;
  margin-bottom: 12px;
}

.race-text {
  color: var(--text-soft);
  line-height: 1.6;
}

.race-meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin-top: 18px;
}

.race-meta-list span {
  color: var(--text-soft);
  font-size: 14px;
}

.race-meta-list strong {
  color: var(--text-main);
}

.race-card-actions {
  margin-top: 20px;
}

.empty-state {
  padding: 28px;
  text-align: center;
}

.empty-state h3 {
  margin-bottom: 10px;
  font-family: "Orbitron", sans-serif;
}

.empty-state p {
  color: var(--text-soft);
  margin-bottom: 16px;
}

.mini-list-card {
  padding: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 12px;
}

.mini-list-card h5 {
  font-size: 16px;
  margin-bottom: 6px;
}

.mini-list-card span {
  color: var(--text-soft);
  font-size: 13px;
}

.race-detail-hero {
  position: relative;
  min-height: 420px;
  border-radius: 30px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  margin-bottom: 24px;
}

.race-detail-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.race-detail-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(255, 255, 255, 0.02), rgba(0, 0, 0, 0.02)),
    linear-gradient(to top, rgba(0, 0, 0, 0.02), rgba(0, 0, 0, 0.02));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 1;
}

.race-detail-content {
  position: relative;
  z-index: 2;
  padding: 40px;
  max-width: 860px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 14px;
}

.race-detail-content h1 {
  font-family: "Orbitron", sans-serif;
  font-size: 50px;
  line-height: 1.05;
}

.race-detail-content p {
  color: var(--text-soft);
  line-height: 1.7;
  max-width: 760px;
}

.race-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 24px;
  margin-bottom: 24px;
}

.selected-driver {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.selected-driver img,
.driver-list-item img,
.driver-cell img,
.profile-preview img,
#rankingDriverPhoto {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.selected-driver span,
.driver-list-item span,
.profile-preview span {
  color: var(--text-soft);
}

.driver-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.driver-list-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.driver-list-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.driver-rank {
  width: 36px;
  text-align: center;
  font-family: "Orbitron", sans-serif;
  color: var(--green);
}

.auth-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 126px 24px 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.9fr);
  gap: 24px;
}

.auth-card,
.info-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--card-border);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.auth-card {
  padding: 28px;
}

.auth-title {
  font-family: "Orbitron", sans-serif;
  font-size: 34px;
  margin-bottom: 10px;
}

.auth-subtitle {
  color: var(--text-soft);
  margin-bottom: 24px;
  line-height: 1.6;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: var(--text-muted);
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.info-card {
  position: relative;
  overflow: hidden;
  padding: 28px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  border-radius: 28px;

  background: linear-gradient(
    120deg,
    rgba(10, 20, 35, 0.85),
    rgba(5, 15, 30, 0.65)
  );

  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);

  backdrop-filter: blur(12px);
}
.info-card::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 4px;
  border-radius: 999px;

  background: linear-gradient(
    180deg,
    #19db71,
    rgba(25, 219, 113, 0.1)
  );

  box-shadow: 0 0 16px rgba(25, 219, 113, 0.25);
}

.info-card::after {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(25, 219, 113, 0.04),
    rgba(255, 255, 255, 0.01) 40%,
    transparent
  );

  pointer-events: none;
}

.info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(25, 219, 113, 0.2);

  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.4),
    0 0 0 1px rgba(25, 219, 113, 0.05) inset;
}

.info-card h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 30px;
  margin-bottom: 12px;
}

.info-card p {
  color: var(--text-soft);
  line-height: 1.7;
  margin-bottom: 20px;
}

.highlight-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.highlight-item {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.table-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--card-border);
  border-radius: 28px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.table-wrapper {
  overflow-x: auto;
}

.ranking-table {
  width: 100%;
  border-collapse: collapse;
}

.ranking-table th,
.ranking-table td {
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  text-align: left;
}

.ranking-table th {
  color: var(--text-soft);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.driver-cell {
  display: flex;
  align-items: center;
  gap: 14px;
}

.admin-ranking-grid {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
}

.profile-preview {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

.hero-ready {
  opacity: 0;
  transform: translateY(18px);
}

.hero-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.stat-card,
.highlight-card,
.category-card {
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.stat-card:hover,
.highlight-card:hover,
.category-card:hover,
.race-card:hover,
.championship-card:hover {
  transform: translateY(-4px);
  border-color: rgba(25, 219, 113, 0.2);
}

.admin-actions select.btn-transparente {
  appearance: none;
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0 14px;
  min-height: 46px;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 160px 24px 60px;
}

.hero-bg,
.hero-bg img,
.hero-bg video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-bg img,
.hero-bg video {
  object-fit: cover;
  transform: scale(1.02);
  pointer-events: none;
}

.overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.55) 40%, rgba(0, 0, 0, 0.75) 100%),
    linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.1) 45%);
  z-index: 1;
  pointer-events: none;
}

.hero-conteudo {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.status-temporada {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid rgba(25, 219, 113, 0.34);
  background: rgba(5, 70, 35, 0.28);
  color: var(--green);
  font-weight: 700;
  font-size: 16px;
  margin-bottom: 30px;
}

.bolinha {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.hero-conteudo h1,
.section-head h2,
.auth-title,
.info-card h3,
.highlight-card h3,
.race-title,
.ranking-name {
  font-family: "Orbitron", sans-serif;
}

.hero-conteudo h1 {
  font-size: 94px;
  line-height: 0.92;
  font-weight: 900;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 22px;
}

.hero-conteudo h1 span {
  color: var(--text-main);
}

.hero-conteudo p {
  max-width: 720px;
  font-size: 21px;
  line-height: 1.58;
  color: var(--text-soft);
}

.hero-botoes {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.hero-botoes .btn-transparente {
  min-width: 180px;
}

.stats-grid,
.highlight-grid,
.category-grid,
.rules-grid,
.contact-grid {
  display: grid;
  gap: 18px;
}

.stats-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 34px;
}

.highlight-grid,
.category-grid,
.rules-grid,
.contact-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.highlight-card,
.category-card,
.rule-card,
.contact-card {
  padding: 22px;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
}

.highlight-card h3,
.category-card h3,
.rule-card h3,
.contact-card h3 {
  font-family: "Orbitron", sans-serif;
  margin-bottom: 10px;
}

.highlight-card p,
.category-card p,
.rule-card p,
.contact-card p,
.stat-card p {
  color: var(--text-soft);
  line-height: 1.6;
}

.stat-card {
  padding: 20px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.07);
  box-shadow: var(--shadow);
}

.stat-number {
  font-family: "Orbitron", sans-serif;
  font-size: 36px;
  color: var(--green);
  margin-bottom: 8px;
}

.page-section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 40px 24px 10px;
}

.page-section:last-child {
  padding-bottom: 60px;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.social-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.social-pill {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(25, 219, 113, 0.08);
  border: 1px solid rgba(25, 219, 113, 0.14);
  color: var(--green);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.footer {
  padding: 30px 24px 50px;
  text-align: center;
  color: var(--text-muted);
}

@media (max-width: 1180px) {
  .race-detail-grid,
  .auth-layout,
  .admin-race-layout,
  .highlight-grid,
  .category-grid,
  .rules-grid,
  .contact-grid,
  .stats-grid {
    grid-template-columns: 1fr;
  }

  .race-grid,
  .championship-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .topo {
    top: 10px;
    width: calc(100% - 20px);
    grid-template-columns: 1fr;
    justify-items: center;
    padding: 14px 16px;
    gap: 12px;
    border-radius: 20px;
  }

  .menu {
    gap: 14px;
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .header-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }

  .pagina-interna .pagina-conteudo,
  .auth-layout {
    padding-top: 180px;
  }

  .hero {
    padding-top: 190px;
  }

  .hero-conteudo h1 {
    font-size: 58px;
  }

  .admin-grid,
  .admin-ranking-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .pagina-interna .pagina-conteudo,
  .auth-layout,
  .page-section,
  .footer {
    padding-left: 16px;
    padding-right: 16px;
  }

  .content-card,
  .admin-panel,
  .auth-card,
  .info-card,
  .table-card {
    padding: 18px;
    border-radius: 22px;
  }

  .race-detail-content {
    padding: 24px;
  }

  .hero-conteudo h1 {
    font-size: 44px;
  }

  .hero-conteudo p {
    font-size: 17px;
  }

  .table-toolbar,
  .admin-panel-head,
  .category-block-head,
  .mini-list-card,
  .driver-list-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu a.ativo::after,
  .menu a:hover::after {
    bottom: -6px;
  }
}
.header-profile-button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(25, 219, 113, 0.35);
  background: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  transition: 0.25s ease;
}

.header-profile-button:hover {
  transform: translateY(-1px) scale(1.03);
  border-color: rgba(25, 219, 113, 0.8);
  box-shadow: 0 10px 24px rgba(25, 219, 113, 0.18);
}

.header-profile-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 20px;
}

.profile-modal {
  width: 100%;
  max-width: 520px;
  border-radius: 28px;
  padding: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}

.profile-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.profile-modal-head h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 26px;
}

.profile-close-btn {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  transition: 0.2s ease;
}

.profile-close-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

body.modal-open {
  overflow: hidden;
}
.license-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  border: 1px solid transparent;
}

.license-rookie {
  background: rgba(255, 255, 255, 0.08);
  color: #d7d7d7;
  border-color: rgba(255, 255, 255, 0.12);
}

.license-intermediario {
  background: rgba(255, 212, 0, 0.14);
  color: #ffe16a;
  border-color: rgba(255, 212, 0, 0.24);
}

.license-pro {
  background: rgba(25, 219, 113, 0.14);
  color: #7effb0;
  border-color: rgba(25, 219, 113, 0.24);
}

.header-profile-button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  cursor: pointer;
}

.header-profile-button img,
.pilot-profile-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.driver-cell a {
  color: var(--text-main);
  font-weight: 600;
}

.driver-cell a:hover {
  color: var(--green);
}

.pilot-hero-card {
  margin-bottom: 24px;
}

.pilot-hero-main {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.pilot-profile-avatar {
  width: 124px;
  height: 124px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.12);
}

.pilot-profile-title {
  font-family: "Orbitron", sans-serif;
  font-size: 34px;
  margin-bottom: 8px;
}

@media (max-width: 700px) {
  .pilot-hero-main {
    align-items: flex-start;
  }

  .pilot-profile-avatar {
    width: 96px;
    height: 96px;
  }
}
.radio-player {
  position: fixed;
  right: 20px;
  bottom: 20px;
  background: rgba(4, 10, 24, 0.9);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 10px 12px;
  border-radius: 16px;
  display: flex;
  gap: 8px;
  align-items: center;
  z-index: 99999;
}

.radio-player button {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #19db71, #11b95d);
  color: #04110a;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
}

.radio-player select {
  height: 42px;
  min-width: 140px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(25, 219, 113, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  outline: none;
  cursor: pointer;
}

#volumeControl {
  width: 90px;
  accent-color: #19db71;
  cursor: pointer;
}

@media (max-width: 768px) {
  .radio-player {
    right: 12px;
    bottom: 12px;
    padding: 8px 10px;
    gap: 6px;
  }

  .radio-player button {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .radio-player select {
    height: 38px;
    min-width: 110px;
    font-size: 14px;
  }

  #volumeControl {
    width: 70px;
  }
}
.radio-wrap {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 99999;
  display: flex;
  align-items: flex-end;
  gap: 10px;
}

.radio-toggle {
  width: 54px;
  height: 54px;
  border: none;
  border-radius: 16px;
  background: linear-gradient(135deg, #19db71, #0e9f51);
  color: #04110a;
  font-size: 22px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.radio-toggle:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

.radio-player {
  width: 280px;
  background: rgba(4, 10, 24, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(25, 219, 113, 0.18);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.35);
  border-radius: 18px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transform-origin: bottom right;
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
}

.radio-player.collapsed {
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.96);
  pointer-events: none;
}

.radio-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.radio-close {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  font-size: 15px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.radio-close:hover {
  background: rgba(255, 255, 255, 0.12);
  transform: scale(1.04);
}

.radio-visualizer {
  flex: 1;
  height: 54px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
  padding: 8px 10px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(25, 219, 113, 0.12), rgba(25, 219, 113, 0.04));
  border: 1px solid rgba(25, 219, 113, 0.12);
  overflow: hidden;
}

.radio-visualizer span {
  flex: 1;
  display: block;
  min-width: 6px;
  border-radius: 999px 999px 3px 3px;
  background: linear-gradient(180deg, #6bffae 0%, #19db71 55%, #0b7f3e 100%);
  animation: radioBars 1s ease-in-out infinite;
  transform-origin: bottom;
  opacity: 0.95;
}

.radio-visualizer span:nth-child(1) { animation-delay: 0s; height: 28%; }
.radio-visualizer span:nth-child(2) { animation-delay: 0.1s; height: 56%; }
.radio-visualizer span:nth-child(3) { animation-delay: 0.18s; height: 44%; }
.radio-visualizer span:nth-child(4) { animation-delay: 0.26s; height: 72%; }
.radio-visualizer span:nth-child(5) { animation-delay: 0.34s; height: 38%; }
.radio-visualizer span:nth-child(6) { animation-delay: 0.42s; height: 82%; }
.radio-visualizer span:nth-child(7) { animation-delay: 0.16s; height: 48%; }
.radio-visualizer span:nth-child(8) { animation-delay: 0.28s; height: 68%; }
.radio-visualizer span:nth-child(9) { animation-delay: 0.38s; height: 34%; }
.radio-visualizer span:nth-child(10) { animation-delay: 0.48s; height: 76%; }
.radio-visualizer span:nth-child(11) { animation-delay: 0.22s; height: 42%; }
.radio-visualizer span:nth-child(12) { animation-delay: 0.52s; height: 62%; }

@keyframes radioBars {
  0% { transform: scaleY(0.45); }
  20% { transform: scaleY(0.95); }
  40% { transform: scaleY(0.55); }
  60% { transform: scaleY(1); }
  80% { transform: scaleY(0.35); }
  100% { transform: scaleY(0.7); }
}

.radio-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.radio-controls button {
  width: 42px;
  height: 42px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #19db71, #11b95d);
  color: #04110a;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, filter 0.18s ease;
}

.radio-controls button:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

#volumeControl {
  flex: 1;
  accent-color: #19db71;
  cursor: pointer;
}

#musicSelect {
  width: 100%;
  height: 42px;
  padding: 0 12px;
  border-radius: 12px;
  border: 1px solid rgba(25, 219, 113, 0.28);
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  outline: none;
  cursor: pointer;
}

.radio-player.is-muted .radio-visualizer span,
.radio-player.is-paused .radio-visualizer span {
  animation-play-state: paused;
  opacity: 0.35;
}

@media (max-width: 768px) {
  .radio-wrap {
    right: 12px;
    bottom: 12px;
  }

  .radio-player {
    width: 250px;
    padding: 12px;
  }

  .radio-toggle {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    font-size: 20px;
  }

  .radio-controls button {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }
}

/* ===== ADMIN PANEL ULTRA MODERNO ===== */

.admin-panel {
  margin-top: 40px;
  padding: 30px;
  border-radius: 24px;

  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.035));
  border: 1px solid rgba(255,255,255,0.12);

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow:
    0 25px 60px rgba(0,0,0,0.45),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

/* GRID */
.admin-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 28px;
}

/* FORM */
.admin-form input,
.admin-form select,
.admin-form textarea {
  width: 100%;
  padding: 14px;
  border-radius: 14px;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: white;

  transition: 0.25s;
}

.admin-form input:focus,
.admin-form select:focus,
.admin-form textarea:focus {
  border-color: #19db71;
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 0 3px rgba(25,219,113,0.15);
}

/* TITULOS */
.admin-section h3 {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
}

/* CAR INPUT */
.car-input button {
  background: linear-gradient(135deg, #19db71, #0ea95a);
  color: black;
  border-radius: 12px;
}

/* LISTA DE CARROS */
.car-item {
  background: rgba(25,219,113,0.12);
  border: 1px solid rgba(25,219,113,0.25);
  border-radius: 10px;
}

.car-item:hover {
  background: rgba(25,219,113,0.25);
}

/* PREVIEW */
.admin-preview {
  background: rgba(255,255,255,0.04);
  border-radius: 20px;
  padding: 20px;
}

/* CARD PREVIEW */
.preview-card {
  background: rgba(255,255,255,0.06);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
}

.preview-card img {
  height: 180px;
  object-fit: cover;
}

.preview-card h3 {
  padding: 12px;
  font-size: 17px;
}

.preview-card p {
  padding: 0 12px 12px;
  color: rgba(255,255,255,0.65);
}

/* BOTÕES */
.admin-actions .btn-amarelo {
  background: linear-gradient(135deg, #ffd400, #ffb800);
}

.admin-actions .btn-transparente {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
}

/* RESPONSIVO */
@media (max-width: 980px) {
  .admin-grid {
    grid-template-columns: 1fr;
  }
}
.filters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 22px;
}

.admin-form textarea {
  width: 100%;
  min-height: 110px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: #020814;
  color: white;
  outline: none;
  resize: vertical;
}

.admin-form textarea:focus {
  border-color: #19db71;
}

.admin-actions {
  display: flex;
  gap: 12px;
  margin-top: 12px;
}

.admin-actions .btn-transparente,
.admin-actions .btn-amarelo {
  min-height: 48px;
}

@media (max-width: 980px) {
  .filters-grid,
  .admin-grid {
    grid-template-columns: 1fr;
  }
}
#raceCarSelect {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  font-weight: 500;
  transition: 0.2s;
}

#raceCarSelect:focus {
  border-color: #19db71;
  box-shadow: 0 0 0 2px rgba(25, 219, 113, 0.2);
}
.glass-popup {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.glass-popup.hidden {
  display: none;
}

.glass-popup-content {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  padding: 30px;
  border-radius: 18px;
  text-align: center;
  width: 90%;
  max-width: 400px;
  color: white;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  animation: popupFade 0.3s ease;
}

.glass-popup-content h2 {
  margin-bottom: 10px;
}

.glass-popup-content p {
  color: rgba(255,255,255,0.7);
  margin-bottom: 20px;
}

@keyframes popupFade {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
/* LOGIN MODERNO GLASS */
.auth-login-glass {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background:
    radial-gradient(circle at top left, rgba(25, 219, 113, 0.12), transparent 28%),
    radial-gradient(circle at bottom right, rgba(0, 153, 255, 0.12), transparent 30%),
    linear-gradient(135deg, #020814 0%, #03101f 50%, #020814 100%);
}

.auth-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.auth-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(2, 8, 20, 0.58), rgba(2, 8, 20, 0.84)),
    url("assets/foto/fundo-login.jpg") center/cover no-repeat;
  opacity: 0.32;
}

.auth-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 95%);
}

.auth-glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(80px);
  opacity: 0.5;
}

.auth-glow-1 {
  width: 260px;
  height: 260px;
  background: rgba(25, 219, 113, 0.18);
  top: 8%;
  left: 10%;
  animation: floatGlow 7s ease-in-out infinite;
}

.auth-glow-2 {
  width: 300px;
  height: 300px;
  background: rgba(0, 132, 255, 0.14);
  bottom: 8%;
  right: 8%;
  animation: floatGlow 9s ease-in-out infinite;
}

.auth-shell-modern {
  position: relative;
  z-index: 1;
}

.modern-auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 48px 20px;
}

.auth-card-glass {
  width: 100%;
  max-width: 520px;
  padding: 34px 30px 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.05));
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255,255,255,0.08);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.modern-auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 18px;
}

.modern-auth-logo img {
  width: 128px;
  filter: drop-shadow(0 8px 18px rgba(0,0,0,0.35));
}

.auth-topline {
  display: flex;
  justify-content: center;
  margin-bottom: 12px;
}

.auth-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(25, 219, 113, 0.12);
  border: 1px solid rgba(25, 219, 113, 0.24);
  color: #19db71;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.modern-auth-title {
  text-align: center;
  margin-top: 6px;
  margin-bottom: 10px;
}

.auth-subtitle {
  text-align: center;
  color: rgba(255,255,255,0.72);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 26px;
}

.modern-auth-form {
  gap: 16px;
}

.modern-auth-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.modern-auth-form label {
  color: rgba(255,255,255,0.84);
  font-size: 0.95rem;
  font-weight: 600;
}

.input-shell {
  position: relative;
  display: flex;
  align-items: center;
}

.input-icon {
  position: absolute;
  left: 14px;
  opacity: 0.72;
  font-size: 0.95rem;
  pointer-events: none;
}

.input-shell input {
  width: 100%;
  height: 56px;
  padding: 0 16px 0 44px;
  border-radius: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: #fff;
  outline: none;
  transition: 0.25s ease;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

.input-shell input::placeholder {
  color: rgba(255,255,255,0.42);
}

.input-shell input:focus {
  border-color: rgba(25, 219, 113, 0.42);
  background: rgba(255,255,255,0.08);
  box-shadow:
    0 0 0 4px rgba(25, 219, 113, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

.modern-auth-btn {
  width: 100%;
  margin-top: 6px;
  height: 56px;
  border-radius: 16px;
  font-weight: 800;
  font-size: 1rem;
  box-shadow: 0 16px 30px rgba(255, 212, 0, 0.18);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.modern-auth-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 34px rgba(255, 212, 0, 0.25);
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 22px 0 18px;
  color: rgba(255,255,255,0.48);
  font-size: 0.9rem;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.10);
}

.modern-steam-btn {
  width: 100%;
  height: 54px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  color: #fff;
  transition: 0.25s ease;
}

.modern-steam-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  box-shadow: 0 0 18px rgba(255,255,255,0.08);
}

.steam-icon {
  font-size: 1rem;
}

.modern-auth-help {
  text-align: center;
  margin-top: 22px;
  color: rgba(255,255,255,0.75);
}

.modern-create-link {
  color: #9fb3c8;
  text-decoration: none;
  transition: 0.2s ease;
}

.modern-create-link:hover {
  color: #fff;
  text-shadow: 0 0 10px rgba(255,255,255,0.22);
}

.auth-admin-note {
  margin-top: 22px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: grid;
  gap: 6px;
  text-align: center;
  color: rgba(255,255,255,0.66);
  font-size: 0.92rem;
}

.auth-admin-note span {
  color: #19db71;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
}

.auth-admin-note strong {
  color: #fff;
  font-weight: 700;
}

@keyframes floatGlow {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  50% {
    transform: translateY(-18px) translateX(12px);
  }
}

@media (max-width: 640px) {
  .auth-card-glass {
    padding: 24px 18px 22px;
    border-radius: 22px;
  }

  .modern-auth-logo img {
    width: 108px;
  }

  .input-shell input,
  .modern-auth-btn,
  .modern-steam-btn {
    height: 52px;
  }

  .auth-subtitle {
    font-size: 0.92rem;
  }
}
.bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  filter: brightness(0.4) saturate(1.2);
}
.auth-bg-overlay {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(2, 8, 20, 0.6), rgba(2, 8, 20, 0.9)),
    radial-gradient(circle at top, rgba(25, 219, 113, 0.12), transparent 40%);
  backdrop-filter: blur(6px);
  z-index: -1;
}
/* =========================
   FUNDO EM VIDEO + OVERLAY
========================= */

.page-bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  filter: brightness(0.28) saturate(1.1) contrast(1.05);
}

.page-bg-overlay {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(to bottom, rgba(2, 8, 20, 0.58), rgba(2, 8, 20, 0.88)),
    radial-gradient(circle at top left, rgba(25, 219, 113, 0.10), transparent 28%),
    radial-gradient(circle at top right, rgba(0, 140, 255, 0.10), transparent 30%),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: auto, auto, auto, 34px 34px, 34px 34px;
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

/* =========================
   CONTAINER GERAL DA PÁGINA
========================= */

.page-shell,
.pagina-conteudo,
.race-detail-grid,
.race-detail-hero {
  position: relative;
  z-index: 1;
}

/* =========================
   CARDS DE VIDRO
========================= */

.content-card,
.race-detail-hero,
.race-detail-grid > article,
.empty-state,
.driver-list-item,
.mini-list-card,
.auth-card,
.championship-card,
.race-card-body {
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.035));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255,255,255,0.05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

/* bloco principal da página de detalhe */
.race-detail-hero {
  overflow: hidden;
  border-radius: 28px;
}

.race-detail-cover {
  opacity: 0.32;
  filter: blur(1px);
}

.race-detail-overlay {
  background:
    linear-gradient(to right, rgba(2, 8, 20, 0.82), rgba(2, 8, 20, 0.52)),
    linear-gradient(to top, rgba(2, 8, 20, 0.88), rgba(2, 8, 20, 0.12));
}

/* grid dos cards */
.race-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(320px, 1fr);
  gap: 24px;
  margin-top: 24px;
}

@media (max-width: 980px) {
  .race-detail-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================
   BLOCO DE INSCRIÇÃO
========================= */

.empty-state {
  border-radius: 24px;
  padding: 34px 24px;
  text-align: center;
}

.empty-state h3 {
  font-size: clamp(1.35rem, 2vw, 2rem);
  margin-bottom: 10px;
}

.empty-state p {
  color: rgba(255,255,255,0.82);
  line-height: 1.65;
}

/* =========================
   SELECT / INPUTS EM VIDRO
========================= */

.auth-form input,
.auth-form select,
.auth-form textarea,
#raceCarSelect {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: #fff;
  border-radius: 16px;
  min-height: 54px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
  transition: 0.22s ease;
}

.auth-form input:focus,
.auth-form select:focus,
.auth-form textarea:focus,
#raceCarSelect:focus {
  outline: none;
  border-color: rgba(25, 219, 113, 0.42);
  background: rgba(255,255,255,0.08);
  box-shadow:
    0 0 0 4px rgba(25, 219, 113, 0.10),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

/* =========================
   CHIPS DE VIDRO
========================= */

.chip-outline {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  color: #fff;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04);
}

/* =========================
   LISTA DE PILOTOS
========================= */

.driver-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ===== SEPARAÇÃO DE CLASSES E DESTAQUE ===== */
.class-separator {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 28px;
  margin: 45px 0 20px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent);
  border-radius: 16px;
  border-left: 8px solid var(--green);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.class-separator h4 {
  font-family: "Orbitron", sans-serif;
  font-size: 1.4rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: #fff;
  text-shadow: 0 0 20px rgba(25, 219, 113, 0.4);
}

/* Variantes de cores para os separadores de classe */
.class-separator.hypercar { border-left-color: #FF4444; background: linear-gradient(90deg, rgba(255, 68, 68, 0.15), transparent); }
.class-separator.hypercar h4 { text-shadow: 0 0 20px rgba(255, 68, 68, 0.5); }
.class-separator.lmp2 { border-left-color: #4488FF; background: linear-gradient(90deg, rgba(68, 136, 255, 0.15), transparent); }
.class-separator.lmp2 h4 { text-shadow: 0 0 20px rgba(68, 136, 255, 0.5); }
.class-separator.gt3 { border-left-color: #22CC66; background: linear-gradient(90deg, rgba(34, 204, 102, 0.15), transparent); }
.class-separator.gt3 h4 { text-shadow: 0 0 20px rgba(34, 204, 102, 0.5); }
.class-separator.gt4 { border-left-color: #AAFFAA; background: linear-gradient(90deg, rgba(170, 255, 170, 0.15), transparent); }
.class-separator.gt4 h4 { text-shadow: 0 0 20px rgba(170, 255, 170, 0.5); }

/* Cores específicas por classe para itens da lista */
.driver-list-item[data-class="Hypercar"], .driver-row-hypercar { border-left: 5px solid #FF4444 !important; background: linear-gradient(90deg, rgba(255, 68, 68, 0.08), transparent) !important; }
.driver-list-item[data-class="LMP2"], .driver-row-lmp2 { border-left: 5px solid #4488FF !important; background: linear-gradient(90deg, rgba(68, 136, 255, 0.08), transparent) !important; }
.driver-list-item[data-class="GT3"], .driver-row-gt3 { border-left: 5px solid #22CC66 !important; background: linear-gradient(90deg, rgba(34, 204, 102, 0.08), transparent) !important; }
.driver-list-item[data-class="GT4"], .driver-row-gt4 { border-left: 5px solid #AAFFAA !important; background: linear-gradient(90deg, rgba(170, 255, 170, 0.08), transparent) !important; }

/* Estilo para o Botão de Protesto */
.btn-protesto {
  background: linear-gradient(135deg, #ef4444, #991b1b);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 20px rgba(239, 68, 68, 0.25);
  padding: 12px 24px;
  font-size: 0.9rem;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1px;
}

.btn-protesto:hover {
  background: linear-gradient(135deg, #f87171, #b91c1c);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(239, 68, 68, 0.35);
}

.driver-list-item {
  border-radius: 22px;
  padding: 14px 18px;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.driver-list-item:hover {
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.16);
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.045));
}

.driver-list-item img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,0.16);
}

/* =========================
   BOTÕES MAIS PREMIUM
========================= */

.btn-amarelo,
.btn-transparente {
  border-radius: 16px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.btn-amarelo:hover,
.btn-transparente:hover {
  transform: translateY(-2px);
}

.btn-transparente {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.btn-transparente:hover {
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}

/* =========================
   CARD DA ESCOLHA DISPONÍVEL
========================= */

.preview-cars {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* =========================
   CABEÇALHOS
========================= */

.table-toolbar h3,
.race-detail-content h1,
.content-card h3 {
  text-shadow: 0 4px 18px rgba(0,0,0,0.28);
}

/* =========================
   HEADER LEVEMENTE EM VIDRO
========================= */

.topo {
  background: rgba(3, 8, 18, 0.48);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.glass-warning-card {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.04)),
    radial-gradient(circle at top, rgba(255, 214, 10, 0.08), transparent 55%);
  border: 1px solid rgba(255,255,255,0.12);
}
/* ===== CATEGORIAS COM IMAGEM ===== */

.category-bg {
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  transition: 0.35s ease;
}

.category-bg:hover {
  transform: scale(1.02);
}

.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.85),
    rgba(0,0,0,0.3),
    rgba(0,0,0,0.1)
  );
  z-index: 1;
}

.category-bg * {
  position: relative;
  z-index: 2;
}
/* ===== CATEGORIAS - ESTILO BANNER PRO ===== */

.category-bg {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  min-height: 190px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  cursor: pointer;
}

/* IMAGEM LIMPA */
.category-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: inherit;
  background-size: cover;
  background-position: center;
  transition: 0.5s ease;
  z-index: 1;
}

/* OVERLAY ESCURO TOP */
.category-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.75) 0%,
    rgba(0,0,0,0.45) 40%,
    rgba(0,0,0,0.15) 100%
  );
  z-index: 2;
}

/* FAIXA ESTILO CAMPEONATO */
.category-bg::after {
  content: "";
  position: absolute;
  right: -60px;
  top: 0;
  width: 180px;
  height: 100%;
  background: linear-gradient(135deg, #19db71, #0c8f47);
  transform: skewX(-20deg);
  opacity: 0.15;
  transition: 0.4s ease;
  z-index: 2;
}

/* CONTEÚDO */
.category-bg * {
  position: relative;
  z-index: 3;
}

/* HOVER ANIMAÇÃO */
.category-bg:hover::before {
  transform: scale(1.05) translateX(-10px);
}

.category-bg:hover::after {
  right: -20px;
  opacity: 0.25;
}

/* TEXTO MAIS IMPACTO */
.category-bg .race-title {
  font-size: 28px;
  font-weight: 800;
  text-shadow: 0 6px 25px rgba(0,0,0,0.8);
}

.category-bg .race-text {
  opacity: 0.9;
  font-size: 14px;
}

/* CHIP MAIS CLEAN */
.category-bg .chip-outline {
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
}
.regras-bg {
  background: 
    linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.85)),
    url('assets/foto/fundo2.png');

  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
/* FUNDO DA PÁGINA SOBRE */
.sobre-bg {
  background: 
    linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.85)),
    url('assets/foto/BSR_LOGO.png');

  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.historia {
  display: flex;
  flex-direction: column;
}

.historia-bloco {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.historia-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.1);
  transition: 1s ease;
}

.historia-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.85),
    rgba(0,0,0,0.5),
    rgba(0,0,0,0.2)
  );
}

.historia-conteudo {
  position: relative;
  z-index: 2;
  max-width: 700px;
  padding: 60px;
}

.historia-ano {
  color: #19db71;
  font-weight: 700;
  letter-spacing: 2px;
}

.historia-conteudo h2 {
  font-size: 52px;
  font-family: "Orbitron", sans-serif;
}

.historia-conteudo p {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
}

/* animação */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
  transition: 0.8s ease;
}

.reveal.revealed .historia-bg {
  transform: scale(1);
}
.historia {
  display: flex;
  flex-direction: column;
  padding-top: 80px; /* respeita o header */
}
/* ===== FUNDO ESPECIAL DA CLASSIFICAÇÃO ===== */
.ranking-page {
  background:
    radial-gradient(circle at top center, rgba(25, 219, 113, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(2, 8, 20, 0.78), rgba(2, 8, 20, 0.94)),
    url("assets/historia/stockcar.png");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
}

/* camada extra para dar profundidade sem atrapalhar leitura */
.ranking-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.42), rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.42)),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.34));
  z-index: -1;
}

/* deixa os cards mais bonitos nessa página */
.ranking-page .content-card,
.ranking-page .admin-panel,
.ranking-page .table-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* melhora o destaque dos títulos */
.ranking-page .section-head h2,
.ranking-page .table-toolbar h3,
.ranking-page .admin-panel-head h3 {
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

/* tabela mais refinada */
.ranking-page .ranking-table th,
.ranking-page .ranking-table td {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* badge mais viva */
.ranking-page .admin-badge {
  box-shadow: 0 0 18px rgba(25, 219, 113, 0.12);
}
/* ===== FUNDO ESPECIAL DA PÁGINA CATEGORIAS ===== */
.categorias-page {
  background:
    radial-gradient(circle at top center, rgba(25, 219, 113, 0.06), transparent 24%),
    linear-gradient(180deg, rgba(2, 8, 20, 0.74), rgba(2, 8, 20, 0.92)),
    url("assets/historia/safety.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.categorias-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.38), rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.38)),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.28));
  z-index: -1;
}

/* cards mais premium nessa página */
.categorias-page .content-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* título com mais presença */
.categorias-page .section-head h2,
.categorias-page .table-toolbar h3 {
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.30);
}

/* opcional: leve destaque nos cards ao passar o mouse */
.categorias-page .championship-card {
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.categorias-page .championship-card:hover {
  transform: translateY(-4px);
  border-color: rgba(25, 219, 113, 0.22);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}
/* ===== FUNDO ESPECIAL DA PÁGINA CONTATO ===== */
.contato-page {
  background:
    radial-gradient(circle at top center, rgba(25, 219, 113, 0.07), transparent 22%),
    radial-gradient(circle at bottom right, rgba(0, 102, 255, 0.08), transparent 28%),
    linear-gradient(180deg, rgba(2, 8, 20, 0.76), rgba(2, 8, 20, 0.94)),
    url("assets/historia/camaro.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.contato-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.34), rgba(0, 0, 0, 0.14), rgba(0, 0, 0, 0.34)),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.30));
  z-index: -1;
}

/* container da página */
.contato-page .stack-list {
  display: grid;
  gap: 18px;
}

/* cards do contato */
.contato-page .info-card {
  position: relative;
  overflow: hidden;
  padding: 26px 28px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.30),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.contato-page .info-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(25, 219, 113, 0.04),
    rgba(255, 255, 255, 0.01) 40%,
    rgba(0, 102, 255, 0.04)
  );
  pointer-events: none;
}

.contato-page .info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(25, 219, 113, 0.20);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(25, 219, 113, 0.06) inset;
}

.contato-page .section-head h2,
.contato-page .info-card h3 {
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.30);
}

.contato-page .info-card h3 {
  margin-bottom: 12px;
  font-size: 24px;
}

.contato-page .info-card p,
.contato-page .info-card a {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
  word-break: break-word;
}

/* links com mais destaque */
.contato-page .info-card a {
  color: #ffffff;
  transition: color 0.25s ease, opacity 0.25s ease;
}

.contato-page .info-card a:hover {
  color: #19db71;
}

/* destaque por rede */
.contato-page .info-card.discord {
  border-left: 4px solid #5865f2;
}

.contato-page .info-card.instagram {
  border-left: 4px solid #e1306c;
}

.contato-page .info-card.youtube {
  border-left: 4px solid #ff0000;
}
/* ===== PÁGINA REGRAS - VISUAL PREMIUM ===== */
.regras-page {
  background:
    linear-gradient(rgba(2, 8, 20, 0.72), rgba(2, 8, 20, 0.88)),
    url("assets/historia/endurace2.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.regras-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at top center, rgba(25, 219, 113, 0.06), transparent 22%),
    linear-gradient(to right, rgba(0, 0, 0, 0.36), rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.36)),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.10), rgba(0, 0, 0, 0.30));
  z-index: -1;
}

.regras-page .section-head {
  margin-bottom: 34px;
}

.regras-page .section-head h2 {
  text-shadow: 0 10px 28px rgba(0, 0, 0, 0.36);
}

.regras-page .stack-list {
  display: grid;
  gap: 18px;
}

.regras-page .info-card {
  position: relative;
  overflow: hidden;
  padding: 28px 28px 24px;
  border-radius: 28px;
  background: linear-gradient(180deg, rgba(9, 17, 31, 0.74), rgba(9, 17, 31, 0.52));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.regras-page .info-card::before {
  content: "";
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, #19db71, rgba(25, 219, 113, 0.15));
  box-shadow: 0 0 16px rgba(25, 219, 113, 0.18);
}

.regras-page .info-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(25, 219, 113, 0.03),
    rgba(255, 255, 255, 0.01) 40%,
    rgba(255, 255, 255, 0.00)
  );
  pointer-events: none;
}

.regras-page .info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(25, 219, 113, 0.18);
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(25, 219, 113, 0.05) inset;
}

.regras-page .info-card h3 {
  position: relative;
  z-index: 1;
  font-size: 24px;
  margin-bottom: 14px;
  padding-left: 8px;
  font-family: "Orbitron", sans-serif;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.34);
}

.regras-page .info-card p {
  position: relative;
  z-index: 1;
  padding-left: 8px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.9;
  font-size: 16px;
}

.regras-page .mini-titulo {
  color: #67f2a0;
  text-shadow: 0 0 16px rgba(25, 219, 113, 0.18);
}
/* ===== FUNDO ESPECIAL DA PÁGINA CORRIDAS ===== */
.corridas-page {
  background:
    radial-gradient(circle at top center, rgba(25, 219, 113, 0.08), transparent 24%),
    radial-gradient(circle at right center, rgba(0, 102, 255, 0.06), transparent 28%),
    linear-gradient(180deg, #020814 0%, #03101d 45%, #020814 100%);
  background-attachment: fixed;
}

.corridas-page::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.18));
  z-index: -1;
}

/* título com mais presença */
.corridas-page .section-head h2,
.corridas-page .admin-panel-head h3,
.corridas-page .table-toolbar h3 {
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.32);
}

/* painel principal mais premium */
.corridas-page .admin-panel,
.corridas-page .content-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.065), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* formulário mais bonito */
.corridas-page .form-group input,
.corridas-page .form-group select,
.corridas-page .form-group textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.corridas-page .form-group input:focus,
.corridas-page .form-group select:focus,
.corridas-page .form-group textarea:focus {
  border-color: rgba(25, 219, 113, 0.55);
  box-shadow:
    0 0 0 3px rgba(25, 219, 113, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

/* preview mais bonito */
.corridas-page .admin-preview-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.035));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 18px 40px rgba(0,0,0,0.28),
    inset 0 1px 0 rgba(255,255,255,0.04);
}

/* lista de corridas mais elegante */
.corridas-page .mini-list-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.corridas-page .mini-list-card:hover {
  transform: translateY(-2px);
  border-color: rgba(25, 219, 113, 0.16);
  box-shadow: 0 14px 26px rgba(0,0,0,0.22);
}
.home-index {
  background:
    radial-gradient(circle at 20% 75%, rgba(25, 219, 113, 0.05), transparent 22%),
    radial-gradient(circle at 80% 80%, rgba(0, 102, 255, 0.05), transparent 24%),
    linear-gradient(180deg, #020814 0%, #03101d 45%, #020814 100%);
}

.home-bottom-section {
  position: relative;
  border-radius: 30px;
  padding-top: 20px;
  padding-bottom: 10px;
}

.home-bottom-section {
  position: relative;
  border-radius: 30px;
  padding-top: 20px;
  padding-bottom: 10px;

  background:
    linear-gradient(
      to bottom,
      rgba(2, 8, 20, 0.72),
      rgba(2, 8, 20, 0.88)
    ),
    url("assets/historia/");

  background-size: 100% auto;
  background-position: top center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.home-bottom-section > * {
  position: relative;
  z-index: 1;
}

.home-bottom-section .highlight-card,
.home-bottom-section .category-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.03));
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.home-bottom-section .highlight-card:hover,
.home-bottom-section .category-card:hover {
  transform: translateY(-6px);
  border-color: rgba(25, 219, 113, 0.18);
  box-shadow:
    0 24px 60px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(25, 219, 113, 0.04) inset;
}

.home-bottom-section .section-head h2,
.home-bottom-section .highlight-card h3,
.home-bottom-section .category-card h3 {
  text-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.footer {
  margin-top: 10px;
  padding: 34px 24px 54px;
  text-align: center;
  color: rgba(255,255,255,0.62);
  border-top: 1px solid rgba(255,255,255,0.06);
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.02));
}

/* ===== ADIÇÕES PARA O NOVO LAYOUT ===== */

/* Estatísticas do usuário na navbar */
.user-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  padding: 5px 12px;
  border-radius: 40px;
  cursor: pointer;
  transition: background 0.2s;
}
.user-badge:hover {
  background: rgba(255,255,255,0.1);
}
.user-badge img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #19db71;
}
.user-badge .stats {
  display: flex;
  gap: 12px;
  font-size: 0.7rem;
  color: #aaa;
}
.user-badge .stats span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Estilos para a modal de protesto */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.modal-box {
  background: rgba(20,20,35,0.95);
  border: 1px solid #19db71;
  border-radius: 24px;
  padding: 28px;
  max-width: 500px;
  width: 90%;
}
.modal-box input, .modal-box textarea, .modal-box select {
  width: 100%;
  padding: 10px 14px;
  margin: 8px 0;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  font-family: 'Exo 2', sans-serif;
}
.modal-box label {
  display: block;
  margin-top: 10px;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}
.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 20px;
}
.hidden {
  display: none;
}

/* Glass card para perfil */
.glass-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 20px;
  backdrop-filter: blur(14px);
  margin-bottom: 20px;
}
.btn-primary {
  background: #19db71;
  color: #020814;
  border: none;
  border-radius: 12px;
  padding: 10px 20px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}
.btn-primary:hover {
  background: #0e9f51;
  transform: translateY(-2px);
}
.btn-outline {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  border-radius: 12px;
  padding: 6px 12px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}
.btn-outline:hover {
  border-color: #19db71;
  color: #19db71;
}
.badge-muted {
  background: rgba(255,255,255,0.1);
  padding: 4px 8px;
  border-radius: 20px;
  font-size: 0.7rem;
}

/* Loading dots */
.loading-dots {
  display: inline-flex;
  gap: 5px;
  align-items: center;
}
.loading-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #19db71;
  animation: bounce 1s infinite;
}
.loading-dots span:nth-child(2) { animation-delay: 0.15s; }
.loading-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes bounce {
  0%,60%,100% { transform: translateY(0); opacity: 0.6; }
  30% { transform: translateY(-6px); opacity: 1; }
}

/* Team logo na tabela */
.team-logo-mini {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid #19db71;
}

.btn-xs {
  padding: 4px 10px;
  font-size: 0.7rem;
  border-radius: 8px;
}

/* ===== TEAM CHAT GLOBAL WIDGET ===== */
/* ===== TEAM CHAT WIDGET - POSIÇÃO AJUSTÁVEL ===== */
.team-chat-widget {
  position: fixed !important;
  bottom: 80px !important;   /* ← AUMENTE AQUI */
  right: 80px !important;    /* ← AUMENTE AQUI */
  z-index: 9999 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  font-family: 'Exo 2', sans-serif !important;
}

/* BOTÃO PRINCIPAL */
.team-chat-toggle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(145deg, #19db71, #0b8a47);
  border: none;
  box-shadow: 0 8px 28px rgba(25, 219, 113, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  color: #020814;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, background 0.3s ease;
  position: relative;
  backdrop-filter: blur(4px);
}
/* ... resto do CSS do botão permanece igual ... */

.team-chat-toggle:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 32px rgba(25,219,113,0.5);
}
.team-chat-toggle .icon { width: 28px; height: 28px; }

.team-chat-panel {
  width: 340px;
  max-width: 90vw;
  max-height: 480px;
  background: rgba(10, 20, 40, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(25,219,113,0.25);
  border-radius: 16px;
  box-shadow: 0 20px 48px rgba(0,0,0,0.6);
  margin-bottom: 12px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: slideUpChat 0.25s ease;
}
.team-chat-panel.open { display: flex; }

@keyframes slideUpChat {
  from { opacity: 0; transform: translateY(16px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.team-chat-header {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.team-chat-header h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  color: var(--green);
  letter-spacing: 0.06em;
  margin: 0;
}
.team-chat-header .close-chat {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0 4px;
}
.team-chat-header .close-chat:hover { color: #fff; }

.team-chat-members {
  padding: 8px 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.team-chat-members .member-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  background: rgba(255,255,255,0.06);
  padding: 2px 10px 2px 6px;
  border-radius: 20px;
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.06);
}
.team-chat-members .member-tag.me {
  border-color: var(--green);
  color: var(--green);
  background: rgba(25,219,113,0.08);
}
.team-chat-members .member-tag .icon { width: 12px; height: 12px; }

.team-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 280px;
  min-height: 160px;
}
.team-chat-messages::-webkit-scrollbar { width: 3px; }
.team-chat-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }

.team-chat-msg {
  font-size: 0.82rem;
  padding: 6px 10px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border-left: 2px solid var(--green);
  max-width: 85%;
}
.team-chat-msg.self {
  border-left-color: var(--blue);
  background: rgba(59,143,255,0.08);
  align-self: flex-end;
}
.team-chat-msg .msg-sender {
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.team-chat-msg .msg-text { color: var(--text); word-break: break-word; }
.team-chat-msg .msg-time {
  font-size: 0.6rem;
  color: var(--text-sub);
  align-self: flex-end;
  margin-top: 2px;
}
.team-chat-empty {
  color: var(--text-sub);
  font-style: italic;
  font-size: 0.8rem;
  padding: 12px 0;
  text-align: center;
}

.team-chat-input {
  display: flex;
  gap: 8px;
  padding: 10px 14px 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
}
.team-chat-input input {
  flex: 1;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  color: #fff;
  font-family: 'Exo 2', sans-serif;
  font-size: 0.82rem;
  outline: none;
}
.team-chat-input input:focus { border-color: var(--green); }
.team-chat-input button {
  background: var(--green);
  border: none;
  border-radius: 8px;
  color: #020814;
  padding: 0 14px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: background 0.2s;
}
.team-chat-input button:hover { background: #0ec760; }
.team-chat-input button .icon { width: 14px; height: 14px; }

@media (max-width: 600px) {
  .team-chat-panel { width: 90vw; max-height: 70vh; right: 5vw; bottom: 70px; }
}

/* ===== TEAM CHAT WIDGET - NOVO DESIGN ===== */
.team-chat-widget {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: 'Exo 2', sans-serif;
}

/* BOTÃO PRINCIPAL */
.team-chat-toggle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(145deg, #19db71, #0b8a47);
  border: none;
  box-shadow: 0 8px 28px rgba(25, 219, 113, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  color: #020814;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s ease, background 0.3s ease;
  position: relative;
  backdrop-filter: blur(4px);
}

.team-chat-toggle::after {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #19db71, #0b8a47, #19db71, #0b8a47);
  opacity: 0.3;
  z-index: -1;
  animation: spinGlow 6s linear infinite;
}

@keyframes spinGlow {
  to { transform: rotate(360deg); }
}

.team-chat-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 36px rgba(25, 219, 113, 0.6), 0 0 0 2px rgba(25, 219, 113, 0.4) inset;
  background: linear-gradient(145deg, #22e07a, #0e9f51);
}

.team-chat-toggle:active {
  transform: scale(0.94);
}

/* ÍCONE DO BOTÃO (balão com equipe) */
.team-chat-toggle .icon {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

/* BOLINHA DE NOTIFICAÇÃO (opcional) */
.team-chat-toggle .badge-dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  background: #ff4d4d;
  border-radius: 50%;
  border: 2px solid #020814;
  font-size: 8px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 12px rgba(255, 77, 77, 0.6);
  animation: pulseBadge 1.8s infinite;
}

@keyframes pulseBadge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* TOOLTIP AO PASSAR O MOUSE */
.team-chat-toggle .tooltip {
  position: absolute;
  bottom: calc(100% + 12px);
  right: 0;
  background: rgba(10, 20, 40, 0.92);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(25, 219, 113, 0.3);
  border-radius: 12px;
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateY(6px);
}

.team-chat-toggle:hover .tooltip {
  opacity: 1;
  transform: translateY(0);
}

/* PAINEL DO CHAT */
.team-chat-panel {
  width: 360px;
  max-width: 92vw;
  max-height: 520px;
  background: rgba(8, 16, 32, 0.96);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(25, 219, 113, 0.25);
  border-radius: 20px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.7), 0 0 0 1px rgba(25, 219, 113, 0.08) inset;
  margin-bottom: 14px;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: slideUpChat 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.team-chat-panel.open { display: flex; }

@keyframes slideUpChat {
  from { opacity: 0; transform: translateY(18px) scale(0.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* HEADER DO PAINEL */
.team-chat-header {
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(25, 219, 113, 0.04);
}
.team-chat-header h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  color: var(--green);
  letter-spacing: 0.06em;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.team-chat-header h4 .icon {
  width: 18px;
  height: 18px;
}
.team-chat-header .close-chat {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1.2rem;
  padding: 0 6px;
  transition: color 0.2s;
  line-height: 1;
}
.team-chat-header .close-chat:hover { color: #fff; }

/* MEMBROS */
.team-chat-members {
  padding: 10px 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
  background: rgba(0,0,0,0.2);
}
.team-chat-members .member-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  background: rgba(255,255,255,0.06);
  padding: 3px 12px 3px 8px;
  border-radius: 30px;
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.06);
  transition: all 0.2s;
}
.team-chat-members .member-tag.me {
  border-color: var(--green);
  color: var(--green);
  background: rgba(25,219,113,0.08);
}
.team-chat-members .member-tag .icon {
  width: 12px;
  height: 12px;
}
.team-chat-members .member-tag:hover:not(.me) {
  background: rgba(25,219,113,0.08);
  border-color: rgba(25,219,113,0.3);
  color: #fff;
  cursor: pointer;
}

/* MENSAGENS */
.team-chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 280px;
  min-height: 160px;
  background: rgba(0,0,0,0.15);
}
.team-chat-messages::-webkit-scrollbar { width: 4px; }
.team-chat-messages::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 4px; }

.team-chat-msg {
  font-size: 0.82rem;
  padding: 7px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border-left: 3px solid var(--green);
  max-width: 88%;
  animation: msgIn 0.2s ease;
}
@keyframes msgIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}
.team-chat-msg.self {
  border-left-color: var(--blue);
  background: rgba(59,143,255,0.08);
  align-self: flex-end;
}
.team-chat-msg .msg-sender {
  font-weight: 700;
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}
.team-chat-msg .msg-sender.clickable {
  color: var(--green);
  cursor: pointer;
  transition: color 0.2s;
}
.team-chat-msg .msg-sender.clickable:hover {
  color: #5effa0;
  text-decoration: underline;
}
.team-chat-msg .msg-text { color: var(--text); word-break: break-word; }
.team-chat-msg .msg-time {
  font-size: 0.6rem;
  color: var(--text-sub);
  align-self: flex-end;
  margin-top: 2px;
}

.team-chat-empty {
  color: var(--text-sub);
  font-style: italic;
  font-size: 0.8rem;
  padding: 12px 0;
  text-align: center;
}

/* INPUT */
.team-chat-input {
  display: flex;
  gap: 8px;
  padding: 10px 14px 14px;
  border-top: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.2);
}
.team-chat-input input {
  flex: 1;
  padding: 9px 14px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-family: 'Exo 2', sans-serif;
  font-size: 0.82rem;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.team-chat-input input:focus {
  border-color: var(--green);
  background: rgba(25,219,113,0.04);
}
.team-chat-input input::placeholder {
  color: var(--text-muted);
}
.team-chat-input button {
  background: linear-gradient(145deg, #19db71, #0b8a47);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: #020814;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 12px rgba(25,219,113,0.3);
  flex-shrink: 0;
}
.team-chat-input button:hover {
  transform: scale(1.06);
  box-shadow: 0 6px 18px rgba(25,219,113,0.45);
}
.team-chat-input button .icon {
  width: 18px;
  height: 18px;
}

/* RESPONSIVO */
@media (max-width: 600px) {
  .team-chat-toggle {
    width: 56px;
    height: 56px;
    font-size: 24px;
  }
  .team-chat-toggle .icon {
    width: 28px;
    height: 28px;
  }
  .team-chat-panel {
    width: 94vw;
    max-height: 70vh;
    right: 3vw;
    bottom: 72px;
    border-radius: 16px;
  }
  .team-chat-header h4 {
    font-size: 0.78rem;
  }
}

@media (max-width: 600px) {
  .team-chat-widget {
    bottom: 20px;
    right: 20px;
  }
}