
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    body {
      font-family: 'Inter', sans-serif;
      background: linear-gradient(135deg, #0a0014, #1b0033, #000000);
      background-size: 300% 300%;
      animation: gradientFlow 12s ease infinite;
      color: #fff;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: clamp(1rem, 4vw, 2rem);
      overflow-x: hidden;
    }
    @keyframes gradientFlow {
      0% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
      100% { background-position: 0% 50%; }
    }
    .glow-text {
      font-family: 'Orbitron', sans-serif;
      text-shadow: 0 0 10px #ff00ff, 0 0 20px #9900ff, 0 0 40px #6600ff;
      font-size: clamp(2rem, 8vw, 4rem);
      margin-bottom: clamp(1rem, 4vw, 2rem);
      text-align: center;
    }
    .glass-card {
      background: rgba(255, 255, 255, 0.05);
      border-radius: 1rem;
      border: 1px solid rgba(255, 255, 255, 0.15);
      box-shadow: 0 4px 16px rgba(0,0,0,0.6);
      backdrop-filter: blur(8px);
      transition: all 0.3s ease;
      width: 100%;
      max-width: clamp(20rem, 90vw, 28rem);
      padding: clamp(1rem, 3vw, 1.5rem);
      margin: clamp(0.5rem, 2vw, 1rem);
    }
    .glass-card:hover {
      box-shadow: 0 0 20px rgba(255, 0, 255, 0.5), 0 0 40px rgba(153, 0, 255, 0.4);
      transform: translateY(-2px);
    }
    input, select {
      background: rgba(0,0,0,0.5);
      border: 1px solid rgba(255,255,255,0.15);
      border-radius: 0.5rem;
      padding: clamp(0.5rem, 2vw, 0.75rem);
      color: #fff;
      outline: none;
      transition: border-color 0.3s, box-shadow 0.3s;
      width: 100%;
      font-size: clamp(0.9rem, 3vw, 1rem);
      font-family: 'Inter', sans-serif;
    }
    input:focus, select:focus {
      border-color: #ff00ff;
      box-shadow: 0 0 10px #ff00ff66;
    }
    input[type="datetime-local"] {
      appearance: none;
      -webkit-appearance: none;
      padding: clamp(0.4rem, 1.5vw, 0.6rem);
      font-size: clamp(0.8rem, 2.8vw, 0.9rem);
      line-height: 1.5;
      background: rgba(0,0,0,0.6);
      border: 1px solid #ff00ff80;
      cursor: pointer;
    }
    input[type="datetime-local"]::-webkit-datetime-edit {
      color: #fff;
      padding-left: 0.5rem;
    }
    input[type="datetime-local"]::-webkit-calendar-picker-indicator {
      filter: invert(1) hue-rotate(300deg);
      background: none;
      padding: 0.5rem;
      cursor: pointer;
    }
    .btn-primary {
      background: linear-gradient(45deg, #ff00ff, #6600ff);
      border: none;
      color: #fff;
      padding: clamp(0.75rem, 2.5vw, 1rem);
      font-weight: 600;
      border-radius: 0.5rem;
      transition: all 0.3s ease;
      cursor: pointer;
      width: 100%;
      font-size: clamp(0.9rem, 3.5vw, 1rem);
    }
    .btn-primary:hover {
      transform: scale(1.03);
      box-shadow: 0 0 15px #ff00ff99;
    }
    .btn-primary:active {
      transform: scale(0.98);
    }

    /* Fullscreen Timer */
    #fullscreen-timer {
      display: none;
      position: fixed;
      inset: 0;
      background: radial-gradient(circle at center, #0a0014, #000);
      z-index: 9998;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      text-align: center;
      animation: gradientFlow 8s infinite;
    }
    .timer-box {
      display: flex;
      gap: clamp(0.3rem, 1.5vw, 0.5rem);
      flex-wrap: wrap;
      justify-content: center;
      padding: clamp(0.5rem, 2vw, 1rem);
    }
    .timer-unit {
      font-family: 'Orbitron', sans-serif;
      font-size: clamp(1.5rem, 8vw, 3.5rem);
      text-shadow: 0 0 15px #ff00ff, 0 0 30px #6600ff;
    }
    .unit-label {
      font-size: clamp(0.7rem, 3vw, 1rem);
      margin-left: clamp(0.1rem, 0.5vw, 0.2rem);
      color: #ccc;
    }
    .blink {
      animation: blinkAnim 1s infinite;
      color: red !important;
      text-shadow: 0 0 15px red, 0 0 30px red !important;
    }
    @keyframes blinkAnim {
      0%, 100% { opacity: 1; }
      50% { opacity: 0; }
    }

    /* Celebration */
    #celebration {
      display: none;
      position: fixed;
      inset: 0;
      z-index: 9999;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      text-align: center;
      background: #000000f0;
      background-size: cover;
      background-position: center;
      animation: fadeIn 1s ease forwards;
      overflow: hidden;
    }
    .celebration-text {
      font-family: 'Orbitron', sans-serif;
      font-size: clamp(1.5rem, 7vw, 3.5rem); /* Increased text size */
      margin-bottom: clamp(0.75rem, 2.5vw, 1.5rem);
      animation: glowPulse 2s infinite;
      z-index: 1;
    }
    @keyframes glowPulse {
      0%, 100% { text-shadow: 0 0 10px #fff, 0 0 20px #ff00ff; }
      50% { text-shadow: 0 0 20px #ff00ff, 0 0 40px #6600ff; }
    }
    #backBtn {
      padding: clamp(0.5rem, 2vw, 0.75rem) clamp(1rem, 3vw, 1.5rem);
      border: none;
      border-radius: 0.5rem;
      cursor: pointer;
      font-size: clamp(0.8rem, 3vw, 1rem);
      font-weight: 600;
      transition: transform 0.2s;
      z-index: 1;
    }
    #backBtn:hover {
      transform: scale(1.05);
    }
    #backBtn:active {
      transform: scale(0.95);
    }
    @keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
    @keyframes popIn { 0% { transform: scale(0); } 80% { transform: scale(1.1); } 100% { transform: scale(1); } }
    @keyframes sparkle {
      0% { transform: scale(0); opacity: 0.8; }
      50% { transform: scale(1); opacity: 1; }
      100% { transform: scale(0); opacity: 0; }
    }

    /* Event-specific pseudo-elements for backgrounds */
    #celebration.birthday::before {
      content: '🎈';
      position: absolute;
      font-size: clamp(2rem, 5vw, 3rem);
      top: 10%;
      left: 10%;
      animation: sparkle 2s infinite;
      opacity: 0.7;
    }
    #celebration.birthday::after {
      content: '🎂';
      position: absolute;
      font-size: clamp(2rem, 5vw, 3rem);
      bottom: 10%;
      right: 10%;
      animation: sparkle 2.5s infinite;
      opacity: 0.7;
    }
    #celebration.anniversary::before {
      content: '💞';
      position: absolute;
      font-size: clamp(2rem, 5vw, 3rem);
      top: 15%;
      left: 15%;
      animation: sparkle 2s infinite;
      opacity: 0.6;
    }
    #celebration.anniversary::after {
      content: '💍';
      position: absolute;
      font-size: clamp(2rem, 5vw, 3rem);
      bottom: 15%;
      right: 15%;
      animation: sparkle 2.3s infinite;
      opacity: 0.6;
    }
    #celebration.diwali::before {
      content: '🪔';
      position: absolute;
      font-size: clamp(1.5rem, 4vw, 2.5rem);
      top: 10%;
      left: 20%;
      animation: sparkle 1.8s infinite;
      opacity: 0.8;
    }
    #celebration.diwali::after {
      content: '✨';
      position: absolute;
      font-size: clamp(1.5rem, 4vw, 2.5rem);
      bottom: 10%;
      right: 20%;
      animation: sparkle 2s infinite;
      opacity: 0.8;
    }
    #celebration.holi::before {
      content: '🌈';
      position: absolute;
      font-size: clamp(2rem, 5vw, 3rem);
      top: 12%;
      left: 12%;
      animation: sparkle 2s infinite;
      opacity: 0.7;
    }
    #celebration.holi::after {
      content: '🎨';
      position: absolute;
      font-size: clamp(2rem, 5vw, 3rem);
      bottom: 12%;
      right: 12%;
      animation: sparkle 2.2s infinite;
      opacity: 0.7;
    }
    #celebration.navratri::before {
      content: '🪔';
      position: absolute;
      font-size: clamp(1.5rem, 4vw, 2.5rem);
      top: 15%;
      left: 15%;
      animation: sparkle 1.9s infinite;
      opacity: 0.8;
    }
    #celebration.navratri::after {
      content: '💃';
      position: absolute;
      font-size: clamp(1.5rem, 4vw, 2.5rem);
      bottom: 15%;
      right: 15%;
      animation: sparkle 2.1s infinite;
      opacity: 0.8;
    }
    #celebration.durga-puja::before {
      content: '🌺';
      position: absolute;
      font-size: clamp(1.5rem, 4vw, 2.5rem);
      top: 10%;
      left: 10%;
      animation: sparkle 2s infinite;
      opacity: 0.7;
    }
    #celebration.durga-puja::after {
      content: '🙏';
      position: absolute;
      font-size: clamp(1.5rem, 4vw, 2.5rem);
      bottom: 10%;
      right: 10%;
      animation: sparkle 2.2s infinite;
      opacity: 0.7;
    }
    #celebration.ganesh-chaturthi::before {
      content: '🐘';
      position: absolute;
      font-size: clamp(2rem, 5vw, 3rem);
      top: 12%;
      left: 12%;
      animation: sparkle 2s infinite;
      opacity: 0.6;
    }
    #celebration.ganesh-chaturthi::after {
      content: '🙏';
      position: absolute;
      font-size: clamp(2rem, 5vw, 3rem);
      bottom: 12%;
      right: 12%;
      animation: sparkle 2.3s infinite;
      opacity: 0.6;
    }
    #celebration.janmashtami::before {
      content: '🦚';
      position: absolute;
      font-size: clamp(1.5rem, 4vw, 2.5rem);
      top: 15%;
      left: 15%;
      animation: sparkle 1.8s infinite;
      opacity: 0.7;
    }
    #celebration.janmashtami::after {
      content: '🎶';
      position: absolute;
      font-size: clamp(1.5rem, 4vw, 2.5rem);
      bottom: 15%;
      right: 15%;
      animation: sparkle 2s infinite;
      opacity: 0.7;
    }
    #celebration.raksha-bandhan::before {
      content: '🫶';
      position: absolute;
      font-size: clamp(2rem, 5vw, 3rem);
      top: 10%;
      left: 10%;
     animation: sparkle 2s infinite;
      opacity: 0.7;
    }
    #celebration.raksha-bandhan::after {
      content: '🎁';
      position: absolute;
      font-size: clamp(2rem, 5vw, 3rem);
      bottom: 10%;
      right: 10%;
      animation: sparkle 2.2s infinite;
      opacity: 0.7;
    }
    #celebration.makar-sankranti::before {
      content: '🪁';
      position: absolute;
      font-size: clamp(2rem, 5vw, 3rem);
      top: 12%;
      left: 12%;
      animation: sparkle 2s infinite;
      opacity: 0.7;
    }
    #celebration.makar-sankranti::after {
      content: '☀️';
      position: absolute;
      font-size: clamp(2rem, 5vw, 3rem);
      bottom: 12%;
      right: 12%;
      animation: sparkle 2.3s infinite;
      opacity: 0.7;
    }
    #celebration.custom::before {
      content: '🎉';
      position: absolute;
      font-size: clamp(2rem, 5vw, 3rem);
      top: 10%;
      left: 10%;
      animation: sparkle 2s infinite;
      opacity: 0.7;
    }
    #celebration.custom::after {
      content: '🎊';
      position: absolute;
      font-size: clamp(2rem, 5vw, 3rem);
      bottom: 10%;
      right: 10%;
      animation: sparkle 2.2s infinite;
      opacity: 0.7;
    }

    /* Responsive adjustments */
    @media (max-width: 640px) {
      .glow-text {
        font-size: clamp(1.5rem, 7vw, 2rem);
      }
      .glass-card {
        padding: clamp(0.75rem, 2.5vw, 1rem);
        margin: clamp(0.25rem, 1vw, 0.5rem);
      }
      .timer-box {
        gap: clamp(0.2rem, 1vw, 0.4rem);
      }
      .timer-unit {
        font-size: clamp(1.2rem, 6vw, 2rem);
      }
      .unit-label {
        font-size: clamp(0.6rem, 2vw, 0.8rem);
      }
      .celebration-text {
        font-size: clamp(1.2rem, 6vw, 2.2rem);
      }
      input[type="datetime-local"] {
        font-size: clamp(0.75rem, 2.5vw, 0.85rem);
        padding: clamp(0.3rem, 1.2vw, 0.5rem);
      }
    }
    @media (min-width: 641px) and (max-width: 1024px) {
      .glow-text {
        font-size: clamp(2rem, 6vw, 3rem);
      }
      .glass-card {
        max-width: clamp(24rem, 80vw, 32rem);
      }
      .timer-unit {
        font-size: clamp(2rem, 7vw, 3rem);
      }
      .unit-label {
        font-size: clamp(0.8rem, 2.5vw, 1rem);
      }
      .celebration-text {
        font-size: clamp(1.8rem, 6.5vw, 2.8rem);
      }
    }
    @media (min-width: 1025px) {
      .glow-text {
        font-size: clamp(2.5rem, 5vw, 3.5rem);
      }
      .glass-card {
        max-width: clamp(28rem, 50vw, 36rem);
      }
      .timer-unit {
        font-size: clamp(2.5rem, 6vw, 4rem);
      }
      .unit-label {
        font-size: clamp(1rem, 2vw, 1.2rem);
      }
      .celebration-text {
        font-size: clamp(2.5rem, 5vw, 4rem);
      }
    }
