/* TTOW Golf Theme - Oregon Ducks Inspired */

:root {
  /* Color Palette */
  --oregon-green: #003831;
  --oregon-gold: #FDB827;
  --dark-bg: #0f0f0f;
  --dark-surface: #1a1a1a;
  --dark-card: #242424;
  --text-primary: #ffffff;
  --text-secondary: #b0b0b0;
  --border-color: #333333;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  
  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
}

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

body {
  background-color: var(--dark-bg);
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.6;
}

a {
  color: var(--oregon-gold);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: #ffd850;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

h1 { font-size: 2.5rem; margin-bottom: var(--spacing-lg); }
h2 { font-size: 2rem; margin-bottom: var(--spacing-md); }
h3 { font-size: 1.5rem; margin-bottom: var(--spacing-md); }
h4 { font-size: 1.25rem; margin-bottom: var(--spacing-sm); }

/* Buttons */
.btn {
  padding: var(--spacing-sm) var(--spacing-lg);
  border: none;
  border-radius: var(--radius-md);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.95rem;
  letter-spacing: 0.5px;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn-primary {
  background: linear-gradient(135deg, var(--oregon-green) 0%, #002f29 100%);
  color: white;
  border: 2px solid var(--oregon-green);
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, #004a41 0%, #003831 100%);
  border-color: var(--oregon-gold);
  box-shadow: 0 0 12px rgba(253, 184, 39, 0.3);
}

.btn-accent {
  background: var(--oregon-gold);
  color: var(--dark-bg);
  border: 2px solid var(--oregon-gold);
  font-weight: 700;
}

.btn-accent:hover:not(:disabled) {
  background: #ffd850;
  box-shadow: 0 0 16px rgba(253, 184, 39, 0.5);
}

.btn-block {
  width: 100%;
}

/* Cards */
.card {
  background: var(--dark-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-md);
}

.card:hover {
  border-color: var(--oregon-gold);
  box-shadow: 0 8px 24px rgba(253, 184, 39, 0.15);
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="date"],
input[type="datetime-local"],
textarea,
select {
  width: 100%;
  padding: var(--spacing-sm) var(--spacing-md);
  background: var(--dark-surface);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  transition: all 0.2s ease;
  margin-bottom: var(--spacing-md);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
input[type="datetime-local"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--oregon-gold);
  box-shadow: 0 0 8px rgba(253, 184, 39, 0.3);
  background: #2a2a2a;
}

input[type="checkbox"],
input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--oregon-gold);
}

/* Tables */
table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--spacing-lg);
}

th {
  background: var(--oregon-green);
  color: white;
  padding: var(--spacing-md);
  text-align: left;
  font-weight: 700;
  border-bottom: 3px solid var(--oregon-gold);
}

td {
  padding: var(--spacing-md);
  border-bottom: 1px solid var(--border-color);
}

tr:hover {
  background: rgba(253, 184, 39, 0.05);
}

/* Badges */
.badge {
  display: inline-block;
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge-win {
  background: rgba(16, 185, 129, 0.2);
  color: #10b981;
  border: 1px solid #10b981;
}

.badge-loss {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid #ef4444;
}

.badge-pending {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  border: 1px solid #f59e0b;
}

.badge-nfl {
  background: rgba(253, 184, 39, 0.2);
  color: var(--oregon-gold);
  border: 1px solid var(--oregon-gold);
}

/* Alerts */
.alert {
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-lg);
  border-left: 4px solid;
}

.alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border-color: #f59e0b;
  color: #fcd34d;
}

.alert-danger {
  background: rgba(239, 68, 68, 0.1);
  border-color: #ef4444;
  color: #fca5a5;
}

.alert-success {
  background: rgba(16, 185, 129, 0.1);
  border-color: #10b981;
  color: #6ee7b7;
}

/* Utilities */
.text-muted {
  color: var(--text-secondary);
}

.text-center {
  text-align: center;
}

.mt-1 { margin-top: var(--spacing-md); }
.mb-1 { margin-bottom: var(--spacing-md); }

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.3s ease-out;
}

/* ─── Footer ──────────────────────────────────────────────── */
footer {
  background: #002f29;
  border-top: 2px solid rgba(253, 184, 39, 0.3);
  margin-top: 4rem;
  padding: 1.5rem 0;
}

footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

footer p {
  color: rgba(255,255,255,0.4);
  margin: 0;
  font-size: 0.82rem;
  font-weight: 500;
}

footer nav {
  display: flex;
  gap: 1rem;
}

footer nav a {
  color: rgba(255,255,255,0.4);
  font-size: 0.82rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s;
}

footer nav a:hover {
  color: var(--oregon-gold);
}

/* ─── Page Hero (shared) ──────────────────────────────────── */
.page-hero {
  background: linear-gradient(150deg, #003831 0%, #002520 100%);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(253, 184, 39, 0.25);
  margin-bottom: 2rem;
  text-align: center;
}

.page-hero h1,
.page-hero h2 {
  color: #fff;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.4rem;
}

.page-hero .hero-sub {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  margin: 0;
}

/* ─── Card tweaks ─────────────────────────────────────────── */
.card:hover {
  border-color: rgba(253, 184, 39, 0.4);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transform: none; /* no lift on cards by default */
}

/* ─── Table tweaks ────────────────────────────────────────── */
tr:hover td {
  background: rgba(255,255,255,0.04);
}

/* ─── Breadcrumb nav links ────────────────────────────────── */
.nav-links {
  margin-bottom: 1.25rem;
  font-size: 0.85rem;
}

.nav-links a {
  color: rgba(255,255,255,0.5);
  font-weight: 600;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--oregon-gold); }

/* ─── Section label ───────────────────────────────────────── */
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--oregon-gold);
  margin-bottom: 0.75rem;
}

/* ─── Animations ──────────────────────────────────────────── */
@keyframes slideIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.slide-in { animation: slideIn 0.35s ease-out; }
