/* União da Vila F.C. - Innovative & Responsive Design */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg: #050505;
  --surface: #111111;
  --surface-2: #1a1a1a;
  --border: #2a2a2a;
  --text: #ffffff;
  --muted: #999999;
  --accent: #ffffff;
}

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

body {
  font-family: 'Outfit', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

.logo img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid #fff;
  object-fit: cover;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
}

.menu-toggle {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
  color: #fff;
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: 
    linear-gradient(180deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.85) 100%),
    url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?w=1920') center/cover no-repeat;
  padding: 120px 20px 80px;
}

.hero-content h1 {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -2px;
  line-height: 0.95;
  margin-bottom: 16px;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 auto 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #000;
  padding: 14px 32px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255,255,255,0.2);
}

.btn-secondary {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.4);
  color: #fff;
  margin-left: 12px;
}

.btn-secondary:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
}

/* Sections */
section {
  padding: 90px 0;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 700;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: -0.5px;
}

/* Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: var(--surface);
  border-radius: 20px;
  border: 1px solid var(--border);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  transform: translateY(-8px);
  border-color: #444;
  background: var(--surface-2);
}

.card-body {
  padding: 24px;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 16px;
}

.stat-box {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px 16px;
  text-align: center;
}

.stat-box .number {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.stat-box .label {
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Player Cards */
.player-card {
  text-align: center;
}

.player-card img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  margin: 20px auto 12px;
  display: block;
}

.badge {
  display: inline-block;
  background: #fff;
  color: #000;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

/* Tables */
.table-container {
  overflow-x: auto;
  border-radius: 16px;
  border: 1px solid var(--border);
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}

th, td {
  padding: 16px;
  text-align: left;
}

th {
  background: #0a0a0a;
  font-weight: 600;
}

tr:hover {
  background: rgba(255,255,255,0.03);
}

/* Gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.gallery img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  transition: transform 0.4s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}

/* Forms */
.form-group { margin-bottom: 18px; }

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 500;
  font-size: 0.9rem;
}

input, select, textarea {
  width: 100%;
  padding: 14px 16px;
  background: #0a0a0a;
  border: 1px solid #333;
  border-radius: 12px;
  color: #fff;
  font-size: 1rem;
  transition: border 0.2s;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: #fff;
}

/* Admin */
.admin-panel {
  max-width: 680px;
  margin: 60px auto;
  background: var(--surface);
  padding: 36px;
  border-radius: 20px;
  border: 1px solid var(--border);
}

/* Footer */
footer {
  background: #000;
  border-top: 1px solid #1a1a1a;
  padding: 48px 0 24px;
  text-align: center;
  color: var(--muted);
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(10,10,10,0.98);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    border-bottom: 1px solid #222;
  }
  .nav-links.active {
    transform: translateY(0);
  }
  .menu-toggle {
    display: block;
  }
  .btn-secondary {
    margin-left: 0;
    margin-top: 12px;
    display: block;
  }
  .hero {
    min-height: 85vh;
    padding-top: 100px;
  }
  section {
    padding: 60px 0;
  }
}

.highlight { font-weight: 700; }
.empty-state { text-align: center; padding: 48px 20px; color: var(--muted); }
