@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,800;0,900;1,700&display=swap');

:root {
  --primary-bg: #0b0c10;
  --surface-bg: rgba(31, 40, 51, 0.4);
  --surface-hover: rgba(56, 73, 90, 0.6);
  --accent-cyan: #66fcf1;
  --accent-teal: #45a29e;
  --text-main: #ffffff;
  --text-muted: #c5c6c7;
  --glass-border: rgba(255, 255, 255, 0.05);
  --neon-glow: 0 0 15px rgba(102, 252, 241, 0.3);
  --neon-glow-strong: 0 0 25px rgba(102, 252, 241, 0.6);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-logo: 'Playfair Display', serif;
}

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

html {
  scroll-behavior: smooth;
  font-family: var(--font-body);
  background-color: var(--primary-bg);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: 
    radial-gradient(circle at 15% 50%, rgba(69, 162, 158, 0.1), transparent 25%),
    radial-gradient(circle at 85% 30%, rgba(102, 252, 241, 0.05), transparent 25%);
}

.logo-wordmark {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent-cyan);
  letter-spacing: 0.01em;
  text-shadow: 0 0 18px rgba(102, 252, 241, 0.45);
  white-space: nowrap;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Glassmorphism Utilities */
.glass-panel {
  background: var(--surface-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
}

/* Typography Utilities */
.text-gradient {
  background: linear-gradient(90deg, var(--accent-cyan), var(--text-main));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 0.4rem 0;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(11, 12, 16, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.3rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  font-family: var(--font-heading);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-icon {
  color: var(--accent-cyan);
  text-shadow: var(--neon-glow);
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-cyan);
  transition: width 0.3s ease;
  box-shadow: var(--neon-glow);
}

.nav-links a:hover {
  color: var(--accent-cyan);
}

.nav-links a:hover::after {
  width: 100%;
}

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

.btn {
  padding: 0.4rem 1.2rem;
  border-radius: 8px;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-primary {
  background: var(--accent-cyan);
  color: var(--primary-bg);
  box-shadow: var(--neon-glow);
}

.btn-primary:hover {
  background: #fff;
  box-shadow: var(--neon-glow-strong);
  transform: translateY(-2px);
}

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

.btn-secondary:hover {
  background: rgba(102, 252, 241, 0.1);
  box-shadow: var(--neon-glow);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text-main);
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding-top: 120px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  opacity: 0.4;
  mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(11, 12, 16, 0.2), var(--primary-bg));
  z-index: -1;
}

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

.hero-badge {
  display: inline-block;
  padding: 0.3rem 1rem;
  background: rgba(102, 252, 241, 0.1);
  border: 1px solid var(--accent-cyan);
  border-radius: 20px;
  font-size: 0.875rem;
  color: var(--accent-cyan);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-title {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

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

.hero-actions {
  display: flex;
  gap: 1.5rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
}

.stat-item h4 {
  font-size: 2rem;
  color: var(--text-main);
  margin-bottom: 0.25rem;
}

.stat-item p {
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Section Common */
.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

.section-title {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--accent-cyan);
  border-radius: 2px;
  box-shadow: var(--neon-glow);
}

.view-all {
  color: var(--accent-cyan);
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.view-all:hover {
  text-shadow: var(--neon-glow);
  transform: translateX(5px);
}

/* Grid Layouts / Slider */
.items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
}

.items-slider-wrapper {
  position: relative;
  width: 100%;
}

.items-slider {
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 1rem 0 3rem 0; /* space for shadows and hover */
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.items-slider::-webkit-scrollbar {
  display: none;
}

.items-slider .item-card {
  flex: 0 0 calc(20% - 1.6rem); /* 5 items per line */
  min-width: 250px;
  scroll-snap-align: start;
}

.scroll-btn {
  background: var(--surface-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 1.2rem;
}

.scroll-btn:hover {
  background: var(--accent-cyan);
  color: var(--primary-bg);
  box-shadow: var(--neon-glow);
}

@media (max-width: 1200px) {
  .items-slider .item-card {
    flex: 0 0 calc(25% - 1.5rem); /* 4 items per line */
  }
}

@media (max-width: 900px) {
  .items-slider .item-card {
    flex: 0 0 calc(33.333% - 1.33rem); /* 3 items per line */
  }
}

@media (max-width: 600px) {
  .items-slider .item-card {
    flex: 0 0 calc(50% - 1rem); /* 2 items per line */
  }
}

@media (max-width: 400px) {
  .items-slider .item-card {
    flex: 0 0 100%; /* 1 item per line */
  }
}

/* Item Card */
.item-card {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
}

.item-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.05), transparent);
  transform: skewX(-20deg);
  transition: all 0.6s ease;
  z-index: 2;
  pointer-events: none;
}

.item-card:hover::before {
  left: 200%;
}

.item-card:hover {
  transform: translateY(-10px);
  border-color: rgba(102, 252, 241, 0.3);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5), var(--neon-glow);
}

.item-image-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  border-radius: 10px;
  overflow: hidden;
  background: rgba(0,0,0,0.2);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.item-image {
  width: 80%;
  height: 80%;
  object-fit: contain;
  transition: transform 0.5s ease;
  filter: drop-shadow(0 0 10px rgba(0,0,0,0.5));
}

.item-card:hover .item-image {
  transform: scale(1.1) rotate(5deg);
}

.item-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent-cyan);
  color: var(--primary-bg);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 3;
}

.sale-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #ff4d4d;
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  z-index: 3;
  box-shadow: 0 0 10px rgba(255, 77, 77, 0.4);
}

.item-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.item-category {
  color: var(--accent-teal);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}

.item-name {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

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

.item-price {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 700;
  font-size: 1.2rem;
  color: #fff;
}

.robux-icon {
  color: #00B16A; /* Typical Robux Green */
  font-size: 1.2rem;
}

.buy-btn {
  background: transparent;
  color: var(--accent-cyan);
  border: 1px solid var(--accent-cyan);
  padding: 0.4rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.buy-btn:hover {
  background: var(--accent-cyan);
  color: var(--primary-bg);
  box-shadow: var(--neon-glow);
}

/* Features/Categories */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.category-card {
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
}

.category-icon {
  width: 60px;
  height: 60px;
  background: rgba(102, 252, 241, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--accent-cyan);
  transition: all 0.3s ease;
}

.category-card:hover {
  transform: translateY(-8px);
  border-color: var(--accent-cyan);
  box-shadow: var(--neon-glow);
}

.category-card:hover .category-icon {
  background: var(--accent-cyan);
  color: var(--primary-bg);
  box-shadow: 0 0 20px var(--accent-cyan);
}

/* Footer */
footer {
  margin-top: auto;
  padding: 4rem 0 2rem;
  background: rgba(11, 12, 16, 0.8);
  border-top: 1px solid var(--glass-border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--text-main);
}

.footer-col p {
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--accent-cyan);
  padding-left: 5px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: all 0.3s ease;
}

.social-icon:hover {
  background: var(--accent-cyan);
  color: var(--primary-bg);
  box-shadow: var(--neon-glow);
  transform: translateY(-3px);
}

.copyright {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* Product Details Page Layout */
.product-section {
  padding: 4rem 0 8rem;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: flex-start;
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.3);
  overflow: hidden;
  border-radius: 20px;
}

.product-main-image {
  width: 70%;
  height: 70%;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(102, 252, 241, 0.4));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-15px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

.product-info-col {
  display: flex;
  flex-direction: column;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.product-category {
  color: var(--accent-teal);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.product-id {
  color: var(--text-muted);
}

.product-title {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

.product-description {
  color: var(--text-muted);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
}

.product-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--glass-border);
}

.stat-box {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
}

.stat-value {
  font-size: 1.2rem;
  font-weight: 700;
}

.text-teal {
  color: var(--accent-teal);
}

/* Purchase Card */
.purchase-card {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-color: rgba(102, 252, 241, 0.2);
  background: linear-gradient(145deg, rgba(31, 40, 51, 0.6), rgba(11, 12, 16, 0.8));
}

.price-section {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.price-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.product-price {
  font-size: 3rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.product-robux {
  font-size: 2.5rem;
}

.btn-large {
  padding: 1.2rem;
  font-size: 1.2rem;
  justify-content: center;
  border-radius: 12px;
}

.btn-buy-now {
  background: linear-gradient(90deg, #00B16A, #00d27d); /* Specific buy gradient */
  color: #fff;
  border: none;
  box-shadow: 0 0 20px rgba(0, 177, 106, 0.4);
}

.btn-buy-now:hover {
  background: linear-gradient(90deg, #00d27d, #00f08e);
  box-shadow: 0 0 30px rgba(0, 177, 106, 0.6);
  transform: translateY(-3px);
  color: #fff; /* Keep text white */
}

.quantity-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.quantity-label {
  color: var(--text-main);
  font-weight: 600;
  font-size: 1.1rem;
}

.quantity-controls {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 8px;
  border: 1px solid var(--glass-border);
  overflow: hidden;
}

.quantity-btn {
  background: transparent;
  color: var(--accent-cyan);
  border: none;
  width: 40px;
  height: 40px;
  font-size: 1.2rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quantity-btn:hover {
  background: rgba(102, 252, 241, 0.1);
}

.quantity-btn:disabled {
  color: var(--text-muted);
  cursor: not-allowed;
  background: transparent;
}

.quantity-input {
  background: transparent;
  color: var(--text-main);
  border: none;
  width: 50px;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  font-family: var(--font-body);
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.purchase-guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 3rem;
  }
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links, .nav-actions {
    display: none;
  }
  
  .mobile-menu-btn {
    display:block;
  }

  .nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(11, 12, 16, 0.95);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-bottom: 1px solid var(--glass-border);
  }

  .nav-links.active a {
    font-size: 1.2rem;
    padding: 0.5rem 0;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .product-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-title {
    font-size: 2.5rem;
  }

  .product-stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 480px) {
  .items-grid {
    grid-template-columns: 1fr;
  }
  .categories-grid {
    grid-template-columns: 1fr;
  }
  .hero-actions {
    flex-direction: column;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Auth Pages Styling */
.auth-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: center;
}

.auth-navbar {
  position: absolute;
  top: 0;
  width: 100%;
  padding: 2rem 0;
  background: transparent !important;
  border: none !important;
  backdrop-filter: none !important;
}

.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6rem 2rem 2rem;
  flex-grow: 1;
}

.auth-card {
  width: 100%;
  max-width: 450px;
  padding: 3rem 2.5rem;
  background: linear-gradient(145deg, rgba(31, 40, 51, 0.7), rgba(11, 12, 16, 0.9));
  border-color: rgba(102, 252, 241, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 0 20px rgba(102, 252, 241, 0.05);
}

.auth-title {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 0.5rem;
  background: linear-gradient(90deg, #fff, var(--text-muted));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.auth-subtitle {
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 2.5rem;
  font-size: 0.95rem;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  color: #e0e0e0;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.form-input {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--glass-border);
  border-radius: 8px;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(102, 252, 241, 0.2);
  background: rgba(0, 0, 0, 0.6);
}

.form-input::placeholder {
  color: rgba(255, 255, 255, 0.3);
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.form-checkbox input[type="checkbox"] {
  accent-color: var(--accent-cyan);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.forgot-link {
  color: var(--accent-cyan);
  font-size: 0.85rem;
  text-decoration: none;
}

.forgot-link:hover {
  text-decoration: underline;
  text-shadow: var(--neon-glow);
}

.auth-submit {
  width: 100%;
  padding: 1rem;
  font-size: 1.1rem;
  margin-top: 1rem;
  justify-content: center;
}

.auth-footer {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.auth-footer a {
  color: var(--accent-cyan);
  font-weight: 600;
  margin-left: 0.3rem;
}

.auth-footer a:hover {
  text-shadow: var(--neon-glow);
}

@media (max-width: 480px) {
  .auth-card {
    padding: 2.5rem 1.5rem;
  }
}

/* User Profile Dashboard */
.profile-section {
  flex-grow: 1;
  padding-bottom: 4rem;
}

.profile-container {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
}

/* Sidebar Styling */
.profile-sidebar {
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 100px; /* Below navbar */
}

.profile-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.profile-avatar-wrapper {
  position: relative;
  margin-bottom: 1rem;
}

.profile-avatar-large {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  border: 2px solid var(--accent-cyan);
  object-fit: cover;
  background: var(--surface-bg);
  padding: 4px;
}

.status-indicator {
  position: absolute;
  bottom: 5px;
  right: 5px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #1a1e24;
}

.status-indicator.online {
  background-color: #00B16A;
  box-shadow: 0 0 8px rgba(0, 177, 106, 0.6);
}

.profile-username {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.balance-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(0, 0, 0, 0.4);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.95rem;
  border: 1px solid var(--glass-border);
}

.profile-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.profile-nav-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  color: var(--text-muted);
  font-weight: 500;
  transition: all 0.2s ease;
}

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

.profile-nav-item.active {
  background: rgba(102, 252, 241, 0.1);
  color: var(--accent-cyan);
  border-left: 3px solid var(--accent-cyan);
}

.profile-sidebar-footer {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
}

.logout-btn {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.8rem 1rem;
  color: #ff4d4d;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s ease;
}

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

/* Main Dashboard Content */
.profile-content {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.content-header {
  margin-bottom: 1rem;
}

.content-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.content-subtitle {
  color: var(--text-muted);
}

/* Dashboard Stats Grid */
.dashboard-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.dashboard-stat-card {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.2rem;
  transition: transform 0.3s ease;
}

.dashboard-stat-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255,255,255,0.1);
}

.stat-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.stat-info {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.stat-info .stat-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
}

.stat-info .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.text-sm {
  font-size: 1.2rem;
}

/* Complex Grid (Connections & Activity) */
.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.column-title {
  font-size: 1.25rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--glass-border);
}

/* Connections List */
.connections-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.connection-card {
  padding: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.connection-icon {
  width: 45px;
  height: 45px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-heading);
}

.roblox-icon {
  background: #E8e8e8;
  color: #111;
}

.discord-icon {
  background: #5865F2; /* Discord Blurple */
  color: white;
}

.connection-info h4 {
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.connection-info p {
  font-size: 0.85rem;
}

.text-success { color: #00B16A; }
.text-warning { color: #f39c12; }

.btn-small {
  padding: 0.4rem 0.8rem;
  font-size: 0.85rem;
}

/* Activity Timeline */
.activity-timeline {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.activity-item {
  display: flex;
  gap: 1rem;
  position: relative;
}

.activity-item:not(:last-child)::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 15px;
  bottom: -20px;
  width: 2px;
  background: var(--glass-border);
}

.activity-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-top: 5px;
  z-index: 1;
}

.activity-dot.purchase { background: var(--accent-cyan); box-shadow: 0 0 10px rgba(102, 252, 241, 0.4); }
.activity-dot.trade { background: var(--accent-teal); }
.activity-dot.system { background: #c5c6c7; }

.activity-content {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.activity-title {
  font-size: 0.95rem;
  font-weight: 600;
  font-family: var(--font-body);
}

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

/* Responsive Dashboard */
@media (max-width: 900px) {
  .profile-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .profile-sidebar {
    position: static;
  }
  
  .dashboard-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

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