/* ============================================================
   THEME — Showtime Softball Brand System
   ============================================================ */

/* ------------------------------------------------------------
   BRAND COLORS
   ------------------------------------------------------------ */
:root {
  --showtime-navy: #0a1a2f;         /* Deep navy */
  --showtime-red: #c62828;          /* Accent red */
  --showtime-white: #ffffff;        /* Clean white */
  --showtime-blue: #99BADD;         /* Carolina Blue */
  --showtime-glow: rgba(153, 186, 221, 0.45);
}

/* ------------------------------------------------------------
   GLOBAL PAGE BACKGROUND
   ------------------------------------------------------------ */
body {
  margin: 0;
  padding: 0;
  background: linear-gradient(
      135deg,
      rgba(10, 20, 40, 0.95),
      rgba(5, 10, 20, 0.95)
    ),
    url('/img/bg-texture.png'); /* optional texture */
  background-size: cover;
  background-attachment: fixed;
  color: var(--showtime-white);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "SF Pro Text", Roboto, Helvetica, Arial, sans-serif;
}

/* ------------------------------------------------------------
   HEADINGS
   ------------------------------------------------------------ */
h1, h2, h3, h4 {
  color: var(--showtime-white);
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-top: 0;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--showtime-white);
  text-align: center;
  margin-bottom: 24px;
}

/* ------------------------------------------------------------
   LINKS
   ------------------------------------------------------------ */
a {
  color: var(--showtime-blue);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--showtime-white);
}

/* ------------------------------------------------------------
   BUTTON OVERRIDES (works with glass.css)
   ------------------------------------------------------------ */
.button {
  font-weight: 600;
  letter-spacing: 0.3px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(153, 186, 221, 0.25); /* Carolina Blue tint */
}

.button:hover {
  background: rgba(153, 186, 221, 0.35);
}

.button:active {
  background: rgba(153, 186, 221, 0.20);
}

/* ------------------------------------------------------------
   FORM ELEMENTS
   ------------------------------------------------------------ */
input, select, textarea {
  font-family: inherit;
  font-size: 16px;
  color: var(--showtime-white);
}

input:focus, textarea:focus, select:focus {
  outline: 2px solid var(--showtime-blue);
  outline-offset: 2px;
}

/* ------------------------------------------------------------
   NAVIGATION (optional future use)
   ------------------------------------------------------------ */
.navbar {
  background: rgba(10, 20, 40, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  padding: 14px 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.navbar-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--showtime-white);
}

.navbar a {
  color: var(--showtime-blue);
  margin-left: 20px;
}

.navbar a:hover {
  color: var(--showtime-white);
}

/* ------------------------------------------------------------
   PLAYER CARDS (paired with glass.css)
   ------------------------------------------------------------ */
.player-card h3 {
  color: var(--showtime-blue);
  margin-bottom: 8px;
}

.player-card p {
  margin: 4px 0;
  color: var(--showtime-white);
}

/* ------------------------------------------------------------
   HEADER / NAVBAR
   ------------------------------------------------------------ */
.showtime-header {
  background: rgba(10, 20, 30, 0.85);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(153, 186, 221, 0.2);
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.showtime-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.showtime-logo {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  object-fit: contain;
}

.showtime-header-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--showtime-white);
  margin: 0;
  letter-spacing: 0.5px;
}

.showtime-header-nav {
  display: flex;
  gap: 20px;
  align-items: center;
}

.showtime-header-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.showtime-header-link:hover {
  background: rgba(153, 186, 221, 0.15);
  color: var(--showtime-blue);
}

.logout-btn {
  background: rgba(198, 40, 40, 0.2);
  color: var(--showtime-white);
  padding: 8px 16px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid rgba(198, 40, 40, 0.3);
  transition: all 0.2s ease;
}

.logout-btn:hover {
  background: rgba(198, 40, 40, 0.35);
  border-color: rgba(198, 40, 40, 0.5);
}

/* ------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 600px) {
  .page-title {
    font-size: 26px;
  }

  .showtime-header {
    padding: 10px 15px;
  }

  .showtime-logo {
    width: 40px;
    height: 40px;
  }

  .showtime-header-title {
    font-size: 16px;
  }

  .showtime-header-nav {
    gap: 10px;
  }

  .showtime-header-link {
    font-size: 12px;
    padding: 4px 8px;
  }
}

