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

body {
  background: #000;
  color: #f5f5f5;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  position: relative;
  overflow-x: hidden;
}

/* AURORA BACKGROUND */
body::before,
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 150%;
  height: 150%;
  background: linear-gradient(120deg, rgba(0,255,200,0.1), rgba(255,0,200,0.1), rgba(0,0,255,0.1));
  filter: blur(150px);
  animation: moveAurora 20s linear infinite alternate;
  z-index: 0;
  pointer-events: none;
}

body::after {
  animation-delay: -10s;
  background: linear-gradient(60deg, rgba(255,255,0,0.08), rgba(0,255,255,0.08), rgba(255,0,255,0.08));
}

@keyframes moveAurora {
  0% { transform: translate(-20%, -20%) rotate(0deg); }
  50% { transform: translate(20%, 20%) rotate(20deg); }
  100% { transform: translate(-20%, -20%) rotate(-20deg); }
}

/* NAVBAR - LOGO LEFT */
nav {
  display: flex;
  justify-content: flex-start; /* logo on left */
  align-items: center;
  padding: 16px 24px;
  position: relative;
  z-index: 1;
}

/* LOGO ANIMATION */
.logo {
  height: 120px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 15px #0ff);
}

/* HERO SECTION */
.hero {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 40px 24px;
  max-width: 800px;
  gap: 20px;
  opacity: 0;
  animation: fadeIn 2s forwards;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  font-weight: 600;
}

.subtitle {
  margin-top: 8px;
  opacity: 0.7;
}

.description {
  margin-top: 20px;
  max-width: 500px;
}

/* CTA BUTTON */
.cta {
  margin-top: 20px;
  display: inline-block;
  border: 1px solid #f5f5f5;
  padding: 12px 24px;
  color: #f5f5f5;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta:hover {
  background: #f5f5f5;
  color: #000;
  transform: scale(1.05);
}

/* FEATURED SECTION */
.featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  padding: 60px 24px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.featured img {
  width: 100%;
  max-width: 360px;
  border-radius: 8px;
  justify-self: center;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
  animation: floatCover 6s ease-in-out infinite;
  cursor: pointer;
}

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

.details h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 15px;
}

.details ul {
  margin: 15px 0;
}

.details li {
  list-style: none;
  opacity: 0.8;
}

.buy-btn {
  margin-top: 20px;
  padding: 12px 24px;
  background: transparent;
  border: 1px solid #f5f5f5;
  color: #f5f5f5;
  cursor: pointer;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.buy-btn:hover {
  background: #f5f5f5;
  color: #000;
  transform: scale(1.05);
}

.about {
  padding: 80px 24px;
  max-width: 700px;
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  position: relative;
  z-index: 1;
}

footer {
  padding: 30px 24px;
  font-size: 0.85rem;
  opacity: 0.6;
  position: relative;
  z-index: 1;
}

footer a {
  color: inherit;
  text-decoration: none;
}

/* RESPONSIVE */
@media (min-width: 768px) {
  .featured img { max-width: 400px; }
  .hero h1 { font-size: 3rem; }
  .logo { height: 140px; }
}

@media (max-width: 768px) {
  .featured { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2.2rem; }
  .logo { height: 100px; }
}

/* ============================= */
/* PREVIEW MODAL */
.preview-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  z-index: 999;
  display: none;
  overflow-y: auto;
  animation: fadePreview 0.6s ease forwards;
}

@keyframes fadePreview {
  from { opacity: 0; }
  to { opacity: 1; }
}

.preview-content {
  max-width: 720px;
  margin: 80px auto;
  padding: 24px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.preview-content img {
  width: 100%;
  margin-bottom: 40px;
  border-radius: 6px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9);
  animation: previewFloat 6s ease-in-out infinite;
}

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

.preview-content .close {
  position: fixed;
  top: 20px;
  right: 30px;
  font-size: 2.5rem;
  cursor: pointer;
  color: #f5f5f5;
  opacity: 0.7;
  transition: all 0.3s ease;
  z-index: 1000;
}

.preview-content .close:hover {
  opacity: 1;
  transform: scale(1.2);
  text-shadow: 0 0 15px #fff;
}

.preview-hint {
  margin-bottom: 30px;
  font-size: 0.9rem;
  opacity: 0.6;
  letter-spacing: 0.05em;
}
