      #widget1, #widget2, #widget3, #widget4, #widget5, #widget6 {
        height: 0;
        padding: 0;
        margin-top: 0;
      }

      hr {
      border: none; 
      border-top: 1px solid var(--muted); 
      opacity: 0.3; 
      margin: 0 auto; 
      max-width: 1200px;
      margin-bottom: 30px;
    }

    .fancy-btn {
      background: linear-gradient(45deg, #ff6ec4, #7873f5, #4ade80, #facc15, #f97316);
      background-size: 400% 400%;
      border: 2px solid transparent;
      position: relative;
      border-radius: 25px;
      color: #2d1b4e;
      padding: 15px 30px;
      font-size: 16px;
      cursor: pointer;
      animation: gradientAnimation 8s ease infinite;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
      transition: filter 1500ms ease, border-radius 1000ms ease;
      border-radius: 25% 75% 75% 25% / 25% 25% 75% 75%;
      font-family: 'Fredoka One', cursive;
      text-transform: uppercase;
      left: 10px;
      text-shadow: 4px 4px 10px rgba(105, 246, 223, 0.3);
      overflow: visible;
      filter: drop-shadow(12px 7px 5px rgba(0, 254, 254, 0.274));

    }

    .fancy-btn:hover {
      filter: drop-shadow(-12px -2px 5px rgba(0, 254, 254, 0.274));
      animation: gradientAnimation 5s ease infinite;
      border-radius: 75% 25% 25% 75% / 75% 75% 25% 25%;
    }


    .fancy-btn span {
      display: inline-block;
      transform: translateY(0) translateX(-4px) rotate(-2deg);
      transition: transform 2000ms ease;
    }

    .fancy-btn:hover span {
      transform: translateY(3px) translateX(10px) rotate(2deg);
    }


    @keyframes textMovementWithShape {
      0%, 100% {
        transform: translateY(0) translateX(0) rotate(-2deg);
      }
      50% {
        transform: translateY(3px) translateX(10px) rotate(2deg);
      }
    }

    @keyframes gradientAnimation {
      0% {
        background-position: 0% 50%;
      }
      50% {
        background-position: 100% 50%;
      }
      100% {
        background-position: 0% 50%;
      }
    }

    @keyframes shapeShifting {
      0%, 100% {
        border-radius: 25% 75% 75% 25% / 25% 25% 75% 75%;
      }
      50% {
        border-radius: 75% 25% 25% 75% / 75% 75% 25% 25%;
      }
    }

    .widget-heading {
      text-align: center;
      margin-bottom: 20px;
      display: flex; 
      flex-direction: column; 
      align-items: start; 
      max-width: 750px;
      margin-left: auto;
      margin-right: auto;
    }

    .fancy-container {
      display: flex;
      justify-content: space-evenly;
      align-items: center;
      max-width: 500px;
      gap: 30px;
      padding: 50px 60px;
      margin: 30px 10px;
      background: linear-gradient(135deg, rgba(120, 115, 245, 0.1), rgba(74, 222, 128, 0.1), rgba(255, 110, 196, 0.1));
      border: 2px solid rgba(120, 115, 245, 0.3);
      border-radius: 20px;
      backdrop-filter: blur(10px);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
      font-size: 18px;
      font-weight: 600;
      color: var(--text);
      transition: all 500ms ease;
    }

    .fancy-container:hover {
      transform: translateY(-2px);
      box-shadow: 0 12px 40px rgba(120, 115, 245, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }

    .confetti-particle {
      position: fixed;
      width: 5px;
      height: 12px;
      border-radius: 30%;
      pointer-events: none;
      z-index: 9999;
    }

    @keyframes confettiFall {
      0% {
        transform: translateY(0) translateX(0) rotate(0deg) scale(1);
        opacity: 1;
      }
      100% {
        transform: translateY(var(--y)) translateX(var(--x)) rotate(720deg) scale(0.3);
        opacity: 0;
      }
    }

    .prex {
      text-align: start;
    }

    .wid3 {
      display: flex;
      flex-direction: column;
    }

    @media (min-width: 700px) {
      .widget-heading {
        justify-self: center;
        padding: 20px;
      }
      .fancy-container {
        min-width: 400px;
      }
      .wid3 {
        flex-direction: row;
      }
    }

    /* Advanced CSS Loading Spinner Styles */
    .loader {
      position: relative;
      width: 80px;
      height: 80px;
      background: conic-gradient(from 0deg, #6366f1, #8b5cf6, #d946ef, #ec4899, #f43f5e, #6366f1);
      border-radius: 50%;
      animation: spin 2s linear infinite;
      filter: drop-shadow(0 0 25px rgba(139, 92, 246, 0.7)) 
              drop-shadow(0 0 50px rgba(236, 72, 153, 0.5));
    }

    .loader::before {
      content: '';
      position: absolute;
      inset: 8px;
      background: conic-gradient(from 90deg, #a78bfa, #c084fc, #e879f9, #f0abfc, #fda4af, #a78bfa);
      border-radius: 50%;
      animation: spin .8s linear infinite reverse;
      filter: blur(3px);
    }

    .loader::after {
      content: '';
      position: absolute;
      inset: -5px;
      background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(240, 249, 255, 0.2) 25%, 
        rgba(240, 249, 255, 0.6) 50%, 
        #f0f9ff 75%, 
        #f0f9ff 85%, 
        rgba(240, 249, 255, 0.4) 100%);
      border-radius: 50%;
      -webkit-mask: radial-gradient(circle, transparent 68%, black 72%);
      mask: radial-gradient(circle, transparent 68%, black 72%);
      animation: spin 1.8s linear infinite;
      filter: drop-shadow(0 0 10px rgba(240, 249, 255, 0.9));
    }

    @keyframes spin {
      0% { transform: rotate(0deg); }
      100% { transform: rotate(360deg); }
    }

    @keyframes gradientShift {
      0%, 100% { background-position: 0% 50%; }
      50% { background-position: 100% 50%; }
    }

    /* 3D Card Flip Styles - Mobile First */
    .flip-card-container {
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 0;
      perspective: 1200px;
      padding: 20px;
      min-height: auto;
    }

    .flip-card {
      position: relative;
      width: 300px;
      height: 380px;
      transform-style: preserve-3d;
      transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1);
      cursor: pointer;
      margin-top: -125px;
    }

    .flip-card::before {
      content: '';
      position: absolute;
      inset: -4px;
      border-radius: 26px;
      padding: 4px;
      background: linear-gradient(135deg, 
        rgba(148, 163, 184, 0.4), 
        rgba(100, 116, 139, 0.6), 
        rgba(148, 163, 184, 0.4));
      -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      -webkit-mask-composite: xor;
      mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
      mask-composite: exclude;
      pointer-events: none;
      opacity: 0.6;
      transition: opacity 0.3s ease, background 0.5s ease;
      filter: blur(0.5px);
      box-shadow: 0 0 15px rgba(148, 163, 184, 0.3),
                  0 0 30px rgba(100, 116, 139, 0.2);
    }

    .flip-card:first-child {
      margin-top: 0;
    }

    /* Mobile: tap to flip in place */
    .flip-card.flipped {
      transform: rotateY(180deg);
      z-index: 10;
    }

    .flip-card.flipped::before {
      opacity: 1;
      background: linear-gradient(135deg, 
        rgba(139, 92, 246, 0.6), 
        rgba(236, 72, 153, 0.8), 
        rgba(139, 92, 246, 0.6));
      box-shadow: 0 0 20px rgba(139, 92, 246, 0.6),
                  0 0 40px rgba(236, 72, 153, 0.4),
                  0 0 60px rgba(139, 92, 246, 0.3);
    }

    .flip-card-front,
    .flip-card-back {
      position: absolute;
      width: 100%;
      height: 100%;
      backface-visibility: hidden;
      border-radius: 24px;
      padding: 35px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
    }

    .flip-card-front {
      background: linear-gradient(135deg, 
        rgba(30, 41, 59, 0.85) 0%, 
        rgba(51, 65, 85, 0.9) 50%,
        rgba(30, 41, 59, 0.85) 100%);
      border: 1px solid rgba(148, 163, 184, 0.2);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }

    .flip-card-back {
      background: linear-gradient(135deg, 
        rgba(15, 23, 42, 0.9) 0%, 
        rgba(30, 41, 59, 0.95) 50%,
        rgba(15, 23, 42, 0.9) 100%);
      border: 1px solid rgba(100, 116, 139, 0.3);
      transform: rotateY(180deg);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
    }

    .flip-card-icon {
      font-size: 72px;
      margin-bottom: 20px;
      filter: drop-shadow(0 4px 12px rgba(148, 163, 184, 0.4));
    }

    .flip-card h3 {
      font-size: 28px;
      font-weight: 700;
      margin-bottom: 12px;
      color: var(--text);
      text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    }

    .flip-card p {
      font-size: 15px;
      line-height: 1.7;
      color: var(--muted);
      text-align: center;
    }

    /* Desktop: overlapping layout with hover effects */
    @media (min-width: 769px) {
      .flip-card-container {
        flex-direction: row;
        gap: 0;
        min-height: 450px;
      }

      .flip-card {
        position: absolute;
        transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1), z-index 0s 0.35s;
        margin-top: 0;
      }

      .flip-card:nth-child(1) {
        z-index: 1;
        transform: translateX(-275px) rotate(-5deg);
      }

      .flip-card:nth-child(2) {
        z-index: 3;
        transform: translateX(0) rotate(0deg);
      }

      .flip-card:nth-child(3) {
        z-index: 1;
        transform: translateX(275px) rotate(5deg);
      }

      .flip-card:hover {
        z-index: 10 !important;
        transition: transform 0.7s cubic-bezier(0.4, 0.2, 0.2, 1), z-index 0s;
      }

      .flip-card:hover::before {
        opacity: 1;
        background: linear-gradient(135deg, 
          rgba(139, 92, 246, 0.6), 
          rgba(236, 72, 153, 0.8), 
          rgba(139, 92, 246, 0.6));
        box-shadow: 0 0 20px rgba(139, 92, 246, 0.6),
                    0 0 40px rgba(236, 72, 153, 0.4),
                    0 0 60px rgba(139, 92, 246, 0.3);
      }

      .flip-card:nth-child(1):hover {
        transform: translateX(-275px) rotateY(180deg) rotate(0deg) scale(1.05);
      }

      .flip-card:nth-child(2):hover {
        transform: translateX(0) rotateY(180deg) rotate(0deg) scale(1.05);
      }

      .flip-card:nth-child(3):hover {
        transform: translateX(275px) rotateY(180deg) rotate(0deg) scale(1.05);
      }

      /* Disable click flip on desktop */
      .flip-card.flipped {
        transform: inherit;
      }
    }

    /* Glassmorphism Card Stack Styles */
    .glass-stack-wrapper {
      position: relative;
      display: flex;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      max-width: 100%;
      margin: 0 auto;
      padding: 0 10px;
    }

    .glass-stack {
      position: relative;
      width: 100%;
      max-width: 400px;
      height: 450px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      margin: 0 auto;
    }

    @media (min-width: 600px) {
      .glass-stack-wrapper {
        max-width: 600px;
        gap: 40px;
        justify-content: center;
        padding: 0;
      }
    }

    .glass-card {
      position: absolute;
      width: 320px;
      height: 400px;
      background: rgba(255, 255, 255, 0.05);
      border: 1px solid rgba(255, 255, 255, 0.1);
      border-radius: 20px;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
                  inset 0 1px 0 rgba(255, 255, 255, 0.1);
      padding: 40px;
      transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
      cursor: pointer;
      opacity: 0;
      pointer-events: none;
    }

    .glass-card.active {
      z-index: 3;
      transform: translateY(0) rotate(-2deg);
      opacity: 1;
      pointer-events: auto;
    }

    .glass-card.next {
      z-index: 2;
      transform: translateY(20px) rotate(3deg);
      opacity: 0.8;
      pointer-events: auto;
    }

    .glass-card.prev {
      z-index: 1;
      transform: translateY(40px) rotate(-1deg);
      opacity: 0.6;
      pointer-events: auto;
    }

    .glass-card:hover {
      transform: translateY(-10px) scale(1.02);
      box-shadow: 0 16px 48px rgba(0, 0, 0, 0.4),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
    }

    .glass-card.active:hover {
      transform: translateY(-10px) rotate(0deg) scale(1.02);
    }

    .glass-nav-btn {
      position: absolute;
      z-index: 10;
      background: rgba(120, 115, 245, 0.15);
      border: 2px solid rgba(120, 115, 245, 0.5);
      border-radius: 50%;
      width: 55px;
      height: 55px;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      transition: all 0.3s ease;
      backdrop-filter: blur(10px);
      -webkit-backdrop-filter: blur(10px);
      color: var(--text);
      font-size: 32px;
      font-weight: bold;
      flex-shrink: 0;
      box-shadow: 0 2px 12px rgba(120, 115, 245, 0.3);
      user-select: none;
      top: 50%;
      transform: translateY(-50%);
    }

    .glass-nav-btn:first-of-type {
      left: 10px;
    }

    .glass-nav-btn:last-of-type {
      right: 10px;
    }

    .glass-nav-btn:hover {
      background: rgba(120, 115, 245, 0.3);
      border-color: rgba(120, 115, 245, 0.7);
      transform: translateY(-50%) scale(1.1);
      box-shadow: 0 4px 20px rgba(120, 115, 245, 0.5);
      z-index: 11;
    }

    @media (min-width: 600px) {
      .glass-nav-btn {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        transform: none;
      }

      .glass-nav-btn:first-of-type,
      .glass-nav-btn:last-of-type {
        left: auto;
        right: auto;
      }

      .glass-nav-btn:hover {
        transform: scale(1.1);
      }
    }

    .glass-nav-btn:active {
      transform: scale(0.95);
    }

    .glass-card-content h3 {
      font-size: 28px;
      font-weight: 700;
      margin-bottom: 20px;
      background: linear-gradient(135deg, #7873f5, #ec4899);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      background-clip: text;
    }

    .glass-card-content p {
      font-size: 16px;
      line-height: 1.8;
      color: var(--muted);
      margin-bottom: 15px;
    }

    .glass-card-badge {
      display: inline-block;
      padding: 8px 16px;
      background: rgba(120, 115, 245, 0.2);
      border: 1px solid rgba(120, 115, 245, 0.4);
      border-radius: 20px;
      font-size: 12px;
      font-weight: 600;
      margin-right: 8px;
      margin-top: 10px;
      color: var(--text);
    }


    @property --wdth {
      syntax: "<number>";
      initial-value: 50;
      inherits: false;
    }

    .stairway-list {
      display: flex;
      flex-direction: column;
      justify-content: center;
      text-decoration: none; 
      list-style-type: none; 
      text-align: start; 
      font-size: 40px; 
      font-weight: 700; 
      line-height: 0;
      padding-left: 0;
      gap: 0;
    }

    .stairway-list li {
      margin-bottom: -6px;
    }

    .stairway-list li a {
      display: inline-block;
      text-decoration: none;
      color: var(--text);
      position: relative;
    }

    .letter {
      display: inline-block;
      position: relative;
      overflow: hidden;
      line-height: 46px;
      vertical-align: bottom;
    }

    .letter .top,
    .letter .bottom {
      display: inline-block;
      transition: transform 0.4s ease-in-out;
    }

    .letter .top {
      transform: translateY(0);
      color: #4ade80;
    }

    .letter .bottom {
      position: absolute;
      top: 0;
      left: 0;
      color: #afff0f;
      transform: translateY(100%);
    }

    .stairway-list li a:hover .letter .top {
      transform: translateY(-100%);
    }

  .stairway-list li a:hover .letter .bottom {
    transform: translateY(0);
  }