/* =====================================================
   SERAF DASHBOARD - GAMER STYLE
   Dark theme with yellow/gold accents
   ===================================================== */

/* CSS Variables */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #1a1a1a;
  --bg-hover: #222222;
  --border-color: #2a2a2a;
  --border-glow: #FFD700;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --accent-yellow: #FFD700;
  --accent-gold: #FFC700;
  --accent-orange: #FFAA00;
  --success: #00ff88;
  --danger: #ff4444;
  --warning: #ffaa00;
  --info: #00aaff;
  --gradient-gold: linear-gradient(135deg, #FFD700 0%, #FFC700 50%, #FFAA00 100%);
  --gradient-dark: linear-gradient(180deg, #1a1a1a 0%, #111111 100%);
  --shadow-glow: 0 0 20px rgba(255, 215, 0, 0.3);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.5);
  --font-display: 'Russo One', sans-serif;
  --font-body: 'Chakra Petch', sans-serif;
}

/* Base Dashboard Styles */
.dashboard-container {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 30px 40px;
  min-height: 100vh;
  background: var(--bg-primary);
  font-family: var(--font-body);
  color: var(--text-primary);
  box-sizing: border-box;
}

/* Page Header */
.page-header {
  margin-bottom: 35px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--border-color);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.back-link:hover {
  color: var(--accent-yellow);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.back-link::before {
  content: '←';
  font-size: 18px;
}

.page-header h1 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin: 0;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* User Header (Dashboard Home) */
.user-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 35px;
  padding: 30px;
  background: var(--gradient-dark);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  position: relative;
  overflow: hidden;
}

.user-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-gold);
}

.user-header::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.user-info h1 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  margin: 0 0 10px 0;
  color: var(--text-primary);
}

.user-info p {
  margin: 0 0 15px 0;
  color: var(--text-secondary);
  font-size: 14px;
}

.gang-badge {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--bg-primary);
  background: var(--gradient-gold);
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

/* Bank Card */
.bank-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 20px 30px;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  text-align: center;
  position: relative;
}

.bank-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--gradient-gold);
  border-radius: 12px 12px 0 0;
}

.bank-card .label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.bank-card .number {
  display: block;
  font-size: 24px;
  font-weight: 700;
  font-family: 'Courier New', monospace;
  color: var(--accent-yellow);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 25px;
  margin-bottom: 35px;
}

.stat-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--gradient-gold);
  transition: width 0.3s ease;
}

.stat-card:hover {
  border-color: var(--accent-yellow);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.stat-card:hover::before {
  width: 6px;
}

.stat-icon {
  font-size: 40px;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 215, 0, 0.1);
  border-radius: 12px;
  border: 1px solid rgba(255, 215, 0, 0.2);
}

.stat-info {
  flex: 1;
}

.stat-value {
  display: block;
  font-size: 36px;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 13px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 5px;
}

.stat-link {
  font-size: 12px;
  color: var(--accent-yellow);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  transition: all 0.3s;
}

.stat-link:hover {
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Dashboard Menu */
.dashboard-menu {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
}

.dashboard-menu h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 25px 0;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.menu-item {
  display: flex;
  flex-direction: column;
  padding: 25px;
  background: var(--bg-secondary);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.menu-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.1), transparent);
  transition: left 0.5s ease;
}

.menu-item:hover::before {
  left: 100%;
}

.menu-item:hover {
  border-color: var(--accent-yellow);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.menu-icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.menu-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.menu-desc {
  font-size: 13px;
  color: var(--text-muted);
}

/* Profile Grid */
.profile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 25px;
}

.profile-card {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
  transition: all 0.3s ease;
}

.profile-card:hover {
  border-color: rgba(255, 215, 0, 0.3);
}

.profile-card h2 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0 0 25px 0;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border-color);
}

.info-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.info-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background: var(--bg-secondary);
  border-radius: 10px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.info-item:hover {
  border-color: rgba(255, 215, 0, 0.3);
  background: var(--bg-hover);
}

.info-item .label {
  font-weight: 500;
  color: var(--text-secondary);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.info-item .value {
  color: var(--text-primary);
  font-weight: 600;
  font-size: 15px;
}

.info-item .bank-number {
  font-family: 'Courier New', monospace;
  color: var(--accent-yellow);
  font-weight: 700;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Gang Info */
.gang-info {
  border: 2px solid;
  border-radius: 16px;
  overflow: hidden;
  background: var(--bg-secondary);
}

.gang-header {
  padding: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.gang-header h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.rank-badge {
  background: rgba(255, 255, 255, 0.1);
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
}

.gang-description {
  padding: 20px 25px;
  margin: 0;
  color: var(--text-secondary);
  font-style: italic;
  border-top: 1px solid var(--border-color);
}

.gang-stats {
  padding: 20px 25px;
  background: var(--bg-card);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.perm-level {
  font-size: 14px;
  color: var(--text-secondary);
}

.perm-level strong {
  color: var(--accent-yellow);
}

.view-link {
  display: block;
  padding: 20px 25px;
  text-align: center;
  color: var(--accent-yellow);
  text-decoration: none;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 13px;
  border-top: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.view-link:hover {
  background: rgba(255, 215, 0, 0.1);
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* No Gang / No Data States */
.no-gang,
.no-gang-card,
.no-data {
  text-align: center;
  padding: 50px 30px;
  background: var(--bg-secondary);
  border: 2px dashed var(--border-color);
  border-radius: 16px;
}

.no-gang-icon {
  font-size: 60px;
  margin-bottom: 20px;
  opacity: 0.5;
}

.no-gang h2,
.no-gang-card h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin: 0 0 15px 0;
}

.no-gang p,
.no-gang-card p {
  color: var(--text-secondary);
  margin: 0 0 25px 0;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: var(--gradient-gold);
  color: var(--bg-primary);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(255, 215, 0, 0.4);
}

/* Gang Container (Gang Page) */
.gang-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.gang-header-card {
  padding: 40px;
  border-radius: 16px;
  border: 2px solid var(--border-color);
  position: relative;
  overflow: hidden;
}

.gang-header-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.8) 100%);
  z-index: 1;
}

.gang-title,
.gang-desc,
.gang-meta {
  position: relative;
  z-index: 2;
}

.gang-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.gang-title h2 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin: 0;
  color: var(--text-primary);
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.member-count {
  background: rgba(0,0,0,0.5);
  padding: 10px 20px;
  border-radius: 30px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-yellow);
  border: 1px solid var(--accent-yellow);
}

.gang-desc {
  font-size: 16px;
  color: var(--text-secondary);
  margin: 0 0 15px 0;
}

.gang-meta {
  font-size: 13px;
  color: var(--text-muted);
}

/* Members Section */
.members-section {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 16px;
  padding: 30px;
}

.members-section h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0 0 25px 0;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.members-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.member-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.member-card:hover {
  border-color: rgba(255, 215, 0, 0.3);
  background: var(--bg-hover);
}

.member-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.member-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 15px;
}

.member-rank {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.member-rank.leader {
  background: var(--gradient-gold);
  color: var(--bg-primary);
}

.member-rank.officer {
  background: rgba(255, 215, 0, 0.2);
  color: var(--accent-yellow);
  border: 1px solid var(--accent-yellow);
}

.member-rank.member {
  background: rgba(100, 100, 100, 0.2);
  color: var(--text-secondary);
}

.level-badge {
  background: rgba(255, 215, 0, 0.1);
  color: var(--accent-yellow);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Achievement Stats */
.achievements-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  margin-bottom: 35px;
}

.stat-box {
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
}

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

.stat-box.unlocked {
  border-color: var(--success);
}

.stat-box.unlocked .stat-number {
  color: var(--success);
}

.stat-box.in-progress {
  border-color: var(--warning);
}

.stat-box.in-progress .stat-number {
  color: var(--warning);
}

.stat-box.locked {
  border-color: var(--text-muted);
}

.stat-box.locked .stat-number {
  color: var(--text-muted);
}

.stat-box.total {
  border-color: var(--accent-yellow);
}

.stat-box.total .stat-number {
  color: var(--accent-yellow);
  text-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 12px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Categories Section */
.categories-section {
  margin-bottom: 35px;
}

.categories-section h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 20px 0;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 20px;
  transition: all 0.3s ease;
}

.category-card:hover {
  border-color: rgba(255, 215, 0, 0.3);
}

.category-name {
  display: block;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
}

.category-progress {
  display: flex;
  align-items: center;
  gap: 15px;
}

.progress-bar {
  flex: 1;
  height: 8px;
  background: var(--bg-secondary);
  border-radius: 4px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-gold);
  border-radius: 4px;
  transition: width 0.5s ease;
  box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.progress-text {
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 600;
  min-width: 50px;
  text-align: right;
}

/* Responsive */
@media (max-width: 768px) {
  .user-header {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .profile-grid {
    grid-template-columns: 1fr;
  }
  
  .menu-grid {
    grid-template-columns: 1fr;
  }
  
  .gang-title {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .member-card {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .page-header h1 {
    font-size: 1.8rem;
  }
}

@media (max-width: 480px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .achievements-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-yellow);
}

/* =====================================================
   ACHIEVEMENTS STYLES
   ===================================================== */

.achievements-list {
  margin-top: 40px;
}

.achievements-list h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin: 0 0 30px 0;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--border-color);
}

.category-section {
  margin-bottom: 40px;
}

.category-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--accent-yellow);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 0 0 20px 0;
  padding-left: 15px;
  border-left: 4px solid var(--accent-yellow);
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
}

.achievement-card {
  display: flex;
  align-items: stretch;
  background: var(--bg-card);
  border: 2px solid var(--border-color);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.achievement-card:hover {
  border-color: rgba(255, 215, 0, 0.3);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.achievement-card.unlocked {
  border-left: 4px solid var(--success);
}

.achievement-card.in_progress {
  border-left: 4px solid var(--warning);
}

.achievement-card.locked {
  border-left: 4px solid var(--text-muted);
  opacity: 0.7;
}

.achievement-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  min-height: 100%;
  font-size: 24px;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border-color);
}

.achievement-info {
  flex: 1;
  padding: 20px;
}

.achievement-info h5 {
  font-family: var(--font-display);
  font-size: 16px;
  margin: 0 0 8px 0;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.achievement-info p {
  font-size: 13px;
  color: var(--text-secondary);
  margin: 0 0 12px 0;
  line-height: 1.5;
}

.achievement-meta {
  display: flex;
  align-items: center;
  gap: 15px;
  font-size: 12px;
}

.reward {
  color: var(--accent-yellow);
  font-weight: 700;
  font-size: 13px;
}

.date {
  color: var(--text-muted);
  font-size: 11px;
}

.achievement-progress {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 15px 20px;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border-color);
  min-width: 80px;
}

.progress-ring {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: conic-gradient(var(--accent-yellow) 0%, var(--bg-card) 0%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-bottom: 8px;
  transition: background 0.5s ease;
}

.progress-ring[data-progress="0"] { background: conic-gradient(var(--accent-yellow) 0%, var(--bg-card) 0%); }
.progress-ring[data-progress="1"] { background: conic-gradient(var(--accent-yellow) 1%, var(--bg-card) 1%); }
.progress-ring[data-progress="2"] { background: conic-gradient(var(--accent-yellow) 2%, var(--bg-card) 2%); }
.progress-ring[data-progress="3"] { background: conic-gradient(var(--accent-yellow) 3%, var(--bg-card) 3%); }
.progress-ring[data-progress="4"] { background: conic-gradient(var(--accent-yellow) 4%, var(--bg-card) 4%); }
.progress-ring[data-progress="5"] { background: conic-gradient(var(--accent-yellow) 5%, var(--bg-card) 5%); }
.progress-ring[data-progress="10"] { background: conic-gradient(var(--accent-yellow) 10%, var(--bg-card) 10%); }
.progress-ring[data-progress="15"] { background: conic-gradient(var(--accent-yellow) 15%, var(--bg-card) 15%); }
.progress-ring[data-progress="20"] { background: conic-gradient(var(--accent-yellow) 20%, var(--bg-card) 20%); }
.progress-ring[data-progress="25"] { background: conic-gradient(var(--accent-yellow) 25%, var(--bg-card) 25%); }
.progress-ring[data-progress="30"] { background: conic-gradient(var(--accent-yellow) 30%, var(--bg-card) 30%); }
.progress-ring[data-progress="33"] { background: conic-gradient(var(--accent-yellow) 33%, var(--bg-card) 33%); }
.progress-ring[data-progress="35"] { background: conic-gradient(var(--accent-yellow) 35%, var(--bg-card) 35%); }
.progress-ring[data-progress="40"] { background: conic-gradient(var(--accent-yellow) 40%, var(--bg-card) 40%); }
.progress-ring[data-progress="45"] { background: conic-gradient(var(--accent-yellow) 45%, var(--bg-card) 45%); }
.progress-ring[data-progress="50"] { background: conic-gradient(var(--accent-yellow) 50%, var(--bg-card) 50%); }
.progress-ring[data-progress="55"] { background: conic-gradient(var(--accent-yellow) 55%, var(--bg-card) 55%); }
.progress-ring[data-progress="60"] { background: conic-gradient(var(--accent-yellow) 60%, var(--bg-card) 60%); }
.progress-ring[data-progress="66"] { background: conic-gradient(var(--accent-yellow) 66%, var(--bg-card) 66%); }
.progress-ring[data-progress="70"] { background: conic-gradient(var(--accent-yellow) 70%, var(--bg-card) 70%); }
.progress-ring[data-progress="75"] { background: conic-gradient(var(--accent-yellow) 75%, var(--bg-card) 75%); }
.progress-ring[data-progress="80"] { background: conic-gradient(var(--accent-yellow) 80%, var(--bg-card) 80%); }
.progress-ring[data-progress="85"] { background: conic-gradient(var(--accent-yellow) 85%, var(--bg-card) 85%); }
.progress-ring[data-progress="90"] { background: conic-gradient(var(--accent-yellow) 90%, var(--bg-card) 90%); }
.progress-ring[data-progress="95"] { background: conic-gradient(var(--accent-yellow) 95%, var(--bg-card) 95%); }
.progress-ring[data-progress="100"] { background: conic-gradient(var(--accent-yellow) 100%, var(--bg-card) 100%); }

/* Fallback para valores dinámicos via JS */
.progress-ring[style*="--progress"] {
  background: conic-gradient(var(--accent-yellow) calc(var(--progress) * 1%), var(--bg-card) calc(var(--progress) * 1%)) !important;
}

.progress-ring::before {
  content: '';
  position: absolute;
  width: 40px;
  height: 40px;
  background: var(--bg-secondary);
  border-radius: 50%;
}

.progress-percent {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-yellow);
}

.progress-numbers {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 600;
}

/* Achievement locked icon */
.achievement-card.locked .achievement-icon {
  opacity: 0.5;
}

.achievement-card.locked .achievement-info h5 {
  color: var(--text-muted);
}

.achievement-card.locked .achievement-info p {
  color: var(--text-muted);
}

/* No data message */
.no-data {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-muted);
  font-size: 16px;
}

.no-data .no-icon {
  font-size: 48px;
  margin-bottom: 15px;
  opacity: 0.5;
}

.no-data h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text-primary);
  margin: 0 0 10px 0;
}

.no-data p {
  color: var(--text-secondary);
  margin: 0 0 25px 0;
}

/* Achievement responsive */
@media (max-width: 768px) {
  .achievements-grid {
    grid-template-columns: 1fr;
  }
  
  .achievement-card {
    flex-direction: column;
  }
  
  .achievement-icon {
    width: 100%;
    min-height: 50px;
    border-right: none;
    border-bottom: 1px solid var(--border-color);
  }
  
  .achievement-progress {
    border-left: none;
    border-top: 1px solid var(--border-color);
    flex-direction: row;
    gap: 15px;
    padding: 12px 20px;
  }
}

/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* Dashboard Navigation Styles */
.dashboard-nav {
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  border-bottom: 1px solid #334155;
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  gap: 5px;
  overflow-x: auto;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 15px 20px;
  color: #94a3b8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all 0.2s ease;
}

.nav-link:hover {
  color: #e2e8f0;
  background: rgba(255,255,255,0.05);
}

.nav-link.active {
  color: #667eea;
  border-bottom-color: #667eea;
  background: rgba(102, 126, 234, 0.1);
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 10px;
  }
  
  .nav-link {
    padding: 12px 15px;
    font-size: 13px;
  }
}
