/* Design Tokens & Theme */
:root {
  --bg-color: #0F0D0C;
  --bg-card: rgba(28, 25, 23, 0.75);
  --accent-gold: #D4AF37;
  --accent-rust: #C86D51;
  --accent-warm: #E6A15C;
  --text-main: #F4EFEA;
  --text-muted: #A89F91;
  --border-color: rgba(212, 175, 55, 0.2);
  --glass-bg: rgba(255, 255, 255, 0.04);
  --radius-lg: 16px;
  --radius-md: 10px;
  --shadow-glow: 0 0 30px rgba(212, 175, 55, 0.15);
}

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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Background Grain & Atmosphere */
.background-grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 20%, rgba(200, 109, 81, 0.15), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(212, 175, 55, 0.12), transparent 45%);
  pointer-events: none;
  z-index: 0;
}

/* Header */
.site-header {
  position: relative;
  z-index: 10;
  padding: 2rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-badge {
  display: inline-block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-gold);
  margin-bottom: 4px;
}

.logo h1 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--text-main);
  letter-spacing: 0.5px;
}

.logo h1 span {
  font-weight: 400;
  font-style: italic;
  color: var(--accent-warm);
}

/* Buttons */
.btn {
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.75rem 1.4rem;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-rust), var(--accent-gold));
  color: #0F0D0C;
  box-shadow: 0 4px 15px rgba(200, 109, 81, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

.btn-secondary {
  background: var(--glass-bg);
  color: var(--text-main);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(212, 175, 55, 0.15);
  border-color: var(--accent-gold);
}

.full-width {
  width: 100%;
  justify-content: center;
  margin-top: 1rem;
}

/* Hero Section */
.hero-container {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin: 3rem auto;
  padding: 0 2rem;
  text-align: center;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid rgba(212, 175, 55, 0.25);
  color: var(--accent-gold);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: 20px;
  margin-bottom: 2rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-gold);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--accent-gold);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 0.4; transform: scale(0.9); }
  50% { opacity: 1; transform: scale(1.2); }
  100% { opacity: 0.4; transform: scale(0.9); }
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  line-height: 1.15;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.5rem;
}

.hero-title i {
  font-weight: 400;
  color: var(--accent-warm);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 3rem auto;
}

/* Countdown Timer */
.countdown-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.countdown-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(12px);
  padding: 1.2rem 1.5rem;
  border-radius: var(--radius-lg);
  min-width: 100px;
  box-shadow: var(--shadow-glow);
}

.countdown-box .number {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent-gold);
}

.countdown-box .label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

.countdown-sep {
  font-size: 2rem;
  color: var(--accent-rust);
  font-weight: 300;
}

/* Form */
.subscribe-form {
  max-width: 500px;
  margin: 0 auto 4rem auto;
}

.input-group {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: 40px;
  padding: 4px;
  backdrop-filter: blur(10px);
}

.input-group input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0.8rem 1.4rem;
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
}

.input-group input::placeholder {
  color: var(--text-muted);
}

.form-msg {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: var(--accent-warm);
}

/* Unlocked VIP Section */
.unlocked-preview {
  margin-top: 3rem;
  background: rgba(28, 25, 23, 0.85);
  border: 1px solid var(--accent-gold);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: left;
  animation: fadeIn 0.5s ease;
}

.unlocked-header {
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1rem;
}

.unlocked-header h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  color: var(--accent-gold);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 1.5rem;
}

.catalog-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1rem;
  transition: transform 0.3s ease;
}

.catalog-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-gold);
}

.card-tag {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent-warm);
  margin-bottom: 0.5rem;
}

.card-img-placeholder {
  height: 100px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin-bottom: 0.8rem;
}

.gradient-1 { background: linear-gradient(45deg, #4A2E2B, #8C4336); }
.gradient-2 { background: linear-gradient(45deg, #2B3A4A, #36698C); }
.gradient-3 { background: linear-gradient(45deg, #3A4A2B, #5F8C36); }
.gradient-4 { background: linear-gradient(45deg, #4A3C2B, #8C6F36); }

.catalog-card h4 {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
}

.catalog-card .price {
  font-weight: 700;
  color: var(--accent-gold);
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-card {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 400px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

.close-btn {
  position: absolute;
  top: 1rem;
  right: 1.2rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.modal-card p {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.form-field {
  margin-bottom: 1.2rem;
  text-align: left;
}

.form-field label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-field input {
  width: 100%;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.75rem 1rem;
  border-radius: 8px;
  color: var(--text-main);
  outline: none;
}

.form-field input:focus {
  border-color: var(--accent-gold);
}

.login-error {
  color: var(--accent-rust);
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

.hidden {
  display: none !important;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Footer */
.site-footer {
  position: relative;
  z-index: 10;
  padding: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links {
  margin-top: 0.5rem;
}

.footer-links a {
  color: var(--accent-gold);
  text-decoration: none;
}
