body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #fff;
  }
  
  .container {
    max-width: 480px;
    margin: 0 auto;
    padding: 16px;
  }

  .hero-ripple {
    position: relative;
    z-index: 1;
    animation: rippleEffect 3s infinite;
  }
  
  @keyframes rippleEffect {
    0% {
      box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.3);
    }
    70% {
      box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
  }  
  
  .section-title {
    font-size: 17px;
    font-weight: bold;
    margin: 8px 0 4px;
  }

  .bottom-left {
    position: absolute;
    bottom: 5px;
    left: 15px;
  }
  
  .section-store {
    font-weight: bold;
    margin: 12px 0 15px;
    text-align: center;
  }
  
  .section-strapline {
    font-weight: bold;
    margin: 0 0 8px; 
    text-align: center;
  }  
  
  .logo {
    text-align: center;
    margin-bottom: 16px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  }
  
  .hero-wrapper {
    text-align: center;
    margin-bottom: 16px;
  }
  
  .hero-wrapper a {
    display: inline-block;
  }
  
  .hero {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(2,2,2,0.5);
  }
  
  .loyalty-panel {
    background-color: #E31837;
    border-radius: 12px;
    padding: 15px;
    border: 2px solid white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    position: relative;
  }
  
  .stamps {
    display: flex;
    gap: 4px;
    align-items: center;
    flex-wrap: wrap;      
  }
  
  .stamps img {
    transform-style: preserve-3d;
    transition: transform 0.3s, box-shadow 0.3s;
    border-radius: 30px;
  }
  
  #qrCodeWrapper {
    background-color: white;
    padding: 5px;
    border: 3px solid white;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    display: inline-block;
    margin: 15px auto;
  }  
  
  #qrCode {
    margin: auto;
    padding: 5px;
  }  
  
  .button-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
  }
  
  .btn {
    flex: 1;
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-size: 16px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 👈 Corrected this line */
    gap: 8px;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(2,2,2,0.5);
  }

  .app-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
  }
  
  @keyframes pulse {
    0% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(255,255,255, 0.4);
    }
    70% {
      transform: scale(1.05);
      box-shadow: 0 0 0 15px rgba(255,255,255, 0);
    }
    100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(255,255,255, 0);
    }
  }
  
  .qr-pulse {
    animation: pulse 2s infinite;
    transition: transform 0.3s ease-in-out;
  }  
  
  @keyframes pointerTap {
    0%   { transform: translateY(-50%) rotate(0deg); }
    30%  { transform: translateY(-50%) rotate(10deg); }
    60%  { transform: translateY(-50%) rotate(0deg); }
    100% { transform: translateY(-50%) rotate(0deg); }
  }  
  
  .swiper {
    position: relative; /* required for the arrow positioning to work */
    width: 100%;
    padding-top: 0px;
    padding-bottom: 30px;
    margin-bottom: 16px;
  }  
  
  .swiper-slide {
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 240px;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .swiper-slide img,
  .swiper-slide video {
    width: 100%;
    height: 100%;
    border-radius: 12px;
    object-fit: contain;     /* Ensure full media is visible */
    background-color: #000;  /* Optional: gives contrast to videos/images with transparency */
  }  
  
  .single-button {
    width: 100%;
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-size: 16px;
    margin-bottom: 12px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
  }
  
  .mute-btn {
    position: absolute;
    bottom: 24px;
    right: 12px;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
  }
  
  .click-label {
    position: absolute;
    top: 80%;
    left: 10px;
    background-color: rgba(0,0,0,0.5);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 14px;
    z-index: 5;
  }
  
  .swiper-button-next,
  .swiper-button-prev {
    color: #ffffff;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .swiper-button-prev {
    left: 10px;
  }
  .swiper-button-next {
    right: 10px;
  }

  .footer {
    text-align: center;
    font-size: 14px;
    padding: 16px 8px;
    color: white;
    margin-bottom: 60px; /* Makes room for the bottom bar */
  }
  
  .app-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #006491; /* Domino’s blue */
    color: #ffffff;
    display: flex;
    justify-content: space-around;
    padding: 10px 0 20px; /* Increased bottom padding for more space */
    box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
    z-index: 9999;
  }
  
  .app-button {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 5px; /* ← Adds bottom gap inside each button */
  }
  
  .app-button i {
    font-size: 24px;
    margin-bottom: 5px;
  }    
  
  @keyframes pulse-red {
    0%   { box-shadow: 0 0 6px rgba(255, 0, 0, 0.2); }
    50%  { box-shadow: 0 0 14px rgba(255, 0, 0, 0.5); }
    100% { box-shadow: 0 0 6px rgba(255, 0, 0, 0.2); }
  }
  
  #spinWinButton {
    animation: pulse 2s infinite;
  }

  @keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 12px rgba(40, 167, 69, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
  }
  
  .swal-title-white {
    color: white !important;
    font-size: 22px !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
    text-align: center;
  }  
  
  .swal-html-white {
    color: white !important;
  }
  
  .swal-border-white {
    border: 1px solid white !important;
    border-radius: 12px;
  }

  .swal-spinner {
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s ease-in-out infinite;
    margin: 1.5rem auto 0;
  }

  @keyframes spin {
    to {
      transform: rotate(360deg);
    }
  }
  
  .swal-confirm-custom {
    color: var(--swal-confirm-text-color, #000) !important;
  }

  .swal2-close.swal-close-white {
    color: white;
    font-size: 30px;
    background-color: black;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    line-height: 38px;
    text-align: center;
    padding: 0;
    border: none;
    cursor: pointer;
    /* ✅ Add spacing */
    margin-top: 5px;
    margin-right: 5px;
  }  

  /* White border around Swal */
  .swal2-popup.custom-swal-border {
    border: 2px solid #fff !important;
    border-radius: 12px;
  }

  /* Enforce custom text color */
  .swal2-confirm.brand-confirm-button {
    color: inherit !important; /* overridden by inline JS if needed */
  }

  .pulsate {
    animation: pulse 1.6s infinite;
  }
  
  @keyframes pulse {
    0% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(0, 128, 0, 0.6);
    }
    70% {
      transform: scale(1.04);
      box-shadow: 0 0 0 12px rgba(0, 128, 0, 0);
    }
    100% {
      transform: scale(1);
      box-shadow: 0 0 0 0 rgba(0, 128, 0, 0);
    }
  }  
  
  @media screen and (max-width: 480px) {
    .section-store {
      font-size: var(--store-title-font-size, 24px);
    }
  }
  
  @media screen and (min-width: 481px) {
    .section-store {
      font-size: var(--store-title-font-size, 28px);
    }
  }

  @keyframes glowGreen {
    0% {
      box-shadow: 0 0 8px 2px rgba(0, 255, 0, 0.4);
    }
    100% {
      box-shadow: 0 0 18px 6px rgba(0, 255, 0, 0.8);
    }
  }  

  .pulse-btn {
    animation: pulse 2s infinite;
  }
  
  @keyframes pulse {
    0% { transform: scale(1); box-shadow: 0 0 0 rgba(255,255,255, 0.5); }
    50% { transform: scale(1.05); box-shadow: 0 0 12px rgba(255,255,255, 0.8); }
    100% { transform: scale(1); box-shadow: 0 0 0 rgba(255,255,255, 0.5); }
  }
  

  .reward-animated {
    animation: glowPop 1.2s ease-out infinite alternate;
  }
  
  @keyframes glowPop {
    0% {
      text-shadow: 0 0 5px gold, 0 0 10px gold;
      transform: scale(1);
    }
    100% {
      text-shadow: 0 0 15px yellow, 0 0 25px gold;
      transform: scale(1.15);
    }
  }  

  #pizza-wheel {
    transition: transform 4s cubic-bezier(0.33, 1, 0.68, 1);
  }  

  @keyframes emoji-fall {
    0% { transform: translateY(0) rotate(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotate(360deg); opacity: 0; }
  }
  
  @keyframes emoji-float {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    100% { transform: translateY(-10vh) rotate(180deg); opacity: 1; }
  }
  
  @keyframes emoji-spin {
    0% { transform: scale(0.8) rotate(0); }
    100% { transform: scale(1.2) rotate(720deg); opacity: 0; }
  }
  
  @keyframes emoji-burst {
    0% { transform: scale(0) translate(0, 0); opacity: 1; }
    100% { transform: scale(1.5) translate(100px, -100px); opacity: 0; }
  }
  
  
  