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

:root {
  --bg-darker: #060709;
  --bg-main: #0b0d13;
  --bg-card: rgba(18, 22, 33, 0.7);
  --bg-card-hover: rgba(26, 32, 48, 0.85);
  --glass-bg: rgba(11, 13, 19, 0.6);
  
  --primary: #00ffc4;
  --primary-rgb: 0, 255, 196;
  --primary-glow: rgba(0, 255, 196, 0.25);
  
  --secondary: #ffaa00;
  --secondary-rgb: 255, 170, 0;
  --secondary-glow: rgba(255, 170, 0, 0.25);
  
  --danger: #ff4757;
  --success: #2ed573;
  --info: #00d2d3;
  --muted: #858c9e;
  --text-light: #f1f2f6;
  --text-dim: #a4b0be;
  
  --border-glow: rgba(0, 255, 196, 0.15);
  --border-light: rgba(255, 255, 255, 0.05);
  --border-active: rgba(0, 255, 196, 0.4);
  
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-neon: 0 0 15px var(--primary-glow);
  --font-title: 'Orbitron', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-darker);
}
::-webkit-scrollbar-thumb {
  background: #1e2535;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(0, 255, 196, 0.03) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(255, 170, 0, 0.02) 0%, transparent 40%);
  color: var(--text-light);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

/* MAIN LAYOUT HEADER / NAV */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: rgba(6, 7, 9, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5%;
}

.logo {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1.5rem;
  letter-spacing: 2px;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo span {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(0, 255, 196, 0.6);
}

nav {
  display: flex;
  gap: 15px;
}

.nav-link {
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 4px;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: 1px solid transparent;
}

.nav-link:hover, .nav-link.active {
  color: var(--primary);
  border: 1px solid var(--border-glow);
  background: rgba(0, 255, 196, 0.05);
  text-shadow: 0 0 10px rgba(0, 255, 196, 0.3);
}

.auth-button-container {
  display: flex;
  align-items: center;
  gap: 15px;
}

.btn {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 10px 20px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-primary {
  background: var(--primary);
  color: var(--bg-darker);
  box-shadow: 0 0 15px rgba(0, 255, 196, 0.3);
}

.btn-primary:hover {
  background: #00d6a5;
  box-shadow: 0 0 20px rgba(0, 255, 196, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--border-light);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(0, 255, 196, 0.05);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--secondary);
  color: var(--bg-darker);
  box-shadow: 0 0 15px rgba(255, 170, 0, 0.3);
}

.btn-accent:hover {
  background: #ffb700;
  box-shadow: 0 0 20px rgba(255, 170, 0, 0.5);
  transform: translateY(-2px);
}

.user-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--border-light);
  cursor: pointer;
}

.user-badge:hover {
  border-color: var(--primary);
}

.user-badge img {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.user-badge .username {
  font-weight: 600;
  font-size: 0.9rem;
}

.user-badge .coins-indicator {
  color: var(--secondary);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* APP CONTAINER */
main {
  margin-top: 80px;
  min-height: calc(100vh - 80px - 100px);
  padding: 40px 5%;
}

.view-section {
  display: none;
  animation: fadeIn 0.4s ease-out forwards;
}

.view-section.active {
  display: block;
}

/* 1. HERO / HOME VIEW */
.hero {
  position: relative;
  background: linear-gradient(180deg, rgba(6, 7, 9, 0.3) 0%, var(--bg-main) 100%), url('/img/Banner.png');
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  border: 1px solid var(--border-light);
  padding: 80px 60px;
  margin-bottom: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 450px;
  overflow: hidden;
  box-shadow: inset 0 0 100px rgba(0,0,0,0.8);
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 255, 196, 0.05));
  pointer-events: none;
}

.hero-subtitle {
  font-family: var(--font-title);
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 1.1rem;
  margin-bottom: 15px;
  text-shadow: 0 0 10px rgba(0,255,196,0.4);
}

.hero-title {
  font-family: var(--font-title);
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1.1;
  max-width: 700px;
  margin-bottom: 25px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title span {
  color: var(--primary);
  text-shadow: 0 0 20px rgba(0, 255, 196, 0.4);
}

.server-status-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(6, 7, 9, 0.7);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 15px 25px;
  border-radius: 8px;
  border-left: 4px solid var(--primary);
  width: fit-content;
  margin-bottom: 30px;
  border-top: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.status-dot {
  width: 12px;
  height: 12px;
  background-color: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--success);
  animation: pulse 1.8s infinite;
}

.status-info h4 {
  font-family: var(--font-title);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.status-info p {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.connection-details {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.ip-copy {
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  overflow: hidden;
}

.ip-text {
  padding: 8px 15px;
  font-size: 0.85rem;
  font-family: monospace;
  color: var(--primary);
}

.ip-btn {
  background: rgba(0, 255, 196, 0.1);
  border: none;
  color: var(--primary);
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.85rem;
  transition: var(--transition-smooth);
}

.ip-btn:hover {
  background: var(--primary);
  color: var(--bg-darker);
}

/* HOME SUB-SECTIONS (PROMOTIONS & HIGHLIGHTS) */
.home-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

@media (max-width: 1024px) {
  .home-row {
    grid-template-columns: 1fr;
  }
}

.section-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 25px;
  position: relative;
  transition: var(--transition-smooth);
}

.section-card:hover {
  border-color: var(--border-active);
  box-shadow: var(--shadow-neon);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
}

.section-header h3 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-header h3 i {
  color: var(--primary);
}

/* PROMOTIONS CAROUSEL/GRID */
.promotions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

@media (max-width: 600px) {
  .promotions-grid {
    grid-template-columns: 1fr;
  }
}

.promo-item {
  background: rgba(6, 7, 9, 0.4);
  border: 1px dashed rgba(255, 170, 0, 0.3);
  border-radius: 6px;
  padding: 15px;
  position: relative;
  overflow: hidden;
  display: flex;
  gap: 15px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.promo-item:hover {
  border-color: var(--secondary);
  background: rgba(255, 170, 0, 0.03);
  transform: translateY(-2px);
}

.promo-badge {
  position: absolute;
  top: 10px;
  right: -25px;
  background: var(--secondary);
  color: var(--bg-darker);
  font-family: var(--font-title);
  font-size: 0.65rem;
  font-weight: 900;
  padding: 4px 25px;
  transform: rotate(45deg);
}

.promo-img {
  width: 70px;
  height: 70px;
  background: rgba(255,255,255,0.03);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--secondary);
}

.promo-details h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.promo-details p {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 8px;
  line-height: 1.3;
}

.promo-prices {
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.new-price {
  font-size: 0.95rem;
  color: var(--secondary);
  font-weight: 700;
}

/* FEATURED PRODUCT CARD */
.featured-product-card {
  background: radial-gradient(circle at top right, rgba(0, 255, 196, 0.08), rgba(18, 22, 33, 0.85));
  border: 1px solid rgba(0, 255, 196, 0.2);
  box-shadow: 0 0 30px rgba(0, 255, 196, 0.05), inset 0 0 20px rgba(0, 255, 196, 0.02);
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 30px;
  transition: var(--transition-smooth);
}

.featured-product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.featured-product-card:hover {
  border-color: rgba(0, 255, 196, 0.4);
  box-shadow: 0 0 40px rgba(0, 255, 196, 0.1), inset 0 0 20px rgba(0, 255, 196, 0.05);
  transform: translateY(-2px);
}

.featured-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: linear-gradient(135deg, var(--primary), #00b386);
  color: var(--bg-darker);
  font-family: var(--font-title);
  font-size: 0.7rem;
  font-weight: 900;
  padding: 6px 12px;
  border-radius: 4px;
  letter-spacing: 1px;
  box-shadow: 0 0 10px rgba(0, 255, 196, 0.3);
  text-transform: uppercase;
}

.featured-img-box {
  flex: 0 0 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 5rem;
  color: var(--primary);
  text-shadow: 0 0 20px var(--primary-glow);
  position: relative;
}

.featured-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.featured-category {
  font-family: var(--font-title);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.featured-title {
  font-family: var(--font-title);
  font-size: 1.8rem;
  color: var(--text-light);
  font-weight: 900;
}

.featured-description {
  font-size: 0.9rem;
  color: var(--text-dim);
  line-height: 1.5;
}

.featured-perks {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 5px 0;
}

.featured-perk-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-light);
}

.featured-perk-item i {
  color: var(--primary);
  font-size: 0.9rem;
}

.featured-action-block {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
}

.featured-price-box {
  display: flex;
  flex-direction: column;
}

.featured-old-price {
  font-size: 0.85rem;
  color: var(--muted);
  text-decoration: line-through;
}

.featured-new-price {
  font-size: 1.8rem;
  color: var(--secondary);
  font-family: var(--font-title);
  font-weight: 900;
  text-shadow: 0 0 10px rgba(255, 170, 0, 0.2);
}

@media (max-width: 768px) {
  .featured-product-card {
    flex-direction: column;
    padding: 25px;
    align-items: stretch;
    gap: 20px;
  }
  .featured-img-box {
    flex: 0 0 150px;
    height: 150px;
    align-self: center;
    font-size: 4rem;
  }
  .featured-perks {
    grid-template-columns: 1fr;
  }
}

/* MVP / HIGHLIGHTS CARD */
.highlights-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.highlight-box {
  display: flex;
  align-items: center;
  gap: 20px;
  background: rgba(6, 7, 9, 0.4);
  padding: 15px;
  border-radius: 6px;
  border: 1px solid var(--border-light);
}

.highlight-icon-box {
  width: 55px;
  height: 55px;
  background: rgba(0, 255, 196, 0.05);
  border: 1px solid rgba(0, 255, 196, 0.2);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
}

.highlight-box.secondary-style .highlight-icon-box {
  background: rgba(255, 170, 0, 0.05);
  border: 1px solid rgba(255, 170, 0, 0.2);
  color: var(--secondary);
}

.highlight-data h4 {
  font-family: var(--font-title);
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 0.5px;
}

.highlight-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-light);
  margin: 2px 0;
}

.highlight-stat {
  font-size: 0.8rem;
  color: var(--primary);
}

.highlight-box.secondary-style .highlight-stat {
  color: var(--secondary);
}

/* 2. LOJA VIRTUAL VIEW */
.store-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 30px;
}

@media (max-width: 768px) {
  .store-layout {
    grid-template-columns: 1fr;
  }
}

.sidebar-filters {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 20px;
  height: fit-content;
}

.filter-title {
  font-family: var(--font-title);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 15px;
  color: var(--muted);
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 8px;
}

.filter-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.filter-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--text-dim);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
  background: rgba(0, 255, 196, 0.05);
  color: var(--primary);
}

.filter-btn i {
  width: 18px;
}

/* PRODUCTS GRID */
.products-catalog-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.catalog-header h2 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  letter-spacing: 1px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  overflow: hidden;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  border-color: var(--border-active);
  transform: translateY(-4px);
  box-shadow: 0 5px 15px rgba(0, 255, 196, 0.1);
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(6, 7, 9, 0.8);
  border: 1px solid var(--border-light);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-family: var(--font-title);
  text-transform: uppercase;
  color: var(--primary);
  z-index: 2;
}

.product-img-box {
  height: 160px;
  background: radial-gradient(circle, rgba(30,37,53,0.5) 0%, rgba(6,7,9,0.9) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--border-light);
}

.product-img-box i {
  font-size: 4rem;
  color: var(--muted);
  opacity: 0.5;
  transition: var(--transition-smooth);
}

.product-card:hover .product-img-box i {
  transform: scale(1.1);
  color: var(--primary);
  opacity: 0.8;
}

.product-info {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-name {
  font-family: var(--font-title);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-light);
}

.product-desc {
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 15px;
  line-height: 1.4;
  flex-grow: 1;
}

.product-limit {
  font-size: 0.7rem;
  color: var(--secondary);
  font-weight: 600;
  margin-bottom: 10px;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
}

.product-price {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
}

.product-buy-btn {
  background: rgba(0, 255, 196, 0.1);
  border: 1px solid var(--primary);
  color: var(--primary);
  border-radius: 4px;
  padding: 8px 12px;
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 600;
  transition: var(--transition-smooth);
}

.product-buy-btn:hover {
  background: var(--primary);
  color: var(--bg-darker);
}

/* 3. RANKINGS VIEW */
.ranking-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 15px 25px;
  margin-bottom: 30px;
}

.rank-selector-tabs {
  display: flex;
  gap: 10px;
}

.rank-subtab {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-dim);
  padding: 8px 15px;
  font-family: var(--font-title);
  font-size: 0.8rem;
  border-radius: 4px;
  cursor: pointer;
  text-transform: uppercase;
  transition: var(--transition-smooth);
}

.rank-subtab:hover, .rank-subtab.active {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(0,255,196,0.03);
}

/* TABLES DESIGN */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.data-table th, .data-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.9rem;
}

.data-table th {
  font-family: var(--font-title);
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 1px;
  background: rgba(6, 7, 9, 0.4);
}

.data-table tbody tr {
  transition: var(--transition-smooth);
}

.data-table tbody tr:hover {
  background: rgba(255,255,255,0.01);
}

.rank-position {
  font-family: var(--font-title);
  font-weight: 700;
  width: 60px;
  text-align: center;
}

.pos-1 { color: #ffd700; font-size: 1.15rem; text-shadow: 0 0 8px rgba(255,215,0,0.4); }
.pos-2 { color: #c0c0c0; font-size: 1.05rem; }
.pos-3 { color: #cd7f32; }

.badge-vip {
  font-family: var(--font-title);
  font-size: 0.7rem;
  font-weight: 900;
  padding: 3px 8px;
  border-radius: 4px;
  text-transform: uppercase;
}

.badge-vip.bronze { background: rgba(205, 127, 50, 0.15); color: #cd7f32; border: 1px solid #cd7f32; }
.badge-vip.prata { background: rgba(192, 192, 192, 0.15); color: #c0c0c0; border: 1px solid #c0c0c0; }
.badge-vip.ouro { background: rgba(255, 215, 0, 0.15); color: #ffd700; border: 1px solid #ffd700; box-shadow: 0 0 10px rgba(255, 215, 0, 0.2); }

/* 4. PERFIL / LOGIN / REGISTRO */
.auth-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .auth-grid {
    grid-template-columns: 1fr;
  }
}

.auth-panel {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 40px;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

.auth-tabs-header {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 15px;
}

.auth-tab-btn {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dim);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.auth-tab-btn.active {
  color: var(--primary);
  text-shadow: 0 0 10px rgba(0, 255, 196, 0.3);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-dim);
  text-transform: uppercase;
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  background: rgba(6, 7, 9, 0.6);
  border: 1px solid var(--border-light);
  border-radius: 4px;
  color: var(--text-light);
  padding: 12px 15px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: var(--transition-smooth);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 10px var(--primary-glow);
  background: rgba(6, 7, 9, 0.8);
}

.auth-switch-desc {
  font-size: 0.85rem;
  color: var(--text-dim);
  margin-top: 15px;
  text-align: center;
}

.auth-switch-desc span {
  color: var(--primary);
  cursor: pointer;
  font-weight: 600;
}

/* USER PROFILE DASHBOARD */
.profile-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 30px;
}

@media (max-width: 900px) {
  .profile-layout {
    grid-template-columns: 1fr;
  }
}

.profile-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
}

.profile-avatar-box {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  box-shadow: var(--shadow-neon);
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  background: rgba(0, 255, 196, 0.05);
}

.profile-username {
  font-family: var(--font-title);
  font-size: 1.4rem;
  margin-bottom: 5px;
}

.profile-email {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 20px;
}

.profile-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-bottom: 25px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  padding: 20px 0;
}

.p-stat h5 {
  font-family: var(--font-title);
  font-size: 0.75rem;
  color: var(--muted);
  text-transform: uppercase;
}

.p-stat p {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 2px;
}

.p-stat.coins p { color: var(--secondary); }
.p-stat.level p { color: var(--primary); }

/* RULES VIEW */
.rules-container {
  max-width: 900px;
  margin: 0 auto;
}

.accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  margin-bottom: 15px;
  overflow: hidden;
}

.accordion-trigger {
  width: 100%;
  background: transparent;
  border: none;
  color: var(--text-light);
  padding: 20px;
  font-family: var(--font-title);
  font-size: 1rem;
  text-transform: uppercase;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.accordion-trigger:hover {
  background: rgba(255,255,255,0.02);
  color: var(--primary);
}

.accordion-content {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease-out;
  color: var(--text-dim);
  font-size: 0.9rem;
}

.accordion-item.active .accordion-content {
  padding: 0 20px 20px 20px;
  max-height: 500px; /* Grande o suficiente */
}

.accordion-item.active .accordion-trigger i {
  transform: rotate(180deg);
  color: var(--primary);
}

/* CART DRAWER SYSTEM */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 400px;
  height: 100vh;
  background: var(--bg-darker); /* Solid dark background instead of unset/transparent */
  border-left: 1px solid var(--border-light);
  box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  z-index: 150;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.cart-drawer.open {
  right: 0;
}

.cart-header {
  padding: 25px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h3 {
  font-family: var(--font-title);
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-header h3 i {
  color: var(--primary);
}

.cart-close {
  background: transparent;
  border: none;
  color: var(--text-dim);
  font-size: 1.2rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.cart-close:hover {
  color: var(--danger);
}

.cart-items-list {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cart-item {
  display: flex;
  gap: 15px;
  background: rgba(6,7,9,0.3);
  border: 1px solid var(--border-light);
  padding: 12px;
  border-radius: 6px;
  align-items: center;
  position: relative;
}

.cart-item-info h4 {
  font-size: 0.9rem;
  margin-bottom: 4px;
}

.cart-item-price {
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
}

.cart-item-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.8rem;
  transition: var(--transition-smooth);
}

.cart-item-remove:hover {
  color: var(--danger);
}

.cart-footer {
  padding: 25px;
  border-top: 1px solid var(--border-light);
  background: rgba(6,7,9,0.4);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.cart-summary-row span:first-child {
  color: var(--text-dim);
}

.cart-summary-row span:last-child {
  font-family: var(--font-title);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--primary);
}

/* GIFTING STYLING IN CART */
.gifting-toggle-box {
  background: rgba(255, 170, 0, 0.03);
  border: 1px dashed rgba(255, 170, 0, 0.3);
  padding: 12px;
  border-radius: 6px;
  margin-bottom: 15px;
}

.gifting-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--secondary);
}

/* MODAL SYSTEM */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6,7,9,0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.open {
  display: flex;
}

.modal-container {
  background: var(--bg-secondary);
  border: 1px solid var(--border-active);
  box-shadow: 0 0 30px var(--primary-glow);
  border-radius: 8px;
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  animation: modalSlideIn 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

.modal-header {
  padding: 20px 25px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modal-header h3 {
  font-family: var(--font-title);
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.modal-body {
  padding: 25px;
}

.modal-footer {
  padding: 15px 25px 20px;
  border-top: 1px solid var(--border-light);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* FOOTER */
footer {
  background: var(--bg-darker);
  border-top: 1px solid var(--border-light);
  padding: 30px 5%;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}

footer p {
  margin-bottom: 10px;
}

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 10px;
}

footer .footer-link {
  color: var(--text-dim);
  transition: var(--transition-smooth);
}

footer .footer-link:hover {
  color: var(--primary);
}

/* ADMIN PANEL VIEWS SPECIFIC */
.admin-layout {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 30px;
}

@media (max-width: 900px) {
  .admin-layout {
    grid-template-columns: 1fr;
  }
}

.admin-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 20px;
  height: fit-content;
}

.admin-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.admin-menu-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 0.9rem;
  color: var(--text-dim);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.admin-menu-btn:hover, .admin-menu-btn.active {
  background: rgba(255, 170, 0, 0.05);
  color: var(--secondary);
}

.admin-content-section {
  display: none;
  animation: fadeIn 0.3s ease-out forwards;
}

.admin-content-section.active {
  display: block;
}

.admin-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
}

.admin-header-row h2 {
  font-family: var(--font-title);
  text-transform: uppercase;
  font-size: 1.4rem;
}

.console-box {
  background: #030406;
  border: 1px solid var(--border-light);
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.8rem;
  color: #a4b0be;
  padding: 15px;
  border-radius: 4px;
  max-height: 250px;
  overflow-y: auto;
  margin-top: 15px;
  border-left: 3px solid var(--info);
}

.console-line {
  margin-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,0.02);
  padding-bottom: 4px;
}

.console-line.success { color: var(--success); }
.console-line.error { color: var(--danger); }
.console-line.info { color: var(--info); }

/* ALERTS & BADGES */
.alert-toast {
  position: fixed;
  bottom: 30px;
  left: 30px;
  background: var(--bg-secondary);
  border-left: 4px solid var(--primary);
  border-top: 1px solid var(--border-light);
  border-right: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
  border-radius: 4px;
  padding: 15px 25px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
  z-index: 999;
  transform: translateY(150px);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.alert-toast.show {
  transform: translateY(0);
}

.badge-status {
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-family: var(--font-title);
  text-transform: uppercase;
  font-weight: 700;
  display: inline-block;
}

.badge-status.approved { background: rgba(46, 213, 115, 0.15); color: var(--success); border: 1px solid var(--success); }
.badge-status.pending { background: rgba(255, 170, 0, 0.15); color: var(--secondary); border: 1px solid var(--secondary); }
.badge-status.error, .badge-status.refused { background: rgba(255, 71, 87, 0.15); color: var(--danger); border: 1px solid var(--danger); }
.badge-status.delivered { background: rgba(0, 210, 211, 0.15); color: var(--info); border: 1px solid var(--info); }
.badge-status.cancelled { background: rgba(133, 140, 158, 0.15); color: var(--muted); border: 1px solid var(--muted); }

/* PRODUCT DETAIL MODAL CSS */
.product-modal-layout {
  display: flex;
  gap: 30px;
}

.product-modal-left {
  flex: 0 0 250px;
}

.product-modal-img-box {
  width: 250px;
  height: 250px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 6rem;
  color: var(--primary);
  text-shadow: 0 0 25px var(--primary-glow);
}

.product-modal-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.product-modal-category {
  font-family: var(--font-title);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.product-modal-title {
  font-family: var(--font-title);
  font-size: 2rem;
  color: var(--text-light);
  font-weight: 900;
  margin-top: -5px;
}

.product-modal-desc {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.product-modal-variations-box {
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 15px;
}

.variations-selectors-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: 150px;
  overflow-y: auto;
}

.variation-option-btn {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  padding: 10px 15px;
  color: var(--text-light);
  font-size: 0.85rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.variation-option-btn:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
}

.variation-option-btn.active {
  border-color: var(--primary);
  background: rgba(0, 255, 196, 0.05);
  color: var(--primary);
}

.var-price-badge {
  font-weight: 700;
  color: var(--secondary);
}

.variation-option-btn.active .var-price-badge {
  color: var(--secondary);
}

.product-modal-limit {
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.product-modal-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 20px;
  border-top: 1px solid var(--border-light);
}

.product-modal-price-box {
  display: flex;
  flex-direction: column;
}

.product-modal-old-price {
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: line-through;
  display: none;
}

.product-modal-price {
  font-size: 2rem;
  color: var(--secondary);
  font-family: var(--font-title);
  font-weight: 900;
}

@media (max-width: 768px) {
  .product-modal-layout {
    flex-direction: column;
    align-items: center;
  }
  .product-modal-left {
    flex: none;
  }
  .product-modal-img-box {
    width: 180px;
    height: 180px;
    font-size: 4rem;
  }
}

/* Custom Product Edit Modal sizing */
#product-modal .modal-container {
  max-width: 1100px;
  width: 95vw;
  background: var(--bg-main);
  border: 1px solid var(--border-active);
  box-shadow: 0 0 40px rgba(0, 255, 196, 0.25);
  border-radius: 12px;
}

#product-modal .modal-body {
  padding: 30px;
  max-height: 85vh;
  overflow-y: auto;
}

/* WORDPRESS-LIKE EDITOR LAYOUT */
.wp-editor-layout {
  display: grid;
  grid-template-columns: 2.2fr 1fr;
  gap: 25px;
}

.wp-main-col {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.wp-sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wp-box {
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border-light);
  border-radius: 6px;
  overflow: hidden;
}

.wp-box-header {
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border-light);
  padding: 10px 15px;
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  letter-spacing: 1px;
}

.wp-box-content {
  padding: 15px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (max-width: 768px) {
  .wp-editor-layout {
    grid-template-columns: 1fr;
  }
}

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

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 213, 115, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(46, 213, 115, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 213, 115, 0); }
}

@keyframes modalSlideIn {
  from { opacity: 0; transform: scale(0.9) translateY(-30px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
