/* General body styles */
body {
	font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	color-scheme: dark;
	color: #dee2e6;
	margin: 0;
	text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
	box-shadow: inset 0 0 5rem rgba(0, 0, 0, .5);
	/* Background image + gradient overlay */
	background: url('../static/images/backgrounds/cover_background.jpg') no-repeat center center fixed;
	background-size: cover;
}


/* Container */
.cover-container {
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 0;
}


/* Teams grid - 8 per row, centered */
.teams-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* center rows */
  gap: 24px; /* increased from 16px */
  margin: 80px auto 0;
  max-width: calc(6 * 200px + 7 * 24px); /* updated to match new gap */
  margin-top: 200px;
}

.team-card {
  display: block;
  text-decoration: none;
  color: inherit;
}

.team-card-inner {
  width: 200px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px;
  border-radius: 8px;
  background-color: #1a1a1f; /* very dark gray-blue */
  border: 1px solid #444;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3); /* stronger glow */
  text-align: left;
  overflow: hidden;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.team-card:hover .team-card-inner,
.team-card:focus .team-card-inner {
    transform: translateY(-4px);
    box-shadow:
        0 0 8px rgba(0, 140, 255, 0.75),
        0 0 16px rgba(0, 140, 255, 0.6),
        0 0 24px rgba(0, 140, 255, 0.45),
        0 0 32px rgba(0, 140, 255, 0.3);
    border: 1px solid #2a9df4;
    background: linear-gradient(180deg, rgba(10, 30, 60, 0.98) 0%, rgba(5, 15, 35, 0.98) 100%);
}

.team-logo {
	width: 60px;
	height: 60px;
	object-fit: contain;
	flex-shrink: 0;
}

.team-name {
	font-weight: 600;
	font-size: 0.95rem;
	max-width: calc(100% - 38px);
	/* logo + gap */
	white-space: normal;
	/* let text wrap */
	overflow: visible;
	text-overflow: unset;
	flex-grow: 1
}


.teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 24px;
  max-width: 1200px;
  margin: 200px auto 0;
  transform: translateY(50px);
}


.hero {
  position: relative;
  background:
    linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url('../static/background.jpg') center/cover no-repeat;
  color: white;
  padding: 2rem 1rem;
  text-align: center;
  transform: translateY(110px);
}


.footer-glass {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #f1f1f1;
  padding: 0.4rem 1rem;
  line-height: 0.8;
}

.footer-link {
  color: #f1f1f1;
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-link:hover {
  text-decoration: underline;
}


.page-content {
  max-width: 720px;
}

.page-title {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

.page-content p {
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
}
