/* --- Reset & Base Variables --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Inter', sans-serif;
    
    /* Luxury Cinematic Palette */
    --bg-color: #050505; 
    --text-color: #fcfcfc;
    --text-muted: #8a8a8f;
    --accent-gold: #d4af37; 
    --accent-glow: rgba(212, 175, 55, 0.04);
}

body {
    font-family: var(--font-sans);
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 30px 20px; /* Safe padding for edge-to-edge mobile views */
    overflow-x: hidden; /* Prevent horizontal clipping */
    position: relative;
}

/* --- Atmospheric Dynamic Background Glows --- */
.ambient-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: 0;
    pointer-events: none;
    opacity: 0.6;
}
.glow-1 {
    top: -10%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.03);
}
.glow-2 {
    bottom: 10%;
    right: -5%;
    width: 350px;
    height: 350px;
    background: var(--accent-glow);
    animation: pulseGlow 8s ease-in-out infinite alternate;
}

/* --- Responsive Wrapper Layout --- */
.wrapper {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    min-height: 80vh; /* Uses min-height instead of strict height to let content overflow naturally */
    gap: 40px; /* Space buffer between top content and footer on short screens */
    z-index: 1;
}

.content-box {
    text-align: center;
    width: 100%;
    margin: auto 0;
}

/* --- Premium Profile Image Layout --- */
.profile-container {
    /* Fluid size that scales nicely on small screens */
    width: clamp(100px, 25vw, 120px);
    height: clamp(100px, 25vw, 120px);
    margin: 0 auto 25px auto;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.01) 100%);
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.profile-container::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--accent-gold), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0.4;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    filter: grayscale(40%) contrast(1.05);
    transition: filter 0.5s ease;
}

.profile-container:hover .profile-img {
    filter: grayscale(0%) contrast(1);
}

/* --- Typography with clamp() for dynamic screen sizing --- */
h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.0rem, 8vw, 2.6rem); /* Responsive fluid typography */
    font-weight: 300;
    letter-spacing: 0.5px;
    margin-bottom: 8px;
    background: linear-gradient(to bottom, #ffffff, #dcdcdc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.tagline {
    font-size: clamp(0.7rem, 3vw, 0.8rem);
    color: var(--text-muted);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 400;
    margin-bottom: 30px;
}

/* --- Elegant Minimalist Badge --- */
.status-badge {
    display: inline-block;
    font-size: clamp(0.65rem, 2.5vw, 0.7rem);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 30px;
    color: var(--accent-gold);
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.message {
    font-size: clamp(0.85rem, 3.5vw, 0.95rem);
    line-height: 1.6;
    color: var(--text-muted);
    font-weight: 200;
    max-width: 340px;
    margin: 0 auto;
    padding: 0 10px; /* Inline padding buffer on tiny mobile displays */
}

/* --- Sophisticated Footer Area --- */
footer {
    font-size: 0.7rem;
    color: #444;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    width: 100%;
}

footer span {
    color: #888;
    font-weight: 400;
    letter-spacing: 1.5px;
    transition: color 0.4s ease;
}

footer:hover span {
    color: var(--text-color);
}

/* --- Pure CSS Animations --- */
.animate-fade-in {
    animation: fadeInUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(15px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulseGlow {
    0% {
        transform: scale(1) translate(0, 0);
        opacity: 0.4;
    }
    100% {
        transform: scale(1.1) translate(-3%, -2%);
        opacity: 0.6;
    }
}

/* --- Mobile Landscape Adjustments --- */
@media (max-height: 500px) {
    body {
        padding: 20px 10px;
    }
    .wrapper {
        min-height: unset;
        height: auto;
        gap: 30px;
    }
    .profile-container {
        margin-bottom: 15px;
    }
    .tagline {
        margin-bottom: 20px;
    }
}