/* christmas.css — scoped page styles for Christmas Countdown */

/* variables */
:root {
  --x-accent: #ffd166;
  --x-accent2: #ef476f;
  --x-muted: #9fb3c8;
}

/* Page root */
.xmas-page {
  background: #fff;
  color: #fff;
  overflow-x: hidden;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Snow layer */
#xmas-snow {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  overflow: hidden;
}
.xmas-flake {
  position: absolute;
  background: white;
  border-radius: 50%;
  filter: blur(0.6px);
  opacity: 0.9;
  will-change: transform, opacity;
}

/* HERO section */
.xmas-hero {
  position: relative;
  min-height: 110vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height, 56px) + 18px) 20px 140px; /* ensures hero starts below header */
  overflow: hidden;
  box-sizing: border-box;
}
.xmas-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
  transform: translateZ(0);
}
.xmas-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.12));
  z-index: 1;
  pointer-events: none;
}

.xmas-hero-inner {
  position: relative;
  z-index: 2;
  max-width: 980px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 12px;
  box-sizing: border-box;
}

.xmas-title {
  font-size: 44px;
  line-height: 1.02;
  text-align: center;
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  text-shadow: 0 6px 22px rgba(0, 0, 0, 0.45);
}

.xmas-subtitle {
  color: var(--x-muted);
  font-weight: 600;
  margin-bottom: 18px;
  font-size: 18px;
}

/* Clock grid */
.xmas-clock {
  width: 100%;
  max-width: 720px;
  display: grid;
  grid-template-columns: repeat(4, minmax(84px, 1fr));
  gap: 12px;
  align-items: center;
  justify-items: center;
  margin-top: 8px;
  box-sizing: border-box;
}

.xmas-time-card {
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(6px);
  padding: 16px 14px;
  border-radius: 14px;
  min-width: 92px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.32);
  border: 1px solid rgba(255, 255, 255, 0.03);
  text-align: center;
}
.xmas-value {
  font-size: 44px;
  font-weight: 900;
  color: var(--x-accent);
  line-height: 1;
}
.x-label {
  font-size: 13px;
  color: var(--x-muted);
  margin-top: 8px;
}

/* celebrate button */
.xmas-controls {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  width: 100%;
}
.xmas-btn {
  background: linear-gradient(90deg, var(--x-accent), var(--x-accent2));
  color: #071024;
  border: none;
  border-radius: 12px;
  padding: 13px 30px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  font-size: 16px;
}

/* main content */
.xmas-main {
  background: #f5f5f5;
  padding: 40px 16px 140px;
  z-index: 5;
  position: relative;
  box-sizing: border-box;
}
.xmas-content-inner {
  max-width: 980px;
  margin: 0 auto;
  padding: 0 18px;
  box-sizing: border-box;
}
.xmas-about {
  background: rgba(10, 12, 14, 0.86);
  color: #e6eef6;
  padding: 22px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.03);
  line-height: 1.7;
}

/* responsive */
@media (max-width: 920px) {
  .xmas-title { font-size: 40px; }
  .xmas-value { font-size: 40px; }
}



/* accessibility: prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
  .xmas-flake { transition: none !important; animation: none !important; }
}

/* FAQ Section */
.xmas-faq-section{
  margin-top: 28px;
  background: rgba(10,12,14,0.86);
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
  border: 1px solid rgba(255,255,255,0.03);
}

.xmas-faq-title{
  color:#fff;
  font-size:32px;
  margin-top:0;
  margin-bottom:20px;
  font-weight:800;
}

.xmas-faq-item{
  padding:18px 0;
  border-bottom:1px solid rgba(255,255,255,0.08);
}

.xmas-faq-item:last-child{
  border-bottom:none;
}

.xmas-faq-item h3{
  margin:0 0 10px;
  color:#fff;
  font-size:20px;
  line-height:1.4;
}

.xmas-faq-item p{
  margin:0;
  color:#d7dee7;
  line-height:1.8;
}



.xmas-article-image{
  width:100%;
  height:auto;
  display:block;
  border-radius:16px;
  margin:28px 0;
  border:4px solid rgba(255,255,255,0.92);
  overflow:hidden;
  box-sizing:border-box;
}
@media (max-width:720px){

  .xmas-hero{
    padding-top:calc(var(--nav-height, 56px) + 10px);
    padding-bottom:20px;
  }

  .xmas-title{
    font-size:30px;
  }

  .xmas-subtitle{
    font-size:16px;
  }

  .xmas-clock{
    grid-template-columns:repeat(2,1fr);
    column-gap:10px;
    row-gap:22px;
    max-width:520px;
  }

  .xmas-time-card{
    min-width:78px;
    padding:12px;
    border-radius:12px;
  }

  .xmas-value{
    font-size:34px;
  }

  .xmas-controls{
    margin-top:22px;
  }

  .xmas-main{
    padding:24px 10px 100px;
  }

  .xmas-content-inner{
    padding:0;
  }

  .xmas-about{
    padding:24px 18px;
    border-radius:16px;
  }

  .xmas-about h2{
    font-size:30px;
    line-height:1.3;
    margin-bottom:18px;
  }

  .xmas-about p{
    font-size:18px;
    line-height:1.95;
    color:#edf2f7;
  }

  .xmas-faq-section{
    margin-top:22px;
    padding:22px 18px;
    border-radius:16px;
  }

  .xmas-faq-title{
    font-size:28px;
    line-height:1.3;
  }

  .xmas-faq-item h3{
    font-size:20px;
    line-height:1.5;
  }

  .xmas-faq-item p{
    font-size:17px;
    line-height:1.9;
  }
  
  .xmas-quick-info{
  font-size:15px;
  line-height:1.8;
  margin-bottom:18px;
}

}

.xmas-quick-info{
  color:#edf2f7;
  text-align:center;
  max-width:720px;
  margin:0 auto 20px;
  line-height:1.7;
  font-size:16px;
  text-shadow:0 2px 10px rgba(0,0,0,0.35);
}