@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Inter:wght@300;400;600&display=swap');

:root {
    --bg-color: #000;
    --acc-color: #2a001a;
    --pink-light: #ffd1e5;
    --pink-mid: #ff5fa2;
    --pink-dark: #ff2f7a;
    --text-white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.06);
    --glass-border: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: radial-gradient(circle at bottom, var(--acc-color), var(--bg-color));
    color: var(--text-white);
    min-height: 100vh;
    min-height: 100dvh;
    /* Dynamic viewport height for mobile browsers */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    overflow-y: auto;
    /* Ensure vertical scrolling is enabled */
    position: relative;
    padding: 2rem 0;
    /* Add vertical padding for mobile breathing room */
}

/* Texture Grain Overlay */
body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.15;
    pointer-events: none;
    z-index: 1;
}

.container {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
}

h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 10px var(--pink-mid), 0 0 20px var(--pink-dark);
}

p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    font-weight: 300;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    background: linear-gradient(45deg, var(--pink-dark), var(--pink-mid));
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(255, 47, 122, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 25px rgba(255, 47, 122, 0.5);
}

/* Floating Hearts */
.heart {
    position: absolute;
    color: var(--pink-mid);
    font-size: 1.5rem;
    pointer-events: none;
    animation: floatUp 4s linear infinite;
    opacity: 0;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) scale(0.5) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.7;
    }

    90% {
        opacity: 0.7;
    }

    100% {
        transform: translateY(-10vh) scale(1.2) rotate(360deg);
        opacity: 0;
    }
}

/* Glassmorphism Card (for other pages) */
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    border-radius: 30px;
    padding: 2rem;
    margin-bottom: 2rem;
}

/* Avatar Halo Effect */
.avatar-ring {
    width: 250px;
    height: 250px;
    max-width: 80vw;
    max-height: 80vw;
    background: radial-gradient(circle,
            rgba(255, 95, 162, 0.35),
            rgba(255, 95, 162, 0.15),
            rgba(255, 95, 162, 0.05));
    border-radius: 50%;
    padding: 6px;
    display: block;
    margin: 0 auto 1.5rem auto;
    animation: pulse 3s ease-in-out infinite;
    box-shadow: rgba(255, 95, 162, 0.4) 0px 0px 25px 0px;
    overflow: hidden;
    will-change: transform, box-shadow;
    transform: translateZ(0);
    /* Trigger GPU acceleration */
}

.avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    transform: scale(1.1) translateY(10px) translateZ(0);
    will-change: transform;
}

@keyframes pulse {

    0%,
    100% {
        box-shadow: rgba(255, 95, 162, 0.4) 0px 0px 25px;
    }

    50% {
        box-shadow: rgba(255, 95, 162, 0.6) 0px 0px 45px;
    }
}