:root {
    --primary-red: #FA0000; /* Bright New Year Red */
    --primary-gold: #FFD24C; /* Warm Gold */
    --text-white: #ffffff;
    --glass-bg: rgba(255, 230, 230, 0.2);
    --glass-border: rgba(255, 215, 0, 0.4);
}

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

body {
    font-family: 'Noto Serif SC', serif;
    /* Brighter, festive gradient: Orange-Red to Rich Red */
    background: linear-gradient(135deg, #ff4b1f 0%, #ff9068 100%); 
    /* Alternative: Traditional Red */
    background: linear-gradient(135deg, #d31027 0%, #ea384d 100%);
    background: linear-gradient(to bottom right, #ff0844 0%, #ffb199 100%); /* Pink-Red Festive */
    background: radial-gradient(circle at center, #ff2e2e 0%, #c40000 100%); /* Radial Bright Red */
    
    color: var(--text-white);
    height: 100vh;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Festive Year of the Snake/Horse Theme (Generic Red Gold) */
    background-image: url('https://images.unsplash.com/photo-1613426839739-c529a674175b?q=80&w=2670&auto=format&fit=crop'); /* Red textured paper/gold */
    background-size: cover;
    background-position: center;
    opacity: 0.25;
    z-index: -1;
    filter: blur(0px);
}

/* Particle Canvas */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Sign-in Counter */
.signin-counter {
    position: fixed;
    top: 20px;
    left: 30px;
    background: linear-gradient(135deg, rgba(180, 0, 0, 0.9) 0%, rgba(120, 0, 0, 0.9) 100%);
    border: 2px solid var(--primary-gold);
    border-radius: 50px;
    padding: 12px 25px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 
                0 0 20px rgba(255, 215, 0, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    z-index: 100;
    animation: fadeIn 1s ease-out, pulse 3s ease-in-out infinite;
}

.counter-icon {
    font-size: 1.5rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.counter-text {
    font-size: 1.1rem;
    color: var(--text-white);
    font-weight: 500;
}

.counter-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-gold);
    font-family: 'Zcool XiaoWei', serif;
    text-shadow: 0 2px 10px rgba(255, 215, 0, 0.5);
    min-width: 50px;
    text-align: center;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.3); }
    50% { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 40px rgba(255, 215, 0, 0.5); }
}

.main-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

/* Banner Section */
.banner-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 1rem 0;
    flex: 0 0 auto;
}

.banner-container img {
    /* Reduced size as requested (approx half of previous 80%) */
    max-width: 40%; 
    height: auto;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
    animation: fadeInDown 1s ease-out;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Spotlight Section */
.spotlight-container {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden; 
}

/* Side Slogan - Positioned on the right */
.side-slogan {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    width: 25%; /* Larger size */
    max-width: 350px;
    z-index: 10;
    opacity: 0;
    animation: fadeInRight 1.5s ease-out 0.5s forwards;
}

.side-slogan img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateY(-50%) translateX(50px); }
    to { opacity: 1; transform: translateY(-50%) translateX(0); }
}



/* Spotlight Group (3 Cards) */
.spotlight-group {
    display: flex;
    gap: 4rem; 
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    width: 100%;
    padding: 0 4rem;
    height: 100%; 
}

/* Card - 3:4 Ratio */
.spotlight-card {
    /* Festive Gradient Background (Same as body/main theme) */
    background: linear-gradient(135deg, #d31027 0%, #ea384d 100%);
    /* Rich Gold Border */
    border: 3px solid #FFD700; 
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: center; 
    
    /* Clean shadow */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    
    background-clip: padding-box;
    position: relative;
    
    /* Size */
    width: 480px;
    height: auto;
    min-height: 600px;
    max-height: 75vh;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    
    opacity: 0; 
    transform: translateY(500px) scale(0.2);
    
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Removed the complex pseudo-element shimmer border */
.spotlight-card::before {
    display: none;
}

.spotlight-card.animate-in {
    animation: flyUp 1.2s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

@keyframes flyUp {
    0% { opacity: 0; transform: translateY(500px) scale(0.2); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

.spotlight-card img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    /* Matching Rich Gold */
    border: 3px solid #FFD700; 
    object-fit: cover;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.spotlight-card h1 {
    font-size: 2.8rem;
    margin-bottom: 0.8rem;
    /* Rich Gold Name */
    color: #FFD700; 
    font-family: 'Zcool XiaoWei', serif;
    text-shadow: 0 2px 4px rgba(0,0,0,0.6);
    font-weight: bold;
    letter-spacing: 2px;
}

.spotlight-card p {
    font-size: 2.2rem;
    color: #FFF8E7; /* Slightly warm white */
    line-height: 1.3;
    font-weight: bold;
    text-align: center;
    /* Hard shadow for legibility */
    text-shadow: 2px 2px 4px #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

/* Marquee Section */
.marquee-container {
  height: 140px; /* Slightly shorter */
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  width: 100vw;
  margin-left: -2rem; 
}

.marquee-track {
  display: flex;
  gap: 3rem;
  padding-left: 100vw; 
  animation: scroll-left 600s linear infinite; /* Drastically Slower: 600s */
  width: max-content;
}

.marquee-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  min-width: 250px;
  opacity: 0.8;
}

.marquee-item img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 2px solid var(--primary-gold);
}

.m-info h3 {
  font-size: 1rem;
  color: var(--primary-gold);
  margin-bottom: 0;
}

.m-info p {
  font-size: 0.9rem;
  color: #ddd;
}

@keyframes scroll-left {
  to {
    transform: translateX(-100%);
  }
}

.hidden {
  display: none;
}

/* Appended Styles for QR Code and Title */

/* Update spotlight container to allow side-by-side */
.spotlight-container {
    flex-direction: row;
    gap: 4rem;
}

.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    animation: fadeIn 1s ease-out;
}

.main-title {
    font-family: 'Zcool XiaoWei', serif;
    font-size: 2.5rem;
    color: var(--primary-gold);
    text-align: center;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 10px rgba(0,0,0,0.6);
    line-height: 1.3;
}

.qr-box {
    background: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-radius: 16px;
    box-shadow: 0 0 30px rgba(253, 216, 53, 0.3);
    border: 4px solid var(--primary-gold);
}

.qr-box img {
    width: 200px;
    height: 200px;
    display: block;
}

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

/* Adjust empty state to not overlap if used */
.empty-state {
    position: absolute;
    bottom: 2rem;
    font-size: 0.8rem;
    opacity: 0.5;
}
