:root {
  /* Colors */
  --bg-color: #0f0f0f;
  --card-bg: #181818;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --accent-color: #ff0000; /* Solid Red */
  --accent-glow: rgba(255, 0, 0, 0.4);
  --stock-green: #2ecc71;

  /* Spacing */
  --container-width: 1200px;
  --header-height: 80px;

  /* Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  opacity: 0;
  animation: fadeIn 0.8s forwards;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* Container */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation */
header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(15, 15, 15, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  height: var(--header-height);
  display: flex;
  align-items: center;
}

.nav-content {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 40px; /* Space between logo and nav links */
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto; /* Push to the right */
}

/* Header & Logo */
.logo-container {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 40px; /* Adjust based on logo aspect ratio */
  width: auto;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition-fast);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  opacity: 0.7;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
  opacity: 1;
}

/* Refined Hero */
.hero {
  background: radial-gradient(
    circle at center,
    rgba(20, 20, 20, 1) 0%,
    var(--bg-color) 100%
  );
  position: relative;
  overflow: hidden;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60vw;
  height: 60vh;
  background: var(--accent-color);
  filter: blur(120px);
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.1;
  letter-spacing: -2px;
  text-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.hero p {
  color: var(--text-secondary);
  font-size: 1.25rem;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Refined Buttons */
.cta-button {
  display: inline-block;
  background-color: var(--text-primary);
  color: var(--bg-color);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition-medium);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.cta-button:hover {
  background-color: #e0e0e0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

/* Polished Card Styles */
.product-card {
  background-color: #1a1a1a;
  border-radius: var(--radius-md);
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  position: relative;
  overflow: hidden;
  animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  opacity: 0;
  transform: translateY(20px);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 0, 0, 0.4);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Refined Category Cards */
.home-category-card {
  background: linear-gradient(145deg, #1a1a1a, #151515);
  border: 1px solid rgba(255, 255, 255, 0.03);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  position: relative; /* For image positioning */
  overflow: hidden; /* Crop image */
}

.home-category-card:hover {
  border-color: var(--accent-color);
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(255, 0, 0, 0.1);
}

.category-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
  transition: var(--transition-medium);
  z-index: 0;
}

.home-category-card:hover .category-bg-img {
  opacity: 0.6;
  transform: scale(1.05);
}

.home-category-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

/* Store Page Layout */
.store-header {
  padding: 40px 0;
  flex: 1; /* Push footer down */
}

.search-bar {
  width: 100%;
  max-width: 500px;
  background-color: var(--card-bg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 24px;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 1rem;
  margin-bottom: 30px;
  transition: var(--transition-fast);
  outline: none;
}

.search-bar:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 2px rgba(255, 0, 0, 0.2);
}

.categories {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
}

.category-btn {
  background-color: #252525;
  color: var(--text-secondary);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 10px 20px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 0.9rem;
  font-weight: 500;
}

.category-btn:hover,
.category-btn.active {
  background-color: var(--accent-color);
  color: white;
  border-color: var(--accent-color);
  transform: translateY(-1px);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  padding-bottom: 40px;
}

.product-name {
  font-size: 1.1em;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.4;
}

.product-category {
  font-size: 0.85em;
  color: var(--accent-color);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
  font-weight: 600;
}

.card-footer-container {
  margin-top: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 15px;
}

.product-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.qty-selector {
  display: flex;
  align-items: center;
  background-color: #252525;
  border-radius: var(--radius-sm);
  padding: 2px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.qty-btn {
  background: none;
  border: none;
  color: var(--text-primary);
  width: 30px;
  height: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s;
}

.qty-btn:hover {
  color: var(--accent-color);
}

.qty-display {
  background: none;
  border: none;
  color: var(--text-primary);
  width: 30px;
  text-align: center;
  font-weight: 600;
  outline: none;
  -moz-appearance: textfield;
  appearance: textfield;
}

.qty-display::-webkit-outer-spin-button,
.qty-display::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.add-trigger-btn {
  flex: 1;
  background-color: var(--accent-color);
  color: white;
  border: none;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.add-trigger-btn:hover {
  background-color: #cc0000;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.2);
}

/* Animations */
@keyframes slideUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Footer */
.site-footer {
  background-color: #0a0a0a;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 60px 0 20px;
  margin-top: auto;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h4 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.footer-section p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-secondary);
  transition: var(--transition-fast);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 15px; /* Reduced */
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 0.85rem;
}

/* Cart Drawer */
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-medium);
}

.cart-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background-color: #121212;
  z-index: 2001;
  box-shadow: -5px 0 30px rgba(0, 0, 0, 0.5);
  transition: var(--transition-medium);
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-drawer.open {
  right: 0;
}

.cart-header {
  padding: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-header h2 {
  font-size: 1.5rem;
}

.close-btn {
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.5rem;
  cursor: pointer;
}

.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--card-bg);
  padding: 15px;
  border-radius: var(--radius-sm);
  margin-bottom: 10px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item-info h4 {
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.cart-item-info p {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.remove-btn {
  background: none;
  border: none;
  color: #e74c3c; /* Keep red for delete */
  font-size: 1.2rem;
  cursor: pointer;
  padding: 5px;
}

.cart-footer {
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  background-color: #121212;
}

.checkout-btn {
  width: 100%;
  padding: 16px;
  background-color: var(--accent-color);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.checkout-btn:hover {
  background-color: #cc0000;
}

/* Modal */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-medium);
}

.modal.active {
  opacity: 1;
  pointer-events: all;
}

.modal-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.modal-content {
  background-color: var(--card-bg);
  padding: 40px;
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 90%;
  text-align: center;
  position: relative;
  z-index: 3001;
  border: 1px solid var(--accent-color);
  box-shadow: 0 0 50px rgba(255, 0, 0, 0.2);
  transform: scale(0.95);
  transition: var(--transition-medium);
}

.modal.active .modal-content {
  transform: scale(1);
}

.success-icon {
  font-size: 4rem;
  color: #2ecc71; /* Keep success green */
  margin-bottom: 20px;
}

.order-id {
  font-family: monospace;
  background: rgba(255, 255, 255, 0.05);
  padding: 15px;
  border-radius: var(--radius-sm);
  font-size: 2rem; /* Much bigger */
  font-weight: 700;
  margin: 20px 0;
  color: var(--accent-color);
  letter-spacing: 2px;
}

.discord-btn {
  display: inline-block;
  background-color: #5865F2; /* Discord Color */
  color: white;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: var(--transition-fast);
}

.discord-btn:hover {
  background-color: #4752c4;
}

/* Category Grid on Products Page */
.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); /* Scaled down */
  gap: 20px;
  justify-content: center;
}

/* =========================
   NEW REDESIGN STYLES
   ========================= */

/* Header Buttons */
.dashboard-btn {
    display: none; /* Removed as per request */
}

/* New Hero Section */
.hero-new {
    position: relative;
    min-height: 90vh; /* Full screen height */
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at 70% 30%, rgba(60, 20, 20, 0.4), var(--bg-color) 60%);
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3; /* Adjust visibility */
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 650px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.highlight-text {
    color: #ff0000; /* Solid Red */
    background: none;
    -webkit-text-fill-color: initial;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 0.8em; /* Adjusted height */
    background-color: white;
    animation: blink 1s infinite;
    margin-left: 5px;
    vertical-align: baseline;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.hero-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-discord {
    background-color: #1e2124; /* Dark gray/black */
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-medium);
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-discord:hover {
    background-color: #2c2f33;
    border-color: rgba(255,255,255,0.2);
}

.btn-products {
    background-color: #ff0000; /* Solid Red */
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-medium);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.btn-products:hover {
    background-color: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.5);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: transparent;
    border-radius: var(--radius-md);
    text-align: left;
    padding: 20px;
}

.feature-card .icon-box {
    width: 50px;
    height: 50px;
    background-color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(255, 0, 0, 0.3);
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: white;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.5;
}

/* =========================
   NEW REDESIGN STYLES
   ========================= */

/* Header Buttons */
.dashboard-btn {
    display: none;
}

/* New Hero Section */
.hero-new {
    position: relative;
    min-height: 90vh; /* Full screen height */
    display: flex;
    align-items: center;
    overflow: hidden;
    background: radial-gradient(circle at 70% 30%, rgba(60, 20, 20, 0.4), var(--bg-color) 60%);
}

.hero-bg-glow {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 0, 0, 0.15) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.hero-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.3; /* Adjust visibility */
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 1;
}

.hero-content {
    max-width: 650px;
}

.hero-content h1 {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.highlight-text {
    color: #ff0000; /* Solid Red */
    background: none;
    -webkit-text-fill-color: initial;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
}

.cursor {
    display: inline-block;
    width: 3px;
    height: 0.8em; /* Adjusted height */
    background-color: white;
    animation: blink 1s infinite;
    margin-left: 5px;
    vertical-align: baseline;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hero-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: white;
}

.hero-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 40px;
    line-height: 1.6;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-discord {
    background-color: #1e2124; /* Dark gray/black */
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-medium);
    border: 1px solid rgba(255,255,255,0.1);
}

.btn-discord:hover {
    background-color: #2c2f33;
    border-color: rgba(255,255,255,0.2);
}

.btn-products {
    background-color: #ff0000; /* Solid Red */
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: var(--transition-medium);
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.btn-products:hover {
    background-color: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.5);
}

/* Features Section */
.features-section {
    padding: 80px 0;
    position: relative;
    z-index: 1;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
/* Features cards already exist above, skipping duplication */
