:root {
  --bg-color: #0b0f19;
  --bg-secondary: #121826;
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --gold-primary: #d4af37;
  --gold-secondary: #f3e5ab;
  --gold-accent: #c5a017;
  --gold-gradient: linear-gradient(135deg, #f3e5ab 0%, #d4af37 50%, #aa8422 100%);
  --button-hover: linear-gradient(135deg, #fff0c7 0%, #e2c050 50%, #c49924 100%);
  --success: #16a34a;
  --success-hover: #15803d;
  --success-light: #22c55e;
  --glass-bg: rgba(18, 24, 38, 0.7);
  --glass-border: rgba(212, 175, 55, 0.2);
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .logo, .badge {
  font-family: 'Cinzel', serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-narrow {
  max-width: 800px;
}

.text-center {
  text-align: center;
}

/* Typography */
.highlight {
  background: var(--gold-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 700;
}

/* Navbar */
.navbar {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--glass-border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 15px 0;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  font-size: 1.8rem;
}

/* Buttons */
.btn-small {
  padding: 8px 16px;
  background: transparent;
  border: 1px solid var(--gold-primary);
  color: var(--gold-primary);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-small:hover {
  background: var(--gold-primary);
  color: var(--bg-color);
}

.btn-primary {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom, #22c55e, #16a34a);
  color: #fff;
  text-decoration: none;
  padding: 18px 40px;
  border-radius: 12px;
  font-size: 1.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: 0 8px 0 #15803d, 0 15px 20px rgba(22, 163, 74, 0.4);
  transition: all 0.15s ease;
  border: 1px solid #4ade80;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.3) 50%, rgba(255,255,255,0) 100%);
  transform: skewX(-25deg);
  animation: shine 4s infinite;
}

@keyframes shine {
  0% { left: -100%; }
  15% { left: 200%; }
  100% { left: 200%; }
}

.btn-primary:active {
  transform: translateY(8px);
  box-shadow: 0 0 0 #15803d, 0 5px 10px rgba(22, 163, 74, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(to bottom, #4ade80, #22c55e);
}

.btn-subtext {
  font-size: 0.95rem;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  opacity: 0.9;
  margin-top: 5px;
  text-shadow: none;
}

.pulse-animation {
  /* Animation replaced by shine effect on button */
}

/* Hero Section */
.hero {
  padding: 60px 0 80px;
  position: relative;
  background: transparent;
}

.hero-container {
  display: flex;
  align-items: center;
  gap: 50px;
}

.hero-content {
  flex: 1;
}

.badge {
  display: inline-block;
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--gold-primary);
  color: var(--gold-secondary);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.9rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.main-title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 20px;
  color: #fff;
}

.subtitle {
  font-size: 1.2rem;
  color: var(--text-secondary);
  margin-bottom: 40px;
}

/* Countdown & Offer */
.offer-wrapper {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 25px;
  border-radius: 12px;
  margin-bottom: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.offer-title {
  display: block;
  font-size: 1.1rem;
  color: var(--gold-primary);
  margin-bottom: 15px;
  font-weight: 600;
}

.countdown {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.time-box {
  background: var(--bg-color);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  width: 80px;
  height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.time-box span:first-child {
  font-weight: 700;
  font-size: 2.2rem;
  color: #fff;
  line-height: 1;
}

.time-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  margin-top: 5px;
}

.colon {
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-primary);
}

.pricing {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.old-price {
  text-decoration: line-through;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

.new-price {
  color: #fff;
  font-weight: 700;
  font-size: 1.4rem;
  background: var(--success);
  padding: 4px 12px;
  border-radius: 4px;
}

.guarantee {
  text-align: center;
  margin-top: 15px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* Book Image Effect */
.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1000px;
}

.book-wrapper {
  position: relative;
  width: 100%;
  max-width: 450px;
  transform-style: preserve-3d;
}

.glow-effect {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(212, 175, 55, 0.4) 0%, transparent 60%);
  z-index: -1;
  filter: blur(40px);
}

.book-cover {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: -15px 25px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(212, 175, 55, 0.2);
  transition: transform 0.1s ease-out;
}

/* Floating animation */
@keyframes float {
  0% { transform: translateY(0px) rotateY(-5deg) rotateX(5deg); }
  50% { transform: translateY(-20px) rotateY(-5deg) rotateX(10deg); box-shadow: -15px 45px 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(212, 175, 55, 0.4); }
  100% { transform: translateY(0px) rotateY(-5deg) rotateX(5deg); }
}

.floating {
  animation: float 6s ease-in-out infinite;
  transform: rotateY(-5deg) rotateX(5deg);
}

/* Features Section */
.features {
  padding: 80px 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #fff;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 50px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-card {
  background: var(--bg-color);
  border: 1px solid rgba(255,255,255,0.05);
  padding: 40px 30px;
  border-radius: 12px;
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--glass-border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.feature-card h3 {
  color: var(--gold-primary);
  font-size: 1.5rem;
  margin-bottom: 15px;
}

/* Context Section */
.context {
  padding: 80px 0;
  background: url('data:image/svg+xml;utf8,<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="%23d4af37" opacity="0.05"/></svg>');
}

.context-content {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-top: 40px;
}

.context-content p {
  margin-bottom: 20px;
}

.benefit-list {
  list-style-type: none;
  margin-top: 30px;
  background: var(--bg-secondary);
  padding: 30px;
  border-radius: 8px;
  border-left: 4px solid var(--gold-primary);
}

.benefit-list li {
  margin-bottom: 15px;
  color: #fff;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.benefit-list li:last-child {
  margin-bottom: 0;
}

.cta-container {
  margin-top: 50px;
  text-align: center;
}

/* Footer */
.footer {
  background-color: #05070a;
  padding: 40px 0;
  text-align: center;
  color: var(--text-secondary);
}

.disclaimer {
  font-size: 0.8rem;
  margin-top: 20px;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 992px) {
  .hero-container {
    flex-direction: column;
    text-align: center;
  }
  
  .offer-wrapper, .btn-primary {
    margin-left: auto;
    margin-right: auto;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .book-wrapper {
    margin-top: 40px;
  }
}

@media (max-width: 768px) {
  .main-title {
    font-size: 2.5rem;
  }
  
  .countdown {
    gap: 10px;
  }
  
  .time-box {
    width: 65px;
    height: 65px;
  }
  
  .time-box span:first-child {
    font-size: 1.8rem;
  }
  
  .btn-primary {
    font-size: 1.4rem;
    padding: 15px 20px;
  }
}

/* Background Particles */
#particles-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  overflow: hidden;
  background: radial-gradient(circle at center, #16243d 0%, #0b0f19 100%);
  pointer-events: none;
}

.particle {
  position: absolute;
  opacity: 0;
  animation: floatUp linear infinite;
  pointer-events: none;
}

.particle-gold {
  background: radial-gradient(circle, #f3e5ab 0%, rgba(212,175,55,0.8) 40%, transparent 70%);
  border-radius: 50%;
}

.particle-text {
  color: rgba(212, 175, 55, 0.15);
  font-family: serif;
  font-weight: bold;
}

@keyframes floatUp {
  0% {
    transform: translateY(110vh) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-20vh) rotate(360deg);
    opacity: 0;
  }
}
