/* Import authentic Halo fonts */
@import url('https://fonts.googleapis.com/css2?family=Chakra+Petch:wght@300;400;500;600;700&display=swap');

:root {
  /* Authentic Halo Color Palette */
  --halo-gold: #ddc778;
  --halo-dark: #111111;
  --halo-medium-dark: #222222;
  --halo-text-primary: #ffffff;
  --halo-text-secondary: #cccccc;
  --halo-text-muted: #999999;
  
  /* Status Colors */
  --halo-success: #4CAF50;
  --halo-danger: #f44336;
  --halo-warning: #ff9800;
  --halo-info: #2196F3;
  
  /* Shadows and Effects */
  --shadow-dark: #000000 0px 0px 20px;
  --shadow-elevated: #000000 0px 10px 20px;
  --border-dark: 1px solid #000000;
}

* {
  box-sizing: border-box;
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 400;
  color: var(--halo-text-primary);
  background-color: var(--halo-dark);
  min-height: 100vh;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.dashboard-container {
  width: 1200px;
  margin: 30px;
  background-color: var(--halo-medium-dark);
  border: var(--border-dark);
  border-radius: 2px;
  box-shadow: var(--shadow-dark);
  min-height: calc(100vh - 60px);
  padding: 30px;
}

/* Header Styles */
.hero-section {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 128px;
  padding: 30px;
  box-shadow: var(--shadow-dark);
  background-image: url('/images/halo-background.jpg');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  margin-bottom: 30px;
}

.halo-logo {
  height: 80px;
  margin-right: 30px;
}

.hero-content h1 {
  font-family: 'Chakra Petch', monospace;
  font-size: 36px;
  font-weight: 400;
  line-height: 42px;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--halo-text-primary);
  margin: 0;
}

.halo-highlight {
  color: var(--halo-gold);
  font-weight: 600;
}

.hero-subtitle {
  color: var(--halo-text-secondary);
  font-weight: 400;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin: 5px 0 0 0;
}


/* Card Styles */
.card {
  background-color: var(--halo-dark) !important;
  border: var(--border-dark) !important;
  border-radius: 2px !important;
  box-shadow: var(--shadow-dark);
  transition: all 0.3s ease;
  color: var(--halo-text-primary) !important;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

.auth-card .card {
  max-width: 600px;
  margin: 0 auto;
  border: var(--border-primary) !important;
}

/* Player Card Styles */
.player-card {
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: var(--border-secondary) !important;
  overflow: hidden;
  position: relative;
}

.player-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: 
    var(--shadow-blue),
    0 30px 60px rgba(0, 0, 0, 0.8);
  border-color: var(--halo-blue-primary) !important;
}

.player-header {
  background: linear-gradient(135deg, 
    var(--unsc-dark) 0%, 
    var(--unsc-blue) 50%, 
    var(--halo-blue-dark) 100%) !important;
  border-radius: 16px 16px 0 0 !important;
  padding: 24px;
  position: relative;
  overflow: hidden;
  color: var(--text-primary) !important;
  border-bottom: 2px solid var(--halo-blue-primary);
}

.player-header h5 {
  font-family: 'Orbitron', monospace;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 0 10px var(--halo-blue-primary);
  margin-bottom: 8px;
}

.player-header small {
  color: var(--text-secondary);
  font-family: 'Rajdhani', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.player-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(0, 212, 255, 0.3), 
    transparent);
  animation: haloShimmer 4s ease-in-out infinite;
}

@keyframes haloShimmer {
  0%, 100% { left: -100%; opacity: 0; }
  50% { left: 100%; opacity: 1; }
}

/* Stats Section Styles */
.stats-section {
  margin-bottom: 32px;
}

.section-title {
  color: var(--halo-gold);
  font-weight: 600;
  margin-bottom: 16px;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.stat-bubble {
  background-color: var(--halo-dark);
  border: var(--border-dark);
  border-radius: 2px;
  padding: 16px 12px;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.stat-bubble:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

.stat-value {
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 4px;
  color: var(--halo-text-primary);
}

.stat-label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--halo-text-secondary);
}

/* Wins/Losses layout styling */
.stat-wins-losses {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  padding: 0 10px;
}

.wins-label,
.losses-label {
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #00d4ff;
  text-shadow: 0 0 5px rgba(0, 212, 255, 0.3);
}

/* Recent Matches */
.recent-matches {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.match-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--halo-dark);
  border-radius: 2px;
  border-left: 4px solid var(--halo-text-muted);
  transition: all 0.3s ease;
  color: var(--halo-text-primary);
}

.match-item.win {
  border-left-color: var(--halo-success);
}

/* Detailed Match Card Styles */
.detailed-match-card {
  background-color: var(--halo-dark) !important;
  border: var(--border-dark) !important;
  border-radius: 2px !important;
  transition: all 0.3s ease;
  color: var(--halo-text-primary) !important;
}

.detailed-match-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-elevated);
}

.detailed-match-card .text-center {
  color: var(--halo-text-primary) !important;
}

.detailed-match-card .text-muted {
  color: var(--halo-text-muted) !important;
}

.detailed-match-card .h5 {
  color: var(--halo-text-primary) !important;
}

.detailed-match-card small {
  color: var(--halo-text-muted) !important;
}

.detailed-match-card .text-primary {
  color: var(--halo-info) !important;
}

.detailed-match-card .text-secondary {
  color: var(--halo-text-muted) !important;
}

.detailed-match-card .text-info {
  color: var(--halo-info) !important;
}

.detailed-match-card .text-success {
  color: var(--halo-success) !important;
}

.detailed-match-card .text-danger {
  color: var(--halo-danger) !important;
}

.detailed-match-card .text-warning {
  color: var(--halo-warning) !important;
}

.detailed-match-card .text-dark {
  color: var(--halo-text-primary) !important;
}

.small-stat {
  padding: 8px 4px;
  text-align: center;
  transition: all 0.2s ease;
  border-radius: 2px;
  color: var(--halo-text-primary) !important;
}

.small-stat:hover {
  background: var(--halo-medium-dark) !important;
}

.small-stat i {
  font-size: 14px;
  margin-bottom: 4px;
  display: block;
}

.small-stat .fw-bold {
  font-size: 14px;
  line-height: 1.2;
  margin-bottom: 2px;
  color: var(--halo-text-primary) !important;
}

.small-stat small {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: var(--halo-text-muted) !important;
}

/* Match outcome specific styling */
.detailed-match-card.border-success {
  border-left: 6px solid var(--halo-success) !important;
}

.detailed-match-card.border-danger {
  border-left: 6px solid var(--halo-danger) !important;
}

.match-item.loss {
  border-left-color: var(--halo-danger);
}

.match-outcome .badge {
  font-size: 10px;
  font-weight: 600;
}

.match-details {
  flex: 1;
  text-align: left;
  margin: 0 12px;
}

.match-mode {
  font-weight: 600;
  font-size: 13px;
}

.match-map {
  font-size: 11px;
  opacity: 0.7;
}

.match-stats .kda {
  font-family: 'Courier New', monospace;
  font-size: 12px;
  font-weight: 600;
  color: #495057;
}

/* Buttons */
.btn {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  transition: all 0.3s ease !important;
  border-radius: 2px !important;
}

.btn:hover {
  transform: translateY(-1px) !important;
}

.btn-success {
  background-color: var(--halo-success) !important;
  border-color: var(--halo-success) !important;
  color: var(--halo-text-primary) !important;
}

.btn-primary {
  background-color: var(--halo-info) !important;
  border-color: var(--halo-info) !important;
  color: var(--halo-text-primary) !important;
}

.btn-outline-primary {
  background-color: transparent !important;
  border-color: var(--halo-gold) !important;
  color: var(--halo-gold) !important;
}

.btn-outline-primary:hover {
  background-color: var(--halo-gold) !important;
  color: var(--halo-dark) !important;
}

.btn-outline-secondary {
  background-color: transparent !important;
  border-color: var(--halo-text-secondary) !important;
  color: var(--halo-text-secondary) !important;
}

.btn-outline-secondary:hover {
  background-color: var(--halo-text-secondary) !important;
  color: var(--halo-dark) !important;
}

/* Loading Animation */
.spinner-border {
  animation: spinner-border 0.75s linear infinite;
}

@keyframes spinner-border {
  to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .dashboard-container {
    padding: 15px;
  }
  
  .team-logo {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .player-card {
    margin-bottom: 20px;
  }
  
  .stat-bubble {
    padding: 12px 8px;
  }
  
  .stat-value {
    font-size: 16px;
  }
  
  .btn-group {
    flex-direction: column;
  }
  
  .btn-group .btn {
    margin-bottom: 8px;
  }
}

/* Color-coded backgrounds for stat bubbles */
.bg-success {
  background-color: var(--halo-success) !important;
  color: var(--halo-text-primary) !important;
}

.bg-danger {
  background-color: var(--halo-danger) !important;
  color: var(--halo-text-primary) !important;
}

.bg-warning {
  background-color: var(--halo-warning) !important;
  color: var(--halo-dark) !important;
}

.bg-primary {
  background-color: var(--halo-info) !important;
  color: var(--halo-text-primary) !important;
}

.bg-secondary {
  background-color: var(--halo-text-muted) !important;
  color: var(--halo-text-primary) !important;
}

.bg-info {
  background-color: var(--halo-info) !important;
  color: var(--halo-text-primary) !important;
}

.bg-light {
  background-color: var(--halo-medium-dark) !important;
  color: var(--halo-text-primary) !important;
}

/* Alert styles */
.alert {
  border: var(--border-secondary) !important;
  border-radius: 12px !important;
  backdrop-filter: blur(15px) !important;
  background: rgba(13, 20, 33, 0.8) !important;
  color: var(--text-primary) !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-weight: 600 !important;
}

.alert-info {
  border-color: var(--halo-blue-primary) !important;
  background: rgba(0, 212, 255, 0.1) !important;
  color: var(--halo-blue-primary) !important;
}

.alert-warning {
  border-color: var(--halo-orange) !important;
  background: rgba(255, 107, 0, 0.1) !important;
  color: var(--halo-orange) !important;
}

.alert-success {
  border-color: var(--halo-green) !important;
  background: rgba(0, 255, 65, 0.1) !important;
  color: var(--halo-green) !important;
}

/* Animation for new elements */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.player-card {
  animation: fadeInUp 0.6s ease-out;
}

.player-card:nth-child(1) { animation-delay: 0.1s; }
.player-card:nth-child(2) { animation-delay: 0.2s; }
.player-card:nth-child(3) { animation-delay: 0.3s; }

/* Road to 50 Halo-style Section */
.road-to-50 {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  border-radius: 16px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  border: 2px solid #00d4ff;
  box-shadow: 
    0 0 20px rgba(0, 212, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  margin-bottom: 20px;
}

.road-to-50::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(0, 212, 255, 0.1), 
    transparent
  );
  animation: haloScan 4s ease-in-out infinite;
}

@keyframes haloScan {
  0%, 100% { left: -100%; opacity: 0; }
  50% { left: 100%; opacity: 1; }
}

.road-title {
  color: #00d4ff;
  font-weight: 700;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
  text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
}

.road-title::before {
  content: '⚡';
  font-size: 20px;
  animation: pulse 2s infinite;
}

/* Remove lightning bolt from Steaktacular card */
.road-to-50-steaktacular .road-title::before {
  content: '';
  display: none;
}

.wins-display {
  color: #ffffff;
  font-size: 32px;
  font-weight: 900;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
  margin-bottom: 15px;
  font-family: 'Orbitron', 'Courier New', monospace;
}

.wins-subtitle {
  color: #8892b0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

/* Progress Bar Container */
.progress-container {
  position: relative;
  height: 12px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(0, 212, 255, 0.3);
}

.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, 
    #00d4ff 0%, 
    #0099cc 50%, 
    #0066ff 100%
  );
  border-radius: 6px;
  position: relative;
  transition: width 1s ease-out;
  box-shadow: 
    0 0 10px rgba(0, 212, 255, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.progress-bar::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(255, 255, 255, 0.4), 
    transparent
  );
  animation: progressShine 2s ease-in-out infinite;
}

@keyframes progressShine {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* Milestone Markers */
.milestones {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  position: relative;
}

.milestone {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 10px;
  color: #8892b0;
  position: relative;
}

.milestone.achieved {
  color: #00d4ff;
  text-shadow: 0 0 5px rgba(0, 212, 255, 0.7);
}

.milestone::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(136, 146, 176, 0.3);
  border: 2px solid #8892b0;
  margin-bottom: 4px;
  transition: all 0.3s ease;
}

.milestone.achieved::before {
  background: #00d4ff;
  border-color: #00d4ff;
  box-shadow: 
    0 0 10px rgba(0, 212, 255, 0.8),
    0 0 20px rgba(0, 212, 255, 0.4);
  animation: milestonePulse 2s infinite;
}

@keyframes milestonePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.2); box-shadow: 0 0 15px rgba(0, 212, 255, 1); }
}

/* Win Streak Stats */
.streak-stats {
  display: flex;
  justify-content: space-between;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(0, 212, 255, 0.2);
}

.streak-stat {
  text-align: center;
  flex: 1;
}

.streak-stat-value {
  color: #00d4ff;
  font-size: 18px;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
}

.streak-stat-label {
  color: #8892b0;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
}

/* Form Controls */
.form-control {
  background: rgba(13, 20, 33, 0.8) !important;
  border: var(--border-secondary) !important;
  color: var(--text-primary) !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-weight: 500 !important;
  backdrop-filter: blur(10px) !important;
}

.form-control:focus {
  background: rgba(0, 212, 255, 0.1) !important;
  border-color: var(--halo-blue-primary) !important;
  box-shadow: var(--glow-blue) !important;
  color: var(--text-primary) !important;
}

.form-control::placeholder {
  color: var(--text-secondary) !important;
  opacity: 0.7;
}

/* Loading styles */
#loading {
  background: rgba(13, 20, 33, 0.9);
  backdrop-filter: blur(20px);
  border-radius: 16px;
  border: var(--border-secondary);
  color: var(--text-primary);
}

#loading h4 {
  font-family: 'Orbitron', monospace;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-accent);
  text-shadow: 0 0 10px var(--halo-blue-primary);
}

.spinner-border {
  border-color: var(--halo-blue-primary);
  border-right-color: transparent;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: rgba(13, 20, 33, 0.8);
  border-radius: 6px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--halo-blue-primary), var(--halo-blue-secondary));
  border-radius: 6px;
  border: 2px solid rgba(13, 20, 33, 0.8);
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--halo-blue-secondary), var(--halo-blue-dark));
  box-shadow: 0 0 10px var(--halo-blue-primary);
}

/* Text selection */
::selection {
  background: rgba(0, 212, 255, 0.3);
  color: var(--text-primary);
}

/* Focus outline for accessibility */
*:focus {
  outline: 2px solid var(--halo-blue-primary) !important;
  outline-offset: 2px !important;
}

/* Recent Records Halo-style cards */
.recent-records-card {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
  border-radius: 12px;
  padding: 16px 12px;
  position: relative;
  overflow: hidden;
  border: 1px solid #333;
  box-shadow: 
    0 4px 15px rgba(0, 0, 0, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  color: var(--halo-text-primary);
}

.recent-records-card:hover {
  transform: translateY(-2px);
  border-color: #00d4ff;
  box-shadow: 
    0 0 15px rgba(0, 212, 255, 0.2),
    0 6px 20px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.recent-records-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, 
    transparent, 
    rgba(0, 212, 255, 0.1), 
    transparent
  );
  animation: recordsShimmer 3s ease-in-out infinite;
}

@keyframes recordsShimmer {
  0%, 100% { left: -100%; opacity: 0; }
  50% { left: 100%; opacity: 1; }
}

.recent-records-card .stat-label {
  color: #8892b0;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.recent-records-card .stat-wins-losses {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  padding: 0 10px;
  color: #00d4ff;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 0 5px rgba(0, 212, 255, 0.3);
}

.recent-records-card .stat-value {
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
  font-family: 'Orbitron', 'Courier New', monospace;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 10px;
}

.wins-number {
  color: #ffffff;
  text-align: left;
}

.losses-number {
  color: #ffffff;
  text-align: right;
}

/* Win/Loss color variants */
.recent-records-card.winning {
  border-color: #4CAF50;
}

.recent-records-card.winning:hover {
  border-color: #4CAF50;
  box-shadow: 
    0 0 15px rgba(76, 175, 80, 0.2),
    0 6px 20px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.recent-records-card.losing {
  border-color: #f44336;
}

.recent-records-card.losing:hover {
  border-color: #f44336;
  box-shadow: 
    0 0 15px rgba(244, 67, 54, 0.2),
    0 6px 20px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.recent-records-card.tied {
  border-color: #ff9800;
}

.recent-records-card.tied:hover {
  border-color: #ff9800;
  box-shadow: 
    0 0 15px rgba(255, 152, 0, 0.2),
    0 6px 20px rgba(0, 0, 0, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Additional polish for badges */
.badge {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.badge.bg-success {
  background-color: var(--halo-success) !important;
  color: var(--halo-text-primary) !important;
}

.badge.bg-danger {
  background-color: var(--halo-danger) !important;
  color: var(--halo-text-primary) !important;
}

/* Enhance card body text */
.card-body {
  color: var(--text-primary) !important;
}

.card-body .text-muted {
  color: var(--text-secondary) !important;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .road-to-50 {
    padding: 15px;
  }
  
  .road-title {
    font-size: 16px;
  }
  
  .wins-display {
    font-size: 24px;
  }
  
  .streak-stat-value {
    font-size: 16px;
  }
}

/* DSL Footer */
.dsl-footer {
  padding: 20px 0;
  border-top: 1px solid rgba(0, 212, 255, 0.2);
  margin-top: 40px;
}

.dsl-motto {
  color: var(--halo-gold);
  font-family: 'Chakra Petch', monospace;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(221, 199, 120, 0.3);
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
  body {
    padding: 0;
    margin: 0;
    align-items: flex-start;
  }
  
  .dashboard-container {
    width: 100%;
    max-width: 100vw;
    margin: 0;
    padding: 15px;
    border-radius: 0;
    min-height: 100vh;
    box-shadow: none;
    border: none;
  }
  
  /* Mobile Header */
  .hero-section {
    height: auto;
    padding: 20px 15px;
    margin-bottom: 20px;
    flex-direction: column;
    text-align: center;
  }
  
  .halo-logo {
    height: 60px;
    margin-right: 0;
    margin-bottom: 15px;
  }
  
  .hero-content h1 {
    font-size: 24px;
    line-height: 28px;
    letter-spacing: 0.1em;
  }
  
  .hero-subtitle {
    font-size: 12px;
  }
  
  /* Mobile Authentication */
  .auth-card {
    margin-bottom: 20px;
  }
  
  .auth-card .card {
    max-width: 100%;
    margin: 0;
    border-radius: 8px;
  }
  
  .card-body {
    padding: 20px !important;
  }
  
  .card-title {
    font-size: 18px !important;
    margin-bottom: 15px !important;
  }
  
  .btn-lg {
    padding: 12px 20px !important;
    font-size: 14px !important;
    width: 100%;
  }
  
  .btn {
    margin-bottom: 10px;
    width: 100%;
  }
  
  .input-group {
    flex-direction: column;
    gap: 10px;
  }
  
  .input-group .form-control {
    border-radius: 6px !important;
    margin-bottom: 0;
  }
  
  .input-group .btn {
    border-radius: 6px !important;
    margin-bottom: 0;
  }
  
  .alert {
    font-size: 13px;
    padding: 12px;
    margin-bottom: 15px;
  }
  
  /* Mobile Stats Grid */
  .row {
    margin-left: -10px;
    margin-right: -10px;
  }
  
  .col-lg-4,
  .col-md-6 {
    padding-left: 10px;
    padding-right: 10px;
    margin-bottom: 20px;
  }
  
  /* Mobile Player Cards */
  .player-card {
    margin-bottom: 20px;
  }
  
  .player-header {
    padding: 18px 15px;
  }
  
  .player-header h5 {
    font-size: 16px;
  }
  
  .card-body {
    padding: 15px !important;
  }
  
  /* Mobile Stats */
  .stats-section {
    margin-bottom: 20px;
  }
  
  .section-title {
    font-size: 13px;
    margin-bottom: 12px;
  }
  
  .stat-bubble {
    padding: 12px 8px;
  }
  
  .stat-value {
    font-size: 16px;
  }
  
  .stat-label {
    font-size: 10px;
  }
  
  /* Mobile Road to 50 */
  .road-to-50 {
    padding: 20px 15px;
    margin-bottom: 20px;
  }
  
  .road-title {
    font-size: 14px;
  }
  
  .wins-display {
    font-size: 28px;
  }
  
  .wins-subtitle {
    font-size: 11px;
  }
  
  .streak-stats {
    margin-top: 12px;
    padding-top: 12px;
  }
  
  .streak-stat-value {
    font-size: 16px;
  }
  
  .streak-stat-label {
    font-size: 9px;
  }
  
  /* Mobile Recent Records */
  .recent-records-card {
    padding: 12px 10px;
    margin-bottom: 10px;
  }
  
  .recent-records-card .stat-label {
    font-size: 10px;
  }
  
  .recent-records-card .stat-value {
    font-size: 14px;
  }
  
  /* Mobile Match Cards */
  .detailed-match-card {
    padding: 12px !important;
    margin-bottom: 15px !important;
  }
  
  /* Steaktacular Match Card */
  .steaktacular-match {
    position: relative;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.1) 0%, rgba(220, 20, 60, 0.1) 100%);
    box-shadow: 0 0 15px rgba(220, 20, 60, 0.3);
  }
  
  .steaktacular-match::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.3), transparent);
    animation: steakShimmer 3s ease-in-out infinite;
  }
  
  @keyframes steakShimmer {
    0%, 100% { left: -100%; opacity: 0; }
    50% { left: 100%; opacity: 1; }
  }
  
  /* Steaktacular Medal Icon */
  .steaktacular-medal-icon {
    height: 28px;
    width: 28px;
    vertical-align: middle;
    margin-left: 8px;
    filter: drop-shadow(0 0 4px rgba(255, 215, 0, 0.6));
    animation: pulse 2s ease-in-out infinite;
  }
  
  @keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
  }
  
  .small-stat {
    margin-bottom: 8px;
  }
  
  .small-stat .fw-bold {
    font-size: 13px;
  }
  
  .small-stat small {
    font-size: 9px;
  }
  
  /* Mobile Footer */
  .dsl-footer {
    padding: 30px 15px 15px;
    margin-top: 30px;
  }
  
  .dsl-motto {
    font-size: 12px;
    letter-spacing: 2px;
  }
  
  /* Mobile Loading */
  #loading {
    padding: 20px;
    margin: 20px 10px;
  }
  
  #loading h4 {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .dashboard-container {
    padding: 10px;
  }
  
  .hero-content h1 {
    font-size: 20px;
    line-height: 24px;
  }
  
  .card-body {
    padding: 15px !important;
  }
  
  .btn-lg {
    padding: 10px 15px !important;
    font-size: 13px !important;
  }
  
  .stat-bubble {
    padding: 10px 6px;
  }
  
  .stat-value {
    font-size: 14px;
  }
  
  .road-to-50 {
    padding: 15px 12px;
  }
  
  .wins-display {
    font-size: 24px;
  }
}

@media (max-width: 360px) {
  .dashboard-container {
    padding: 8px;
  }
  
  .hero-section {
    padding: 15px 8px;
  }
  
  .hero-content h1 {
    font-size: 18px;
    line-height: 22px;
  }
  
  .card-body {
    padding: 12px !important;
  }
  
  .detailed-match-card {
    padding: 10px !important;
  }
}
