/* ==========================================
   CHINWA DAY SPECIAL PAGE STYLES
   🏮 Complete Celebration Experience
   ========================================== */

/* Special Page Base */
.chinwa-special-page {
  background: linear-gradient(180deg, #0a0a0a 0%, #1a0a0a 100%);
  overflow-x: hidden;
}

/* Hero Section */
.chinwa-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 80px;
  background: linear-gradient(180deg, 
    rgba(196, 30, 58, 0.2) 0%,
    rgba(212, 175, 55, 0.1) 50%,
    transparent 100%
  );
  overflow: hidden;
}

.floating-lanterns {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
}

.floating-lanterns .lantern {
  position: absolute;
  font-size: 60px;
  opacity: 0.15;
  animation: floatLantern 15s ease-in-out infinite;
}

.floating-lanterns .lantern:nth-child(1) {
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.floating-lanterns .lantern:nth-child(2) {
  top: 20%;
  right: 15%;
  animation-delay: 2s;
}

.floating-lanterns .lantern:nth-child(3) {
  top: 60%;
  left: 20%;
  animation-delay: 4s;
}

.floating-lanterns .lantern:nth-child(4) {
  top: 70%;
  right: 10%;
  animation-delay: 6s;
}

.floating-lanterns .lantern:nth-child(5) {
  top: 40%;
  right: 50%;
  animation-delay: 3s;
}

.chinwa-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--chinwa-gold), var(--chinwa-gold-light));
  color: var(--chinwa-red);
  padding: 12px 32px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 18px;
  margin-bottom: 24px;
  border: 3px solid var(--chinwa-red);
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.5);
  letter-spacing: 3px;
}

.chinwa-title {
  position: relative;
  z-index: 2;
  margin-bottom: 24px;
}

.title-main {
  display: block;
  font-size: clamp(48px, 10vw, 96px);
  font-weight: 900;
  background: linear-gradient(135deg, var(--chinwa-gold), var(--chinwa-gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 4px 20px rgba(212, 175, 55, 0.5);
  letter-spacing: 4px;
  line-height: 1.1;
}

.title-sub {
  display: block;
  font-size: clamp(24px, 4vw, 36px);
  color: var(--chinwa-ivory);
  margin-top: 16px;
  font-weight: 400;
  letter-spacing: 8px;
}

.chinwa-date {
  font-size: clamp(20px, 3vw, 28px);
  color: var(--chinwa-gold);
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.chinwa-tagline {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--chinwa-ivory);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.hero-decorations {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 40px;
  font-size: 48px;
}

.hero-decorations .decoration {
  animation: bounce 2s ease-in-out infinite;
}

.hero-decorations .decoration:nth-child(2) {
  animation-delay: 0.3s;
}

.hero-decorations .decoration:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* Section Title */
.section-title {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  text-align: center;
  color: var(--chinwa-gold);
  margin-bottom: 60px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.title-icon {
  font-size: 1.2em;
  margin: 0 16px;
}

/* Information Section */
.chinwa-info {
  padding: 100px 24px;
  position: relative;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.info-card {
  background: linear-gradient(135deg, 
    rgba(196, 30, 58, 0.1) 0%,
    rgba(15, 15, 15, 0.95) 100%
  );
  border: 2px solid var(--chinwa-gold);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  transition: all 0.3s ease;
}

.info-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(212, 175, 55, 0.4);
  border-color: var(--chinwa-gold-light);
}

.info-icon {
  font-size: 64px;
  margin-bottom: 24px;
}

.info-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--chinwa-gold);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.info-description {
  color: var(--chinwa-ivory);
  line-height: 1.8;
  font-size: 15px;
}

/* Lucky Number Game */
.lucky-number-game {
  padding: 100px 24px;
  background: linear-gradient(180deg, 
    transparent 0%,
    rgba(196, 30, 58, 0.05) 100%
  );
}

.game-container {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.game-card {
  background: linear-gradient(135deg, 
    rgba(15, 15, 15, 0.95) 0%,
    rgba(25, 10, 10, 0.95) 100%
  );
  border: 3px solid var(--chinwa-gold);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 12px 40px rgba(196, 30, 58, 0.3);
}

.game-header h3 {
  font-size: 28px;
  color: var(--chinwa-gold);
  margin-bottom: 12px;
  font-weight: 800;
}

.game-header p {
  color: var(--chinwa-ivory);
  margin-bottom: 32px;
}

.game-stats {
  display: flex;
  gap: 24px;
  margin-bottom: 32px;
}

.stat {
  flex: 1;
  background: rgba(196, 30, 58, 0.2);
  border: 2px solid var(--chinwa-gold);
  border-radius: 12px;
  padding: 16px;
  text-align: center;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: var(--chinwa-ivory);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 600;
}

.stat-value {
  display: block;
  font-size: 32px;
  font-weight: 900;
  color: var(--chinwa-gold);
}

.game-area {
  text-align: center;
}

.number-display {
  width: 150px;
  height: 150px;
  margin: 0 auto 32px;
  background: linear-gradient(135deg, var(--chinwa-red), var(--chinwa-red-dark));
  border: 4px solid var(--chinwa-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 40px rgba(196, 30, 58, 0.6);
}

.question-mark {
  font-size: 72px;
  font-weight: 900;
  color: var(--chinwa-gold);
}

.hint-box {
  background: rgba(212, 175, 55, 0.1);
  border: 2px dashed var(--chinwa-gold);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
}

.hint-box p {
  color: var(--chinwa-ivory);
  font-size: 16px;
  margin: 0;
}

.game-controls {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}

.guess-input {
  flex: 1;
  padding: 16px 24px;
  background: rgba(15, 15, 15, 0.9);
  border: 2px solid var(--chinwa-gold);
  border-radius: 12px;
  color: var(--chinwa-ivory);
  font-size: 18px;
  font-weight: 700;
  text-align: center;
}

.guess-input:focus {
  outline: none;
  border-color: var(--chinwa-gold-light);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.guess-button {
  padding: 16px 32px;
  background: linear-gradient(135deg, var(--chinwa-gold), var(--chinwa-gold-light));
  border: none;
  border-radius: 12px;
  color: var(--chinwa-red);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.guess-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.5);
}

.new-game-button {
  padding: 12px 24px;
  background: transparent;
  border: 2px solid var(--chinwa-gold);
  border-radius: 12px;
  color: var(--chinwa-gold);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
}

.new-game-button:hover {
  background: var(--chinwa-gold);
  color: var(--chinwa-red);
}

/* Leaderboard */
.leaderboard-card {
  background: linear-gradient(135deg, 
    rgba(15, 15, 15, 0.95) 0%,
    rgba(25, 10, 10, 0.95) 100%
  );
  border: 3px solid var(--chinwa-gold);
  border-radius: 20px;
  padding: 32px;
  box-shadow: 0 12px 40px rgba(196, 30, 58, 0.3);
}

.leaderboard-card h3 {
  font-size: 24px;
  color: var(--chinwa-gold);
  margin-bottom: 24px;
  text-align: center;
  font-weight: 800;
}

.leaderboard-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: rgba(196, 30, 58, 0.1);
  border: 2px solid var(--chinwa-gold);
  border-radius: 12px;
  margin-bottom: 12px;
}

.leaderboard-item .rank {
  font-size: 32px;
}

.leaderboard-item .player {
  flex: 1;
  color: var(--chinwa-ivory);
  font-weight: 600;
}

.leaderboard-item .points {
  font-size: 20px;
  font-weight: 900;
  color: var(--chinwa-gold);
}

/* Math Puzzle */
.math-puzzle {
  padding: 100px 24px;
}

.puzzle-container {
  max-width: 900px;
  margin: 0 auto;
}

.puzzle-card {
  background: linear-gradient(135deg, 
    rgba(15, 15, 15, 0.95) 0%,
    rgba(25, 10, 10, 0.95) 100%
  );
  border: 3px solid var(--chinwa-gold);
  border-radius: 20px;
  padding: 48px;
  box-shadow: 0 12px 40px rgba(196, 30, 58, 0.3);
}

.puzzle-header h3 {
  font-size: 28px;
  color: var(--chinwa-gold);
  margin-bottom: 8px;
  font-weight: 800;
}

.puzzle-origin {
  color: var(--chinwa-ivory);
  font-style: italic;
  margin-bottom: 32px;
  opacity: 0.8;
}

.puzzle-question {
  background: rgba(212, 175, 55, 0.1);
  border-left: 4px solid var(--chinwa-gold);
  padding: 24px;
  color: var(--chinwa-ivory);
  line-height: 1.8;
  margin-bottom: 32px;
  border-radius: 8px;
  font-size: 16px;
}

.puzzle-input-area {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}

.input-group {
  text-align: center;
}

.input-group label {
  display: block;
  font-size: 24px;
  margin-bottom: 12px;
  color: var(--chinwa-gold);
  font-weight: 700;
}

.input-group input {
  width: 100%;
  padding: 16px;
  background: rgba(15, 15, 15, 0.9);
  border: 2px solid var(--chinwa-gold);
  border-radius: 12px;
  color: var(--chinwa-ivory);
  font-size: 24px;
  font-weight: 700;
  text-align: center;
}

.puzzle-result {
  background: rgba(196, 30, 58, 0.1);
  border: 2px solid var(--chinwa-gold);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.puzzle-result p {
  color: var(--chinwa-ivory);
  font-size: 16px;
  font-weight: 600;
  margin: 0;
}

.puzzle-result span {
  color: var(--chinwa-gold);
  font-size: 20px;
  font-weight: 900;
}

.check-button {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--chinwa-gold), var(--chinwa-gold-light));
  border: none;
  border-radius: 12px;
  color: var(--chinwa-red);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
}

.check-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212, 175, 55, 0.5);
}

.puzzle-feedback {
  margin-top: 24px;
  padding: 20px;
  border-radius: 12px;
  text-align: center;
  font-weight: 700;
  font-size: 18px;
}

.puzzle-feedback.correct {
  background: rgba(16, 185, 129, 0.2);
  border: 2px solid #10b981;
  color: #10b981;
}

.puzzle-feedback.incorrect {
  background: rgba(239, 68, 68, 0.2);
  border: 2px solid #ef4444;
  color: #ef4444;
}

/* Cultural Facts */
.cultural-facts {
  padding: 100px 24px;
  background: linear-gradient(180deg, 
    rgba(212, 175, 55, 0.05) 0%,
    transparent 100%
  );
}

.facts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.fact-card {
  background: linear-gradient(135deg, 
    rgba(196, 30, 58, 0.1) 0%,
    rgba(15, 15, 15, 0.95) 100%
  );
  border: 2px solid var(--chinwa-gold);
  border-radius: 16px;
  padding: 32px;
  text-align: center;
  transition: all 0.3s ease;
}

.fact-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 16px 48px rgba(212, 175, 55, 0.4);
  border-color: var(--chinwa-gold-light);
}

.fact-number {
  font-size: 56px;
  margin-bottom: 20px;
}

.fact-card h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--chinwa-gold);
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.fact-card p {
  color: var(--chinwa-ivory);
  line-height: 1.7;
  font-size: 14px;
}

/* Red Envelopes Section */
.red-envelopes {
  padding: 100px 24px;
}

.envelope-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.wish-form,
.wishes-display {
  background: linear-gradient(135deg, 
    rgba(15, 15, 15, 0.95) 0%,
    rgba(25, 10, 10, 0.95) 100%
  );
  border: 3px solid var(--chinwa-gold);
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 12px 40px rgba(196, 30, 58, 0.3);
}

.wish-form h3,
.wishes-display h3 {
  font-size: 24px;
  color: var(--chinwa-gold);
  margin-bottom: 16px;
  font-weight: 800;
  text-align: center;
}

.wish-form p {
  color: var(--chinwa-ivory);
  text-align: center;
  margin-bottom: 24px;
}

.wish-textarea {
  width: 100%;
  min-height: 150px;
  padding: 20px;
  background: rgba(15, 15, 15, 0.9);
  border: 2px solid var(--chinwa-gold);
  border-radius: 12px;
  color: var(--chinwa-ivory);
  font-size: 15px;
  line-height: 1.6;
  resize: vertical;
  font-family: 'Inter', sans-serif;
}

.wish-textarea:focus {
  outline: none;
  border-color: var(--chinwa-gold-light);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.char-count {
  text-align: right;
  color: var(--chinwa-ivory);
  opacity: 0.7;
  font-size: 14px;
  margin-bottom: 20px;
}

.send-wish-button {
  width: 100%;
  padding: 18px;
  background: linear-gradient(135deg, var(--chinwa-red), var(--chinwa-red-dark));
  border: 2px solid var(--chinwa-gold);
  border-radius: 12px;
  color: var(--chinwa-gold);
  font-size: 18px;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
}

.send-wish-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(196, 30, 58, 0.5);
}

.wishes-list {
  max-height: 400px;
  overflow-y: auto;
  padding-right: 10px;
}

.wish-item {
  background: rgba(196, 30, 58, 0.1);
  border: 2px solid var(--chinwa-gold);
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}

.wish-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.wish-item p {
  color: var(--chinwa-ivory);
  line-height: 1.6;
  margin-bottom: 12px;
  font-style: italic;
}

.wish-author {
  color: var(--chinwa-gold);
  font-size: 14px;
  font-weight: 600;
}

/* Events Calendar */
.events-calendar {
  padding: 100px 24px;
  background: linear-gradient(180deg, 
    transparent 0%,
    rgba(196, 30, 58, 0.05) 100%
  );
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.day-column {
  background: linear-gradient(135deg, 
    rgba(15, 15, 15, 0.95) 0%,
    rgba(25, 10, 10, 0.95) 100%
  );
  border: 3px solid var(--chinwa-gold);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(196, 30, 58, 0.3);
}

.day-header {
  background: linear-gradient(135deg, var(--chinwa-red), var(--chinwa-red-dark));
  padding: 32px;
  text-align: center;
  border-bottom: 3px solid var(--chinwa-gold);
}

.day-header h3 {
  font-size: 28px;
  color: var(--chinwa-gold);
  margin-bottom: 8px;
  font-weight: 900;
}

.day-header p {
  color: var(--chinwa-ivory);
  font-size: 16px;
}

.events-list {
  padding: 32px;
}

.event-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.event-item:last-child {
  border-bottom: none;
}

.event-item .time {
  font-size: 14px;
  font-weight: 700;
  color: var(--chinwa-gold);
  min-width: 80px;
}

.event-details h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--chinwa-ivory);
  margin-bottom: 4px;
}

.event-details p {
  font-size: 14px;
  color: var(--chinwa-ivory);
  opacity: 0.7;
}

/* CTA Section */
.chinwa-cta {
  padding: 100px 24px;
}

.cta-content {
  background: linear-gradient(135deg, 
    var(--chinwa-red) 0%,
    var(--chinwa-red-dark) 50%,
    var(--chinwa-red) 100%
  );
  border: 4px solid var(--chinwa-gold);
  border-radius: 24px;
  padding: 80px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 56px rgba(196, 30, 58, 0.6);
}

.cta-decorations {
  margin-bottom: 24px;
}

.cta-decorations .deco {
  font-size: 48px;
  margin: 0 20px;
  display: inline-block;
  animation: bounce 2s ease-in-out infinite;
}

.cta-decorations .deco:nth-child(2) {
  animation-delay: 0.3s;
}

.cta-decorations .deco:nth-child(3) {
  animation-delay: 0.6s;
}

.cta-content h2 {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 900;
  color: var(--chinwa-gold);
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.cta-content > p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--chinwa-ivory);
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-button {
  padding: 18px 40px;
  border-radius: 12px;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-button.primary {
  background: linear-gradient(135deg, var(--chinwa-gold), var(--chinwa-gold-light));
  color: var(--chinwa-red);
  border: 2px solid var(--chinwa-gold-light);
}

.cta-button.primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(212, 175, 55, 0.6);
}

.cta-button.secondary {
  background: transparent;
  border: 2px solid var(--chinwa-gold);
  color: var(--chinwa-gold);
}

.cta-button.secondary:hover {
  background: var(--chinwa-gold);
  color: var(--chinwa-red);
  transform: translateY(-4px);
}

/* Responsive */
@media (max-width: 1024px) {
  .game-container {
    grid-template-columns: 1fr;
  }
  
  .envelope-container {
    grid-template-columns: 1fr;
  }
  
  .calendar-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .puzzle-input-area {
    grid-template-columns: 1fr;
  }
  
  .puzzle-result {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  
  .game-stats {
    flex-direction: column;
  }
  
  .cta-buttons {
    flex-direction: column;
  }
  
  .cta-button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .floating-lanterns .lantern {
    font-size: 40px;
  }
  
  .hero-decorations {
    gap: 20px;
    font-size: 36px;
  }
  
  .info-grid {
    grid-template-columns: 1fr;
  }
  
  .facts-grid {
    grid-template-columns: 1fr;
  }
}