/* Back Button */
.back-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: linear-gradient(135deg, var(--card), #1a1f35);
  color: var(--accent1);
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  border: 2px solid #3ac7ff40;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
  z-index: 1000;
}

.back-btn:hover {
  transform: translateY(-2px);
  border-color: #3ac7ff;
  box-shadow: 0 8px 25px rgba(0,0,0,0.4), 0 0 20px rgba(58,199,255,0.3);
}

/* Dashboard-specific styles */
.dashboard-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 50%, rgba(58,199,255,0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(154,124,255,0.06) 0%, transparent 50%),
    radial-gradient(circle at 40% 80%, rgba(255,120,60,0.05) 0%, transparent 50%),
    #0a0a0a;
  z-index: -2;
}

.dashboard-bg::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.3), transparent),
    radial-gradient(2px 2px at 40px 70px, rgba(58,199,255,0.2), transparent),
    radial-gradient(1px 1px at 90px 40px, rgba(255,255,255,0.5), transparent),
    radial-gradient(1px 1px at 130px 80px, rgba(154,124,255,0.3), transparent),
    radial-gradient(2px 2px at 160px 30px, rgba(255,255,255,0.2), transparent);
  animation: starfield-drift 20s linear infinite;
}

@keyframes starfield-drift {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-100px); }
}

/* Header Styles */
.dashboard-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: linear-gradient(135deg, rgba(58,199,255,0.1), rgba(154,124,255,0.05));
  border-bottom: 2px solid #3ac7ff40;
  backdrop-filter: blur(10px);
  margin-bottom: 2rem;
}

.user-avatar {
  position: relative;
  width: 80px;
  height: 80px;
}

.avatar-ring {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 3px solid var(--accent1);
  border-radius: 50%;
  animation: rotate-ring 10s linear infinite;
}

.avatar-ring::before {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  width: calc(100% + 6px);
  height: calc(100% + 6px);
  border: 1px solid rgba(58,199,255,0.3);
  border-radius: 50%;
  animation: pulse-ring 2s ease-in-out infinite alternate;
}

@keyframes rotate-ring {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 10px rgba(58,199,255,0.3); }
  100% { box-shadow: 0 0 30px rgba(58,199,255,0.6); }
}

.avatar-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  background: linear-gradient(135deg, var(--card), #1a1f35);
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(58,199,255,0.2);
}

.user-info {
  flex: 1;
}

.username {
  margin: 0 0 0.5rem 0;
  font-size: 2rem;
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.user-title {
  margin: 0 0 1rem 0;
  color: var(--muted);
  font-size: 1.1rem;
}

.user-level {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.level-badge {
  background: linear-gradient(135deg, var(--accent1), var(--accent2));
  color: #0b0b12;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.9rem;
}

.xp-bar {
  flex: 1;
  height: 8px;
  background: rgba(58,199,255,0.2);
  border-radius: 4px;
  overflow: hidden;
}

.xp-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  border-radius: 4px;
  transition: width 0.3s ease;
}

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

/* Main Dashboard */
.dashboard-main {
  padding: 0 2rem 2rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.dashboard-main h2 {
  margin: 0 0 1.5rem 0;
  font-size: 1.5rem;
  color: var(--accent1);
  text-align: center;
}

/* Stats Section */
.stats-section {
  margin-bottom: 3rem;
}

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

.stat-card {
  background: linear-gradient(135deg, var(--card), #1a1f35);
  border: 2px solid #3ac7ff40;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 10px 30px rgba(0,0,0,.3), 0 0 20px rgba(58,199,255,0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 70% 30%, rgba(58,199,255,0.05) 0%, transparent 60%);
  pointer-events: none;
}

.stat-card:hover {
  transform: translateY(-4px);
  border-color: #3ac7ff;
  box-shadow: 0 15px 40px rgba(0,0,0,.4), 0 0 30px rgba(58,199,255,0.2);
}

.stat-icon {
  font-size: 2.5rem;
  opacity: 0.8;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent1);
  margin-bottom: 0.25rem;
}

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

/* Achievements Section */
.achievements-section {
  margin-bottom: 3rem;
}

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

.achievement-card {
  background: linear-gradient(135deg, var(--card), #1a1f35);
  border: 2px solid #3ac7ff40;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.achievement-card.locked {
  opacity: 0.5;
  filter: grayscale(50%);
}

.achievement-card.unlocked {
  box-shadow: 0 10px 30px rgba(0,0,0,.3), 0 0 20px rgba(58,199,255,0.1);
}

.achievement-card.unlocked:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: #3ac7ff;
}

.achievement-glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 16px;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.achievement-card.unlocked .achievement-glow {
  opacity: 1;
}

.achievement-card[data-rarity="legendary"] .achievement-glow {
  background: linear-gradient(45deg, rgba(255,215,0,0.2), rgba(255,165,0,0.1));
  box-shadow: inset 0 0 30px rgba(255,215,0,0.3);
}

.achievement-card[data-rarity="epic"] .achievement-glow {
  background: linear-gradient(45deg, rgba(147,112,219,0.2), rgba(138,43,226,0.1));
  box-shadow: inset 0 0 30px rgba(147,112,219,0.3);
}

.achievement-card[data-rarity="rare"] .achievement-glow {
  background: linear-gradient(45deg, rgba(0,191,255,0.2), rgba(30,144,255,0.1));
  box-shadow: inset 0 0 30px rgba(0,191,255,0.3);
}

.achievement-card[data-rarity="common"] .achievement-glow {
  background: linear-gradient(45deg, rgba(50,205,50,0.2), rgba(0,255,127,0.1));
  box-shadow: inset 0 0 30px rgba(50,205,50,0.3);
}

.achievement-icon {
  font-size: 3rem;
  min-width: 60px;
  text-align: center;
}

.achievement-info h3 {
  margin: 0 0 0.25rem 0;
  font-size: 1.2rem;
  color: var(--fg);
}

.achievement-info p {
  margin: 0 0 0.5rem 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.achievement-rarity {
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.achievement-rarity.legendary {
  background: linear-gradient(45deg, #ffd700, #ffa500);
  color: #000;
}

.achievement-rarity.mythic {
  background: linear-gradient(45deg, #ff1493, #9932cc);
  color: #fff;
}

.achievement-rarity.epic {
  background: linear-gradient(45deg, #9370db, #8a2be2);
  color: #fff;
}

.achievement-rarity.rare {
  background: linear-gradient(45deg, #00bfff, #1e90ff);
  color: #fff;
}

.achievement-rarity.common {
  background: linear-gradient(45deg, #32cd32, #00ff7f);
  color: #000;
}

/* Activity Section */
.activity-section {
  margin-bottom: 2rem;
}

.activity-feed {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.activity-item {
  background: linear-gradient(135deg, var(--card), #1a1f35);
  border: 1px solid #3ac7ff40;
  border-radius: 12px;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.activity-icon {
  font-size: 1.5rem;
  min-width: 40px;
  text-align: center;
}

.activity-content {
  flex: 1;
}

.activity-content p {
  margin: 0 0 0.25rem 0;
  color: var(--fg);
}

.activity-content time {
  color: var(--muted);
  font-size: 0.85rem;
}

/* Ship Hangar Styles */
.ship-hangar-section {
  margin-bottom: 3rem;
}

.current-ship-display {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(135deg, var(--card), #1a1f35);
  border: 2px solid #3ac7ff40;
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
  overflow: hidden;
}

.current-ship-display::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 40%, rgba(58,199,255,0.1) 0%, transparent 60%);
  pointer-events: none;
}

.ship-preview {
  flex-shrink: 0;
  width: 200px;
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, transparent 70%);
  border-radius: 12px;
  position: relative;
}

.ship-container {
  position: relative;
  animation: ship-hover 3s ease-in-out infinite alternate;
}

@keyframes ship-hover {
  0% { transform: translateY(0px) rotate(-2deg); }
  100% { transform: translateY(-10px) rotate(2deg); }
}

.ship-body {
  width: 60px;
  height: 80px;
  position: relative;
  z-index: 2;
}

.ship-body.classic {
  background: linear-gradient(180deg, #3ac7ff 0%, #1e90ff 50%, #0066cc 100%);
  clip-path: polygon(50% 0%, 20% 60%, 35% 100%, 65% 100%, 80% 60%);
  box-shadow: 0 0 20px rgba(58,199,255,0.6);
}

.ship-body.stealth {
  background: linear-gradient(180deg, #2d2d2d 0%, #1a1a1a 50%, #000000 100%);
  clip-path: polygon(50% 0%, 10% 40%, 30% 100%, 70% 100%, 90% 40%);
  box-shadow: 0 0 20px rgba(128,128,128,0.4);
}

.ship-body.heavy {
  background: linear-gradient(180deg, #ff6b6b 0%, #ee5a5a 50%, #d63031 100%);
  clip-path: polygon(50% 0%, 15% 50%, 25% 100%, 75% 100%, 85% 50%);
  box-shadow: 0 0 20px rgba(255,107,107,0.6);
}

.ship-body.speed {
  background: linear-gradient(180deg, #feca57 0%, #ff9ff3 50%, #f368e0 100%);
  clip-path: polygon(50% 0%, 25% 30%, 40% 100%, 60% 100%, 75% 30%);
  box-shadow: 0 0 20px rgba(254,202,87,0.6);
}

.ship-body.plasma {
  background: linear-gradient(180deg, #a855f7 0%, #8b5cf6 50%, #7c3aed 100%);
  clip-path: polygon(50% 0%, 20% 45%, 30% 100%, 70% 100%, 80% 45%);
  box-shadow: 0 0 20px rgba(168,85,247,0.6);
}

.ship-body.alien {
  background: linear-gradient(180deg, #10b981 0%, #059669 50%, #047857 100%);
  clip-path: polygon(50% 0%, 15% 35%, 5% 70%, 35% 100%, 65% 100%, 95% 70%, 85% 35%);
  box-shadow: 0 0 20px rgba(16,185,129,0.6);
}

.ship-engines {
  display: flex;
  justify-content: space-between;
  position: absolute;
  bottom: -10px;
  left: 10px;
  right: 10px;
}

.engine {
  width: 8px;
  height: 20px;
  background: linear-gradient(180deg, #ff9500 0%, #ff6b00 50%, #e55100 100%);
  border-radius: 4px;
  animation: engine-flame 0.3s ease-in-out infinite alternate;
  box-shadow: 0 0 10px rgba(255,149,0,0.8);
}

@keyframes engine-flame {
  0% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1.3); opacity: 0.7; }
}

.ship-details {
  flex: 1;
}

.ship-details h3 {
  margin: 0 0 0.5rem 0;
  font-size: 1.5rem;
  color: var(--accent1);
}

.ship-details p {
  margin: 0 0 1.5rem 0;
  color: var(--muted);
  line-height: 1.4;
}

.ship-stats {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.stat {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-label {
  min-width: 80px;
  color: var(--fg);
  font-weight: 600;
}

.stat-bar {
  flex: 1;
  height: 8px;
  background: rgba(58,199,255,0.2);
  border-radius: 4px;
  overflow: hidden;
}

.stat-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  border-radius: 4px;
  transition: width 0.3s ease;
}

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

.ship-card {
  background: linear-gradient(135deg, var(--card), #1a1f35);
  border: 2px solid #3ac7ff40;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.ship-card.locked {
  opacity: 0.6;
  filter: grayscale(50%);
}

.ship-card.owned {
  border-color: #32cd32;
  box-shadow: 0 0 20px rgba(50,205,50,0.2);
}

.ship-card.active {
  border-color: var(--accent1);
  box-shadow: 0 0 20px rgba(58,199,255,0.4);
}

.ship-card:hover:not(.locked) {
  transform: translateY(-4px);
  border-color: #3ac7ff;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3), 0 0 30px rgba(58,199,255,0.3);
}

.ship-mini {
  width: 40px;
  height: 50px;
  margin: 0 auto 1rem auto;
  position: relative;
}

.ship-mini.classic { background: linear-gradient(180deg, #3ac7ff, #0066cc); clip-path: polygon(50% 0%, 20% 60%, 35% 100%, 65% 100%, 80% 60%); }
.ship-mini.stealth { background: linear-gradient(180deg, #2d2d2d, #000000); clip-path: polygon(50% 0%, 10% 40%, 30% 100%, 70% 100%, 90% 40%); }
.ship-mini.heavy { background: linear-gradient(180deg, #ff6b6b, #d63031); clip-path: polygon(50% 0%, 15% 50%, 25% 100%, 75% 100%, 85% 50%); }
.ship-mini.speed { background: linear-gradient(180deg, #feca57, #f368e0); clip-path: polygon(50% 0%, 25% 30%, 40% 100%, 60% 100%, 75% 30%); }
.ship-mini.plasma { background: linear-gradient(180deg, #a855f7, #7c3aed); clip-path: polygon(50% 0%, 20% 45%, 30% 100%, 70% 100%, 80% 45%); }
.ship-mini.alien { background: linear-gradient(180deg, #10b981, #047857); clip-path: polygon(50% 0%, 15% 35%, 5% 70%, 35% 100%, 65% 100%, 95% 70%, 85% 35%); }

.ship-card h4 {
  margin: 0 0 0.5rem 0;
  color: var(--fg);
  font-size: 1.1rem;
}

.ship-status {
  padding: 0.25rem 0.75rem;
  background: linear-gradient(45deg, #32cd32, #00ff7f);
  color: #000;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.ship-price {
  padding: 0.25rem 0.75rem;
  background: linear-gradient(45deg, var(--accent1), var(--accent2));
  color: #0b0b12;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Paint Shop Styles */
.paint-shop-section {
  margin-bottom: 3rem;
}

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

.paint-card {
  background: linear-gradient(135deg, var(--card), #1a1f35);
  border: 2px solid #3ac7ff40;
  border-radius: 12px;
  padding: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.paint-card.locked {
  opacity: 0.6;
  filter: grayscale(50%);
}

.paint-card.owned {
  border-color: #32cd32;
  box-shadow: 0 0 15px rgba(50,205,50,0.2);
}

.paint-card.active {
  border-color: var(--accent1);
  box-shadow: 0 0 15px rgba(58,199,255,0.4);
}

.paint-card:hover:not(.locked) {
  transform: translateY(-2px);
  border-color: #3ac7ff;
}

.paint-preview {
  width: 50px;
  height: 50px;
  margin: 0 auto 1rem auto;
  border-radius: 50%;
  position: relative;
}

.paint-preview.default { background: linear-gradient(135deg, #3ac7ff, #1e90ff); }
.paint-preview.red { background: linear-gradient(135deg, #ff4757, #ff3742); }
.paint-preview.green { background: linear-gradient(135deg, #32cd32, #00ff7f); }
.paint-preview.purple { background: linear-gradient(135deg, #a855f7, #8b5cf6); }
.paint-preview.gold { background: linear-gradient(135deg, #ffd700, #ffa500); }
.paint-preview.rainbow { 
  background: conic-gradient(from 0deg, #ff0000, #ff8000, #ffff00, #80ff00, #00ff00, #00ff80, #00ffff, #0080ff, #0000ff, #8000ff, #ff00ff, #ff0080, #ff0000);
  animation: rainbow-spin 3s linear infinite;
}

@keyframes rainbow-spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.paint-card h4 {
  margin: 0 0 0.5rem 0;
  color: var(--fg);
  font-size: 1rem;
}

.paint-status {
  padding: 0.2rem 0.6rem;
  background: linear-gradient(45deg, #32cd32, #00ff7f);
  color: #000;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
}

.paint-price {
  padding: 0.2rem 0.6rem;
  background: linear-gradient(45deg, var(--accent1), var(--accent2));
  color: #0b0b12;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 600;
}

/* Powerups Styles */
.powerups-section {
  margin-bottom: 3rem;
}

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

.powerup-card {
  background: linear-gradient(135deg, var(--card), #1a1f35);
  border: 2px solid #3ac7ff40;
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
}

.powerup-card.locked {
  opacity: 0.6;
  filter: grayscale(50%);
}

.powerup-card.owned {
  border-color: #32cd32;
  box-shadow: 0 0 20px rgba(50,205,50,0.2);
}

.powerup-card:hover:not(.locked) {
  transform: translateY(-4px);
  border-color: #3ac7ff;
  box-shadow: 0 8px 25px rgba(0,0,0,0.3), 0 0 20px rgba(58,199,255,0.2);
}

.powerup-icon {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  animation: powerup-glow 2s ease-in-out infinite alternate;
}

@keyframes powerup-glow {
  0% { filter: drop-shadow(0 0 5px rgba(58,199,255,0.4)); }
  100% { filter: drop-shadow(0 0 15px rgba(58,199,255,0.8)); }
}

.powerup-card h4 {
  margin: 0 0 0.5rem 0;
  color: var(--fg);
  font-size: 1.2rem;
}

.powerup-card p {
  margin: 0 0 1rem 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.powerup-count {
  padding: 0.3rem 0.8rem;
  background: linear-gradient(45deg, #32cd32, #00ff7f);
  color: #000;
  border-radius: 12px;
  font-size: 0.8rem;
  font-weight: 600;
}

.powerup-price {
  padding: 0.3rem 0.8rem;
  background: linear-gradient(45deg, var(--accent1), var(--accent2));
  color: #0b0b12;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Premium Bundle Styles */
.premium-bundle-section {
  margin-bottom: 3rem;
}

.bundle-card {
  background: linear-gradient(135deg, var(--card), #1a1f35);
  border: 3px solid #ffd700;
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 
    0 20px 60px rgba(0,0,0,0.4),
    0 0 40px rgba(255,215,0,0.3),
    inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}

.bundle-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(circle at 20% 20%, rgba(255,215,0,0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,149,0,0.08) 0%, transparent 50%);
  pointer-events: none;
}

.bundle-header {
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.bundle-header h3 {
  margin: 0 0 1rem 0;
  font-size: 2rem;
  background: linear-gradient(135deg, #ffd700, #ffa500);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 0 30px rgba(255,215,0,0.5);
}

.bundle-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.original-price {
  font-size: 1.2rem;
  color: var(--muted);
  text-decoration: line-through;
}

.bundle-price-main {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffd700;
  text-shadow: 0 0 20px rgba(255,215,0,0.6);
}

.savings {
  background: linear-gradient(45deg, #ff4757, #ff3742);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  animation: savings-pulse 2s ease-in-out infinite alternate;
}

@keyframes savings-pulse {
  0% { transform: scale(1); }
  100% { transform: scale(1.05); }
}

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

.bundle-section h4 {
  margin: 0 0 0.5rem 0;
  color: var(--accent1);
  font-size: 1.1rem;
}

.bundle-section ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.bundle-section li {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.4;
  margin-bottom: 0.25rem;
}

.buy-bundle-btn {
  width: 100%;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #ffd700, #ffa500);
  color: #000;
  border: none;
  border-radius: 15px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 
    0 8px 25px rgba(0,0,0,0.3),
    0 0 20px rgba(255,215,0,0.4),
    inset 0 1px 0 rgba(255,255,255,0.3);
}

.buy-bundle-btn:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 
    0 12px 35px rgba(0,0,0,0.4),
    0 0 30px rgba(255,215,0,0.6),
    inset 0 1px 0 rgba(255,255,255,0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .dashboard-header {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }
  
  .user-level {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }
  
  .dashboard-main {
    padding: 0 1rem 2rem 1rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .achievements-grid {
    grid-template-columns: 1fr;
  }
  
  .current-ship-display {
    flex-direction: column;
    text-align: center;
  }
  
  .ship-grid {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
  
  .paint-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
  
  .powerups-grid {
    grid-template-columns: 1fr;
  }
  
  .bundle-contents {
    grid-template-columns: 1fr;
  }
  
  .bundle-price {
    flex-direction: column;
    gap: 0.5rem;
  }

  .skins-grid {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }
  
  .themes-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }
}

/* Snake Skins Shop Styles */
.snake-skins-section {
  background: linear-gradient(135deg, rgba(122, 255, 189, 0.05), rgba(58, 199, 255, 0.03));
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 2px solid rgba(122, 255, 189, 0.1);
}

.snake-skins-section h2 {
  color: #7affbd;
  text-shadow: 0 0 15px rgba(122, 255, 189, 0.6);
  margin-bottom: 0.5rem;
}

.section-description {
  color: #9cffcc;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  opacity: 0.8;
}

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

.skin-card {
  background: linear-gradient(135deg, rgba(122, 255, 189, 0.08), rgba(0, 0, 0, 0.3));
  border-radius: 12px;
  padding: 1rem;
  border: 2px solid rgba(122, 255, 189, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.skin-card:hover {
  transform: translateY(-5px);
  border-color: #7affbd;
  box-shadow: 0 10px 25px rgba(122, 255, 189, 0.3);
}

.skin-card.locked {
  border-color: rgba(122, 255, 189, 0.1);
  opacity: 0.7;
}

.skin-card.owned {
  border-color: #7affbd;
  background: linear-gradient(135deg, rgba(122, 255, 189, 0.15), rgba(0, 0, 0, 0.2));
}

.skin-card.active {
  border-color: #00ff88;
  box-shadow: 0 0 20px rgba(0, 255, 136, 0.4);
}

.skin-preview {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  margin-bottom: 0.75rem;
  position: relative;
}

.snake-segment {
  width: 12px;
  height: 12px;
  border-radius: 2px;
  margin: 0 2px;
  position: relative;
}

.skin-preview.default .snake-segment {
  background: linear-gradient(45deg, #7affbd, #5de89f);
  box-shadow: 0 0 8px rgba(122, 255, 189, 0.6);
}

.skin-preview.neon .snake-segment {
  background: linear-gradient(45deg, #ff00ff, #00ffff);
  box-shadow: 0 0 12px rgba(255, 0, 255, 0.8);
  animation: neonPulse 2s ease-in-out infinite alternate;
}

@keyframes neonPulse {
  0% { box-shadow: 0 0 12px rgba(255, 0, 255, 0.8); }
  100% { box-shadow: 0 0 20px rgba(0, 255, 255, 0.9); }
}

.skin-preview.cyber .snake-segment {
  background: linear-gradient(45deg, #00ff41, #004d0f);
  border: 1px solid #00ff41;
  box-shadow: 0 0 10px rgba(0, 255, 65, 0.7);
}

.skin-preview.galaxy .snake-segment {
  background: linear-gradient(45deg, #9b59b6, #3498db, #e74c3c);
  background-size: 200% 200%;
  animation: galaxyShift 3s ease-in-out infinite;
  box-shadow: 0 0 15px rgba(155, 89, 182, 0.8);
}

@keyframes galaxyShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.skin-preview.fire .snake-segment {
  background: linear-gradient(45deg, #ff4757, #ff9ff3);
  box-shadow: 0 0 12px rgba(255, 71, 87, 0.8);
  animation: fireFlicker 1.5s ease-in-out infinite alternate;
}

@keyframes fireFlicker {
  0% { transform: scale(1); box-shadow: 0 0 12px rgba(255, 71, 87, 0.8); }
  100% { transform: scale(1.1); box-shadow: 0 0 18px rgba(255, 159, 243, 0.9); }
}

.skin-preview.ice .snake-segment {
  background: linear-gradient(45deg, #74b9ff, #a29bfe);
  box-shadow: 0 0 10px rgba(116, 185, 255, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.skin-card h4 {
  color: #7affbd;
  margin: 0.5rem 0;
  font-size: 0.9rem;
  text-align: center;
}

.skin-status, .skin-price {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  margin-top: 0.5rem;
}

.skin-status {
  background: rgba(0, 255, 136, 0.2);
  color: #00ff88;
  border: 1px solid #00ff88;
}

.skin-price {
  background: rgba(255, 105, 180, 0.2);
  color: #ff69b4;
  border: 1px solid #ff69b4;
  cursor: pointer;
  transition: all 0.3s ease;
}

.skin-price:hover {
  background: rgba(255, 105, 180, 0.3);
  transform: scale(1.05);
}

/* Background Themes Shop Styles */
.background-themes-section {
  background: linear-gradient(135deg, rgba(255, 105, 180, 0.05), rgba(154, 124, 255, 0.03));
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 2px solid rgba(255, 105, 180, 0.1);
}

.background-themes-section h2 {
  color: #ff69b4;
  text-shadow: 0 0 15px rgba(255, 105, 180, 0.6);
  margin-bottom: 0.5rem;
}

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

.theme-card {
  background: linear-gradient(135deg, rgba(255, 105, 180, 0.08), rgba(0, 0, 0, 0.3));
  border-radius: 12px;
  padding: 1rem;
  border: 2px solid rgba(255, 105, 180, 0.2);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.theme-card:hover {
  transform: translateY(-5px);
  border-color: #ff69b4;
  box-shadow: 0 10px 25px rgba(255, 105, 180, 0.3);
}

.theme-card.locked {
  border-color: rgba(255, 105, 180, 0.1);
  opacity: 0.7;
}

.theme-card.owned {
  border-color: #ff69b4;
  background: linear-gradient(135deg, rgba(255, 105, 180, 0.15), rgba(0, 0, 0, 0.2));
}

.theme-card.active {
  border-color: #ff1493;
  box-shadow: 0 0 20px rgba(255, 20, 147, 0.4);
}

.theme-preview {
  height: 80px;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  position: relative;
  overflow: hidden;
}

.theme-preview.default {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.theme-preview.default .star-layer {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  animation: starTwinkle 3s ease-in-out infinite;
}

.theme-preview.default .star-layer:nth-child(1) {
  top: 20%;
  left: 25%;
  animation-delay: 0s;
}

.theme-preview.default .star-layer:nth-child(2) {
  top: 60%;
  right: 30%;
  animation-delay: 1s;
}

.theme-preview.default .star-layer:nth-child(3) {
  bottom: 25%;
  left: 60%;
  animation-delay: 2s;
}

@keyframes starTwinkle {
  0%, 100% { opacity: 0.3; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.5); }
}

.theme-preview.nebula {
  background: linear-gradient(45deg, #667eea, #764ba2, #f093fb);
  background-size: 300% 300%;
  animation: nebulaFlow 8s ease-in-out infinite;
}

@keyframes nebulaFlow {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.theme-preview.wormhole {
  background: radial-gradient(circle, #000000, #1a1a2e);
  display: flex;
  justify-content: center;
  align-items: center;
}

.wormhole-center {
  width: 20px;
  height: 20px;
  background: radial-gradient(circle, #ffffff, #3ac7ff);
  border-radius: 50%;
  animation: wormholePulse 2s ease-in-out infinite;
}

.wormhole-ring {
  position: absolute;
  width: 40px;
  height: 40px;
  border: 2px solid rgba(58, 199, 255, 0.5);
  border-radius: 50%;
  animation: wormholeRing 3s linear infinite;
}

@keyframes wormholePulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.5); }
}

@keyframes wormholeRing {
  0% { transform: scale(1) rotate(0deg); opacity: 1; }
  100% { transform: scale(2) rotate(360deg); opacity: 0; }
}

.theme-preview.binary {
  background: linear-gradient(135deg, #000000, #0d1b2a);
  position: relative;
}

.binary-rain {
  position: absolute;
  top: -10px;
  width: 2px;
  height: 30px;
  background: linear-gradient(180deg, transparent, #00ff41, transparent);
  animation: binaryFall 2s linear infinite;
}

.binary-rain:nth-child(1) {
  left: 25%;
  animation-delay: 0s;
}

.binary-rain:nth-child(2) {
  right: 25%;
  animation-delay: 1s;
}

@keyframes binaryFall {
  0% { transform: translateY(-40px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(100px); opacity: 0; }
}

.theme-preview.aurora {
  background: linear-gradient(135deg, #232526, #414345);
  position: relative;
}

.aurora-wave {
  position: absolute;
  top: 30%;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, transparent, #00ff88, #ff00ff, transparent);
  animation: auroraFlow 4s ease-in-out infinite;
}

.aurora-wave:nth-child(2) {
  top: 50%;
  animation-delay: 2s;
}

@keyframes auroraFlow {
  0%, 100% { transform: translateX(-100%); opacity: 0.7; }
  50% { transform: translateX(100%); opacity: 1; }
}

.theme-preview.hyperspace {
  background: linear-gradient(135deg, #000000, #1a1a2e);
  position: relative;
}

.hyperspace-line {
  position: absolute;
  width: 2px;
  height: 80px;
  background: linear-gradient(180deg, transparent, #ffffff, transparent);
  left: 50%;
  transform: translateX(-50%);
  animation: hyperspaceZoom 1.5s ease-in-out infinite;
}

.hyperspace-line:nth-child(2) {
  left: 30%;
  animation-delay: 0.5s;
}

.hyperspace-line:nth-child(3) {
  left: 70%;
  animation-delay: 1s;
}

@keyframes hyperspaceZoom {
  0% { transform: translateX(-50%) scaleY(0); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateX(-50%) scaleY(2); opacity: 0; }
}

.theme-card h4 {
  color: #ff69b4;
  margin: 0.5rem 0;
  font-size: 0.9rem;
  text-align: center;
}

.theme-status, .theme-price {
  display: block;
  text-align: center;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  margin-top: 0.5rem;
}

.theme-status {
  background: rgba(255, 20, 147, 0.2);
  color: #ff1493;
  border: 1px solid #ff1493;
}

.theme-price {
  background: rgba(154, 124, 255, 0.2);
  color: #9a7cff;
  border: 1px solid #9a7cff;
  cursor: pointer;
  transition: all 0.3s ease;
}

.theme-price:hover {
  background: rgba(154, 124, 255, 0.3);
  transform: scale(1.05);
}