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

:root {
  /* Core Colors */
  --bg-dark: #050505;
  --bg-card: #0a0a0a;
  --bg-glass: rgba(20, 20, 20, 0.6);

  /* Accents */
  --primary: #00f2ea;
  --secondary: #7000ff;
  --accent: #ff0055;

  /* Text */
  --text-main: #ffffff;
  --text-muted: #a1a1aa;

  /* Gradients */
  --gradient-main: linear-gradient(135deg, var(--primary), var(--secondary));
  --gradient-glow: linear-gradient(135deg, rgba(0, 242, 234, 0.2), rgba(112, 0, 255, 0.2));

  /* Borders */
  --border-color: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(0, 242, 234, 0.3);
}

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

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Background Effects */
body::before {
  content: '';
  position: fixed;
  top: -20%;
  left: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(112, 0, 255, 0.15), transparent 60%);
  filter: blur(100px);
  z-index: -1;
  animation: pulseBlob 10s infinite alternate;
}

body::after {
  content: '';
  position: fixed;
  bottom: -20%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(0, 242, 234, 0.1), transparent 60%);
  filter: blur(100px);
  z-index: -1;
  animation: pulseBlob 12s infinite alternate-reverse;
}

@keyframes pulseBlob {
  0% {
    transform: scale(1);
    opacity: 0.5;
  }

  100% {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary);
}

/* Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 5%;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  background: rgba(5, 5, 5, 0.5);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

header.scrolled {
  padding: 15px 5%;
  background: rgba(5, 5, 5, 0.9);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.logo-container img {
  height: 50px;
  width: auto;
  transition: transform 0.3s;
}

.logo-container:hover img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 10px rgba(0, 242, 234, 0.5));
}

.nav-links {
  display: flex;
  gap: 40px;
}

.cart-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  background: rgba(0, 242, 234, 0.15) !important;
  border: 1px solid rgba(0, 242, 234, 0.5);
  padding: 12px 16px;
  border-radius: 12px;
  color: white;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  outline: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.cart-btn:focus {
  outline: none;
  border-color: #00f2ea;
}

.cart-btn:hover {
  background: rgba(0, 242, 234, 0.25) !important;
  border-color: #00f2ea;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #ef4444;
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  border: 2px solid var(--bg-dark);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s;
  position: relative;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
  box-shadow: 0 0 10px var(--primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.discord-btn-nav {
  background: #5865F2;
  color: white;
  padding: 10px 24px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.discord-btn-nav:hover {
  background: #4752c4;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(88, 101, 242, 0.4);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Main Content */
main {
  padding-top: 100px;
  min-height: 100vh;
}

/* Hero Section */
.hero-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 0 20px;
}

.hero-content {
  max-width: 900px;
  z-index: 2;
}

.hero-title {
  font-size: 5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(to right, #fff, #a1a1aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  letter-spacing: -2px;
}

.hero-highlight {
  color: var(--primary);
  -webkit-text-fill-color: var(--primary);
  text-shadow: 0 0 30px rgba(0, 242, 234, 0.4);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.cta-group {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.server-connect {
  margin-top: 40px;
  text-align: center;
}

.connect-label {
  color: var(--text-muted);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.connect-address {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: rgba(0, 242, 234, 0.1);
  border: 1px solid var(--primary);
  padding: 12px 25px;
  border-radius: 10px;
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(0, 242, 234, 0.2);
}

.connect-address:hover {
  background: rgba(0, 242, 234, 0.15);
  box-shadow: 0 0 30px rgba(0, 242, 234, 0.4);
  transform: translateY(-2px);
}

.connect-address i {
  font-size: 1rem;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.connect-address:hover i {
  opacity: 1;
}

.btn {
  padding: 16px 40px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--text-main);
  color: var(--bg-dark);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.2);
}

.btn-glow {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--primary);
  box-shadow: 0 0 20px rgba(0, 242, 234, 0.1);
}

.btn-glow:hover {
  background: rgba(0, 242, 234, 0.1);
  box-shadow: 0 0 40px rgba(0, 242, 234, 0.3);
  transform: translateY(-3px);
  text-shadow: 0 0 10px var(--primary);
}

/* Features Grid */
.features-section {
  padding: 100px 20px;
  position: relative;
  z-index: 2;
}

.section-title {
  font-size: 3rem;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 800;
  background: linear-gradient(to right, #fff, #a1a1aa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  letter-spacing: -1px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover {
  transform: translateY(-10px);
  border-color: var(--border-glow);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 20px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.feature-card p {
  color: var(--text-muted);
  line-height: 1.6;
}

/* Stats Section */
.stats-section {
  padding: 80px 5%;
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--text-main);
  display: block;
  margin-bottom: 5px;
}

.stat-label {
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  font-weight: 600;
}

/* Footer */
footer {
  background: #020202;
  padding: 60px 5% 30px;
  border-top: 1px solid var(--border-color);
  margin-top: 100px;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand h2 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.footer-brand p {
  color: var(--text-muted);
  line-height: 1.6;
}

.footer-links h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-main);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #555;
  font-size: 0.9rem;
}

/* Page Specific Styles */

/* Admin Page */
.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  padding: 20px 0;
  max-width: 1400px;
  margin: 0 auto;
}

.admin-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  padding: 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition: all 0.3s ease;
}

.admin-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.admin-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
}

.admin-info h3 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.admin-tag {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 8px;
}

.admin-role {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  display: inline-block;
}

/* Rules Page */
.terms-selector {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 50px;
}

.selector-btn {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 15px 40px;
  border-radius: 50px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s;
}

.selector-btn.active,
.selector-btn:hover {
  background: var(--primary);
  color: var(--bg-dark);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(0, 242, 234, 0.3);
}

.rules-container {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 60px;
  border-radius: 24px;
  border: 1px solid var(--border-color);
}

.rules-section {
  margin-bottom: 40px;
}

.rules-section h3 {
  color: var(--primary);
  font-size: 1.5rem;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 10px;
}

.rules-section ul {
  list-style: none;
}

.rules-section li {
  margin-bottom: 12px;
  padding-left: 20px;
  position: relative;
  color: #d1d5db;
  line-height: 1.6;
}

.rules-section li::before {
  content: '•';
  color: var(--primary);
  position: absolute;
  left: 0;
}

/* Application Page */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.app-card {
  height: 250px;
  border-radius: 24px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.app-card-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  transition: transform 0.5s;
  z-index: 0;
}

.app-card:hover .app-card-bg {
  transform: scale(1.1);
  opacity: 0.2;
}

.app-content {
  position: relative;
  z-index: 1;
}

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

.app-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.app-desc {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 15px;
}

.app-tag {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px);
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
}

/* Forms */
.application-form {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  padding: 50px;
  border-radius: 24px;
  border: 1px solid var(--border-color);
}

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

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--text-main);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 15px;
  color: white;
  font-family: inherit;
  font-size: 1rem;
  transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(0, 242, 234, 0.1);
  background: rgba(0, 0, 0, 0.5);
}

.submit-btn {
  width: 100%;
  background: var(--gradient-main);
  color: white;
  border: none;
  padding: 18px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(112, 0, 255, 0.3);
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }

  .nav-links {
    display: none;
    /* Add JS toggle later */
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-card);
    flex-direction: column;
    padding: 20px;
    gap: 20px;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .cta-group {
    flex-direction: column;
  }

  .rules-container {
    padding: 30px 20px;
  }

  .connect-address {
    font-size: 0.9rem;
    padding: 10px 15px;
    width: 90%;
    justify-content: center;
  }

  /* Force single column for grids on mobile */
  .features-grid,
  .admin-grid,
  .app-grid {
    grid-template-columns: 1fr !important;
    padding: 0 20px;
  }

  .feature-card,
  .admin-card,
  .app-card {
    width: 100%;
  }
}

/* Form Extras */
.radio-group {
  display: flex;
  gap: 20px;
  margin-top: 10px;
}

.radio-label,
.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: var(--text-muted);
}

.radio-label input,
.checkbox-label input {
  accent-color: var(--primary);
  width: auto;
  margin: 0;
}

.form-help {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 5px;
}

.required {
  color: var(--accent);
}

/* Messages */
.message-container {
  margin-top: 20px;
}

.message {
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 10px;
}

.message.success {
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid #10b981;
  color: #10b981;
}

.message.error {
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid #ef4444;
  color: #ef4444;
}

.word-counter {
  text-align: right;
  font-size: 0.8rem;
  margin-top: 5px;
}

/* Section Titles in Forms */
.form-section-title {
  font-size: 1.2rem;
  color: var(--primary);
  margin: 30px 0 20px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 10px;
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
  .radio-group {
    flex-direction: column;
    gap: 10px;
  }
}

/* Hero Image */
.hero-image {
  position: absolute;
  right: 5%;
  bottom: 0;
  height: 85%;
  width: auto;
  z-index: 1;
  pointer-events: none;

  animation: floatImage 6s ease-in-out infinite;
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

.hero-image-left {
  position: absolute;
  left: -3%;
  bottom: 0;
  height: 85%;
  width: auto;
  z-index: 1;
  pointer-events: none;

  animation: floatImage 6s ease-in-out infinite 0.5s;
  mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
}

@keyframes floatImage {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-20px);
  }
}

@media (max-width: 1024px) {
  .hero-image {
    right: -10%;
    opacity: 0.5;
  }

  .hero-image-left {
    left: -10%;
    opacity: 0.5;
  }
}

@media (max-width: 768px) {
  .hero-image {
    right: -20%;
    height: 60%;
    opacity: 0.3;
  }

  .hero-image-left {
    left: -20%;
    height: 60%;
    opacity: 0.3;
  }
}

/* Shop Styles - Restored */
.shop-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  justify-content: center !important;
  overflow: visible !important;
  height: 450px !important;
  background: rgba(18, 18, 18, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Featured Banner */
.featured-banner {
  max-width: 1400px;
  margin: 30px auto;
  padding: 0 20px;
}

.featured-banner-content {
  background: linear-gradient(135deg, rgba(112, 0, 255, 0.15), rgba(0, 242, 234, 0.15));
  border: 2px solid var(--primary);
  border-radius: 15px;
  padding: 25px 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 50px rgba(0, 242, 234, 0.3);
  animation: bannerPulse 3s infinite;
}

@keyframes bannerPulse {
  0%, 100% {
    box-shadow: 0 10px 50px rgba(0, 242, 234, 0.3);
  }
  50% {
    box-shadow: 0 10px 70px rgba(0, 242, 234, 0.5);
  }
}

.featured-banner-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  background: linear-gradient(135deg, #ff0055, #7000ff);
  color: white;
  padding: 8px 20px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
  box-shadow: 0 5px 20px rgba(255, 0, 85, 0.5);
  z-index: 10;
  animation: badgeBounce 2s infinite;
  letter-spacing: 1px;
}

.featured-banner-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 25px;
  align-items: center;
  margin-top: 15px;
}

.featured-banner-image {
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.featured-banner-image::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 242, 234, 0.2), transparent 70%);
  animation: imageGlow 2s infinite;
}

@keyframes imageGlow {
  0%, 100% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
}

.featured-banner-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 30px rgba(0, 242, 234, 0.6));
  animation: floatImage 3s ease-in-out infinite;
  position: relative;
  z-index: 2;
}

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

.featured-banner-info {
  text-align: left;
}

.featured-banner-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.featured-banner-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 15px;
  line-height: 1.5;
}

.featured-banner-price {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 15px;
  text-shadow: 0 0 15px rgba(0, 242, 234, 0.4);
}

.featured-banner-btn {
  font-size: 1rem;
  padding: 12px 30px;
  min-width: 200px;
}

@media (max-width: 1024px) {
  .featured-banner-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .featured-banner-image {
    width: 180px;
    height: 180px;
    margin: 0 auto;
  }
  
  .featured-banner-info {
    text-align: center;
  }
  
  .featured-banner-title {
    font-size: 1.3rem;
  }
  
  .featured-banner-price {
    font-size: 1.5rem;
  }
}

@media (max-width: 768px) {
  .featured-banner-content {
    padding: 20px 15px;
  }
  
  .featured-banner-badge {
    font-size: 0.75rem;
    padding: 6px 15px;
  }
  
  .featured-banner-image {
    width: 150px;
    height: 150px;
  }
  
  .featured-banner-title {
    font-size: 1.1rem;
  }
  
  .featured-banner-price {
    font-size: 1.3rem;
  }
  
  .featured-banner-btn {
    font-size: 0.9rem;
    padding: 10px 25px;
    min-width: 180px;
  }
}

.shop-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 255, 255, 0.15);
  border-color: var(--primary);
}

.shop-image-container {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: visible;
}

.shop-image {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.3));
  transition: transform 0.3s ease;
}

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

.price-tag {
  font-size: 1.3rem;
  color: var(--text-light);
  font-weight: bold;
  margin: 10px 0;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* Shop Container Layout */
.shop-container {
  display: flex;
  gap: 30px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.shop-main-content {
  flex: 1;
}

/* Recent Purchases Sidebar */
.recent-purchases-sidebar {
  width: 280px;
  flex-shrink: 0;
}

.sidebar-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 15px;
  text-transform: uppercase;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-title i {
  font-size: 0.85rem;
}

.recent-purchases-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.recent-purchase-item {
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: all 0.2s ease;
  cursor: default;
}

.recent-purchase-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(0, 242, 234, 0.2);
}

.purchase-user {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 500;
  margin-bottom: 6px;
}

.purchase-user i {
  color: var(--primary);
  font-size: 0.9rem;
}

.purchase-product {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 4px;
  line-height: 1.3;
}

.purchase-time {
  font-size: 0.7rem;
  color: rgba(161, 161, 170, 0.6);
}

/* Top Spender Card */
.top-spender-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 15px;
  transition: all 0.2s ease;
}

.top-spender-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 215, 0, 0.3);
}

.top-spender-content {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-spender-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ffd700, #ffa500);
  border-radius: 50%;
  font-size: 1.2rem;
  color: #000;
  flex-shrink: 0;
}

.top-spender-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.top-spender-name {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 600;
}

.top-spender-name i {
  color: #ffd700;
  font-size: 0.9rem;
}

.top-spender-amount {
  font-size: 0.95rem;
  color: #ffd700;
  font-weight: 700;
}

@media (max-width: 1024px) {
  .shop-container {
    flex-direction: column;
  }

  .recent-purchases-sidebar {
    width: 100%;
    order: -1;
  }

  .recent-purchases-list {
    flex-direction: row;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 10px;
  }

  .recent-purchase-item {
    min-width: 200px;
    flex-shrink: 0;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(5px);
}

.modal-content {
  background: var(--bg-dark);
  border: 1px solid var(--border-color);
  padding: 40px;
  border-radius: 15px;
  width: 90%;
  max-width: 500px;
  position: relative;
  box-shadow: 0 0 50px rgba(0, 255, 255, 0.1);
}

.close-modal {
  position: absolute;
  top: 15px;
  right: 20px;
  color: var(--text-muted);
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
}

.close-modal:hover {
  color: var(--text-light);
}

/* Cart Sidebar Styles */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 1001;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 450px;
  height: 100vh;
  background: var(--bg-dark);
  border-left: 1px solid var(--border-color);
  z-index: 1002;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
}

.cart-sidebar.active {
  transform: translateX(0);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px;
  border-bottom: 1px solid var(--border-color);
  background: rgba(0, 242, 234, 0.05);
}

.cart-header h3 {
  margin: 0;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-close {
  width: 40px;
  height: 40px;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.cart-close:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.cart-items-container {
  flex: 1;
  overflow-y: auto;
  padding: 20px 30px;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  margin-bottom: 12px;
  transition: all 0.3s ease;
}

.cart-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--primary);
}

.cart-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
}

.cart-item-info {
  flex: 1;
}

.cart-item-name {
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 5px;
}

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

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cart-item-quantity button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-quantity button:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.cart-item-quantity span {
  min-width: 30px;
  text-align: center;
  font-weight: 600;
}

.cart-item-total {
  font-weight: 700;
  color: var(--primary);
  min-width: 80px;
  text-align: right;
}

.cart-item-remove {
  width: 35px;
  height: 35px;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid #ef4444;
  color: #ef4444;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-remove:hover {
  background: #ef4444;
  color: white;
}

.cart-footer {
  border-top: 1px solid var(--border-color);
  padding: 25px 30px;
  background: rgba(0, 0, 0, 0.3);
}

/* Cart Total Section */
.cart-total-section {
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--border-color);
}

.cart-subtotal-row,
.cart-discount-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 1.1rem;
  font-weight: 600;
}

.cart-subtotal-row {
  color: var(--text-main);
}

.cart-subtotal-price {
  color: var(--text-main);
  font-size: 1.3rem;
}

.cart-discount-row {
  color: #22c55e;
  font-size: 0.95rem;
}

.cart-discount-price {
  color: #22c55e;
  font-weight: 600;
}

/* User Info Section in Cart */
.cart-user-info-section {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.cart-label {
  display: block;
  margin-top: 10px;
  margin-bottom: 6px;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

.cart-label i {
  margin-right: 6px;
  color: var(--primary);
  font-size: 0.9rem;
}

.cart-label:first-child {
  margin-top: 0;
}

.cart-input {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-main);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.cart-input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
}

.cart-input::placeholder {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Promo Code Section */
.promo-code-section {
  margin-bottom: 15px;
}

.promo-input {
  width: 100%;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-main);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.promo-input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
}

.promo-input::placeholder {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Auto-apply promo on input change */
.promo-input:valid {
  border-color: #22c55e;
}

/* Payment Method Section */
.payment-method-section {
  margin-bottom: 15px;
}

.payment-method-select {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-main);
  font-size: 0.9rem;
  cursor: not-allowed;
}

.payment-method-select i {
  color: var(--primary);
  font-size: 1.1rem;
}

/* Cart Pay Button */
.cart-pay-btn {
  width: 100%;
  padding: 14px;
  background: rgba(0, 242, 234, 0.15) !important;
  border: 1px solid rgba(0, 242, 234, 0.5) !important;
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cart-pay-btn:hover {
  background: rgba(0, 242, 234, 0.25) !important;
  border-color: #00f2ea !important;
}

.promo-input-group {
  display: flex;
  gap: 10px;
}

.promo-input {
  flex: 1;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  color: var(--text-main);
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.promo-input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.08);
}

.promo-apply-btn {
  padding: 10px 20px;
  background: rgba(0, 242, 234, 0.15);
  border: 1px solid rgba(0, 242, 234, 0.5);
  border-radius: 8px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.promo-apply-btn:hover {
  background: rgba(0, 242, 234, 0.25);
  border-color: #00f2ea;
}

.promo-message {
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
}

.promo-message.success {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.promo-message.error {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Cart Total Section */
.cart-total-section {
  margin-top: 15px;
}

.cart-subtotal-row,
.cart-discount-row,
.cart-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.cart-subtotal-row {
  font-size: 1rem;
  color: var(--text-muted);
}

.cart-discount-row {
  font-size: 1rem;
  color: #22c55e;
}

.cart-discount-price {
  color: #22c55e;
  font-weight: 600;
}

.cart-total-row {
  font-size: 1.3rem;
  font-weight: 700;
  padding-top: 10px;
  border-top: 1px solid var(--border-color);
}

.cart-total-price {
  color: var(--primary);
}

.cart-notification {
  position: fixed;
  top: 100px;
  right: 20px;
  background: rgba(0, 242, 234, 0.15);
  border: 1px solid rgba(0, 242, 234, 0.5);
  color: white;
  padding: 15px 25px;
  border-radius: 10px;
  transform: translateX(400px);
  transition: transform 0.3s ease;
  z-index: 10000;
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
}

.cart-notification.show {
  transform: translateX(0);
}

@media (max-width: 768px) {
  .cart-sidebar {
    width: 100%;
  }

  .cart-item {
    flex-wrap: wrap;
  }

  .cart-item-total {
    order: -1;
    margin-left: auto;
  }

  .cart-btn {
    top: 15px;
    right: 15px;
    padding: 10px 14px;
  }
}