 .vodka-overlay {
      position: fixed;
      top: 0; left: 0;
      width: 100%; height: 100%;
      
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 9999;
      padding: 1rem;
      perspective: 1200px;
      overflow: hidden;
    }

    .whiskey-card {
      background: #fff;
      padding: 2.5rem 2rem 2rem;
      max-width: 540px;
      width: 100%;
      border-radius: 12px;
      box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
      position: relative;
      display: flex;
      flex-direction: column;
      transform-origin: left center;
      animation: fadeInUp 0.5s ease-out;
      backface-visibility: hidden;
      transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
    }

    .flip-right-away {
      animation: flipRightAway 0.6s ease forwards;
    }

    @keyframes fadeInUp {
      0% { transform: translateY(40px); opacity: 0; }
      100% { transform: translateY(0); opacity: 1; }
    }

    @keyframes flipRightAway {
      0% {
        transform: rotateY(0deg) translateX(0) scale(1);
        opacity: 1;
      }
      100% {
        transform: rotateY(-90deg) translateX(100%) scale(0.9);
        opacity: 0;
      }
    }

    .whiskey-card h1 {
      font-size: 1.6rem;
      font-weight: bold;
      text-align: center;
      margin-bottom: 0.5rem;
      color: #1565c0;
    }

    .rum-subtext {
      text-align: center;
      color: #e53935;
      font-size: 1rem;
      margin-bottom: 1rem;
    }

    .gin-notice {
      text-align: center;
      background-color: #000;
      color: #fff;
      padding: 0.5rem 0.8rem;
      border-radius: 5px;
      margin-bottom: 1.2rem;
      font-weight: 500;
      font-size: 1rem;
    }

    .whiskey-card p {
      font-size: 0.95rem;
      line-height: 1.6;
      color: #444;
      margin-bottom: 1.5rem;
    }

    .beer-close {
      position: absolute;
      top: 0px;
      right: 12px;
      width: 32px;
      height: 32px;
      background: #e53935;
      color: white;
      border: none;
      border-radius: 50%;
      font-size: 1.2rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: background-color 0.3s ease, transform 0.2s ease;
      box-shadow: 0 1px 6px rgba(229, 57, 53, 0.6);
      z-index: 10;
    }

    .beer-close:hover {
      background-color: #b71c1c;
      color: white;
      transform: scale(1.1);
    }

    .tequila-button {
      align-self: center;
      padding: 0.6rem 1.2rem;
      font-size: 1rem;
      font-weight: 500;
      background-color: #1565c0;
      color: #fff;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      transition: background-color 0.3s ease;
      width: auto;
      white-space: nowrap;
    }

    .tequila-button:hover {
      background-color: #0d47a1;
    }

    @media (max-width: 480px) {
      .whiskey-card {
        padding: 2rem 1.2rem 1.5rem;
      }
      .whiskey-card h1 {
        font-size: 1.4rem;
      }
      .whiskey-card p {
        font-size: 0.7rem;
      }
      .gin-notice {
        font-size: 1rem;
      }
    }
    .popup-logo {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 1rem;
  display: block;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}