@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500&family=Roboto:wght@400;700&display=swap');

/* --- General Reset & Base Styles (Black, Blue, White Theme) --- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Roboto', sans-serif;
  background: linear-gradient(135deg, #000000, #0a1128);
  color: #e0e0e0;
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

/* --- Content Visibility & Transparency Fix (The key change!) --- */
header, nav, footer, section, .hero, #products {
    position: relative; 
    z-index: 10; 
    /* INCREASED TRANSPARENCY: Dark blue overlay with 75% opacity */
    background-color: rgba(10, 17, 40, 0.75) !important; 
}


/* --- Header --- */
header {
  /* Using the visibility background for transparency */
  padding: 5em 1em 4em;
  text-align: center;
  /* F1 Racing Stripe & Stronger Shadow */
  border-bottom: 5px solid #E10600; 
  box-shadow: 0 8px 30px rgba(0,0,0,0.9);
  color: white;
}

header h1 {
  font-family: 'Orbitron', sans-serif;
  font-size: 3.8em;
  color: #0011ff; 
  margin-bottom: 0.2em;
  /* Sharper Glow */
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.9);
}

header p {
  font-size: 1.3em;
  color: #cccccc;
  max-width: 750px;
  margin: 0 auto;
}

/* --- Navigation --- */
nav {
  /* FONT/LAYER FIX: Fully Opaque (1) and highly visible (z-index: 50) */
  background-color: rgba(26, 42, 80, 1) !important;
  z-index: 50 !important;
  position: relative; 
  
  display: flex;
  justify-content: center;
  padding: 1.2em;
  gap: 2em; 
  flex-wrap: wrap;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.9);
}

nav a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1em;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: #E10600; /* F1 Red underline accent */
  transition: width 0.3s ease;
}

nav a:hover {
    color: #E10600; /* F1 Red on hover */
}

nav a:hover::after {
  width: 100%;
}

.nav-separator {
    color: #E10600; /* F1 Red separator */
    font-size: 1.1em;
    font-weight: bold;
    margin: 0 5px;
}

section {
  padding: 5em 1em;
  text-align: center;
}

/* --- Hero/Banner Section --- */
.hero {
  padding-bottom: 6em;
  color: #e0e0e0;
  box-shadow: inset 0 0 30px rgba(0,0,0,0.5);
}
#store {
    padding-bottom: 3em; 
}

.hero h2 {
  font-size: 3em;
  color: #ffffff; 
  margin-bottom: 0.5em;
  font-family: 'Orbitron', sans-serif;
}

.hero p {
  color: #b0b0b0;
  max-width: 650px;
  margin: 0 auto 2.5em;
}

/* --- Button Styles --- */
.button {
  display: inline-block;
  padding: 14px 30px;
  margin: 0.5em;
  background: #4a90e2; 
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  box-shadow: 0 6px 15px rgba(74, 144, 226, 0.5); 
  transition: transform 0.2s, background 0.3s, box-shadow 0.3s;
  border: none;
  cursor: pointer;
}

.button:hover {
  transform: translateY(-3px);
  background: #3a7bd5; 
  box-shadow: 0 8px 20px rgba(74, 144, 226, 0.8); 
}

/* F1 ACCENT COLOR (Vibrant Red) */
.f1-accent {
    color: #E10600; /* F1 Red */
    font-weight: bold;
}

/* F1 Button (Red/Black) */
.f1-button {
    background: #E10600; /* F1 Red */
    box-shadow: 0 6px 15px rgba(225, 6, 0, 0.5); 
}

.f1-button:hover {
    background: #b80500; /* Darker Red on hover */
    box-shadow: 0 8px 20px rgba(225, 6, 0, 0.8);
}


/* --- Product/Mod Grid & Cards --- */
.products-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2em;
  padding-top: 2em;
  max-width: 1400px;
  margin: 0 auto;
}

.product-card {
  background: #12121e; /* Even darker card background */
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.7);
  padding: 1.5em;
  width: 100%;
  max-width: 300px;
  text-align: left;
  transition: transform 0.3s, box-shadow 0.3s;
  /* Sharper Border */
  border: 2px solid #0f1c3d; 
}

.product-card:hover {
  /* Lift Even Higher */
  transform: translateY(-10px); 
  /* Stronger Red Glow */
  box-shadow: 0 20px 40px rgba(225, 6, 0, 0.5), 0 0 5px rgba(255,255,255,0.2); 
}

.product-card img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 1em;
  border: 1px solid #0f1c3d;
}

.product-card h3 {
  color: #ffffff; 
  font-size: 1.5em;
  margin-bottom: 0.2em;
  font-family: 'Orbitron', sans-serif;
}

.product-card .price {
  color: #E10600; 
  font-family: 'Orbitron', sans-serif;
  font-weight: bold;
  font-size: 1.5em;
  margin-bottom: 0.8em;
}

.buy-button {
  width: 100%;
  text-align: center;
  font-size: 1.1em;
}


/* --- Footer --- */
footer {
  text-align: center;
  padding: 2.5em 1em;
  font-size: 0.95em;
  color: #cccccc;
  box-shadow: inset 0 5px 15px rgba(0,0,0,0.8);
  /* F1 Racing Stripe */
  border-top: 5px solid #E10600; 
}

/* --- Background Video Styles --- */
.video-background {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: -100; 
    overflow: hidden;
    background: #000000;
}

.video-background video {
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

/* --- Media Queries --- */
@media (max-width: 768px) 
  header h1 {
    font-size: 2.8em;
  }
  .hero h2 {
    font-size: 2em;
  }
  .products-grid