@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700;800&family=Poppins:wght@300;400;600;700&display=swap');

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slide-in {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes subtle-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

body {
    background: linear-gradient(135deg, #faf8f6 0%, #f5f1ed 100%);
    font-family: 'Poppins', system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: #333;
}

.site-inner {
    width: 80%;
    max-width: 1400px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .site-inner { width: 92%; }
}

@media (max-width: 480px) {
    .site-inner { width: 100%; padding: 0 12px; }
}

.container {
    max-width: 420px;
    margin: auto;
    text-align: center;
    padding: 25px;
}

.profile-img {
    width: 200px;
    height: 200px;
    border-radius: 10px;
    border: 3px solid #ff1493;
    object-fit: cover;
    margin-top: 30px;
    animation: fade-in-up 0.8s ease;
    box-shadow: 0 20px 40px rgba(255, 20, 147, 0.15);
}

h1 {
    position: relative;
    font-family: 'Playfair Display', serif;
    color: #ff1493;
    font-size: 3.2rem;
    margin: 20px 0 10px;
    letter-spacing: 0.5px;
    font-weight: 700;
    line-height: 1.2;
    animation: fade-in-up 0.8s ease 0.2s both;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ff69b4, transparent);
    border-radius: 2px;
    animation: underline-glow 3s ease-in-out infinite;
}

.bio {
    font-size: 16px;
    margin-bottom: 30px;
    color: #666;
    text-shadow: none;
    line-height: 1.6;
    animation: fade-in-up 0.8s ease 0.3s both;
    font-weight: 300;
}

.main-btn, .circle-btn, .tip-btn {
    position: relative;
    display: block;
    background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
    color: #fff;
    padding: 16px 22px;
    margin: 12px 0;
    text-decoration: none;
    border-radius: 30px;
    font-size: 17px;
    font-weight: 600;
    transition: all .3s ease;
    box-shadow: 0 8px 20px rgba(255, 20, 147, 0.2);
    border: none;
    cursor: pointer;
    overflow: hidden;
    animation: fade-in-up 0.8s ease 0.4s both;
}

.main-btn::before,
.circle-btn::before,
.tip-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 70%);
    transition: left 0.5s ease;
}

.main-btn:hover::before,
.circle-btn:hover::before,
.tip-btn:hover::before {
    left: 100%;
}

.main-btn:hover,
.circle-btn:hover,
.tip-btn:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(255, 20, 147, 0.3);
    background: linear-gradient(135deg, #ff1493 0%, #e91e63 100%);
}

.main-btn:active,
.circle-btn:active,
.tip-btn:active {
    animation: bounce-click 0.5s ease;
}

.circle-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.icon {
    width: 150px;
    height: 150px;
    border-radius: 10px;
    border: 3px solid #ff1493;
    object-fit: cover;
    margin-top: 20px;
    animation: fade-in-up 0.8s ease;
    box-shadow: 0 15px 35px rgba(255, 20, 147, 0.15);
}

.back-btn {
    margin-top: 30px;
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(10px);
    border: 2px solid #ff1493;
    color: #ff1493;
    font-weight: 600;
    border-radius: 25px;
    text-decoration: none;
    transition: all .3s ease;
    box-shadow: 0 5px 15px rgba(255, 20, 147, 0.1);
    font-size: 15px;
    animation: fade-in-up 0.8s ease 0.5s both;
}

.back-btn:hover {
    background: #ff1493;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 20, 147, 0.2);
}

.tip-section {
    margin: 30px 0;
    padding: 30px;
    background: linear-gradient(135deg, #fff9f7 0%, #fef5f1 100%);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 20, 147, 0.1);
    animation: fade-in-up 0.8s ease 0.3s both;
    border: 2px solid rgba(255, 20, 147, 0.15);
    position: relative;
    overflow: hidden;
}

.tip-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: twinkle 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 1; /* ensure the pseudo element stays behind content */
}

/* ensure Stripe widget is above overlays and receives clicks */
stripe-buy-button,
stripe-buy-button * {
    pointer-events: auto !important;
    position: relative;
    z-index: 9999;
}


.tip-section h2 {
    position: relative;
    margin-bottom: 10px;
    margin-top: 0;
    color: #ff1493;
    font-size: 1.4rem;
    text-shadow: none;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.tip-section p {
    position: relative;
    color: #666;
    font-size: 14px;
    margin: 8px 0;
    font-weight: 300;
}

.tip-button {
    position: relative;
    display: inline-block;
    background: linear-gradient(135deg, #ff1493 0%, #ff69b4 100%);
    color: white;
    padding: 14px 26px;
    font-size: 16px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all .3s ease;
    box-shadow: 0 8px 20px rgba(255, 20, 147, 0.2);
    border: none;
    cursor: pointer;
    margin-top: 8px;
    overflow: hidden;
    z-index: 1;
}

.tip-button:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 12px 30px rgba(255, 20, 147, 0.3);
    background: linear-gradient(135deg, #ff1493 0%, #e91e63 100%);
}

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

/* Sparkle effects behind buttons */
.main-btn::after,
.tip-button::after {
    content: '✨';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    opacity: 0;
    animation: sparkle 2.5s ease-in-out infinite;
}

@media (max-width: 480px) {
    .container { padding: 20px; }
    h1 { font-size: 2.2rem; }
    .profile-img, .icon { width: 130px; height: 130px; }
    .main-btn, .tip-button { font-size: 15px; padding: 13px 20px; }
    .tip-section { padding: 18px; }
}

