/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@300;400;700&display=swap');

/* CSS Variables for PrizePicks-inspired dark theme */
:root {
  --prize-primary: #0000ff;
  --prize-primary-hover: #0000cc;
  --prize-secondary: #1a1a1a;
  --prize-dark: #0d0d0d;
  --prize-darker: #000000;
  --prize-light: #2a2a2a;
  --prize-lighter: #3a3a3a;
  --prize-text: #ffffff;
  --prize-text-secondary: #cccccc;
  --prize-text-muted: #999999;
  --prize-border: #333333;
  --prize-success: #ff8800;
  --prize-error: #ff4444;
  --prize-warning: #ffaa00;
  --prize-shadow: rgba(0, 0, 0, 0.3);
  --prize-glow: rgba(0, 0, 255, 0.3);
}

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

/* Prevent zoom on mobile */
@media (max-width: 768px) {
  * {
    touch-action: manipulation;
  }
}

input, textarea, select {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

/* Prevent double tap zoom */
button, a, [role="button"] {
  touch-action: manipulation;
}

body {
  font-family: 'Roboto Condensed', sans-serif;
  background-color: var(--prize-dark);
  color: var(--prize-text);
  line-height: 1.6;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--prize-text);
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }

p {
  margin-bottom: 1rem;
  color: var(--prize-text-secondary);
}

a {
  color: var(--prize-primary);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--prize-primary-hover);
  text-decoration: none;
}

/* Header Styles */
.header-container {
  background: linear-gradient(135deg, var(--prize-darker) 0%, var(--prize-dark) 100%);
  border-bottom: 2px solid var(--prize-primary);
  box-shadow: 0 4px 20px var(--prize-shadow);
  position: relative;
  z-index: 1007;
}

.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 80px;
}

.logo h1 {
  color: var(--prize-primary);
  font-size: 2rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 20px var(--prize-glow);
  margin: 0;
  line-height: 1;
  display: flex;
  align-items: center;
  height: 100%;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-account {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-left: 2rem;
  border-left: 1px solid var(--prize-border);
}

.main-nav a {
  color: var(--prize-text);
  font-weight: 500;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.main-nav a:hover {
  color: var(--prize-primary);
  background: rgba(0, 0, 255, 0.1);
  transform: translateY(-2px);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--prize-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.main-nav a:hover::after {
  width: 100%;
}

/* User Info in Header */
.user-info {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  border: 1px solid var(--prize-border);
}

.username {
  color: var(--prize-text);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.25rem;
}

.balance {
  color: var(--prize-primary);
  font-weight: 700;
  font-size: 1rem;
  text-shadow: 0 0 10px var(--prize-glow);
}

.nav-signout {
  color: var(--prize-error) !important;
  border: 1px solid transparent;
}

.nav-signout:hover {
  background: rgba(255, 68, 68, 0.1) !important;
  color: var(--prize-error) !important;
}

.nav-signup-btn {
  background: var(--prize-primary);
  color: var(--prize-darker) !important;
}

.nav-signup-btn:hover {
  background: var(--prize-primary-hover);
  color: var(--prize-darker) !important;
  transform: translateY(-2px);
}

.nav-signup-btn::after {
  display: none;
}

/* Main Content */
main {
  min-height: calc(100vh - 200px);
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Tournament Styles */
.tournaments-header {
  text-align: center;
  margin-bottom: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, var(--prize-secondary) 0%, var(--prize-light) 100%);
  border-radius: 16px;
  border: 1px solid var(--prize-border);
  box-shadow: 0 8px 32px var(--prize-shadow);
}

.tournaments-header h1 {
  color: var(--prize-text);
  margin-bottom: 1rem;
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.tournaments-header p {
  color: var(--prize-text-secondary);
  font-size: 1.2rem;
}

.tournaments-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.tournament-card {
  background: linear-gradient(135deg, var(--prize-secondary) 0%, var(--prize-light) 100%);
  border: 1px solid var(--prize-border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 32px var(--prize-shadow);
}

.tournament-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--prize-primary), var(--prize-primary-hover));
}

.tournament-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px var(--prize-shadow), 0 0 20px var(--prize-glow);
  border-color: var(--prize-primary);
}

.tournament-header {
  margin-bottom: 1.5rem;
}

.tournament-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--prize-text);
  margin-bottom: 0.5rem;
}

.tournament-description {
  color: var(--prize-text-secondary);
  line-height: 1.6;
}

.tournament-details {
  display: grid;
  gap: 1rem;
  margin-bottom: 2rem;
}

.tournament-detail {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  border: 1px solid var(--prize-border);
}

.detail-label {
  font-weight: 600;
  color: var(--prize-text-muted);
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 1px;
}

.detail-value {
  color: var(--prize-text);
  font-weight: 500;
}

.tournament-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* Button Styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-family: 'Roboto Condensed', sans-serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
  font-size: 0.9rem;
  line-height: 1;
  min-height: 44px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--prize-primary) 0%, var(--prize-primary-hover) 100%);
  color: var(--prize-text);
  box-shadow: 0 4px 16px var(--prize-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--prize-glow);
  color: var(--prize-text);
}

.btn-secondary {
  background: transparent;
  color: var(--prize-text);
  border: 2px solid var(--prize-border);
}

.btn-secondary:hover {
  background: var(--prize-primary);
  border-color: var(--prize-primary);
  color: var(--prize-text);
  transform: translateY(-2px);
}

.btn-danger {
  background: linear-gradient(135deg, var(--prize-error) 0%, #cc3333 100%);
  color: var(--prize-text);
}

.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 68, 68, 0.3);
  color: var(--prize-text);
}

.new-tournament-btn {
  background: linear-gradient(135deg, var(--prize-primary) 0%, var(--prize-primary-hover) 100%);
  color: var(--prize-text);
  padding: 1rem 2rem;
  font-size: 1.1rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px var(--prize-glow);
  margin-bottom: 2rem;
  display: inline-block;
}

.new-tournament-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px var(--prize-glow);
  color: var(--prize-text);
}

/* Form Styles */
.tournament-form {
  background: linear-gradient(135deg, var(--prize-secondary) 0%, var(--prize-light) 100%);
  border: 1px solid var(--prize-border);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 8px 32px var(--prize-shadow);
  max-width: 800px;
  margin: 0 auto;
}

.form-header {
  text-align: center;
  margin-bottom: 3rem;
}

.form-header h1 {
  color: var(--prize-text);
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.form-header p {
  color: var(--prize-text-secondary);
  font-size: 1.1rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  color: var(--prize-text);
  margin-bottom: 0.5rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 1rem;
  background: var(--prize-darker);
  border: 2px solid var(--prize-border);
  border-radius: 8px;
  color: var(--prize-text);
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--prize-primary);
  box-shadow: 0 0 20px var(--prize-glow);
  background: var(--prize-dark);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--prize-text-muted);
}

.error-messages {
  background: rgba(255, 68, 68, 0.1);
  border: 1px solid var(--prize-error);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 2rem;
  color: var(--prize-error);
}

.error-messages h2 {
  color: var(--prize-error);
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.error-messages ul {
  list-style: none;
  padding-left: 0;
}

.error-messages li {
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
}

.error-messages li::before {
  content: '•';
  color: var(--prize-error);
  position: absolute;
  left: 0;
}

/* Games Preview on Home Page */
.games-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}

.game-card {
  background: var(--prize-dark);
  border-radius: 8px;
  padding: 1rem;
  border: 1px solid var(--prize-border);
  transition: all 0.2s ease;
}

.game-card:hover {
  border-color: var(--prize-primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--prize-shadow);
}

.game-teams {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 0.5rem 0;
}

.team {
  flex: 1;
  text-align: center;
}

.team-name {
  color: var(--prize-text);
  font-weight: 600;
  font-size: 1rem;
}

.team-score {
  color: var(--prize-text);
  font-weight: 700;
  font-size: 1.5rem;
  margin-top: 0.25rem;
  min-height: 1.5rem;
}

.admin-actions {
  text-align: center;
  margin: 1rem 0;
  padding: 1rem;
}

.admin-actions .btn {
  margin: 0 auto;
}

/* Home Page Styles */
.home-hero {
  background: linear-gradient(135deg, var(--prize-darker) 0%, var(--prize-dark) 100%);
  border: 2px solid var(--prize-primary);
  border-radius: 20px;
  padding: 4rem 2rem;
  text-align: center;
  margin-bottom: 4rem;
  box-shadow: 0 12px 40px var(--prize-shadow);
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(0, 0, 255, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  background: linear-gradient(135deg, var(--prize-text) 0%, var(--prize-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content p {
  font-size: 1.3rem;
  color: var(--prize-text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-greeting {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--prize-text-secondary);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  padding: 0.4rem 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--prize-border);
  border-radius: 999px;
}

.admin-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--prize-primary) 0%, var(--prize-primary-hover) 100%);
  -webkit-text-fill-color: var(--prize-text);
  color: var(--prize-text);
  padding: 0.15rem 0.65rem;
  border-radius: 999px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 8px var(--prize-glow);
}

.auth-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 2rem;
}

.home-content {
  margin-top: 4rem;
}

/* Tournament System Section */
.tournament-system {
  margin-bottom: 4rem;
}

.system-header {
  text-align: center;
  margin-bottom: 3rem;
}

.system-header h2 {
  font-size: 3rem;
  color: var(--prize-text);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.system-header p {
  font-size: 1.2rem;
  color: var(--prize-text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

.system-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.step-card {
  background: linear-gradient(135deg, var(--prize-secondary) 0%, var(--prize-light) 100%);
  border: 1px solid var(--prize-border);
  border-radius: 16px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--prize-primary), var(--prize-primary-hover));
}

.step-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px var(--prize-shadow), 0 0 20px var(--prize-glow);
  border-color: var(--prize-primary);
}

.step-icon {
  font-size: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 1.25rem;
  background: rgba(0, 0, 255, 0.12);
  border: 1px solid var(--prize-border);
  border-radius: 50%;
}

.step-card h3 {
  color: var(--prize-text);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.step-card p {
  color: var(--prize-text-secondary);
  line-height: 1.6;
}

/* Tournament Features */
.tournament-features {
  margin-bottom: 4rem;
}

.feature-section h3 {
  text-align: center;
  font-size: 2.5rem;
  color: var(--prize-text);
  margin-bottom: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.feature-item {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--prize-border);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-item:hover {
  background: rgba(0, 0, 255, 0.1);
  border-color: var(--prize-primary);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.75rem;
}

.feature-text {
  color: var(--prize-text);
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Call to Action */
.call-to-action {
  background: linear-gradient(135deg, var(--prize-secondary) 0%, var(--prize-light) 100%);
  border: 1px solid var(--prize-border);
  border-radius: 20px;
  padding: 3rem 2rem;
  text-align: center;
  margin-bottom: 4rem;
  box-shadow: 0 8px 32px var(--prize-shadow);
  position: relative;
  overflow: hidden;
}

.call-to-action::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--prize-primary), var(--prize-primary-hover));
}

.call-to-action h3 {
  font-size: 2.5rem;
  color: var(--prize-text);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.call-to-action p {
  font-size: 1.2rem;
  color: var(--prize-text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.tournaments-preview {
  background: linear-gradient(135deg, var(--prize-secondary) 0%, var(--prize-light) 100%);
  border: 1px solid var(--prize-border);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: 0 8px 32px var(--prize-shadow);
}

.tournaments-preview h2 {
  color: var(--prize-text);
  text-align: center;
  margin-bottom: 2rem;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.view-all-tournaments {
  text-align: center;
  margin-top: 2rem;
}

/* Authentication Styles */
.auth-container {
  display: flex;
  justify-content: center;
  min-height: calc(100vh - 200px);
  padding: 1rem;
}

.auth-form {
  background: linear-gradient(135deg, var(--prize-secondary) 0%, var(--prize-light) 100%);
  border: 1px solid var(--prize-border);
  border-radius: 20px;
  padding: 3rem;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 12px 40px var(--prize-shadow);
  position: relative;
  overflow: hidden;
}

.auth-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--prize-primary), var(--prize-primary-hover));
}

.auth-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.auth-header h1 {
  color: var(--prize-text);
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1rem;
}

.auth-header p {
  color: var(--prize-text-secondary);
  font-size: 1.1rem;
}

.auth-form .form-group {
  margin-bottom: 1rem;
}

.auth-form .form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

.auth-form .form-row:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .auth-form .form-row {
    grid-template-columns: 1fr 1fr;
  }

  .auth-form .form-row:has(.form-group:only-child),
  .auth-form .form-row.password-row {
    grid-template-columns: 1fr;
  }
}

.auth-form .form-group label {
  display: block;
  font-weight: 600;
  color: var(--prize-text);
  margin-bottom: 0.5rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.auth-form .form-group input,
.auth-form .form-group select {
  width: 100%;
  padding: 1rem;
  background: var(--prize-darker);
  border: 2px solid var(--prize-border);
  border-radius: 8px;
  color: var(--prize-text);
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.auth-form .form-group input:focus,
.auth-form .form-group select:focus {
  outline: none;
  border-color: var(--prize-primary);
  box-shadow: 0 0 20px var(--prize-glow);
  background: var(--prize-dark);
}

.auth-form .form-group input::placeholder {
  color: var(--prize-text-muted);
}

.auth-form .form-group select {
  width: 100%;
  padding: 1rem;
  background: var(--prize-darker);
  border: 2px solid var(--prize-border);
  border-radius: 8px;
  color: var(--prize-text);
  font-family: 'Roboto Condensed', sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
  padding-right: 3rem;
}

.auth-form .form-group select:focus {
  outline: none;
  border-color: var(--prize-primary);
  box-shadow: 0 0 20px var(--prize-glow);
  background: var(--prize-dark);
}

.form-help {
  display: block;
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: var(--prize-text-muted);
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin: 0;
}

.checkbox-group label {
  margin: 0;
  font-size: 0.9rem;
  color: var(--prize-text-secondary);
}

.form-actions {
  margin-top: 2rem;
}

.auth-links {
  margin-top: 2rem;
  text-align: center;
}

.auth-shared-links {
  margin-top: 1.5rem;
}

.auth-link-item {
  margin-bottom: 0.75rem;
}

.auth-link {
  color: var(--prize-primary);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.auth-link:hover {
  color: var(--prize-primary-hover);
  text-decoration: underline;
}

.auth-error-messages {
  background: rgba(255, 68, 68, 0.1);
  border: 1px solid var(--prize-error);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 2rem;
}

.error-header {
  color: var(--prize-error);
  font-weight: 600;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.error-list {
  list-style: none;
  padding-left: 0;
  margin: 0;
}

.error-item {
  color: var(--prize-error);
  margin-bottom: 0.5rem;
  padding-left: 1rem;
  position: relative;
}

.error-item::before {
  content: '•';
  color: var(--prize-error);
  position: absolute;
  left: 0;
}

/* Body states */
body.menu-open {
  overflow: hidden;
}

/* Mobile Navigation */
.hamburger-btn {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 25px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1006;
  position: relative;
  transition: all 0.3s ease;
}

.hamburger-btn:hover {
  transform: scale(1.1);
}

.hamburger-line {
  width: 100%;
  height: 3px;
  background: var(--prize-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.hamburger-btn.active .hamburger-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.hamburger-btn.active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.hamburger-btn.active .hamburger-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.mobile-nav {
  display: block;
  position: fixed;
  top: 0;
  right: -300px;
  width: 300px;
  height: 100vh;
  background: linear-gradient(135deg, var(--prize-darker) 0%, var(--prize-dark) 100%);
  border-left: 2px solid var(--prize-primary);
  z-index: 1003;
  transition: right 0.3s ease;
  box-shadow: -8px 0 32px var(--prize-shadow);
  will-change: right;
}

.mobile-nav.active {
  right: 0;
}

/* Ensure mobile nav is hidden by default on page load */
.mobile-nav:not(.active) {
  right: -300px;
}

.mobile-nav ul {
  list-style: none;
  padding: 2rem;
  margin-top: 80px;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease 0.1s;
}

.mobile-nav.active ul {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav li {
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateX(20px);
  transition: all 0.3s ease;
}

.mobile-nav.active li {
  opacity: 1;
  transform: translateX(0);
}

.mobile-nav li:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav li:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav li:nth-child(3) { transition-delay: 0.3s; }
.mobile-nav li:nth-child(4) { transition-delay: 0.4s; }

.mobile-nav a {
  color: var(--prize-text);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 1rem;
  display: block;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-nav a:hover {
  background: rgba(0, 0, 255, 0.1);
  color: var(--prize-primary);
  transform: translateX(10px);
}

.mobile-nav .nav-signout {
  color: var(--prize-error);
}

.mobile-nav .nav-signout:hover {
  background: rgba(255, 68, 68, 0.1);
  color: var(--prize-error);
}

/* Mobile User Info */
.mobile-user-info {
  padding: 1.5rem 2rem 1rem;
  border-bottom: 1px solid var(--prize-border);
  margin-bottom: 1rem;
  text-align: center;
}

.mobile-username {
  color: var(--prize-text);
  font-weight: 700;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.mobile-balance {
  color: var(--prize-primary);
  font-weight: 600;
  font-size: 1rem;
  text-shadow: 0 0 10px var(--prize-glow);
}

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.mobile-overlay.active {
  display: block;
  opacity: 1;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--prize-darker) 0%, var(--prize-dark) 100%);
  border-top: 2px solid var(--prize-primary);
  padding: 2rem;
  text-align: center;
  color: var(--prize-text-secondary);
  box-shadow: 0 -4px 20px var(--prize-shadow);
}

/* Hide footer on tournament show page */
body.tournaments-show footer {
  display: none;
}

/* Flash Messages */
.notice, .alert {
  padding: 1rem 2rem;
  margin: 1rem 0;
  border-radius: 8px;
  font-weight: 600;
  text-align: center;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.notice {
  background: rgba(255, 136, 0, 0.1);
  border: 1px solid var(--prize-success);
  color: var(--prize-success);
}

.alert {
  background: rgba(255, 68, 68, 0.1);
  border: 1px solid var(--prize-error);
  color: var(--prize-error);
}

/* Responsive Visibility Classes */
.desktop-only {
  display: block;
}

.mobile-only {
  display: none;
}

@media (max-width: 999px) {
  .desktop-only {
    display: none;
  }

  .mobile-only {
    display: block;
  }
}

@media (min-width: 1000px) {
  .desktop-only {
    display: block;
  }

  .mobile-only {
    display: none !important;
  }
}

/* Tournaments Table Styles */
.tournaments-table-container {
  background: linear-gradient(135deg, var(--prize-secondary) 0%, var(--prize-light) 100%);
  border: 1px solid var(--prize-border);
  border-radius: 16px;
  padding: 0.5rem 1.5rem;
  margin-bottom: 3rem;
  box-shadow: 0 8px 32px var(--prize-shadow);
  overflow-x: auto;
}

.tournaments-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
}

.tournaments-table thead {
  border-bottom: 2px solid var(--prize-primary);
}

.tournaments-table th {
  padding: 1rem 0.75rem;
  text-align: left;
  font-weight: 700;
  color: var(--prize-text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.8rem;
}

.tournaments-table th:first-child {
  padding-left: 0.5rem;
}

.tournaments-table th:not(:first-child) {
  text-align: center;
}

.tournament-row {
  border-bottom: 1px solid var(--prize-border);
  transition: background 0.2s ease;
}

.tournament-row:hover {
  background: rgba(0, 0, 255, 0.06);
}

.tournament-row:last-child {
  border-bottom: none;
}

.tournaments-table td {
  padding: 0.85rem 0.75rem;
  vertical-align: middle;
  white-space: nowrap;
}

.tournaments-table td:first-child {
  padding-left: 0.5rem;
  white-space: normal;
}

.tournaments-table td:last-child {
  text-align: center;
}

.tournament-info {
  min-width: 220px;
}

.tournament-name {
  font-weight: 700;
  font-size: 1rem;
  color: var(--prize-text);
}

.tournament-name a {
  color: var(--prize-text);
  text-decoration: none;
  transition: color 0.3s ease;
}

.tournament-name a:hover {
  color: var(--prize-primary);
}

.tournament-description {
  color: var(--prize-text-secondary);
  font-size: 0.9rem;
  line-height: 1.4;
}

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

.fee-amount {
  font-weight: 700;
  font-size: 1rem;
  color: var(--prize-primary);
  text-shadow: 0 0 6px var(--prize-glow);
}

.players {
  text-align: center;
}

.player-count {
  font-weight: 600;
  color: var(--prize-text-secondary);
  font-size: 0.95rem;
}

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

.start-time-value {
  color: var(--prize-text-secondary);
  font-size: 0.95rem;
}

.status {
  text-align: center;
}

.status-badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0.125rem;
}

.action {
  min-width: 140px;
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  min-height: 36px;
}

.btn-disabled {
  background: var(--prize-lighter);
  color: var(--prize-text-muted);
  border: 1px solid var(--prize-border);
  cursor: not-allowed;
  opacity: 0.6;
}

.btn-disabled:hover {
  transform: none;
  box-shadow: none;
  background: var(--prize-lighter);
  color: var(--prize-text-muted);
}

/* Mobile Tournament Cards */
.tournaments-mobile-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 0 1rem;
}

.tournament-mobile-card {
  background: linear-gradient(135deg, var(--prize-secondary) 0%, var(--prize-light) 100%);
  border: 1px solid var(--prize-border);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 16px var(--prize-shadow);
  transition: all 0.3s ease;
  margin-top: 1rem;
}

.tournament-mobile-card:last-child {
  margin-bottom: 0;
}

.tournament-mobile-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--prize-shadow);
  border-color: var(--prize-primary);
}

.tournament-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.tournament-title {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}

.tournament-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.tournament-start-subtext {
  padding-left: 1.7rem;
  font-size: 0.8rem;
  color: var(--prize-text-muted);
}

.tournament-star {
  font-size: 1.2rem;
  color: var(--prize-warning);
}

.tournament-name-link {
  color: var(--prize-text);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
  transition: color 0.3s ease;
}

.tournament-name-link:hover {
  color: var(--prize-primary);
}

.tournament-status-header {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: flex-end;
}

.tournament-stats {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 8px;
}

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

.stat-value {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--prize-text);
  margin-bottom: 0.25rem;
}

.fee-value {
  color: var(--prize-primary);
  text-shadow: 0 0 10px var(--prize-glow);
}

.prize-value {
  color: var(--prize-success);
}

.stat-label {
  font-size: 0.75rem;
  color: var(--prize-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.tournament-details {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}


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

.btn-mobile {
  width: 100%;
  padding: 1rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 8px;
  min-height: 48px;
}

/* Tournament Registration Styles */
.registration-status {
  background: linear-gradient(135deg, var(--prize-secondary) 0%, var(--prize-light) 100%);
  border: 1px solid var(--prize-border);
  border-radius: 12px;
  padding: 2rem;
  margin: 2rem 0;
  box-shadow: 0 8px 32px var(--prize-shadow);
}

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

.status-registered p {
  color: var(--prize-success);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.status-available p {
  color: var(--prize-primary);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

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

.status-unavailable p {
  color: var(--prize-error);
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.tournament-status {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-end;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.status-open {
  background: linear-gradient(135deg, var(--prize-success) 0%, #cc6600 100%);
  color: var(--prize-darker);
}

.status-full {
  background: linear-gradient(135deg, var(--prize-warning) 0%, #cc8800 100%);
  color: var(--prize-darker);
}

.status-closed {
  background: linear-gradient(135deg, var(--prize-error) 0%, #cc3333 100%);
  color: var(--prize-text);
}

.status-registered {
  /* Removed blue background - now uses default styling */
}

.status-badge.status-registered {
  background: linear-gradient(135deg, var(--prize-success) 0%, #cc6600 100%);
  color: var(--prize-text);
}

.btn-warning {
  background: linear-gradient(135deg, var(--prize-warning) 0%, #cc8800 100%) !important;
  color: var(--prize-darker) !important;
}

.btn-warning:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 170, 0, 0.3);
  color: var(--prize-darker) !important;
  background: linear-gradient(135deg, var(--prize-warning) 0%, #cc8800 100%) !important;
}

.btn-outline {
  background: transparent;
  color: var(--prize-text);
  border: 2px solid var(--prize-border);
}

.btn-outline:hover {
  background: var(--prize-primary);
  border-color: var(--prize-primary);
  color: var(--prize-text);
  transform: translateY(-2px);
}

/* Tournament Show Page Styles */
.tournament-show {
  max-width: 1200px;
  margin: 0 auto;
}

.tournament-compact-header {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0.5rem 0;
  box-shadow: none;
}

.tournament-title-section {
  margin-bottom: 0.5rem;
  text-align: center;
}


.tournament-title-section h1 {
  color: var(--prize-text);
  font-size: 1.8rem;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.tournament-description {
  color: var(--prize-text-secondary);
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.tournament-details-compact {
  background: rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  padding: 0.75rem;
  margin-top: 0.5rem;
  border: 1px solid var(--prize-border);
}

.details-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 0.25rem;
}

.detail-item {
  color: var(--prize-text);
  font-size: 0.8rem;
}

.detail-item .status-badge {
  font-size: 0.6rem;
  padding: 0.05rem 0.3rem;
  margin-left: 0.25rem;
}

.detail-item strong {
  color: var(--prize-text-muted);
  font-weight: 600;
  margin-right: 0.25rem;
}

/* Tournament Betting Controls - styling removed to inherit from parent */

.betting-controls-header h3 {
  color: var(--prize-text);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1rem 0;
  text-align: center;
}

.betting-controls-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  align-items: center;
}

.tournament-dollars-section,
.bet-amount-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.parlay-cta label {
  text-align: left;
}

.tournament-dollars-section label,
.bet-amount-section label {
  color: var(--prize-text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tournament-dollars-display {
  display: flex;
  align-items: center;
  font-size: 1.4em;
  font-weight: 700;
  color: var(--prize-text);
}

.tournament-dollars-display .dollar-sign {
  color: var(--prize-primary);
  margin-right: 0.25rem;
}

#tournament-dollars-display {
  font-size: 1.4em;
}

.bet-amount-display {
  display: flex;
  align-items: center;
  background: var(--prize-dark);
  border: 2px solid var(--prize-border);
  border-radius: 8px;
  padding: 1rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--prize-text);
}

.bet-amount-display .dollar-sign {
  color: var(--prize-primary);
  margin-right: 0.25rem;
}

.bet-amount-controls {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.bet-amount-slider-container {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bet-amount-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--prize-border);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

.bet-amount-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--prize-primary);
  cursor: pointer;
  border: 2px solid var(--prize-darker);
  box-shadow: 0 2px 6px rgba(255, 165, 0, 0.3);
  transition: all 0.2s ease;
}

.bet-amount-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 165, 0, 0.5);
}

.bet-amount-slider::-moz-range-thumb {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--prize-primary);
  cursor: pointer;
  border: 2px solid var(--prize-darker);
  box-shadow: 0 2px 6px rgba(255, 165, 0, 0.3);
  transition: all 0.2s ease;
}

.bet-amount-slider::-moz-range-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(255, 165, 0, 0.5);
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--prize-text-secondary);
}

.bet-amount-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 4rem;
}

.dollar-prefix {
  position: absolute;
  left: 0.75rem;
  color: var(--prize-primary);
  font-size: 1.625rem; /* Match input font size */
  font-weight: 700;
  pointer-events: none;
  z-index: 1;
}

.tournament-bet-amount-input {
  background: var(--prize-dark);
  border: 2px solid var(--prize-border);
  border-radius: 8px;
  color: var(--prize-text);
  font-size: 1.625rem; /* 26px */
  font-weight: 700;
  width: 100% !important;
  outline: none;
  text-align: left;
  padding: 2rem 1.5rem 2rem 1.6rem; /* padding-left: 25.6px */
  padding-left: 1.6rem; /* 25.6px - explicit padding-left */
  box-sizing: border-box;
  min-height: 4rem;
  font-size: 1.4rem !important;
  padding: 1rem 1rem 1rem 1.6rem !important;
  padding-left: 1.4rem; /* explicit padding-left for mobile */
  min-height: 3.5rem;
}

.tournament-bet-amount-input::placeholder {
  color: var(--prize-text-secondary);
  opacity: 0.7;
}

.tournament-bet-amount-input::-webkit-outer-spin-button,
.tournament-bet-amount-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.tournament-bet-amount-input[type=number] {
  -moz-appearance: textfield;
}

.status-row {
  display: flex;
  justify-content: center;
  padding-top: 0.5rem;
  border-top: 1px solid var(--prize-border);
}

.fee-highlight {
  color: var(--prize-primary);
  text-shadow: 0 0 10px var(--prize-glow);
  font-size: 1.3rem;
}

.balance-highlight {
  color: var(--prize-success);
  font-size: 1.2rem;
}

.status-item {
  grid-column: span 2;
}

.status-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.tournament-actions-show {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-header {
    padding: 1rem;
  }

  .logo h1 {
    font-size: 1.5rem;
  }

  .main-nav {
    display: none;
  }

  .user-info {
    display: none;
  }

  .hamburger-btn {
    display: flex;
    order: 2;
  }

  .logo {
    order: 1;
  }

  main {
    padding: 1rem 0;
  }

  .tournaments-grid {
    grid-template-columns: 1fr;
  }



  .tournaments-mobile-container {
    padding: 0 0.5rem;
    display: block;
  }

  .tournament-mobile-card {
    padding: 1rem;
  }

  .tournament-stats {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.75rem;
    padding: 0.75rem;
  }

  .stat-value {
    font-size: 1rem;
  }

  .stat-label {
    font-size: 0.7rem;
  }

  .tournament-details {
    justify-content: flex-start;
  }

  .tournament-form {
    padding: 2rem 1rem;
  }

  .nfl-week-banner {
    margin: 0.25rem 0 0.5rem 0;
    padding: 0.5rem;
    min-height: 40px;
    border-radius: 0 !important;
  }

  .tournament-compact-header {
    padding: 0.25rem 0;
    border-radius: 0;
  }


  .tournament-title-section h1 {
    font-size: 1.4rem;
    margin: 0;
  }

  .tournament-details-compact {
    padding: 0.5rem;
    margin-top: 0.25rem;
  }

  .details-row {
    gap: 0.25rem;
    grid-template-columns: repeat(2, 1fr);
  }

  .detail-item {
    font-size: 0.85rem;
  }

  .status-row {
    justify-content: flex-start;
  }

  .betting-controls-content {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .betting-controls-header h3 {
    font-size: 1.1rem;
  }

  .tournament-dollars-display,
  .bet-amount-display {
    font-size: 1rem;
  }

  .dollar-prefix {
    font-size: 1.4rem;
    left: 0.75rem;
  }

  .home-hero {
    padding: 2rem 1rem;
  }

  .hero-content h1 {
    font-size: 2.5rem;
  }

  .auth-form {
    padding: 1rem 0.75rem;
    max-width: calc(100vw - 1rem);
  }

  .auth-form .form-row {
    grid-template-columns: 1fr;
  }

  .auth-form input[type="date"] {
    height: 3rem;
    box-sizing: border-box;
    max-width: 100%;
    width: 100%;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-size: 1rem;
    padding: 1rem;
    border: 2px solid var(--prize-border);
    border-radius: 8px;
    background: var(--prize-darker);
    color: var(--prize-text);
  }
}

/* Betting Interface Styles */
.betting-interface {
  padding: 0;
  background: var(--prize-secondary);
  border-radius: 12px;
  border: 1px solid var(--prize-border);
}

/* Parlay Call to Action */
.parlay-cta {
  background: linear-gradient(135deg, var(--prize-secondary) 0%, var(--prize-light) 100%);
  border-radius: 12px;
  padding: 2rem 1.5rem;
  margin: 1.5rem 0;
  text-align: center;
  border: 1px solid var(--prize-border);
  box-shadow: 0 2px 8px var(--prize-shadow);
  position: relative;
  overflow: hidden;
}

.parlay-cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--prize-primary) 0%, var(--prize-success) 100%);
}

.parlay-cta.hidden {
  display: none;
}

.cta-content h3 {
  color: var(--prize-text);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.75rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.5px;
}

.cta-content p {
  color: var(--prize-text-secondary);
  font-size: 1.1rem;
  margin: 0 0 1.25rem 0;
  opacity: 0.9;
  font-weight: 400;
}

.highest-potential-result {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--prize-border);
  text-align: center;
}

.highest-potential-result p {
  color: var(--prize-success) !important;
  font-weight: 600 !important;
  font-size: 1rem !important;
  margin: 0 !important;
}

.betting-interface h2 {
  color: var(--prize-text);
  margin-bottom: 1.5rem;
  text-align: center;
}

.games-header {
  text-align: center;
  margin-bottom: 1.5rem;
  padding: 0.5rem;
  background: var(--prize-lighter);
  border-radius: 8px;
  border: 1px solid var(--prize-border);
}

.games-header h3 {
  color: var(--prize-text);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
}

.games-subtitle {
  color: var(--prize-text-muted);
  font-size: 0.9rem;
  margin: 0;
  font-style: italic;
}

.bet-requirement {
  color: var(--prize-text-secondary);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

/* Bet Slip Summary */
.bet-slip-summary {
  background: var(--prize-dark);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  border: 2px solid var(--prize-primary);
}

.bet-slip-summary h3 {
  color: var(--prize-text);
  margin-bottom: 1rem;
  text-align: center;
}

.bet-slip-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: var(--prize-lighter);
  border-radius: 6px;
  margin-bottom: 0.5rem;
}

.bet-description {
  color: var(--prize-text);
  font-weight: 500;
}

.bet-odds {
  color: var(--prize-success);
  font-weight: 700;
  margin: 0 1rem;
}

.bet-slip-actions {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--prize-border);
  text-align: center;
}

.bet-slip-actions p {
  color: var(--prize-text);
  margin: 0.5rem 0;
}

/* Games List - Compact Grid Layout */
.games-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}

.game-card {
  background: var(--prize-dark);
  border-radius: 6px;
  padding: 0.75rem;
  border: 1px solid var(--prize-border);
  transition: all 0.2s ease;
}

.game-card:hover {
  border-color: var(--prize-primary);
  transform: translateY(-1px);
}

.game-header {
  text-align: center;
  margin-bottom: 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--prize-border);
}

.game-header h4 {
  color: var(--prize-text);
  margin-bottom: 0.25rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.game-time {
  color: var(--prize-text-secondary);
  font-size: 0.7rem;
}

/* Betting Options - Compact Layout */
.betting-options {
  display: grid;
  gap: 0.5rem;
}

.bet-option-group {
  background: var(--prize-lighter);
  border-radius: 4px;
  padding: 0.5rem;
}

.bet-option-group h5 {
  color: var(--prize-text);
  margin-bottom: 0.5rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  font-weight: 600;
}

.bet-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem;
}

.bet-button {
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
  font-weight: 500;
  font-size: 0.75rem;
  transition: all 0.15s ease;
  border: 1px solid transparent;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bet-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px var(--prize-shadow);
}

.bet-button.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.bet-button.disabled:hover {
  transform: none;
  box-shadow: none;
}

/* User Bet Slip Display */
.user-bet-slip {
  background: var(--prize-dark);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1rem;
  border: 1px solid var(--prize-border);
}

.user-bet-slip h3 {
  color: var(--prize-primary);
  margin-bottom: 1rem;
  text-align: center;
}

.bet-slip-details {
  display: grid;
}

.bet-slip-info {
  background: var(--prize-lighter);
  border-radius: 6px;
  padding: 1rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.5rem;
}

.bet-slip-info p {
  margin: 0;
  color: var(--prize-text);
  font-size: 0.9rem;
}

.bet-selections h4 {
  color: var(--prize-text);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--prize-border);
  padding-bottom: 0.5rem;
}

.bet-selection-item {
  background: var(--prize-lighter);
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 0.75rem;
  border-left: 4px solid var(--prize-primary);
}

.bet-description {
  margin-bottom: 0.5rem;
}

.bet-description strong {
  color: var(--prize-text);
  font-size: 1rem;
}

.bet-details {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.bet-odds, .bet-status {
  color: var(--prize-success);
  font-size: 0.85rem;
  background: var(--prize-dark);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.bet-status {
  text-transform: capitalize;
}

/* Mobile-First Betting Interface */
.games-list-mobile {
  display: flex;
  flex-direction: column;
}

.game-item-mobile {
}

.sticky-game-header {
  position: sticky;
  top: 0;
  background: var(--prize-darker);
  z-index: 11;
  padding: 0.5rem 10px 0.5rem 0;
  margin-bottom: 0.5rem;
  border-bottom: 2px solid var(--prize-primary);
}

.game-header-mobile {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--prize-border);
}

.game-teams {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.team-info {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.team-name {
  font-weight: 600;
  color: var(--prize-text);
  font-size: 0.9rem;
}

.team-full {
  font-size: 0.7rem;
  color: var(--prize-text-muted);
  text-align: center;
}

.game-time-mobile {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  text-align: right;
}

.game-time-flat {
  font-weight: 700;
  color: var(--prize-success);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.game-debug-info {
  margin-top: 0.5rem;
  text-align: center;
}

.game-id {
  font-size: 0.7rem;
  color: var(--prize-text-muted);
  background: var(--prize-lighter);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-family: monospace;
  border: 1px solid var(--prize-border);
}

.game-datetime {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.day-of-week {
  font-weight: 600;
  color: var(--prize-text);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.game-time {
  display: flex;
  align-items: center;
}

.time {
  font-weight: 700;
  color: var(--prize-success);
  font-size: 1rem;
}

.date {
  font-size: 0.7rem;
  color: var(--prize-text-muted);
}

/* Betting Table Styles */
.betting-table-container {
  overflow-x: auto;
}

.betting-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--prize-dark);
}

.betting-table thead {
  background: var(--prize-darker);
}

.betting-table th {
  padding: 0.5rem 0.25rem;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--prize-text-muted);
  border-bottom: 1px solid var(--prize-border);
}

.betting-table td {
  padding: 0.25rem;
  border-bottom: 1px solid var(--prize-border);
  vertical-align: middle;
}

.team-cell {
  padding: 0.5rem 0.25rem 0.5rem calc(0.25rem + 5px) !important;
}

.betting-table td:last-child {
  padding-right: calc(0.25rem + 5px);
}

.team-column {
  text-align: left;
  width: 55%;
}

.spread-column,
.moneyline-column,
.total-column {
  width: 15%;
  text-align: center;
}

.team-row {
  background: var(--prize-dark);
  border-bottom: 1px solid var(--prize-border);
}

.team-row:hover {
  background: rgba(0, 0, 0, 0.1);
}


.team-info {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.team-logo {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  display: inline-block;
}

.team-info .team-name {
  font-weight: 600;
  color: var(--prize-text);
  font-size: 0.9rem;
}

.team-info .team-full {
  font-size: 0.9rem;
  color: var(--prize-text);
  font-weight: 600;
}

.bet-cell {
  text-align: center;
  padding: 0.25rem;
}

.bet-option-table {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.5rem 0;
  background: transparent;
  border: 1px solid var(--prize-border);
  border-radius: 4px;
  color: var(--prize-text);
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.8rem;
  min-height: 50px;
  justify-content: center;
}

.bet-option-table:not(.selected):hover {
  background: rgba(0, 0, 255, 0.1);
  border-color: var(--prize-primary);
}

.bet-option-table:not(.selected) {
  background: transparent !important;
  color: var(--prize-text) !important;
  border-color: var(--prize-border) !important;
  outline: none !important;
  box-shadow: none !important;
}

.bet-option-table:not(.selected):focus {
  outline: none !important;
  border-color: var(--prize-border) !important;
  box-shadow: none !important;
}

.bet-option-table.selected {
  background: var(--prize-primary);
  color: white;
  border-color: var(--prize-primary);
}

.bet-option-table.selected:hover {
  background: var(--prize-primary);
  border-color: var(--prize-primary);
}

.bet-option-table .bet-text {
  font-weight: 600;
  margin-bottom: 0.25rem;
  font-size: 0.75rem;
}

.bet-option-table .bet-odds {
  font-weight: 600;
  color: var(--prize-success);
  font-size: 0.8rem;
}

.bet-option-table.selected .bet-odds {
  color: white;
}

.bet-option-table.disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

.bet-option-table.disabled:hover {
  transform: none;
  box-shadow: none;
  background: transparent;
  border-color: var(--prize-border);
}

.no-bet {
  color: var(--prize-text-muted);
  font-size: 0.8rem;
}

/* Mobile Bet Slip Footer */
.bet-slip-footer-mobile {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  background: var(--prize-darker);
  border-top: 1px solid var(--prize-border);
  z-index: 1000;
}

.bet-slip-footer-mobile .bet-slip-info {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 2rem;
  width: 100%;
  background: var(--prize-darker);
}

@media (max-width: 768px) {
  .bet-slip-footer-mobile .bet-slip-info {
    padding: 1rem;
  }
}

.bet-slip-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bet-slip-info .potential-payout {
  font-size: 1.2rem;
  font-weight: 700;
  color: white;
}

.bet-count {
  font-weight: 600;
  color: var(--prize-text);
  font-size: 0.9rem;
}

.view-picks-btn {
  background: var(--prize-primary);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.view-picks-btn:hover {
  background: var(--prize-primary-hover);
}

/* Bet Slip Modal */
.bet-slip-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* Prevent body scroll when modal is open */
body.modal-open {
  overflow: hidden;
  position: fixed;
  width: 100%;
}

.bet-slip-content {
  background: var(--prize-dark);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: calc(100vh - 80px); /* Leave space for footer */
  border-radius: 8px 8px 0 0;
  padding: 0.5rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  .bet-slip-content {
    padding: 0.375rem;
  }
}

.bet-slip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.375rem;
  padding-bottom: 0.375rem;
  border-bottom: 1px solid var(--prize-border);
}

.bet-slip-title {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.bet-slip-title h3 {
  margin: 0;
  color: var(--prize-text);
  font-size: 1.5rem;
}


/* MyBookie-style Bet Selections */
.bet-selections {
  margin: 0.25rem 0;
}

.bet-item-detailed {
  display: flex;
  align-items: center;
  background: var(--prize-dark);
  border: 1px solid var(--prize-border);
  padding: 0.25rem;
  margin-bottom: 0.25rem;
  border-radius: 4px;
}

.bet-remove {
  margin-right: 0.75rem;
}

.bet-remove .remove-bet-btn {
  background: transparent;
  color: var(--prize-text-muted);
  border: none;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 400;
  line-height: 1;
  transition: all 0.2s ease;
}

.bet-remove .remove-bet-btn:hover {
  background: rgba(255, 68, 68, 0.12);
  color: var(--prize-error);
}

.bet-main-info {
  flex: 1;
  margin-right: 0.75rem;
  line-height: 1.2;
}

.bet-description {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-bottom: 0.25rem;
}

.bet-description-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bet-team-logo {
  width: 24px;
  height: 24px;
  object-fit: contain;
  border-radius: 2px;
}

.team-logo-placeholder {
  width: 24px;
  height: 24px;
  background: var(--prize-lighter);
  border: 1px solid var(--prize-border);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--prize-text-secondary);
}

.bet-description strong {
  color: var(--prize-text);
  font-size: 0.9rem;
  font-weight: 700;
  line-height: 1.1;
}

.bet-type {
  color: var(--prize-text-secondary);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.1;
}

.bet-matchup {
  color: var(--prize-text-secondary);
  font-size: 0.8rem;
  margin-bottom: 0.1rem;
  margin-left: 2rem;
  line-height: 1.1;
  text-align: left;
}

.bet-item-detailed.bet-won {
  border-left: 4px solid #10b981;
  background: rgba(16, 185, 129, 0.1);
}

.bet-item-detailed.bet-lost {
  border-left: 4px solid #ef4444;
  background: rgba(239, 68, 68, 0.1);
}

.bet-item-detailed.bet-pushed {
  border-left: 4px solid #f59e0b;
  background: rgba(245, 158, 11, 0.1);
}

/* Live trend: how a still-pending pick looks based on the game's current,
   not-yet-final score. Only the left border pulses - the background stays
   the normal card color, so the tinted background reads as a signal that's
   reserved for a finalized win/loss/push (bet-won/bet-lost/bet-pushed above).
   The pulse itself is driven by JS (see tickLiveTrendPulse in
   tournaments/show.html.erb): a plain CSS @keyframes animation restarts its
   own clock the instant an element goes from display:none to visible, so two
   players' picks expanded seconds apart would drift out of phase. Every
   visible pulsing element instead gets its border-left-color set from one
   shared JS interval tick, which is the only way to guarantee they all move
   together regardless of when each one was revealed. */
.bet-item-detailed.live-trend-winning,
.bet-item-detailed.live-trend-losing,
.bet-item-detailed.live-trend-pushing {
  border-left-width: 4px;
  border-left-style: solid;
}

.bet-item-detailed.live-trend-winning {
  border-left-color: #10b981; /* JS overrides this each tick to pulse it */
}

.bet-item-detailed.live-trend-losing {
  border-left-color: #ef4444;
}

.bet-item-detailed.live-trend-pushing {
  border-left-color: #f59e0b;
}

.bet-actions {
  display: flex;
  align-items: center;
}

.bet-odds-display {
  background: var(--prize-lighter);
  color: var(--prize-success);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.8rem;
  min-width: 50px;
  text-align: center;
  border: 1px solid var(--prize-border);
}


/* Parlay Summary - Matching Betting Interface Style */
.parlay-summary {
  background: var(--prize-dark);
  border: 1px solid var(--prize-border);
  border-radius: 4px;
  padding: 0.375rem;
  margin: 0.25rem 0;
  flex-shrink: 0;
}

.parlay-header {
  margin-bottom: 0.25rem;
}

.parlay-type {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--prize-text);
  font-weight: 600;
  font-size: 0.9rem;
}


.bet-amount-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.bet-input-group {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bet-input-group input {
  background: var(--prize-light);
  border: 1px solid var(--prize-border);
  border-radius: 4px;
  color: var(--prize-text);
  padding: 0.25rem 0.5rem;
  width: 80px;
  font-size: 0.8rem;
}

.tournament-bet-amount-input {
  width: 80px;
  padding: 2px 4px;
  background: var(--prize-dark);
  border: 1px solid var(--prize-border);
  border-radius: 4px;
  color: var(--prize-text);
  font-size: 0.9rem;
}

.tournament-bet-amount-input:focus {
  outline: none;
  border-color: var(--prize-primary);
  box-shadow: 0 0 0 2px rgba(0, 0, 255, 0.2);
}

.tournament-bet-amount-readonly {
  color: var(--prize-text);
  font-size: 0.9rem;
  font-weight: 400;
  margin-left: 5px;
}

.summary-lines {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--prize-text);
  font-size: 0.8rem;
}

.summary-line span:last-child {
  font-weight: 600;
}


/* Bet Slip Actions - Sticky Footer */
.bet-slip-actions {
  padding-top: 0.5rem;
  border-top: 1px solid var(--prize-border);
}

/* Confirmation Text and Place Bet Button */
.confirmation-text {
  text-align: center;
  color: var(--prize-text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.place-bet-btn {
  background: var(--prize-success);
  color: white;
  border: none;
  border-radius: 8px;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  width: 100%;
  transition: all 0.2s;
}

.place-bet-btn:hover:not(:disabled) {
  background: #e67700;
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.place-bet-btn:disabled {
  background: var(--prize-border);
  cursor: not-allowed;
  opacity: 0.6;
}

/* NFL Week Banner */
.nfl-week-banner {
  background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
  border: 1px solid var(--prize-border);
  border-radius: 8px;
  margin: 0.5rem 0 1rem 0;
  padding: 0.75rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  min-height: 50px;
}

.nfl-week-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.nfl-week-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nfl-week-label {
  background: var(--prize-primary);
  color: var(--prize-text);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.nfl-week-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--prize-success);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.nfl-week-details {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
}

.nfl-week-status {
  color: var(--prize-text-secondary);
  font-size: 1rem;
  font-weight: 500;
}

.nfl-week-countdown {
  color: var(--prize-text-muted);
  font-size: 0.85rem;
  font-weight: 400;
  font-style: italic;
}

@media (max-width: 768px) {
  .nfl-week-content {
    flex-direction: column;
    text-align: center;
    gap: 0.75rem;
  }

  .nfl-week-info {
    justify-content: center;
  }

  .nfl-week-number {
    font-size: 1.75rem;
  }

  .nfl-week-details {
    align-items: center;
  }

  .nfl-week-status {
    font-size: 0.9rem;
  }

  .nfl-week-countdown {
    font-size: 0.8rem;
  }
}

/* Admin Actions */
.admin-actions {
  margin: 2rem 0;
  text-align: center;
}

.admin-btn {
  background: var(--prize-success) !important;
  color: var(--prize-darker) !important;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.admin-btn:hover {
  background: #cc6600 !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 136, 0, 0.3);
}

.admin-btn:disabled {
  background: var(--prize-lighter) !important;
  color: var(--prize-text-muted) !important;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}


.bet-amount-input input:focus {
  outline: none;
  border-color: var(--prize-primary);
  box-shadow: 0 0 0 2px rgba(0, 0, 255, 0.2);
}

.bet-slip-header h3 {
  color: var(--prize-text);
  margin: 0;
  font-size: 1.2rem;
}

.close-btn {
  background: none;
  border: none;
  color: var(--prize-text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.selected-bets-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.bet-item-mobile {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem;
  background: var(--prize-lighter);
  border-radius: 6px;
  border: 1px solid var(--prize-border);
}

.bet-description-mobile {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.bet-description-mobile strong {
  color: var(--prize-text);
  font-size: 0.9rem;
}

.bet-odds-mobile {
  color: var(--prize-success);
  font-size: 0.8rem;
}

.remove-bet-btn {
  background: transparent;
  color: var(--prize-text-muted);
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
  transition: all 0.2s ease;
}

.remove-bet-btn:hover {
  background: rgba(255, 68, 68, 0.12);
  color: var(--prize-error);
}

.bet-slip-actions {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--prize-border);
}

.odds-info {
  background: var(--prize-lighter);
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.odds-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.odds-row:last-child {
  margin-bottom: 0;
}

.odds-label {
  color: var(--prize-text-muted);
  font-size: 0.9rem;
}

.odds-value {
  color: var(--prize-text);
  font-size: 0.9rem;
  font-weight: 600;
}

.register-btn {
  width: 100%;
  background: var(--prize-success);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.register-btn:hover:not(:disabled) {
  background: #00cc66;
}

.register-btn:disabled {
  background: var(--prize-text-muted);
  cursor: not-allowed;
}

/* Mobile Responsive for Bet Slip */
@media (max-width: 768px) {
  .user-bet-slip {
    padding: 1rem;
  }

  .bet-slip-info {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .bet-details {
    flex-direction: column;
    gap: 0.5rem;
  }

  .bet-selection-item {
    padding: 0.75rem;
  }
}

.bet-button.btn-outline-primary:hover {
  background: var(--prize-primary);
  border-color: var(--prize-primary);
  color: white;
}

.bet-button.btn-outline-success:hover {
  background: var(--prize-success);
  border-color: var(--prize-success);
  color: var(--prize-dark);
}

.bet-button.btn-outline-warning:hover {
  background: var(--prize-warning);
  border-color: var(--prize-warning);
  color: var(--prize-dark);
}

/* Entries Table Styles */
.entries-table-container {
  background: var(--prize-darker);
  border: 1px solid var(--prize-border);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 3rem;
  box-shadow: 0 8px 32px var(--prize-shadow);
  overflow-x: auto;
}

.entries-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--prize-darker);
  table-layout: fixed;
}

.entries-table thead {
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 2px solid var(--prize-primary);
}

.entries-table th {
  padding: 1rem 0.75rem;
  text-align: left;
  font-weight: 700;
  color: var(--prize-text);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1rem;
  border-bottom: 2px solid var(--prize-primary);
}

.entries-table th:first-child {
  padding-left: 1.5rem;
}

.entries-table th:last-child {
  padding-right: 1.5rem;
  text-align: center;
}

.entry-row {
  border-bottom: 1px solid var(--prize-border);
  transition: all 0.3s ease;
  font-size: 1rem;
}

.entry-row:hover {
  transform: translateY(-1px);
}

.entry-row.tournament-winner {
  background: linear-gradient(90deg, rgba(16, 185, 129, 0.15) 0%, rgba(16, 185, 129, 0.05) 100%);
  border-left: 4px solid #10b981;
  font-weight: 600;
}

.entry-row.tournament-winner .player-name::after {
  content: " 🏆";
  margin-left: 0.5rem;
}

.clickable-row {
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.clickable-row:focus {
  outline: none;
  background: none;
}

.clickable-row:active {
  background: none;
  outline: none;
}

.entry-row:last-child {
  border-bottom: none;
}

.entries-table td {
  padding: 1.25rem 0.75rem;
  vertical-align: middle;
  font-size: 1.1rem;
}

.entries-table td:first-child {
  padding-left: 1.5rem;
}

.entries-table td:last-child {
  padding-right: 1.5rem;
  text-align: center;
}

.player-column {
  width: 15%;
  text-align: left;
}

.picks-column,
.current-column,
.final-column {
  width: 20%;
  text-align: center;
}

.chevron-column {
  width: 5%;
  text-align: center;
}

.player-cell {
  min-width: 120px;
}

.player-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.player-name {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--prize-text);
}

.picks-count,
.current-dollars,
.final-amount {
  font-weight: 600;
  color: var(--prize-text);
  font-size: 1rem;
}

.current-dollars {
  color: var(--prize-text);
}

.potential-win-parentheses {
  color: var(--prize-text-secondary);
  opacity: 0.7;
  font-weight: 400;
}

.final-amount {
  color: var(--prize-text);
  opacity: 0.6;
}

.chevron-down,
.chevron-up {
  color: var(--prize-text-muted);
  font-size: 0.8rem;
  transition: all 0.3s ease;
}

.chevron-up {
  color: var(--prize-primary);
}

/* Picks Detail Header */
.picks-header {
  background: var(--prize-darker);
  padding: 0.5rem 1rem;
}

.picks-summary {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 2rem;
}

.summary-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 0.5rem;
}

.summary-label {
  color: var(--prize-text-muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.summary-value {
  font-size: 1rem;
  font-weight: 700;
}

.bet-amount {
  color: var(--prize-text);
}

.potential-win {
  color: var(--prize-text);
}

.remaining-dollars {
  color: var(--prize-text);
}

/* Picks Detail Row */
.picks-detail-row {
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 0;
  display: none;
}

.picks-detail-row.show {
  display: table-row;
  max-height: 1000px;
}

.picks-detail-cell {
  padding: 0 !important;
  border: none !important;
}

/* Picks Detail */
.picks-detail {
  background: var(--prize-darker);
  border-bottom: 1px solid var(--prize-border);
  padding: 0 0.5rem;
  margin: 0;
}


/* Mobile Responsive */
@media (max-width: 768px) {
  .betting-interface {
    padding: 0;
    margin: 0 0 0.5rem 0;
  }

  .parlay-cta {
    padding: 1rem;
    margin: 0.5rem;
  }

  .cta-content h3 {
    font-size: 1.1rem;
  }

  .cta-content p {
    font-size: 0.9rem;
  }

  .games-list {
    grid-template-columns: 1fr;
    gap: 0.25rem;
  }

  .game-item-mobile {
  }

  .sticky-game-header {
    padding: 0.25rem 10px 0.25rem 0;
    margin-bottom: 0.25rem;
  }

  .betting-table th {
    padding: 0.25rem 0.1rem;
    font-size: 0.6rem;
  }

  .betting-table td {
    padding: 0.1rem;
  }

  .team-cell {
    padding: 0.25rem 0.1rem 0.25rem calc(0.1rem + 5px) !important;
  }

  .betting-table td:last-child {
    padding-right: calc(0.1rem + 5px);
  }

  .bet-cell {
    padding: 0.1rem;
  }


  .spread-column,
  .moneyline-column,
  .total-column {
    width: 12%;
  }

  .team-column {
    width: 64%;
  }

  .game-card {
    padding: 0.5rem;
  }

  .bet-slip-item {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }

  .bet-buttons {
    grid-template-columns: 1fr;
    gap: 0.3rem;
  }

  .bet-button {
    padding: 0.5rem;
    font-size: 0.7rem;
  }

  .bet-option-group {
    padding: 0.4rem;
  }

  .bet-option-group h5 {
    font-size: 0.65rem;
  }

  .entries-table-container {
    padding: 0;
    margin: 0;
    border-radius: 0;
  }

  .entries-table th {
    padding: 0.5rem 0.25rem;
    font-size: 0.8rem;
  }

  .entries-table th:first-child {
    padding-left: 0.5rem;
  }

  .entries-table th:last-child {
    padding-right: 0.5rem;
  }

  .entries-table td {
    padding: 0.5rem 0.25rem;
    font-size: 1rem;
  }

  .entries-table td:first-child {
    padding-left: 0.5rem;
  }

  .entries-table td:last-child {
    padding-right: 0.5rem;
  }

  .player-column {
    width: 20%;
  }

  .picks-column,
  .current-column,
  .final-column {
    width: 18%;
  }

  .chevron-column {
    width: 8%;
  }

  .player-cell {
    min-width: 80px;
  }

  .player-name {
    font-size: 1rem;
  }

  .picks-count,
  .current-dollars,
  .final-amount {
    font-size: 1rem;
  }

  .chevron-down,
  .chevron-up {
    font-size: 0.7rem;
  }

  .picks-header {
    padding: 0.4rem 0.75rem;
    padding-left: 0.2rem;
  }

  .picks-summary {
    gap: 1rem;
  }

  .summary-label {
    font-size: 0.6rem;
  }

  .summary-value {
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .games-list {
    grid-template-columns: 1fr;
  }

  .game-header h4 {
    font-size: 0.8rem;
  }

  .game-time {
    font-size: 0.65rem;
  }

  .bet-button {
    padding: 0.4rem;
    font-size: 0.65rem;
  }
}

@media (max-width: 480px) {
  .main-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 0;
  }

  .logo h1 {
    font-size: 1.25rem;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

  .tournament-card {
    padding: 1.5rem;
  }

  .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
  }
}
