@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Inter:wght@400;600;700&display=swap');

:root {
  --bg-primary: #0a0b10;
  --bg-secondary: #121420;
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.07);
  --accent-gold: #f1c40f;
  --accent-blue: #00bcd4;
  --accent-orange: #ff7675;
  --accent-green: #2ecc71;
  --text-main: #ffffff;
  --text-muted: #a0a5c0;
  --shadow-glow: 0 0 25px rgba(0, 188, 212, 0.25);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-primary);
  background-image: 
    linear-gradient(rgba(10, 11, 16, 0.75), rgba(10, 11, 16, 0.95)),
    url("img/hero_bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

h1, h2, h3, .logo-text {
  font-family: 'Outfit', sans-serif;
}

/* -------------------------------------------------------------
   Login View
   ------------------------------------------------------------- */
.login-container {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.login-card {
  background: rgba(18, 20, 32, 0.65);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  width: 100%;
  max-width: 440px;
  padding: 40px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transform: translateY(0);
  animation: floatCard 4s ease-in-out infinite;
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.login-logo {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 1px;
  background: linear-gradient(135deg, var(--accent-blue) 0%, #a29bfe 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

.login-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 35px;
}

.form-group {
  text-align: left;
  margin-bottom: 25px;
}

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

.form-input {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 14px 18px;
  color: var(--text-main);
  font-size: 1.1rem;
  font-family: inherit;
  transition: var(--transition-smooth);
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-blue);
  box-shadow: 0 0 12px rgba(0, 188, 212, 0.3);
}

.btn-primary {
  width: 100%;
  background: linear-gradient(90deg, var(--accent-blue) 0%, #6c5ce7 100%);
  border: none;
  border-radius: 12px;
  padding: 14px;
  color: var(--text-main);
  font-size: 1.05rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 92, 231, 0.6);
}

/* -------------------------------------------------------------
   Dashboard Main View
   ------------------------------------------------------------- */
.dashboard-container {
  display: none;
  flex-direction: column;
  flex: 1;
}

header {
  background: rgba(18, 20, 32, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  padding: 12px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-text {
  font-size: 1.6rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--accent-blue), #6c5ce7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Navbar Top Tabs */
.navbar-tabs {
  display: flex;
  gap: 10px;
}

.nav-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  padding: 8px 20px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.nav-tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.nav-tab-btn.active {
  color: var(--accent-blue);
  background: rgba(0, 188, 212, 0.1);
  box-shadow: inset 0 0 10px rgba(0, 188, 212, 0.1);
}

.user-profile-header {
  display: flex;
  align-items: center;
  gap: 20px;
}

.wallet-stats {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 6px 16px;
}

.currency-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.9rem;
}

.currency-icon {
  font-size: 1rem;
}

.gcube-text { color: var(--accent-orange); }
.gold-text { color: var(--accent-gold); }
.diamond-text { color: var(--accent-blue); }

.user-meta {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--accent-blue);
  box-shadow: 0 0 10px rgba(0, 188, 212, 0.3);
}

.user-details {
  display: flex;
  flex-direction: column;
}

.username {
  font-weight: 700;
  font-size: 0.9rem;
}

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

.btn-logout {
  background: transparent;
  border: 1px solid rgba(255, 118, 117, 0.4);
  color: #ff7675;
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-logout:hover {
  background: rgba(255, 118, 117, 0.1);
}

/* -------------------------------------------------------------
   Main Layout & Content Sections
   ------------------------------------------------------------- */
main {
  flex: 1;
  padding: 30px 40px;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
}

.content-section {
  display: none;
}

.content-section.active {
  display: block;
  animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-intro {
  margin-bottom: 30px;
}

.section-title {
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--text-main);
}

.section-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-top: 4px;
}

/* -------------------------------------------------------------
   HOME VIEW STYLING
   ------------------------------------------------------------- */
.hero-banner {
  background: linear-gradient(135deg, rgba(18, 20, 32, 0.5) 0%, rgba(20, 24, 46, 0.85) 100%), url("img/hero_bg.jpg") center/cover no-repeat;
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  margin-bottom: 40px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.hero-content {
  max-width: 650px;
}

.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.15;
  background: linear-gradient(90deg, #00d2ff, #6c5ce7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 20px;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 35px;
}

.hero-actions {
  display: flex;
  gap: 15px;
}

.btn-hero-play {
  background: linear-gradient(90deg, var(--accent-blue) 0%, #6c5ce7 100%);
  border: none;
  border-radius: 12px;
  padding: 16px 32px;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(108, 92, 231, 0.4);
}

.btn-hero-play:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(108, 92, 231, 0.6);
}

.btn-hero-shop {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 16px 32px;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-hero-shop:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-blue);
}

.hero-visual {
  width: 250px;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle, rgba(0, 188, 212, 0.15) 0%, transparent 70%);
}

.cube-visual {
  font-size: 7rem;
  animation: rotateCube 6s ease-in-out infinite;
}

@keyframes rotateCube {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(15deg); }
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.feature-card {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 30px;
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--glass-border);
}

.f-icon {
  font-size: 2.2rem;
  margin-bottom: 15px;
  display: block;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* -------------------------------------------------------------
   MINIGAMES VIEW STYLING
   ------------------------------------------------------------- */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.game-card {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 188, 212, 0.4);
  box-shadow: 0 10px 30px rgba(0,0,0,0.4), 0 0 20px rgba(0, 188, 212, 0.1);
}

.game-thumb {
  height: 150px;
  background: linear-gradient(135deg, #1e272c 0%, #0f1416 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.game-thumb-placeholder {
  font-size: 3rem;
  filter: drop-shadow(0 0 8px rgba(0,0,0,0.5));
}

.active-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent-green);
  color: #051408;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  box-shadow: 0 0 12px var(--accent-green);
}

.game-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.game-name {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.game-map {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.btn-play {
  width: 100%;
  border: none;
  border-radius: 10px;
  padding: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-play.playable {
  background: linear-gradient(90deg, #00d2ff 0%, #00d2d3 100%);
  color: #0a0b10;
  box-shadow: 0 4px 12px rgba(0, 210, 255, 0.3);
}

.btn-play.playable:hover {
  transform: scale(1.02);
  box-shadow: 0 6px 18px rgba(0, 210, 255, 0.5);
}

.btn-play.unplayable {
  background: #252836;
  color: #5d6179;
  cursor: not-allowed;
}

.game-card.disabled {
  opacity: 0.55;
}

/* -------------------------------------------------------------
   AVATAR SHOP VIEW STYLING
   ------------------------------------------------------------- */
.avatar-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.avatar-preview-col {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.panel-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--text-muted);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}

.char-container {
  width: 220px;
  height: 310px;
  background: #090a0f;
  border: 1px solid var(--glass-border);
  border-radius: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  box-shadow: inset 0 0 25px rgba(0, 188, 212, 0.15);
  margin-bottom: 20px;
  position: relative;
}

.btn-clear-outfit {
  background: transparent;
  border: 1px solid rgba(255, 118, 117, 0.4);
  color: #ff7675;
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-clear-outfit:hover {
  background: rgba(255, 118, 117, 0.15);
}

/* Shop layout column */
.avatar-shop-col {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Category Tabs */
.shop-tabs {
  display: flex;
  gap: 8px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 5px;
  margin-bottom: 25px;
}

.shop-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 10px 20px;
  border-radius: 10px;
  cursor: pointer;
  flex: 1;
  transition: var(--transition-smooth);
}

.shop-tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.03);
}

.shop-tab-btn.active {
  color: #fff;
  background: linear-gradient(90deg, var(--accent-blue), #6c5ce7);
  box-shadow: 0 4px 12px rgba(108, 92, 231, 0.3);
}

/* Items Grid */
.shop-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 20px;
  flex: 1;
  overflow-y: auto;
  max-height: 400px;
  padding-right: 5px;
}

/* Shop Item Card */
.shop-item-card {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 15px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.shop-item-card:hover {
  transform: translateY(-3px);
  border-color: var(--accent-blue);
  box-shadow: 0 5px 15px rgba(0, 188, 212, 0.15);
}

.shop-item-card.equipped {
  border-color: var(--accent-green);
  box-shadow: 0 0 15px rgba(46, 204, 113, 0.2);
}

.item-visual {
  font-size: 2.8rem;
  margin-bottom: 10px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
  transition: var(--transition-smooth);
}

.shop-item-card:hover .item-visual {
  transform: scale(1.1);
}

.item-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.item-price {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 10px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: auto;
}

.item-owned-tag {
  background: rgba(46, 204, 113, 0.1);
  border: 1px solid rgba(46, 204, 113, 0.3);
  color: var(--accent-green);
  border-radius: 10px;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 800;
  margin-top: auto;
}

.shop-item-card.equipped .item-owned-tag {
  background: var(--accent-green);
  color: #051408;
  border-color: var(--accent-green);
  box-shadow: 0 0 10px rgba(46, 204, 113, 0.4);
}

/* -------------------------------------------------------------
   2D PIXEL CHARACTER CUSTOMIZER STYLING
   ------------------------------------------------------------- */
.pixel-char {
  width: 120px;
  height: 220px;
  position: relative;
}

.p-part {
  position: absolute;
  transition: var(--transition-smooth);
}

/* Base Body Parts */
.p-head {
  width: 48px;
  height: 48px;
  background: #ffdbac;
  top: 35px;
  left: 36px;
  border-radius: 4px;
  box-shadow: inset 0 -4px 0 rgba(0,0,0,0.1);
}

.p-face-base {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.8rem;
  margin-top: 15px;
}

.p-body {
  width: 52px;
  height: 70px;
  background: #ecf0f1;
  top: 85px;
  left: 34px;
  border-radius: 4px;
  box-shadow: inset 0 -5px 0 rgba(0,0,0,0.1);
}

.p-arm-l {
  width: 16px;
  height: 65px;
  background: #ffdbac;
  top: 85px;
  left: 15px;
  border-radius: 4px;
  box-shadow: inset 2px -4px 0 rgba(0,0,0,0.1);
}

.p-arm-r {
  width: 16px;
  height: 65px;
  background: #ffdbac;
  top: 85px;
  left: 89px;
  border-radius: 4px;
  box-shadow: inset -2px -4px 0 rgba(0,0,0,0.1);
}

.p-leg-l {
  width: 22px;
  height: 65px;
  background: #7f8c8d;
  top: 155px;
  left: 35px;
  border-radius: 4px;
  box-shadow: inset 2px -5px 0 rgba(0,0,0,0.15);
}

.p-leg-r {
  width: 22px;
  height: 65px;
  background: #7f8c8d;
  top: 155px;
  left: 63px;
  border-radius: 4px;
  box-shadow: inset -2px -5px 0 rgba(0,0,0,0.15);
}

/* Overlays base */
.p-overlay {
  position: absolute;
  transition: var(--transition-smooth);
}

/* HAIR OVERLAY STYLING */
#overlayHair {
  width: 52px;
  height: 0;
  top: 31px;
  left: 34px;
  border-radius: 6px 6px 0 0;
}

#overlayHair.hair_anime {
  height: 22px;
  background: #f1c40f;
  border-bottom: 3px solid #f39c12;
  box-shadow: 0 -4px 10px rgba(241, 196, 15, 0.4);
}

#overlayHair.hair_goth {
  height: 25px;
  background: #1a1a1a;
  border-bottom: 3px solid #000;
  border-radius: 8px 8px 0 0;
}

#overlayHair.hair_ninja {
  height: 20px;
  background: #e74c3c;
  border-bottom: 4px solid #c0392b;
}

/* FACE OVERLAY STYLING */
#overlayFace {
  width: 44px;
  height: 0;
  top: 48px;
  left: 38px;
}

#overlayFace.face_glasses {
  height: 12px;
  border: 3px solid #34495e;
  border-top: none;
  background: rgba(52, 152, 219, 0.3);
}

#overlayFace.face_hacker {
  width: 38px;
  height: 32px;
  background: #ffffff;
  border: 2px solid #000;
  top: 42px;
  left: 41px;
  border-radius: 4px;
}

/* CROWN OVERLAY STYLING */
#overlayCrown {
  width: 40px;
  height: 0;
  top: 20px;
  left: 40px;
}

#overlayCrown.crown_royal {
  height: 16px;
  background: linear-gradient(135deg, #f1c40f, #f39c12);
  border: 2px solid #e74c3c;
  border-bottom: none;
  border-radius: 4px 4px 0 0;
  box-shadow: 0 -2px 8px rgba(241, 196, 15, 0.5);
}

#overlayCrown.crown_cap {
  height: 14px;
  background: #2980b9;
  border-radius: 6px 6px 0 0;
  border-right: 8px solid #3498db; /* Cap bill on side */
}

/* WINGS OVERLAY STYLING */
#overlayWings {
  width: 0;
  height: 0;
  top: 70px;
  left: 60px;
  z-index: -1;
}

#overlayWings.wings_angel {
  width: 140px;
  height: 50px;
  background: #ffffff;
  border-radius: 20px;
  top: 80px;
  left: -10px;
  opacity: 0.9;
  box-shadow: 0 0 20px #fff;
}

#overlayWings.wings_dragon {
  width: 150px;
  height: 65px;
  background: #962d22;
  border-radius: 12px;
  border: 3px solid #2c3e50;
  top: 72px;
  left: -15px;
  opacity: 0.95;
}

/* BAG OVERLAY STYLING */
#overlayBag {
  width: 0;
  height: 0;
  top: 90px;
  left: 60px;
  z-index: -1;
}

#overlayBag.bag_school {
  width: 32px;
  height: 48px;
  background: #e74c3c;
  border-radius: 6px;
  top: 92px;
  left: 20px;
}

#overlayBag.bag_jetpack {
  width: 44px;
  height: 52px;
  background: #7f8c8d;
  border: 2px solid #34495e;
  border-radius: 8px;
  top: 90px;
  left: 15px;
  box-shadow: 0 8px 12px rgba(230, 126, 34, 0.7); /* Jetpack fire glow */
}

/* CLOTHING ON BODY PARTS (APPLIED VIA CLASSES TO THE BASE PARTS) */

/* Tops (Admin Cape) */
.p-body.tops_admin { background: #8e44ad; }
.p-arm-l.tops_admin { background: #8e44ad; }
.p-arm-r.tops_admin { background: #8e44ad; }

/* Tops (Diamond Armor) */
.p-body.tops_diamond { background: #00bcd4; box-shadow: inset 0 -5px 0 #0097a7, 0 0 10px rgba(0, 188, 212, 0.4); }
.p-arm-l.tops_diamond { background: #00bcd4; box-shadow: inset 0 -4px 0 #0097a7; }
.p-arm-r.tops_diamond { background: #00bcd4; box-shadow: inset 0 -4px 0 #0097a7; }

/* Tops (Cyber Hoodie) */
.p-body.tops_cyber { background: #e74c3c; border-top: 10px solid #f1c40f; }
.p-arm-l.tops_cyber { background: #f1c40f; }
.p-arm-r.tops_cyber { background: #f1c40f; }

/* Pants (Jeans) */
.p-leg-l.pants_jean { background: #2980b9; }
.p-leg-r.pants_jean { background: #2980b9; }

/* Pants (Gold Leggings) */
.p-leg-l.pants_gold { background: #f1c40f; box-shadow: inset 0 -5px 0 #d35400, 0 0 10px rgba(241, 196, 15, 0.4); }
.p-leg-r.pants_gold { background: #f1c40f; box-shadow: inset 0 -5px 0 #d35400, 0 0 10px rgba(241, 196, 15, 0.4); }

/* Shoes (Sneakers) */
.p-leg-l.shoes_sneakers::after, .p-leg-r.shoes_sneakers::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 12px;
  background: #e74c3c;
  bottom: 0;
  left: -2px;
  border-radius: 4px;
  border-bottom: 2px solid #fff;
}

/* Shoes (Leather) */
.p-leg-l.shoes_leather::after, .p-leg-r.shoes_leather::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 12px;
  background: #2c3e50;
  bottom: 0;
  left: -2px;
  border-radius: 4px;
  border-bottom: 2px solid #1a252f;
}

/* -------------------------------------------------------------
   Notification toast
   ------------------------------------------------------------- */
.toast-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1000;
}

.toast {
  background: rgba(18, 20, 32, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 16px 24px;
  border-radius: 12px;
  color: var(--text-main);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: slideIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes slideIn {
  from { transform: translateX(120%); }
  to { transform: translateX(0); }
}

.toast.success { border-left: 4px solid var(--accent-green); }
.toast.error { border-left: 4px solid #ff7675; }

/* -------------------------------------------------------------
   Footer
   ------------------------------------------------------------- */
footer {
  text-align: center;
  padding: 30px;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--glass-border);
  background: rgba(0,0,0,0.15);
}
