/* --- LUMINOUS QUEST DESIGN SYSTEM --- */
:root {
  --primary-glow: #00f2fe;
  --secondary-glow: #4facfe;
  --accent-gold: #ffd200;
  --accent-emerald: #00ff87;
  --accent-ruby: #e30a17; /* Turkish Crimson */
  --accent-violet: #b721ff;
  --bg-dark: #0a0f1d;
  --bg-dark-card: rgba(14, 22, 40, 0.78);
  --glass-border: rgba(0, 242, 254, 0.28);
  --glass-border-bright: rgba(255, 210, 0, 0.55);
  --text-main: #f0f6fc;
  --text-muted: #94a3b8;
  --laser-color: #00f2fe;
  --laser-glow: rgba(0, 242, 254, 0.85);
  --font-family: 'Outfit', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --safe-radius: 20px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  -webkit-user-select: none;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #050811;
  font-family: var(--font-family);
  color: var(--text-main);
  display: flex;
  justify-content: center;
  align-items: center;
}

#app-container {
  width: 100%;
  max-width: 480px;
  height: 100vh;
  max-height: 920px;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: url('bg.jpg') center/cover no-repeat;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(0, 242, 254, 0.2);
}

.crescent-crown {
  font-size: 16px;
  letter-spacing: 6px;
  color: var(--accent-gold);
  margin-bottom: 6px;
  text-shadow: 0 0 10px rgba(255, 210, 0, 0.8);
}

.turkish-flair-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  color: #fff;
  background: linear-gradient(90deg, rgba(227, 10, 23, 0.8), rgba(255, 210, 0, 0.8));
  padding: 4px 12px;
  border-radius: 12px;
  margin-top: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 12px rgba(227, 10, 23, 0.4);
}

@media (min-width: 481px) {
  #app-container {
    border-radius: var(--safe-radius);
    height: 94vh;
  }
}

/* Atmospheric Glowing Orbs */
.glow-orb {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  animation: floatOrb 12s infinite alternate ease-in-out;
}
.orb-1 {
  background: radial-gradient(circle, #00f2fe 0%, transparent 70%);
  top: -80px;
  left: -80px;
}
.orb-2 {
  background: radial-gradient(circle, #ffd200 0%, transparent 70%);
  bottom: -60px;
  right: -60px;
  animation-duration: 16s;
}

@keyframes floatOrb {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 60px) scale(1.15); }
}

/* Glassmorphism Panel */
.glass-panel {
  background: var(--bg-dark-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--safe-radius);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.glass-header {
  background: rgba(10, 16, 30, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  z-index: 10;
}

/* SCREEN MANAGEMENT */
.app-screen {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.96);
  transition: opacity 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  z-index: 1;
  overflow: hidden;
}

.app-screen.active {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
  z-index: 2;
}

/* WELCOME SCREEN */
#screen-welcome {
  justify-content: center;
  align-items: center;
  padding: 24px;
}

.welcome-card {
  width: 100%;
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-wrapper {
  width: 120px;
  height: 120px;
  margin-bottom: 16px;
  position: relative;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(0, 242, 254, 0.6));
}

.pulse-anim {
  animation: logoPulse 3s infinite ease-in-out;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 16px rgba(0, 242, 254, 0.5)); }
  50% { transform: scale(1.06); filter: drop-shadow(0 0 28px rgba(0, 255, 135, 0.7)); }
}

.brand-title {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 8px;
  text-shadow: 0 0 15px rgba(0, 242, 254, 0.6);
}

.highlight-text {
  color: var(--accent-gold);
  margin-left: 6px;
  text-shadow: 0 0 15px rgba(255, 210, 0, 0.6);
}

.tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.4;
}

.welcome-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-bottom: 28px;
}

.feature-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 16px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  color: #e2e8f0;
}

.badge-icon {
  font-size: 18px;
}

/* BUTTONS */
.btn-action, .primary-btn {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 100%);
  color: #061124;
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 1px;
  border: none;
  padding: 16px 28px;
  border-radius: 16px;
  cursor: pointer;
  box-shadow: 0 6px 24px rgba(0, 242, 254, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  width: 100%;
  position: relative;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.primary-btn:active {
  transform: scale(0.97);
  box-shadow: 0 3px 12px rgba(0, 242, 254, 0.3);
}

.glow-btn::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255,255,255,0.3), transparent);
  transform: rotate(30deg);
  animation: shineSweep 4s infinite linear;
}

@keyframes shineSweep {
  0% { transform: translateX(-100%) rotate(30deg); }
  20%, 100% { transform: translateX(100%) rotate(30deg); }
}

.icon-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
}

.icon-btn:active {
  transform: scale(0.92);
  background: rgba(0, 242, 254, 0.2);
}

.back-btn {
  font-size: 26px;
  line-height: 1;
  padding-bottom: 2px;
}

/* HOME SCREEN */
#screen-home {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.user-currency {
  background: rgba(0, 242, 254, 0.1);
  border: 1px solid rgba(0, 242, 254, 0.3);
  padding: 6px 14px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 15px;
  color: var(--accent-gold);
}

.header-logo-mini {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mini-logo {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.mini-title {
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #00f2fe, #ffd200);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.home-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-gem-preview {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-logo-float {
  width: 110px;
  height: 110px;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(0, 242, 254, 0.7));
  animation: floatingGem 3s ease-in-out infinite alternate;
  z-index: 2;
}

.hero-ring {
  position: absolute;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  border: 2px dashed rgba(255, 210, 0, 0.5);
  animation: rotateRing 15s linear infinite;
  z-index: 1;
}

@keyframes floatingGem {
  0% { transform: translateY(-5px) scale(1); }
  100% { transform: translateY(8px) scale(1.04); }
}

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

.hero-subtitle {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 12px;
}

.stats-panel {
  margin: 0 18px 16px 18px;
  padding: 14px 10px;
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.stat-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.stat-num {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}

.stat-divider {
  width: 1px;
  height: 28px;
  background: rgba(255, 255, 255, 0.12);
}

.home-menu-grid {
  padding: 0 18px 24px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.primary-menu-btn {
  background: linear-gradient(135deg, #00f2fe 0%, #00c6ff 50%, #ffd200 100%);
  color: #04101e;
  padding: 16px 20px;
  border-radius: 18px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 28px rgba(0, 242, 254, 0.45);
  transition: transform 0.15s ease;
}

.primary-menu-btn:active {
  transform: scale(0.98);
}

.menu-btn-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.btn-main-icon {
  font-size: 26px;
}

.btn-text-group {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.btn-lead {
  font-weight: 900;
  font-size: 17px;
  letter-spacing: 0.5px;
}

.btn-sub {
  font-size: 12px;
  font-weight: 700;
  opacity: 0.85;
}

.btn-arrow {
  font-size: 20px;
  font-weight: 900;
}

.menu-subgrid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.glass-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  padding: 14px;
  border-radius: 14px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s;
}

.glass-btn:active {
  background: rgba(0, 242, 254, 0.18);
  transform: scale(0.97);
}

/* LEVELS SCREEN */
.screen-title {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
}

.levels-scrollable-container {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px;
  -webkit-overflow-scrolling: touch;
}

.levels-meta-bar {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 16px;
  padding: 0 4px;
}

.levels-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding-bottom: 24px;
}

.level-card {
  aspect-ratio: 1 / 1.1;
  background: rgba(14, 22, 40, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.15s, border-color 0.2s, background 0.2s;
  position: relative;
}

.level-card.unlocked {
  border-color: rgba(0, 242, 254, 0.4);
  background: rgba(0, 242, 254, 0.08);
}

.level-card.completed {
  border-color: rgba(255, 210, 0, 0.5);
  background: rgba(255, 210, 0, 0.1);
}

.level-card.current {
  border-color: #00f2fe;
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.5);
  transform: scale(1.04);
}

.level-card.locked {
  opacity: 0.45;
  cursor: not-allowed;
}

.level-card:active:not(.locked) {
  transform: scale(0.94);
}

.lvl-num {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
}

.lvl-stars {
  font-size: 9px;
  margin-top: 2px;
  color: var(--accent-gold);
}

.lvl-lock {
  font-size: 16px;
}

/* GAME SCREEN */
#screen-game {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

.level-indicator {
  font-size: 17px;
  font-weight: 800;
  color: #fff;
}

.laser-tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-glow);
  text-transform: uppercase;
}

.game-stats-bar {
  margin: 10px 18px;
  padding: 8px 16px;
  display: flex;
  justify-content: space-around;
  background: rgba(14, 22, 40, 0.7);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
}

.game-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.mini-label {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 700;
}

.pill-value {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}

/* BOARD VIEWPORT */
.game-board-viewport {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  position: relative;
}

.game-board-container {
  width: 100%;
  max-width: 380px;
  aspect-ratio: 1 / 1;
  position: relative;
  background: rgba(6, 12, 24, 0.85);
  border-radius: 20px;
  border: 2px solid rgba(0, 242, 254, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), inset 0 0 25px rgba(0, 242, 254, 0.1);
  overflow: hidden;
}

#laser-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 5;
}

.grid-layer {
  position: absolute;
  inset: 0;
  display: grid;
  z-index: 3;
}

.grid-cell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(255, 255, 255, 0.05);
}

/* INTERACTIVE BOARD ELEMENTS */
.board-elem {
  width: 82%;
  height: 82%;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Emitter / Laser Source */
.elem-emitter {
  background: radial-gradient(circle, #00f2fe 30%, #062846 90%);
  border: 2px solid #00f2fe;
  border-radius: 50%;
  box-shadow: 0 0 18px rgba(0, 242, 254, 0.8);
  cursor: default;
}
.elem-emitter::after {
  content: '⚡';
  font-size: 20px;
  color: #fff;
  text-shadow: 0 0 10px #00f2fe;
}

/* Target Crystal */
.elem-target {
  background: radial-gradient(circle, #ffd200 20%, #462c06 90%);
  border: 2px solid #ffd200;
  border-radius: 14px;
  box-shadow: 0 0 14px rgba(255, 210, 0, 0.5);
  cursor: default;
  transition: all 0.3s;
}
.elem-target::after {
  content: '💎';
  font-size: 22px;
  filter: drop-shadow(0 0 8px #ffd200);
}
.elem-target.hit {
  background: radial-gradient(circle, #00ff87 40%, #064624 90%);
  border-color: #00ff87;
  box-shadow: 0 0 30px #00ff87;
  animation: crystalAwakened 0.8s infinite alternate;
}
@keyframes crystalAwakened {
  0% { transform: scale(1); filter: brightness(1); }
  100% { transform: scale(1.12); filter: brightness(1.4); }
}

/* Mirror Elements */
.elem-mirror {
  background: rgba(20, 35, 60, 0.9);
  border: 2px solid var(--primary-glow);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.elem-mirror:active {
  transform: scale(0.92);
}
.mirror-surface {
  position: absolute;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #fff, var(--primary-glow), #fff);
  box-shadow: 0 0 10px var(--primary-glow);
  border-radius: 2px;
  transform: rotate(45deg);
}
.mirror-indicator {
  position: absolute;
  font-size: 11px;
  color: var(--text-muted);
  bottom: 2px;
  right: 4px;
}

/* Splitter Element */
.elem-splitter {
  background: rgba(60, 30, 80, 0.9);
  border: 2px solid #b721ff;
  box-shadow: 0 0 15px rgba(183, 33, 255, 0.5);
}
.elem-splitter::after {
  content: '🔀';
  font-size: 20px;
}

/* Blocker / Obstacle */
.elem-blocker {
  background: rgba(30, 35, 45, 0.95);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  cursor: not-allowed;
}
.elem-blocker::after {
  content: '⬛';
  font-size: 16px;
  opacity: 0.3;
}

/* FOOTER / HINT */
.game-footer-bar {
  padding: 12px 18px 20px 18px;
}

.hint-container {
  background: rgba(14, 22, 40, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 16px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hint-icon {
  font-size: 18px;
}

.hint-text {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* MODALS */
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 7, 15, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  width: 100%;
  max-width: 360px;
  padding: 24px;
  text-align: center;
  transform: translateY(20px) scale(0.95);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.modal-backdrop.active .modal-card {
  transform: translateY(0) scale(1);
}

.win-card {
  border-color: rgba(255, 210, 0, 0.5);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.8), 0 0 30px rgba(255, 210, 0, 0.25);
}

.victory-burst {
  font-size: 48px;
  margin-bottom: 4px;
  animation: burstAnim 0.6s ease;
}

@keyframes burstAnim {
  0% { transform: scale(0.3); opacity: 0; }
  70% { transform: scale(1.3); }
  100% { transform: scale(1); opacity: 1; }
}

.victory-title {
  font-size: 22px;
  font-weight: 900;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 12px;
  background: linear-gradient(90deg, #ffd200, #00ff87);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stars-awarded-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  font-size: 36px;
  margin-bottom: 18px;
}

.star-award {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.victory-stats-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 12px 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.v-stat-row {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-muted);
}

.v-val {
  font-weight: 800;
  color: #fff;
}

.highlight-gold {
  color: var(--accent-gold);
}

.modal-actions-row {
  display: flex;
  gap: 8px;
}

.modal-btn {
  flex: 1;
  padding: 12px 10px;
  font-size: 13px;
  font-weight: 800;
}

/* HOW TO PLAY MODAL */
.guide-card {
  text-align: left;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.modal-header h3 {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 1px;
}

.close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
}

.guide-content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.guide-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.guide-step-icon {
  font-size: 24px;
  min-width: 32px;
}

.guide-step-text strong {
  font-size: 14px;
  color: #fff;
  display: block;
  margin-bottom: 2px;
}

.guide-step-text p {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.4;
}

/* SKINS SHOP */
.shop-scrollable-container, .achievements-scrollable-container {
  flex: 1;
  overflow-y: auto;
  padding: 16px 18px 24px 18px;
  -webkit-overflow-scrolling: touch;
}

.shop-desc {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 16px;
  line-height: 1.4;
}

.skins-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.skin-card {
  background: rgba(14, 22, 40, 0.75);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 0.2s;
}

.skin-card.equipped {
  border-color: #00f2fe;
  background: rgba(0, 242, 254, 0.1);
}

.skin-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.skin-beam-preview {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.beam-preview-line {
  width: 28px;
  height: 5px;
  border-radius: 3px;
}

.skin-details h4 {
  font-size: 15px;
  font-weight: 800;
  color: #fff;
}

.skin-details p {
  font-size: 12px;
  color: var(--text-muted);
}

.skin-action-btn {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 800;
  border-radius: 10px;
  border: none;
  cursor: pointer;
}

.skin-action-btn.btn-equip {
  background: var(--primary-glow);
  color: #05101e;
}

.skin-action-btn.btn-equipped {
  background: rgba(255, 255, 255, 0.1);
  color: #a0aec0;
  cursor: default;
}

.skin-action-btn.btn-buy {
  background: linear-gradient(135deg, #ffd200, #ff9800);
  color: #05101e;
}

/* ACHIEVEMENTS */
.achieve-progress-header {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.achieve-bar-container {
  width: 100%;
  height: 10px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.achieve-fill-bar {
  height: 100%;
  background: linear-gradient(90deg, #00f2fe, #00ff87);
  border-radius: 6px;
  transition: width 0.4s ease;
}

.achieve-counter {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  text-align: right;
}

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

.achieve-card {
  background: rgba(14, 22, 40, 0.75);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.achieve-card.unlocked {
  border-color: rgba(255, 210, 0, 0.5);
  background: rgba(255, 210, 0, 0.08);
}

.achieve-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
}

.achieve-card.unlocked .achieve-icon-box {
  background: rgba(255, 210, 0, 0.15);
}

.achieve-content {
  flex: 1;
}

.achieve-content h4 {
  font-size: 14px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 2px;
}

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

.achieve-badge-status {
  font-size: 18px;
}

/* TOAST NOTIFICATION */
.toast-notification {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%) translateY(-100px);
  background: rgba(10, 20, 36, 0.95);
  border: 1px solid var(--accent-gold);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(255, 210, 0, 0.3);
  padding: 12px 20px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  z-index: 100;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
}
