/* =====================
   GLOBAL RESET
===================== */

* {
    box-sizing: border-box;
    font-family: 'Segoe UI', Arial, sans-serif;
}

body {
    margin: 0;
    height: 100vh;
    background: linear-gradient(135deg, #2b0a12, #5a0f1e, #8c1d30);
    background-attachment: fixed;
    overflow: hidden;
}

/* =====================
   NAVIGATION ARROWS
===================== */

.arrow {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    background: rgba(255,255,255,0.85);
    border: none;
    padding: 12px 16px;
    cursor: pointer;
    z-index: 100;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    transition: transform 0.2s ease, background 0.2s ease;
}

.arrow:hover {
    transform: translateY(-50%) scale(1.1);
    background: #ff4d6d;
    color: white;
}

.left { left: 14px; }
.right { right: 14px; }

/* =====================
   CAROUSEL CONTAINER
===================== */

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

/* =====================
   CARD BASE
===================== */

.card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 320px;
    height: 460px;

    background: rgba(255,255,255,0.96);
    border-radius: 24px;
    box-shadow: 0 22px 45px rgba(0,0,0,0.35);

    transform: translate(-50%, -50%);
    transition: transform 0.6s ease, opacity 0.6s ease;

    overflow: hidden;
}

/* =====================
   CARD CONTENT (CENTERED)
===================== */

.card > * {
    margin: 6px 0;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: center;   /* vertical center */
    align-items: center;       /* horizontal center */
    text-align: center;
    padding: 22px;
}

/* =====================
    INSTA ANIMATION
    ====================== */

    .insta-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 8px 18px;
    border-radius: 24px;
    text-decoration: none;
    color: white;
    font-size: 14px;
    font-weight: 600;

    background: linear-gradient(
        45deg,
        #f58529,
        #dd2a7b,
        #8134af,
        #515bd4
    );
    background-size: 300% 300%;
    animation: instaGradient 4s ease infinite;

    box-shadow: 0 8px 20px rgba(221,42,123,0.45);
    transition: transform 0.25s ease;
}

.insta-link:hover {
    transform: scale(1.08);
}

/* SVG icon animation */
.insta-svg {
    display: flex;
    animation: pulse 1.6s infinite;
}

/* Gradient animation */
@keyframes instaGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Pulse effect */
@keyframes pulse {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.25); }
    100% { transform: scale(1); }
}


/* =====================
   CARD ELEMENTS
===================== */

.card img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 4px solid #ff4d6d;
    margin-bottom: 10px;
}

.card h2 {
    margin: 10px 0 6px;
    color: #2b0a12;
}

.card p {
    font-size: 14px;
    opacity: 0.85;
}

.card ul {
    list-style: none;
    padding: 0;
    margin-top: 10px;
}

.card ul li {
    margin: 8px 0;
    font-size: 15px;
}

/* =====================
   INSTAGRAM CHIP
===================== */

.insta {
    margin-top: 10px;
    padding: 8px 18px;
    border-radius: 20px;
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
    color: white;
    font-weight: 600;
    font-size: 14px;
}

/* =====================
   BUTTONS INSIDE CARD
===================== */

.card button {
    margin-top: 16px;
    padding: 12px 26px;
    border-radius: 30px;
    border: none;
    background: #ff4d6d;
    color: white;
    font-size: 15px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.card button:hover {
    transform: scale(1.05);
}

/* =====================
   🎉 PARTY POPPERS
===================== */

.popper {
    position: fixed;
    top: 50%;
    width: 1px;
    height: 1px;
    pointer-events: none;
    z-index: 300;
}

.left-popper { left: 30px; }
.right-popper { right: 30px; }

.confetti {
    position: absolute;
    font-size: 18px;
    opacity: 0.95;
    animation: blast 1.2s ease-out forwards;
    user-select: none;
    will-change: transform, opacity;
}

@keyframes blast {
    from {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 1;
    }
    to {
        transform: translate(var(--x), var(--y)) scale(0.3) rotate(720deg);
        opacity: 0;
    }
}

.profile-img {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ff4d6d;
    margin-bottom: 12px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.card:hover .profile-img {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(255, 77, 109, 0.45);
}

