/* ===================================
   COMPRA GONEMO WIDGET STYLES
   =================================== */

.compra-gonemo-container {
    display: flex;
    flex-direction: column;
    align-items: center; 
    gap: 30px;
    padding: 40px 20px;
    background: white;
    border-radius: 20px;
    text-align: center; 
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   BOTÓN DE COMPRA
   =================================== */

.compra-button-section {
    width: 100%;
    display: flex;
    justify-content: center;
}

 .compra-button {
    background-color: #22C55E;
    color: #FFFFFF;
    width: 377;
    height: 66;
    angle: 0 deg;
    opacity: 1;
    gap: 10px;
    padding-top: 19px;
    padding-right: 31px;
    padding-bottom: 19px;
    padding-left: 31px;
    border-radius: 16px;
}

h2.main-text {
    font-family: Open Sans;
    font-weight: 700;
    font-style: Bold;
    font-size: 32px;
    leading-trim: NONE;
    line-height: 100%;
    letter-spacing: 0%;
    text-align: center;
    vertical-align: middle;
}
.compra-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.compra-button:hover {
    background: #16A34A;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(34, 197, 94, 0.4);
}

.compra-button:hover::before {
    left: 100%;
}

.compra-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(34, 197, 94, 0.3);
}

/* ===================================
   CONTENIDO PRINCIPAL
   =================================== */

.compra-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.gift-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: bounce 2s infinite;
    margin-bottom: 20px;
}

.gift-icon img { 
    max-width: 48px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.gift-icon svg {
    width: 48px;
    height: 48px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

.main-text {
    font-size: 28px;
    font-weight: 700;
    line-height: 1.3;
    color: #1F2937;
    margin: 0;
    text-align: center;
    max-width: 500px;
}

.main-text .highlight {
    color: #3B82F6;
    position: relative;
    font-weight: 800;
}

.main-text .highlight::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 0px;
    background: linear-gradient(90deg, #3B82F6, #1D4ED8);
    border-radius: 0px;
    animation: underlineGlow 2s ease-in-out infinite alternate;
}

@keyframes underlineGlow {
    0% {
        box-shadow: 0 0 5px rgba(59, 130, 246, 0.5);
    }
    100% {
        box-shadow: 0 0 15px rgba(59, 130, 246, 0.8);
    }
}

.subtitle-text {
    font-size: 16px;
    color: #6B7280;
    margin: 0;
    font-weight: 500;
    letter-spacing: 0.3px;
    opacity: 0.9;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablets */
@media (max-width: 768px) {
    .compra-gonemo-container {
        padding: 30px 15px;
        gap: 25px;
        margin: 0 10px;
    }

    .compra-button {
        padding: 14px 28px;
        font-size: 15px;
    }

    .main-text {
        font-size: 24px;
    }

    .gift-icon {
        width: 70px;
        height: 70px;
    }

    .gift-icon svg {
        width: 42px;
        height: 42px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .compra-gonemo-container {
        padding: 25px 15px;
        gap: 20px;
        border-radius: 15px;
    }

    .compra-button {
        padding: 12px 24px;
        font-size: 14px;
        width: 100%;
        max-width: 300px;
    }

    .main-text {
        font-size: 20px;
        line-height: 1.4;
    }

    .subtitle-text {
        font-size: 14px;
    }

    .gift-icon {
        width: 60px;
        height: 60px;
    }

    .gift-icon svg {
        width: 36px;
        height: 36px;
    }
}

/* Extra small devices */
@media (max-width: 320px) {
    .compra-gonemo-container {
        padding: 20px 10px;
        gap: 15px;
    }

    .main-text {
        font-size: 18px;
    }

    .compra-button {
        font-size: 13px;
        padding: 10px 20px;
    }
}

/* ===================================
   DARK MODE SUPPORT
   =================================== */

@media (prefers-color-scheme: dark) {
    .compra-gonemo-container {
     
    }

    .main-text {
        color: #F9FAFB;
    }

    .subtitle-text {
        color: #D1D5DB;
    }

    .gift-icon {
        background: rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }
}

/* ===================================
   ACCESSIBILITY
   =================================== */

.compra-button:focus {
    outline: 3px solid rgba(34, 197, 94, 0.5);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    .compra-button,
    .gift-icon,
    .main-text .highlight::after {
        animation: none;
        transition: none;
    }
    
    .compra-button:hover {
        transform: none;
    }
}

/* ===================================
   HIGH CONTRAST MODE
   =================================== */

@media (prefers-contrast: high) {
    .compra-button {
        border: 2px solid #000000;
    }
    
    .main-text {
        color: #000000;
    }
    
    .subtitle-text {
        color: #333333;
    }
}