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

html,
body {
  height: 100%;
  width: 100%;
  font-family: sans-serif;
  background: black;
  overflow-x: hidden;
  /* Prevent bounce on iOS */
  overscroll-behavior-y: none;
}

/* Hide Desktop Elements by Default (Mobile First) */
.desktop-header,
.features-bar,
.featured-products,
.section-title,
.products-grid-desktop {
  display: none;
}

/* Hide Desktop Elements by Default (Mobile First) */
.desktop-header,
.features-bar,
.featured-products,
.section-title,
.products-grid-desktop {
  display: none;
}

.hero {
  height: 100vh;
  width: 100vw;
  position: relative;
  overflow: hidden;
}

.slider-fixed-title {
  position: absolute;
  top: 0;
  width: 100%;
  text-align: center;
  padding: 16px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent);
  z-index: 10;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.glitch-img {
  position: relative;
  display: inline-block;
  transition: opacity 0.3s ease, transform 0.3s ease;
  filter: brightness(1.2) contrast(1.3);
}

.glitch-img img {
  display: block;
  width: 180px;
  max-width: 80vw;
}

.glitch-img.glitch-active {
  animation: glitchAnim 0.8s infinite;
}

.glitch-img.glitch-active::before,
.glitch-img.glitch-active::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("http://www.unrealcodex.com/eshop/imas/logo_nom.png");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.9;
  mix-blend-mode: screen;
}

.glitch-img.glitch-active::before {
  animation: glitchTop 1s infinite linear alternate-reverse;
  transform: translateX(3px);
  filter: drop-shadow(0 0 4px #ff00ff) contrast(200%);
}

.glitch-img.glitch-active::after {
  animation: glitchBottom 1s infinite linear alternate-reverse;
  transform: translateX(-3px);
  filter: drop-shadow(0 0 4px #00ffff) contrast(200%);
}

@keyframes glitchAnim {
  0% {
    transform: none;
  }

  20% {
    transform: skew(1deg, 1deg);
  }

  40% {
    transform: skew(-1.5deg, -1.5deg);
  }

  60% {
    transform: skew(1.2deg, 0.8deg);
  }

  80% {
    transform: skew(-0.8deg, -1.2deg);
  }

  100% {
    transform: none;
  }
}

@keyframes glitchTop {

  0%,
  100% {
    clip: rect(0, 9999px, 0, 0);
  }

  10% {
    clip: rect(0, 9999px, 5px, 0);
  }

  20% {
    clip: rect(0, 9999px, 15px, 0);
  }

  30% {
    clip: rect(0, 9999px, 8px, 0);
  }

  40% {
    clip: rect(0, 9999px, 12px, 0);
  }

  50% {
    clip: rect(0, 9999px, 0, 0);
  }

  60% {
    clip: rect(0, 9999px, 20px, 0);
  }

  70% {
    clip: rect(0, 9999px, 4px, 0);
  }

  80% {
    clip: rect(0, 9999px, 9px, 0);
  }

  90% {
    clip: rect(0, 9999px, 3px, 0);
  }
}

@keyframes glitchBottom {

  0%,
  100% {
    clip: rect(0, 9999px, 0, 0);
  }

  10% {
    clip: rect(10px, 9999px, 9999px, 0);
  }

  20% {
    clip: rect(6px, 9999px, 9999px, 0);
  }

  30% {
    clip: rect(20px, 9999px, 9999px, 0);
  }

  40% {
    clip: rect(14px, 9999px, 9999px, 0);
  }

  50% {
    clip: rect(9px, 9999px, 9999px, 0);
  }

  60% {
    clip: rect(17px, 9999px, 9999px, 0);
  }

  70% {
    clip: rect(4px, 9999px, 9999px, 0);
  }

  80% {
    clip: rect(11px, 9999px, 9999px, 0);
  }

  90% {
    clip: rect(3px, 9999px, 9999px, 0);
  }
}

.slider-background {
  display: flex;
  height: 100%;
  width: 100%;
  overflow: hidden;
}

.slide-link {
  min-width: 100vw;
  height: 100vh;
  flex-shrink: 0;
  display: block;
  /* Important for flex item behavior */
  text-decoration: none;
  color: inherit;
}

.slide {
  position: relative;
  width: 100%;
  /* Fill the anchor */
  height: 100%;
  /* Fill the anchor */
  /* Remove min-width/height from here since parent controls it, or keep it safe */
  /* min-width: 100vw; -- Removed to avoid double sizing issues */
  transition: transform 0.5s ease-in-out;
}

.slide img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  object-position: center;
}

@media (min-width: 1024px) {
  .hero {
    height: auto;
    width: 100%;
    max-height: none;
    background: transparent;
    display: block;
    position: relative;
  }

  .slider-background {
    height: auto;
    display: block;
    position: relative;
  }

  /* Make slides absolute except active one to define height */
  .slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    z-index: 1;
    transform: none !important;
    /* Force fade effect on desktop */
  }

  .slide.active {
    position: relative;
    /* Document flow dictates container height */
    opacity: 1;
    z-index: 2;
  }

  .slide-link {
    height: auto;
    min-width: 0;
    display: block;
  }

  .slide img {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: auto;
    /* Natural aspect ratio */
    display: block;
    margin: 0 auto;
    object-fit: contain;
    left: auto;
    transform: none;
  }
}

.overlay {
  position: absolute;
  top: 65%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
}

.overlay h2 {
  font-size: 16px;
  color: white;
}

/* Botón del ojo */
.play {
  background: transparent;
  border: none;
  width: 64px;
  height: 64px;
  padding: 0;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  pointer-events: auto;
}

.play img.play-icon {
  max-width: 100%;
  max-height: 100%;
  margin-left: 12px;
  margin-top: 180px;
  width: 40px;
  height: 40px;
  object-fit: contain;
  display: block;
}

/* Barra de progreso */
.progress-bar {
  width: 40px;
  height: 3px;
  margin-top: 140px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 1.5px;
  overflow: hidden;
}

.progress-fill {
  width: 0%;
  height: 100%;
  background: white;
  animation: progressAnim 5s linear infinite;
}

.play:hover {
  transform: scale(1.1);
}

@keyframes progressAnim {
  0% {
    width: 0%;
  }

  100% {
    width: 100%;
  }
}

.app-container {
  padding: 20px 16px;
  color: white;
}

.categories h3 {
  margin-bottom: 10px;
  font-size: 16px;
}

.category-slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 30px;
}

.category-card {
  width: 140px;
  height: 80px;
  border-radius: 8px;
  flex-shrink: 0;
  scroll-snap-align: start;
}

/* BENTO SECTION */
.bento-section {
  margin-top: 20px;
}

.bento-grid {
  display: grid;
  /* Mobile: 2 columns is standard for Bento */
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  padding-bottom: 80px;
  /* Space for nav */
}

.bento-card {
  background: #1e1e1e;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  touch-action: manipulation;
  position: relative;
}

.bento-card:hover {
  cursor: pointer;
}

.bento-card:active,
.bento-card:hover {
  cursor: pointer;
}

.bento-img {
  width: 100%;
  height: 140px;
  /* Taller images on mobile */
  background-size: cover;
  background-position: center;
  border-top-left-radius: 16px;
  border-top-right-radius: 16px;
  transition: transform 0.5s ease;
}

.bento-card:hover .bento-img {
  transform: scale(1.1);
}

.bento-card p {
  margin-top: 10px;
  font-size: 14px;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}

.bento-card.active {
  transform: scale(1.05);
  box-shadow: 0 6px 14px rgba(255, 255, 255, 0.2);
}

.bento-card.active p {
  opacity: 1;
  transform: translateY(0);
}

/* DESKTOP RESPONSIVE STYLES */
@media (min-width: 1024px) {

  /* Restrict max width of content for better reading/viewing experience on large screens */
  .app-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
  }

  /* Bento Grid: Switch from 2 columns to 4 columns */
  .bento-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    padding-bottom: 40px;
  }

  .bento-img {
    height: 200px;
    /* Even taller on desktop */
  }

  /* Categories: Remove horizontal scroll, center items */
  .category-slider {
    justify-content: center;
    flex-wrap: wrap;
    overflow-x: visible;
    scroll-snap-type: none;
    margin-bottom: 50px;
  }

  .category-card {
    width: 180px;
    /* Slightly larger cards on desktop */
    height: 100px;
    cursor: pointer;
    transition: transform 0.2s ease;
  }

  .category-card:hover {
    transform: scale(1.05);
    /* Interactive feedback */
  }

  /* Adjust Hero Overlay for larger screens */
  .overlay {
    top: 70%;
    /* Move slightly lower to not block faces/center of images */
    transform: translate(-50%, -50%) scale(1.2);
    /* Scale up controls slightly */
  }

  /* Slider Title adjustments */
  .slider-fixed-title {
    padding: 30px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
  }

  /* Larger logo */

  /* Hide Mobile Features */
  .slider-fixed-title {
    display: none;
  }

  /* Show Desktop Elements */
  .section-title {
    display: block;
    font-size: 24px;
    margin-bottom: 20px;
    color: #00ffcc;
    text-align: center;
    letter-spacing: 4px;
    text-transform: uppercase;
  }

  .features-bar {
    display: flex;
    justify-content: space-around;
    padding: 40px 0;
    background: #111;
    margin: 40px 0;
    border-radius: 8px;
  }

  .feature-item {
    display: flex;
    align-items: center;
    gap: 15px;
    color: white;
  }

  .f-icon {
    font-size: 32px;
  }

  .feature-item h4 {
    font-size: 14px;
    color: #00ffcc;
    margin-bottom: 4px;
  }

  .feature-item p {
    font-size: 12px;
    color: #888;
  }

  .featured-products {
    display: block;
    margin-bottom: 50px;
  }

  .products-grid-desktop {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    /* 5 cols for featured */
    gap: 20px;
  }

  /* Reuse product-card styles but ensure they work here */
  .desktop-card {
    background: #111;
    border: 1px solid #222;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
    cursor: pointer;
  }

  .desktop-card:hover {
    transform: translateY(-5px);
    border-color: #00ffcc;
  }

  .d-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
  }

  .d-info {
    padding: 15px;
  }

  .d-title {
    font-size: 14px;
    color: white;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .d-price {
    color: #00ffcc;
    font-weight: bold;
    font-family: monospace;
  }

  /* HEADER & NAV */
  .desktop-header {
    display: block;
    background: black;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid #333;
  }

  .header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    max-width: 1400px;
    margin: 0 auto;
  }

  .desktop-logo {
    width: 180px;
  }

  .search-bar-container {
    flex: 1;
    max-width: 600px;
    margin: 0 40px;
    display: flex;
  }

  #desktopSearch {
    width: 100%;
    padding: 10px 15px;
    background: #111;
    border: 1px solid #333;
    color: white;
    border-right: none;
    border-radius: 4px 0 0 4px;
  }

  #desktopSearchBtn {
    padding: 10px 20px;
    background: #00ffcc;
    border: none;
    font-weight: bold;
    cursor: pointer;
    border-radius: 0 4px 4px 0;
  }

  .header-icons {
    color: white;
    font-size: 20px;
    cursor: pointer;
  }

  .desktop-nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 10px 0;
    background: #111;
    border-bottom: 1px solid #222;
  }

  .desktop-nav a {
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: color 0.2s;
  }

  .desktop-nav a:hover {
    color: #00ffcc;
  }

  /* Hide Mobile Nav on Desktop */
  .bottom-nav {
    display: none !important;
  }

  /* Adjust app-container top padding/margin since we have a header now */
  .app-container {
    padding-top: 0;
  }
}

/* PRODUCT PAGE STYLES */

.product-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px;
  background: black;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #333;
}

.back-link {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 2px;
}

.logo-text {
  color: white;
  font-weight: bold;
  letter-spacing: 2px;
}

.small-header-logo img {
  width: 80px !important;
  /* Overwrite global rule */
  height: auto;
}

.small-header-logo.glitch-active::before,
.small-header-logo.glitch-active::after {
  background-size: 100% 100% !important;
  /* Fix pseudo-element sizing for smaller logo */
}

.product-container {
  padding: 20px;
  color: white;
  padding-bottom: 100px;
}

/* Mobile Layout (Default) handles stacking naturally */

/* Images */
.main-image-frame {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #000;
  background-size: cover;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid #333;
}

.main-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.thumbnail-strip {
  display: flex;
  gap: 8px;
  /* Reduced gap */
  margin-bottom: 30px;
  flex-wrap: wrap;
  /* Allow wrapping if needed, though goal is to fit row */
}

.thumb {
  width: 48px;
  /* Fit ~5-6 per row on mobile */
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.2s;
}

.thumb.active,
.thumb:hover {
  border-color: #00ffff;
  opacity: 1;
}

/* Video */
.video-section h3 {
  font-size: 14px;
  color: #888;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%;
  /* 16:9 */
  height: 0;
  background: #000;
  margin-bottom: 40px;
  border-radius: 12px;
  overflow: hidden;
}

.video-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Info */
.product-title {
  font-size: 32px;
  margin-bottom: 5px;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  text-shadow: 2px 2px 0px #ff0055;
}

.product-title .version {
  font-size: 12px;
  background: #333;
  padding: 2px 6px;
  border-radius: 4px;
  vertical-align: middle;
  color: #aaa;
  text-shadow: none;
}

.product-price {
  font-size: 24px;
  color: #00ffcc;
  margin-bottom: 30px;
  font-family: monospace;
}

.color-selector {
  margin-bottom: 30px;
}

.color-selector .label {
  font-size: 12px;
  color: #888;
  margin-bottom: 10px;
}

.options {
  display: flex;
  gap: 15px;
}

/* Existing color-btn styles... */
.color-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #333;
  cursor: pointer;
  transition: transform 0.2s;
}

.color-btn.active {
  border-color: white;
  box-shadow: 0 0 10px currentColor;
  transform: scale(1.1);
}

/* NEW: Centered Color Selector Styles */
.color-selector-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
  gap: 10px;
}

.product-sku {
  color: #555;
  font-family: monospace;
  font-size: 14px;
  letter-spacing: 2px;
  border: 1px solid #333;
  padding: 4px 8px;
  border-radius: 4px;
  display: inline-block;
  margin-bottom: 20px;
}

.options.centered {
  justify-content: center;
}

.description-box {
  background: #111;
  padding: 20px;
  border-radius: 8px;
  margin-bottom: 30px;
  border-left: 2px solid #ff0055;
}

.description-box p {
  color: #ccc;
  line-height: 1.6;
  font-size: 14px;
  margin-bottom: 20px;
}

.specs {
  list-style: none;
  font-size: 12px;
  color: #888;
  border-top: 1px solid #333;
  padding-top: 10px;
}

.specs li {
  margin-bottom: 4px;
}

.buy-btn {
  /* Mobile Default: Sticky Bottom Bar */
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 12px;
  background: white;
  /* Cyberpunk contrast */
  color: black;
  border: none;
  border-top: 4px solid #00ffcc;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: 1px;
  cursor: pointer;
  z-index: 1000;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.8);
  /* Remove clip-path for full-width bar look on mobile */
  clip-path: none;
  transition: background 0.2s;
}

.buy-btn:active {
  background: #00ffcc;
}

/* Add padding to container so content isn't hidden behind sticky button on mobile */
.product-container {
  padding: 20px;
  color: white;
  padding-bottom: 120px;
  /* Increased to ensure clearance */
}

/* DESKTOP PRODUCT LAYOUT */
@media (min-width: 1024px) {
  .product-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 80px;
    /* Increased gap */
    max-width: 1400px;
    /* Increased max-width */
    margin: 0 auto;
    padding-top: 60px;
    padding-bottom: 60px;
    /* Reset padding */
  }

  /* Reset Button to appear inline on Desktop */
  .buy-btn {
    position: static;
    width: 100%;
    margin-top: 20px;
    border: none;
    border-radius: 4px;
    /* Restore stylized look */
    clip-path: polygon(0 0, 100% 0, 100% 85%, 95% 100%, 0 100%);
    box-shadow: none;
    font-size: 16px;
  }

  .buy-btn:hover {
    background: #00ffcc;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 204, 0.3);
  }

  .main-image-frame {
    aspect-ratio: 16 / 9;
    max-height: 500px;
    cursor: zoom-in;
    /* Hint at interactivity */
    position: relative;
  }

  /* Desktop Zoom Effect */
  .main-image-frame img {
    transition: transform 0.5s ease;
  }

  .main-image-frame:hover img {
    transform: scale(1.1);
  }

  .product-info {
    position: sticky;
    top: 100px;
    height: fit-content;
  }

  .product-title {
    font-size: 48px;
  }
}

/* CART SYSTEM STYLES */

.cart-btn {
  color: white;
  font-family: monospace;
  font-weight: bold;
  cursor: pointer;
  border: 1px solid #333;
  padding: 8px 12px;
  border-radius: 4px;
  transition: all 0.2s;
}

.cart-btn:hover {
  border-color: #00ffcc;
  color: #00ffcc;
  box-shadow: 0 0 8px rgba(0, 255, 204, 0.4);
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -400px;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: #111;
  border-left: 2px solid #00ffcc;
  z-index: 2100;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.8);
}

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

.cart-header {
  padding: 20px;
  border-bottom: 1px solid #333;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #000;
}

.cart-header h2 {
  font-size: 18px;
  color: #00ffcc;
  letter-spacing: 2px;
}

.close-cart {
  background: transparent;
  border: none;
  color: white;
  font-size: 20px;
  cursor: pointer;
}

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

.cart-item {
  display: flex;
  margin-bottom: 20px;
  background: #1a1a1a;
  padding: 10px;
  border-radius: 4px;
  gap: 10px;
}

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

.item-details {
  flex: 1;
}

.item-details h4 {
  font-size: 14px;
  margin-bottom: 4px;
  color: white;
}

.item-details p {
  font-size: 12px;
  color: #888;
}

.remove-btn {
  color: #ff0055;
  background: transparent;
  border: none;
  font-size: 12px;
  cursor: pointer;
  margin-top: 5px;
  text-decoration: underline;
}

.cart-footer {
  padding: 20px 20px 60px 20px;
  border-top: 1px solid #333;
  background: #000;
}

.total-row {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 20px;
  color: white;
}

.checkout-btn {
  width: 100%;
  padding: 15px;
  background: #25d366;
  /* WhatsApp Green */
  color: white;
  border: none;
  font-weight: bold;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
  text-transform: uppercase;
  transition: filter 0.2s;
}

.checkout-btn:hover {
  filter: brightness(1.1);
}

.empty-msg {
  color: #555;
  text-align: center;
  margin-top: 40px;
  font-family: monospace;
}

/* QUANTITY CONTROLS */
.quantity-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 5px;
}

.qty-btn {
  background: #333;
  color: white;
  border: 1px solid #444;
  width: 24px;
  height: 24px;
  border-radius: 4px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.qty-btn:hover {
  background: #00ffcc;
  color: black;
  border-color: #00ffcc;
}

.quantity-controls span {
  color: white;
  font-family: monospace;
  font-size: 14px;
}

/* BOTTOM NAVIGATION */
.app-container {
  padding-bottom: 100px;
}

.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  border-top: 1px solid #333;
  display: flex;
  justify-content: space-evenly;
  padding: 15px 10px;
  padding-bottom: calc(15px + env(safe-area-inset-bottom));
  z-index: 9999;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.8);
}

.nav-item {
  color: #aaa;
  text-decoration: none;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  transition: all 0.3s ease;
  padding: 5px;
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  border-right: 1px solid #222;
}

.nav-item:last-child {
  border-right: none;
}

.nav-item:hover {
  color: #00ffcc;
  text-shadow: 0 0 10px #00ffcc;
  background: linear-gradient(to top, rgba(0, 255, 204, 0.05), transparent);
}
}

/* End of Desktop Media Query */