.tooltip-container {
  position: relative;
  display: inline-block;
  width: 100%;
}

.tooltip-text {
  position: absolute;
  bottom: 110%;
  left: 0;
  width: 100%;
  background-color: #3f2970;
  color: #fff;
  padding: 1rem;
  border-radius: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease;
  z-index: 10;
  box-sizing: border-box;
}

.tooltip-container:hover .tooltip-text {
  opacity: 1;
  visibility: visible;
}

.tooltip-arrow {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #3f2970;
}

@media (max-width: 768px) {
    .tooltip-text {
        position: relative;
        opacity: 1;
        visibility: visible;
        margin-bottom: 16px;
    }
}

/* Születésnapi banner */
.birthday-banner {
    position: relative;
    width: 100%;
    height: 260px;
    background: linear-gradient(135deg, #6944ba 0%, #3f2970 100%);
    border-radius: 12px;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    margin: 0 auto 20px auto;
}

.birthday-banner.homepage {
    height: 420px;
}

.birthday-button {
    position: relative;
    width: 100%;
    height: 70px;
    background: linear-gradient(135deg, #6944ba 0%, #3f2970 100%);
    border-radius: 12px;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    margin: 20px auto;
}

.birthday-addto {
    position: relative;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #6944ba 0%, #3f2970 100%);
    border-radius: 12px;
    overflow: hidden;
    font-family: 'Poppins', sans-serif;
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.confetti-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
}

.main-title {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-top: 0px;
    margin-bottom: 0px;
    opacity: 0;
    animation: fadeInShake 1s ease-out 0s forwards;
}

.fadeInShake {
    opacity: 0;
    animation: fadeInShake 1s ease-out 0s forwards;
}

.subtitle {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 0px;
    opacity: 0;
    animation: fadeIn 0.8s ease-out 2s forwards;
    background: linear-gradient(45deg, #fcd34d, #fde68a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.homepage .subtitle {
    margin-top: 32px;
}

.offer-text {
    font-size: 2.3rem;
    font-weight: 400;
    margin-bottom: 16px;
    opacity: 0;
    animation: zoomIn 0.8s ease-out 2.5s forwards, pulse 2s ease-in-out 3.5s infinite;
    
}

.cta-button {
    background: linear-gradient(45deg, #fcd34d, #f59e0b);
    color: #3f2970;
    border: none;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0;
    animation: bounceIn 0.8s ease-out 3.5s forwards;
    box-shadow: 0 4px 15px rgba(252, 211, 77, 0.4);
}

.homepage .cta-button {
    margin-top: 32px;
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(252, 211, 77, 0.6);
}

.emoji {
    font-size: 1.5em;
    margin: 0 5px;
}

@keyframes fadeInShake {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }
    50% {
        opacity: 1;
        transform: translateY(0) rotate(1deg);
    }
    60% {
        transform: rotate(-1deg);
    }
    70% {
        transform: rotate(1deg);
    }
    80% {
        transform: rotate(-0.5deg);
    }
    100% {
        opacity: 1;
        transform: rotate(0deg);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(20px);
    }
    50% {
        opacity: 1;
        transform: scale(1.05) translateY(-5px);
    }
    70% {
        transform: scale(0.98) translateY(2px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.03);
    }
}

@media (max-width: 992px) {
    .birthday-banner {
        height: 320px;
        padding: 15px;
    }

    .main-title {
        font-size: 3rem;
    }

    .subtitle {
        font-size: 2rem;
    }

    .offer-text {
        font-size: 1.8rem;
    }
}

@media (max-width: 640px) {
    .birthday-banner {
        height: 420px;
        padding: 15px;
    }

    .main-title {
        margin-bottom: 24px;
        font-size: 2.8rem;
    }

    .subtitle {
        font-size: 1.8rem;
    }

    .offer-text {
        font-size: 1.8rem;
    }

    .cta-button {
        margin-top: 24px;
        padding: 10px 20px;
        font-size: 1.8rem;
    }
}

@media (max-width: 540px) {
    .birthday-banner {
        height: 420px;
        padding: 15px;
    }

    .main-title {
        margin-bottom: 24px;
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1.5rem;
    }

    .offer-text {
        font-size: 1.5rem;
    }

    .cta-button {
        margin-top: 24px;
        padding: 10px 20px;
        font-size: 1.5rem;
    }
}

/**/
.sslide-container {
    transition: transform 0.5s ease-in-out;
}

.star {
    color: #fbbf24;
    font-size: 2rem;
}

.dot {
    transition: all 0.3s ease;
}

.dot.active {
    background-color: #6944ba;
    transform: scale(1.2);
}