/* ===== SUCCESS TIP SECTION STYLES ===== */
.success-tip-section {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.success-tip-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50px;
    padding: 1rem 2rem;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.success-tip-btn::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;
}

.success-tip-btn:hover::before {
    left: 100%;
}

.success-tip-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.success-tip-btn:active {
    transform: translateY(-1px);
}

.tip-icon {
    font-size: 1.3rem;
    animation: bounce 2s infinite;
}

.tip-sparkle {
    animation: sparkle 1.5s infinite;
}

/* ===== POPUP OVERLAY STYLES ===== */
.success-tip-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

/* ===== POPUP CONTAINER STYLES ===== */
.success-tip-popup {
    background: linear-gradient(135deg, #ff6b6b 0%, #feca57 50%, #48dbfb 100%);
    border-radius: 20px;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.2);
    animation: slideInUp 0.4s ease;
}

.popup-slide-left { animation: slideInLeft 0.4s ease; }
.popup-slide-right { animation: slideInRight 0.4s ease; }
.popup-slide-top { animation: slideInTop 0.4s ease; }
.popup-slide-bottom { animation: slideInBottom 0.4s ease; }

/* ===== POPUP HEADER STYLES ===== */
.popup-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.popup-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.popup-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.popup-title h3 {
    margin: 0;
    color: #2c3e50;
    font-size: 1.4rem;
    font-weight: bold;
}

.popup-title p {
    margin: 0;
    color: #34495e;
    font-size: 0.9rem;
    opacity: 0.8;
}

/* ===== POPUP CONTENT STYLES ===== */
.popup-content {
    background: rgba(255, 255, 255, 0.9);
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.tip-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #2c3e50;
    text-align: center;
    font-style: italic;
    margin: 0 0 1rem 0;
}

.popup-signature {
    text-align: right;
    color: #7f8c8d;
    font-weight: bold;
    font-size: 0.9rem;
}

/* ===== ACTION BUTTONS STYLES ===== */
.popup-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.action-btn {
    flex: 1;
    min-width: 100px;
    padding: 0.8rem 1rem;
    border: none;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.like-btn {
    background: linear-gradient(135deg, #ff9ff3 0%, #f368e0 100%);
    color: white;
}

.share-btn {
    background: linear-gradient(135deg, #54a0ff 0%, #341f97 100%);
    color: white;
}

.next-btn {
    background: linear-gradient(135deg, #00d2d3 0%, #54a0ff 100%);
    color: white;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.action-btn:active {
    transform: translateY(0);
}

/* ===== CLOSE BUTTON STYLES ===== */
.popup-close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-weight: bold;
    color: #2c3e50;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.popup-close-btn:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg);
}

/* ===== ANIMATIONS ===== */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@keyframes sparkle {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes slideInLeft {
    from { 
        opacity: 0;
        transform: translateX(-50px);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from { 
        opacity: 0;
        transform: translateX(50px);
    }
    to { 
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInTop {
    from { 
        opacity: 0;
        transform: translateY(-50px);
    }
    to { 
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
    .success-tip-popup {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .popup-header {
        flex-direction: column;
        text-align: center;
    }
    
    .popup-actions {
        flex-direction: column;
    }
    
    .action-btn {
        min-width: auto;
    }
}
