@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');

:root {
  --navy: #0F1C34;
  --gold: #C09858;
  --bg-color: #F8F6F2;
  --white: #FFFFFF;
  --text-main: #333333;
  --text-light: #666666;
  --border-color: #E2DDD2;
  --light-beige: #F1EFE9;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .serif {
  font-family: 'Playfair Display', serif;
  color: var(--navy);
  font-weight: 400;
}

/* Header */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 60px;
  background-color: rgba(248, 246, 242, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.03);
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-box {
  background-color: var(--navy);
  color: var(--white);
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 4px;
}

.logo-text-wrapper {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--navy);
  line-height: 1.1;
}

.logo-subtitle {
  font-size: 10px;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  font-size: 15px;
  transition: color 0.2s;
}

.nav-links a.active {
  border-bottom: 2px solid var(--gold);
  padding-bottom: 4px;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}

.hamburger {
  display: none;
  cursor: pointer;
  margin-left: 20px;
}

.hamburger svg {
  width: 28px;
  height: 28px;
  stroke: var(--navy);
}


.icon-bag {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  cursor: pointer;
}

.btn-primary {
  background-color: var(--navy);
  color: var(--white);
  padding: 10px 24px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-primary:hover {
  background-color: #1a2a4a;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 60px 50px 100px;
  background: linear-gradient(to right, #F8F6F2 50%, #ECE9E1 100%);
}

.hero-content {
  max-width: 450px;
}

.hero-tag {
  color: var(--gold);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
  display: inline-block;
  font-weight: 500;
}

.hero h1 {
  font-size: 56px;
  line-height: 1.1;
  margin-bottom: 16px;
  position: relative;
}

.hero h1::after {
  content: '';
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--gold);
  margin-top: 24px;
}

.hero p {
  color: var(--text-light);
  font-size: 16px;
  line-height: 1.6;
}

.hero-image-container {
  flex: 1;
  display: flex;
  justify-content: flex-end;
  max-width: 800px;
}

.hero-image-container img {
  width: 100%;
  max-width: 800px;
  height: 350px;
  object-fit: cover;
  object-position: center;
  border-radius: 4px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Main Content area */
.main-content {
  background-color: var(--white);
  padding: 40px 60px 80px 60px;
  border-top-left-radius: 30px;
  border-top-right-radius: 30px;
  margin-top: -30px;
  position: relative;
}

/* Filters */
.filters {
  position: sticky;
  top: 88px; /* Below the header */
  z-index: 99;
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  overflow-x: auto;
  padding: 16px 0;
  background-color: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.03);
  margin-left: -60px;
  margin-right: -60px;
  padding-left: 60px;
  padding-right: 60px;
}

.filter-btn {
  background: var(--white);
  border: 1px solid var(--border-color);
  padding: 8px 20px;
  border-radius: 20px;
  color: var(--text-main);
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.filter-btn:hover:not(.active) {
  border-color: var(--gold);
  color: var(--gold);
}

/* Grid */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

/* Card */
.card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.05);
}

.card-image-wrapper {
  position: relative;
  width: 100%;
  padding-top: 177.77%; /* 9:16 Aspect Ratio for tall mobile cards */
  overflow: hidden;
  background: #f0f0f0;
}

.card-image-wrapper img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0,0,0,0.2);
  border: 2px solid var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  cursor: pointer;
  transition: transform 0.2s, background 0.2s;
}

.card-image-wrapper:hover .play-button {
  transform: translate(-50%, -50%) scale(1.1);
  background: rgba(0,0,0,0.4);
}

.play-icon {
  width: 0; 
  height: 0; 
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid var(--white);
  margin-left: 4px;
}

.card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-tag {
  font-size: 10px;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  font-weight: 500;
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  color: var(--navy);
  margin-bottom: 8px;
}

.card-desc {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.5;
  margin-bottom: 16px;
  flex: 1;
}

.card-price {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 20px;
}

.card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-card {
  width: 100%;
  padding: 10px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s;
}

.btn-preview {
  background-color: var(--navy);
  color: var(--white);
  border: none;
}

.btn-preview:hover {
  background-color: #1a2a4a;
}

.btn-preview-icon {
  width: 0; 
  height: 0; 
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 8px solid var(--gold);
}

.btn-share {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-share:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-personalize {
  background-color: transparent;
  color: var(--gold);
  border: none;
}

.btn-personalize svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

/* Info Column (4th column, 2nd row) */
.info-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  flex-shrink: 0;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.feature-text h4 {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

.feature-text p {
  font-size: 13px;
  color: var(--text-light);
  line-height: 1.4;
}

.help-box {
  background-color: var(--light-beige);
  padding: 24px;
  border-radius: 8px;
  margin-top: auto;
}

.help-box h4 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin-bottom: 8px;
}

.help-box p {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 16px;
  line-height: 1.5;
}

.help-link {
  color: var(--gold);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.help-link:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: var(--navy);
  color: var(--white);
  padding: 40px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo-section {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 32px;
  color: var(--gold);
  font-weight: 600;
}

.footer-text p {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
}

.footer-text p:first-child {
  font-weight: 500;
}

.footer-text p:last-child {
  color: #a0aabf;
}

.footer-trust {
  display: flex;
  gap: 40px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  width: 24px;
  height: 24px;
  color: var(--gold);
}

.trust-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  stroke-width: 1.5;
  fill: none;
}

.trust-text p {
  margin: 0;
  font-size: 13px;
}

.trust-text p:first-child {
  font-weight: 500;
}

.trust-text p:last-child {
  color: #a0aabf;
}

.footer-copy {
  font-size: 12px;
  color: #a0aabf;
}

/* 3D Player Styles (Shared) */
.card-3d-scene {
  width: 320px;
  height: 440px;
  position: relative;
  transform-style: preserve-3d;
}

.card-panel {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 4px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  backface-visibility: hidden;
}

.card-inside-panel {
  background: #fff;
  z-index: 1;
  overflow: hidden;
}

.card-front-panel {
  z-index: 3;
  transform-origin: left center;
  transition: transform ease-in-out;
  border-left: 2px solid rgba(0,0,0,0.1);
}

.card-back-panel {
  z-index: 2;
  transform-origin: right center;
  transform: rotateY(180deg);
  transition: transform ease-in-out;
  border-right: 2px solid rgba(0,0,0,0.1);
}

.card-front-panel.is-open {
  transform: rotateY(-135deg);
}

.card-back-panel.is-closed {
  transform: rotateY(0deg);
  z-index: 4;
}

/* Storefront Modal Viewer */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 28, 52, 0.95);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: var(--white);
  font-size: 40px;
  cursor: pointer;
  z-index: 1010;
  transition: color 0.2s;
}

.modal-close:hover {
  color: var(--gold);
}

.play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  background: rgba(0,0,0,0.3);
  border-radius: 4px;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.gold-play-button {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #DFBE84 0%, #B88A44 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3), inset 0 2px 5px rgba(255,255,255,0.4);
  margin-bottom: 16px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.gold-play-button svg {
  width: 32px;
  height: 32px;
  fill: var(--white);
  margin-left: 6px;
}

.play-overlay:hover .gold-play-button {
  transform: scale(1.05);
  box-shadow: 0 15px 30px rgba(0,0,0,0.4), inset 0 2px 5px rgba(255,255,255,0.4);
}

.play-text {
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
  .main-layout {
    flex-direction: column;
  }
  .sidebar-area {
    width: 100% !important;
    margin-top: 40px;
  }
  .info-column {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }
  .feature-item, .help-box {
    flex: 1;
    min-width: 250px;
  }
}

@media (max-width: 900px) {
  header {
    padding: 16px 20px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  }
  .nav-links.mobile-active {
    display: flex;
  }
  .hamburger {
    display: block;
  }
  .filters {
    padding: 12px 20px;
    margin-left: -20px;
    margin-right: -20px;
  }
  .main-content {
    padding: 20px;
  }
  .hero {
    flex-direction: column;
    padding: 40px;
  }
  .hero-content {
    margin-bottom: 40px;
    max-width: 100%;
  }
  .footer-trust {
    display: none;
  }
}

@media (max-width: 600px) {
  .grid {
    grid-template-columns: 1fr;
  }
}
