/* css/painel.css */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=DM+Sans:wght@400;500;600&display=swap');

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

body {
  min-height: 100vh;
  background: #0a1628;
  font-family: 'DM Sans', sans-serif;
  padding: 0;
  position: relative;
  overflow-x: hidden;
}

.sp-bg-field {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 110%, #1a4a2e 0%, transparent 65%),
    radial-gradient(ellipse 60% 40% at 20% -10%, #1e3a5f 0%, transparent 60%),
    #0a1628;
  z-index: 0;
}

.sp-lines {
  position: fixed;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 420px;
  height: 220px;
  opacity: 0.06;
  z-index: 0;
}

.sp-header {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 28px 0;
}

.sp-logo { display: flex; align-items: center; gap: 10px; }

.sp-logo-icon {
  width: 36px; height: 36px;
  background: #22c55e;
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}

.sp-logo-text {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px; letter-spacing: 2px; color: #fff;
}
.sp-logo-text span { color: #22c55e; }

.sp-header-right {
  display: flex; align-items: center; gap: 10px;
}

.sp-user-badge {
  display: flex; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.07);
  border: 0.5px solid rgba(255,255,255,0.15);
  border-radius: 24px; padding: 6px 14px 6px 8px;
  cursor: pointer; transition: background 0.2s;
}
.sp-user-badge:hover { background: rgba(255,255,255,0.12); }

.sp-avatar {
  width: 28px; height: 28px; border-radius: 50%;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 600; color: #fff;
}

.sp-user-info { line-height: 1.2; }
.sp-user-name { font-size: 12px; font-weight: 500; color: #fff; }
.sp-user-role { font-size: 10px; color: rgba(255,255,255,0.45); }

.sp-logout-btn {
  background: rgba(220,53,69,0.15);
  border: 0.5px solid rgba(220,53,69,0.3);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 12px;
  color: #f87171;
  cursor: pointer;
  transition: background 0.2s;
  font-family: 'DM Sans', sans-serif;
}
.sp-logout-btn:hover { background: rgba(220,53,69,0.25); }

.sp-hero {
  position: relative; z-index: 2;
  text-align: center; padding: 40px 20px 32px;
}

.sp-season-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(34,197,94,0.15);
  border: 0.5px solid rgba(34,197,94,0.3);
  border-radius: 20px; padding: 4px 12px;
  font-size: 11px; color: #4ade80;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 14px;
}

.sp-dot {
  width: 6px; height: 6px;
  background: #22c55e; border-radius: 50%;
  animation: pulse-dot 1.8s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.sp-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 48px; letter-spacing: 3px; color: #fff;
  line-height: 1; margin: 0 0 8px;
}
.sp-title span { color: #22c55e; }

.sp-subtitle { font-size: 14px; color: rgba(255,255,255,0.4); margin: 0; }

.sp-stats-row {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 0 20px 32px;
  max-width: 640px;
  margin: 0 auto;
}

.sp-stat {
  background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 14px 10px;
  text-align: center;
}

.sp-stat-val {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 26px; color: #fff; line-height: 1;
}
.sp-stat-val.green { color: #22c55e; }
.sp-stat-val.amber { color: #fbbf24; }

.sp-stat-lbl {
  font-size: 10px; color: rgba(255,255,255,0.35);
  text-transform: uppercase; letter-spacing: 0.8px; margin-top: 4px;
  line-height: 1.3;
}

.sp-grid {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; padding: 0 20px 32px;
  max-width: 640px; margin: 0 auto;
}

.sp-card {
  background: rgba(255,255,255,0.05);
  border: 0.5px solid rgba(255,255,255,0.1);
  border-radius: 16px; padding: 20px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s, border-color 0.2s;
  position: relative; overflow: hidden;
  text-decoration: none; display: block;
}

.sp-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  border-radius: 16px 16px 0 0; opacity: 0; transition: opacity 0.2s;
}

.sp-card:hover {
  background: rgba(255,255,255,0.09);
  transform: translateY(-2px);
  border-color: rgba(255,255,255,0.2);
}
.sp-card:hover::before { opacity: 1; }

.sp-card.green::before { background: #22c55e; }
.sp-card.blue::before  { background: #60a5fa; }
.sp-card.amber::before { background: #fbbf24; }
.sp-card.coral::before { background: #f87171; }

.sp-card-icon {
  width: 44px; height: 44px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 14px;
}

.sp-card.green .sp-card-icon { background: rgba(34,197,94,0.15); }
.sp-card.blue  .sp-card-icon { background: rgba(96,165,250,0.15); }
.sp-card.amber .sp-card-icon { background: rgba(251,191,36,0.15); }
.sp-card.coral .sp-card-icon { background: rgba(248,113,113,0.15); }

.sp-card-name { font-size: 14px; font-weight: 600; margin: 0 0 5px; }
.sp-card.green .sp-card-name { color: #4ade80; }
.sp-card.blue  .sp-card-name { color: #93c5fd; }
.sp-card.amber .sp-card-name { color: #fcd34d; }
.sp-card.coral .sp-card-name { color: #fca5a5; }

.sp-card-desc { font-size: 12px; color: rgba(255,255,255,0.35); margin: 0; line-height: 1.5; }

.sp-card-arrow {
  position: absolute; top: 18px; right: 18px;
  font-size: 14px; color: rgba(255,255,255,0.2);
  transition: color 0.2s, transform 0.2s;
}
.sp-card:hover .sp-card-arrow { color: rgba(255,255,255,0.5); transform: translate(2px, -2px); }

@media (max-width: 480px) {
  .sp-stats-row { grid-template-columns: repeat(2, 1fr); }
  .sp-title { font-size: 36px; }
  .sp-header { padding: 16px 16px 0; }
  .sp-grid { padding: 0 16px 24px; }
  .sp-stats-row { padding: 0 16px 24px; }
}
