
/*
Theme Name: NextCube Christmas Deals Landing
Theme URI: https://deals.nextcubetech.com
Author: NextCube Tech
Author URI: https://nextcubetech.com
Description: Clean, colorful single-page Christmas Amazon affiliate landing page with snowfall effect. Built to work nicely with Elementor.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nextcube-christmas-deals
*/

/* Reset & base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top, #0f172a 0, #020617 55%, #020617 100%);
  color: #f9fafb;
  line-height: 1.6;
}

/* Snow container */
.snow-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 5;
}

.snowflake {
  position: absolute;
  top: -10px;
  color: #fff;
  font-size: 0.8rem;
  opacity: 0.75;
  animation-name: snowfall-fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}

@keyframes snowfall-fall {
  0% {
    transform: translateY(-10px);
    opacity: 0;
  }
  10% {
    opacity: 0.8;
  }
  100% {
    transform: translateY(110vh);
    opacity: 0;
  }
}

/* Layout */
.page-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  padding: 32px 16px 48px;
}

.main-card {
  position: relative;
  max-width: 1120px;
  width: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(15,23,42,0.98), rgba(8,47,73,0.96));
  box-shadow:
    0 20px 60px rgba(15,23,42,0.8),
    0 0 0 1px rgba(148,163,184,0.12);
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
}

@media (max-width: 900px) {
  .main-card {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Left side: hero + products */
.main-left {
  padding: 32px 28px 28px;
}

.badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(15,118,110,0.16);
  border: 1px solid rgba(45,212,191,0.4);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #e0f2fe;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34,197,94,0.35);
}

.timer-pill {
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px dashed rgba(148,163,184,0.7);
  font-size: 12px;
  color: #e5e7eb;
}

.hero-title {
  font-size: clamp(1.9rem, 2.3vw + 1.1rem, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #f9fafb;
  margin-bottom: 10px;
}

.hero-title span.accent {
  background: linear-gradient(120deg, #bef264, #22c55e, #22d3ee);
  -webkit-background-clip: text;
  color: transparent;
}

.hero-subtitle {
  font-size: 15px;
  color: #e5e7eb;
  max-width: 32rem;
  margin-bottom: 18px;
}

.hero-subtitle strong {
  color: #e0f2fe;
}

.countdown {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.countdown-item {
  min-width: 62px;
  padding: 9px 10px 10px;
  border-radius: 16px;
  background: rgba(15,23,42,0.85);
  border: 1px solid rgba(148,163,184,0.7);
  text-align: center;
}

.countdown-number {
  font-size: 20px;
  font-weight: 700;
  color: #f9fafb;
}

.countdown-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 18px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 11px 20px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: #022c22;
  box-shadow: 0 12px 30px rgba(22,163,74,0.6);
  text-decoration: none;
}

.btn-primary:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(148,163,184,0.8);
  background: rgba(15,23,42,0.7);
  color: #e5e7eb;
  font-size: 13px;
  text-decoration: none;
}

.btn-ghost:hover {
  background: rgba(31,41,55,0.9);
}

.hero-trust {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 11px;
  color: #9ca3af;
}

.hero-trust-stars {
  display: inline-flex;
  gap: 3px;
  color: #facc15;
}

.hero-trust-logos {
  display: inline-flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* Products grid */
.products-section {
  margin-top: 22px;
}

.products-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 12px;
}

.products-heading {
  font-size: 14px;
  font-weight: 600;
  color: #e5e7eb;
}

.products-note {
  font-size: 11px;
  color: #9ca3af;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.product-card {
  position: relative;
  border-radius: 18px;
  padding: 10px;
  background: radial-gradient(circle at top left, rgba(8,47,73,0.9), rgba(15,23,42,0.92));
  border: 1px solid rgba(148,163,184,0.6);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(239,68,68,0.9);
  color: #fef2f2;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.product-image-wrap {
  border-radius: 12px;
  overflow: hidden;
  background: radial-gradient(circle at top, #1e293b, #020617);
}

.product-image {
  width: 100%;
  display: block;
  object-fit: cover;
}

.product-title {
  font-size: 13px;
  font-weight: 600;
  color: #f9fafb;
}

.product-meta {
  font-size: 11px;
  color: #9ca3af;
}

.product-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}

.product-price {
  font-weight: 700;
  color: #bbf7d0;
}

.product-old-price {
  font-size: 11px;
  text-decoration: line-through;
  color: #6b7280;
}

.product-off {
  font-size: 11px;
  padding: 2px 7px;
  border-radius: 999px;
  background: rgba(22,163,74,0.16);
  color: #bbf7d0;
}

.product-cta {
  margin-top: 8px;
}

.product-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 7px 10px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(135deg, #f97316, #ea580c);
  color: #022c22;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}

.product-cta a:hover {
  filter: brightness(1.05);
}

/* Disclaimer */
.disclaimer {
  margin-top: 14px;
  font-size: 11px;
  color: #9ca3af;
}

/* Right side: visual */
.main-right {
  position: relative;
  padding: 32px 28px;
  background: radial-gradient(circle at top, #082f49, #020617);
  border-left: 1px solid rgba(148,163,184,0.5);
}

.hero-illustration-card {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  background: radial-gradient(circle at top left, #0ea5e9, #22c55e);
  padding: 16px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hero-illustration-img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(15,23,42,0.55);
}

.hero-illustration-img img {
  width: 100%;
  display: block;
  object-fit: cover;
}

.hero-illustration-label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #ecfdf5;
  opacity: 0.9;
  margin-bottom: 4px;
}

.hero-illustration-title {
  font-size: 16px;
  font-weight: 700;
  color: #ecfdf5;
  margin-bottom: 2px;
}

.hero-illustration-sub {
  font-size: 12px;
  color: #f9fafb;
  opacity: 0.95;
}

.side-highlight {
  margin-top: 14px;
  padding: 12px 12px;
  border-radius: 18px;
  background: rgba(15,23,42,0.7);
  border: 1px solid rgba(148,163,184,0.7);
  font-size: 12px;
  color: #e5e7eb;
}

/* Footer line */
.footer-line {
  margin-top: 18px;
  font-size: 10px;
  color: #6b7280;
}

.footer-line a {
  color: #9ca3af;
  text-decoration: underline;
}
