/* ============================= */
/*          VARIABLES            */
/* ============================= */
:root {
  --primary-accent: #FFD700;
  /* Gold */
  --primary-hover: #E5C100;
  --bg-dark: #0a0a0a;
  --bg-darker: #050505;
  --bg-card: #111;
  --text-white: #ffffff;
  --text-gray: #b3b3b3;
  --font-heading: "Montserrat", sans-serif;
  --font-body: "Open Sans", sans-serif;
  --container-width: 1200px;
  --transition: 0.3s ease;
}

/* ============================= */
/*         GLOBAL RESET          */
/* ============================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-dark);
  color: var(--text-white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

/* ============================= */
/*            NAVBAR             */
/* ============================= */
.navbar {
  width: 100%;
  height: 80px;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(10px);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  display: flex;
  justify-content: center;
}

.nav-container {
  width: 100%;
  max-width: var(--container-width);
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.nav-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.5px;
  color: var(--text-white);
  text-transform: lowercase;
  display: flex;
  align-items: center;
}

.nav-logo span {
  color: var(--primary-accent);
}

.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links li a {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-white);
  letter-spacing: 0.5px;
}

.nav-links li a:hover,
.nav-links li a.active {
  color: var(--primary-accent);
}

.nav-actions {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-btn-account {
  border: 1px solid rgba(255, 215, 0, 0.3);
  padding: 8px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 4px;
}

.nav-btn-account:hover {
  border-color: var(--primary-accent);
  color: var(--primary-accent);
}

/* ============================= */
/*         HERO SECTION          */
/* ============================= */
.hero-section {
  width: 100%;
  min-height: 90vh;
  margin-top: 0;
  padding-top: 100px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* Dark Radial Gradient */
  background: radial-gradient(circle at center, #1a1a1a 0%, #0a0a0a 70%);
}

.hero-content {
  text-align: center;
  max-width: 800px;
  padding: 20px;
  z-index: 2;
  position: relative;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-gray);
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 15px 30px;
  font-family: var(--font-heading);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-primary {
  background: var(--primary-accent);
  color: #000;
}

.btn-primary:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.btn-secondary {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: var(--text-white);
}

.btn-secondary:hover {
  border-color: var(--text-white);
  transform: translateY(-2px);
}

/* Hero Background Image Integration */
.hero-bg-img {
  position: absolute;
  top: 50%;
  right: -5%;
  height: 80%;
  opacity: 0.6;
  z-index: 1;
  transform: translateY(-50%) rotate(-5deg);
  pointer-events: none;
  filter: drop-shadow(0 20px 50px rgba(0, 0, 0, 0.5)) hue-rotate(45deg);
  /* Slight tint shift for gold feel */
}

/* ============================= */
/*       PRODUCTS SECTION        */
/* ============================= */
.products-section {
  padding: 100px 20px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.section-header {
  margin-bottom: 60px;
  border-left: 5px solid var(--primary-accent);
  padding-left: 20px;
}

.section-title {
  font-size: 2.5rem;
  text-transform: uppercase;
  letter-spacing: -1px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.product-card {
  background-color: var(--bg-card);
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-accent);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}

.product-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.product-info {
  padding: 30px;
}

.product-title {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.product-desc {
  color: var(--text-gray);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.product-link {
  color: var(--primary-accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 5px;
}

.product-link:hover {
  gap: 10px;
}

/* Locked Product State */
.product-locked .product-img {
  filter: grayscale(100%) blur(2px);
}

.product-locked {
  pointer-events: none;
  /* Disable clicking normally, handled by wrapper event */
  opacity: 0.7;
}

/* ============================= */
/*       ZIG-ZAG FEATURES        */
/* ============================= */
.feature-section {
  padding: 80px 20px;
  max-width: var(--container-width);
  margin: 0 auto;
}

.feature-row {
  display: flex;
  align-items: center;
  gap: 50px;
  margin-bottom: 100px;
}

.feature-row:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
}

.feature-text h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--primary-accent);
}

.feature-text p {
  color: var(--text-gray);
  font-size: 1.1rem;
  margin-bottom: 20px;
}

.feature-img-box {
  flex: 1;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-img-box img {
  width: 100%;
  height: auto;
  transition: transform 0.5s ease;
}

.feature-img-box:hover img {
  transform: scale(1.05);
}

/* ============================= */
/*        FUTURE GOALS           */
/* ============================= */
.future-goals-section {
  text-align: center;
  padding: 80px 20px;
  background: var(--bg-darker);
}

.future-goals-container {
  max-width: 1000px;
  height: 400px;
  margin: 40px auto 0;
  border: 2px dashed rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-gray);
  font-family: var(--font-heading);
  font-size: 1.5rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ============================= */
/*       3D CSS CAROUSEL         */
/* ============================= */
.carousel-section {
  padding: 80px 0;
  background: #0a0a0a;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  min-height: 600px;
}

.carousel-3d {
  position: relative;
  width: 420px;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
}

.card-3d {
  position: absolute;
  width: 240px;
  height: 440px;
  border-radius: 24px;
  overflow: hidden;
  background: #111;
  border: 2px solid var(--primary-accent);
  box-shadow: inset 0 0 0 1px rgba(255, 215, 0, 0.6), 0 0 18px rgba(255, 215, 0, 0.25);
  transition: transform 1s ease, opacity 1s ease;
}

.card-3d img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}

/* Animations */
.card1 {
  transform: translateX(-220px) scale(.8);
  opacity: .6;
  animation: c1 12s infinite;
}

.card2 {
  transform: translateX(0) scale(1);
  opacity: 1;
  animation: c2 12s infinite;
}

.card3 {
  transform: translateX(220px) scale(.8);
  opacity: .6;
  animation: c3 12s infinite;
}

@keyframes c1 {

  0%,
  25% {
    transform: translateX(-220px) scale(.8);
    opacity: .6;
    z-index: 1;
  }

  33%,
  58% {
    transform: translateX(0) scale(1);
    opacity: 1;
    z-index: 2;
  }

  66%,
  91% {
    transform: translateX(220px) scale(.8);
    opacity: .6;
    z-index: 1;
  }
}

@keyframes c2 {

  0%,
  25% {
    transform: translateX(0) scale(1);
    opacity: 1;
    z-index: 2;
  }

  33%,
  58% {
    transform: translateX(220px) scale(.8);
    opacity: .6;
    z-index: 1;
  }

  66%,
  91% {
    transform: translateX(-150px) scale(.8);
    opacity: .6;
    z-index: 1;
  }
}

@keyframes c3 {

  0%,
  25% {
    transform: translateX(220px) scale(.8);
    opacity: .6;
    z-index: 1;
  }

  33%,
  58% {
    transform: translateX(-150px) scale(.8);
    opacity: .6;
    z-index: 1;
  }

  66%,
  91% {
    transform: translateX(0) scale(1);
    opacity: 1;
    z-index: 2;
  }
}


/* ============================= */
/*          FOOTER               */
/* ============================= */
.site-footer {
  background: var(--bg-darker);
  padding: 80px 20px 40px;
  border-top: 1px solid #222;
}

.footer-container {
  max-width: var(--container-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 50px;
}

.footer-col h4 {
  color: var(--primary-accent);
  margin-bottom: 25px;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 1px;
}

.footer-col ul li {
  margin-bottom: 15px;
}

.footer-col ul li a {
  color: var(--text-gray);
  font-size: 0.9rem;
  transition: 0.2s;
}

.footer-col ul li a:hover {
  color: var(--text-white);
}

.newsletter-box {
  background: #1a1a1a;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  margin-top: 60px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.newsletter-box h3 {
  margin-bottom: 15px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.newsletter-input {
  flex: 1;
  padding: 12px;
  background: #0f0f0f;
  border: 1px solid #333;
  color: white;
  border-radius: 4px;
}

.newsletter-btn {
  background: var(--primary-accent);
  color: #000;
  border: none;
  padding: 0 25px;
  font-weight: 700;
  cursor: pointer;
  border-radius: 4px;
}

.copyright {
  text-align: center;
  margin-top: 60px;
  color: #444;
  font-size: 0.8rem;
}

/* ============================= */
/*        AUTH PAGES             */
/* ============================= */
.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #1a1a1a 0%, #000 70%);
  padding: 80px 20px;
}

.auth-box {
  background: var(--bg-card);
  border-radius: 12px;
  width: 100%;
  max-width: 1000px;
  /* Wider for side-by-side */
  border: 1px solid rgba(255, 215, 0, 0.1);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  display: flex;
  overflow: hidden;
}

.left-panel {
  flex: 1;
  background: #050505;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-right: 1px solid #222;
}

.right-panel {
  flex: 1;
  padding: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.auth-header {
  text-align: center;
  margin-bottom: 30px;
}

.auth-header h1 {
  font-size: 2rem;
}

.auth-header p {
  color: var(--text-gray);
}

.auth-input-group label {
  display: block;
  font-size: 0.85rem;
  color: var(--text-gray);
  margin-bottom: 8px;
  text-transform: uppercase;
  font-weight: 600;
}

.auth-input-group input {
  width: 100%;
  padding: 15px;
  background: #0f0f0f;
  border: 1px solid #333;
  border-radius: 4px;
  color: white;
  margin-bottom: 20px;
  font-family: var(--font-heading);
}

.auth-input-group input:focus {
  outline: none;
  border-color: var(--primary-accent);
}

.auth-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.auth-link-text {
  text-align: center;
  color: var(--text-gray);
  font-size: 0.9rem;
}

.auth-link-text a {
  color: var(--primary-accent);
  font-weight: 600;
}

/* ============================= */
/*        RESPONSIVE             */
/* ============================= */
@media (max-width: 900px) {
  .hero-title {
    font-size: 3rem;
  }

  .feature-row {
    flex-direction: column !important;
    text-align: center;
  }

  .feature-row:nth-child(even) {
    flex-direction: column !important;
  }

  .auth-box {
    flex-direction: column;
    max-width: 500px;
  }

  .left-panel {
    display: none;
  }

  /* Hide carousel on mobile auth to save space */
  .footer-container {
    grid-template-columns: 1fr;
  }

  .hero-bg-img {
    display: none;
  }

  .carousel-3d {
    width: 100%;
  }

  /* Adjust for mobile */
  .card-3d {
    width: 180px;
    height: 320px;
  }

  /* Adjusted Keyframes for small screens if needed, otherwise scale works */
  @keyframes c1 {

    0%,
    25% {
      transform: translateX(-150px) scale(.8);
      opacity: .6;
      z-index: 1;
    }

    33%,
    58% {
      transform: translateX(0) scale(1);
      opacity: 1;
      z-index: 2;
    }

    66%,
    91% {
      transform: translateX(150px) scale(.8);
      opacity: .6;
      z-index: 1;
    }
  }

  @keyframes c2 {

    0%,
    25% {
      transform: translateX(0) scale(1);
      opacity: 1;
      z-index: 2;
    }

    33%,
    58% {
      transform: translateX(150px) scale(.8);
      opacity: .6;
      z-index: 1;
    }

    66%,
    91% {
      transform: translateX(-150px) scale(.8);
      opacity: .6;
      z-index: 1;
    }
  }

  @keyframes c3 {

    0%,
    25% {
      transform: translateX(150px) scale(.8);
      opacity: .6;
      z-index: 1;
    }

    33%,
    58% {
      transform: translateX(-150px) scale(.8);
      opacity: .6;
      z-index: 1;
    }

    66%,
    91% {
      transform: translateX(0) scale(1);
      opacity: 1;
      z-index: 2;
    }
  }

  .nav-links {
    display: none;
  }

  /* Simplify nav */
}