:root {
    --bg-color: #050505;
    --text-main: #ffffff;
    --text-sub: #9ca3af;
    --btn-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
}

/* --- DYNAMIC BACKGROUND --- */
.ambient-light {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px); /* Slightly less blur to define shapes more */
    opacity: 0.8; /* BRIGHTER */
    animation: float 10s infinite alternate; /* FASTER */
}

.blob-1 {
    top: -10%; left: -10%; width: 500px; height: 500px;
    background: #4f46e5; animation-delay: 0s;
}

.blob-2 {
    bottom: -10%; right: -10%; width: 400px; height: 400px;
    background: #c026d3; animation-delay: -2s;
}

.blob-3 {
    top: 40%; left: 40%; width: 350px; height: 350px;
    background: #2563eb; 
    animation-duration: 12s; /* Different speed for randomness */
    opacity: 0.6;
}

.noise-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1; opacity: 0.07;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    pointer-events: none;
}

/* --- CONTAINER & CONTENT --- */
.container {
    width: 100%;
    max-width: 450px;
    padding: 30px 20px;
    text-align: center;
    z-index: 1;
    
    /* PRE-ANIMATION STATE (Hidden) */
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* CLASS ADDED BY JS TO SHOW CONTENT */
.loaded {
    opacity: 1;
    transform: translateY(0);
}

/* Profile Section */
.profile-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 24px;
}

.profile-img {
    width: 100%; height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 40px rgba(168, 85, 247, 0.3); 
}

h1 {
    font-size: 1.6rem; font-weight: 700;
    margin-bottom: 6px; letter-spacing: -0.5px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.bio {
    color: #e5e7eb; /* Much lighter gray, almost white */
    font-size: 0.95rem; 
    margin-bottom: 40px; 
    font-weight: 400;
    line-height: 1.5; /* Better readability */
}

/* Buttons */
.links-container {
    display: flex; flex-direction: column; gap: 14px;
}

.btn {
    display: flex; align-items: center; justify-content: center;
    padding: 18px; border-radius: 16px;
    text-decoration: none; font-weight: 600;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative; font-size: 1rem; letter-spacing: 0.3px;
}

.btn i { margin-right: 10px; font-size: 1.2rem; }

.btn-primary {
    background: var(--btn-gradient); color: white;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 10px 30px -10px rgba(124, 58, 237, 0.5);
    animation: subtlePulse 3s infinite;
}

.btn-primary:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 35px -10px rgba(124, 58, 237, 0.7);
}

.btn-secondary {
    background: var(--glass-bg); color: var(--text-main);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
}

.btn-secondary:hover {
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.footer { margin-top: 60px; font-size: 0.8rem; color: #9ca3af;}
.footer a { color: inherit; text-decoration: none; transition: 0.3s;}
.footer a:hover { color: white; }

/* Keyframes */
@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -50px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

@keyframes subtlePulse {
    0% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.4); }
    70% { box-shadow: 0 0 0 15px rgba(168, 85, 247, 0); }
    100% { box-shadow: 0 0 0 0 rgba(168, 85, 247, 0); }
}

/* =========================================
   PRIVACY POLICY PAGE OVERRIDES
   ========================================= */
body.page-privacy {
    display: block; /* Disable flex centering */
    overflow-y: auto; /* Allow scrolling */
    padding: 40px 20px;
}

.privacy-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    position: relative;
    z-index: 2; /* Ensure text is above background blobs */
}

/* Privacy Headings */
.privacy-container h1 {
    font-size: 2rem;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    padding-bottom: 15px;
    color: var(--text-main);
}

.privacy-container h2 {
    margin-top: 40px;
    margin-bottom: 15px;
    color: #a855f7;
    font-size: 1.3rem;
}

/* Privacy Text */
.privacy-container p, 
.privacy-container li {
    color: #d1d5db;
    line-height: 1.8;
    margin-bottom: 15px;
}

.privacy-container ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

/* Privacy Links */
.privacy-container a {
    color: #6366f1;
    text-decoration: none;
    transition: 0.3s;
}
.privacy-container a:hover {
    color: #a855f7;
    text-decoration: underline;
}

.back-link {
    display: inline-block;
    margin-top: 50px;
    padding: 10px 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.1);
    color: white !important;
    text-decoration: none !important;
}
.back-link:hover {
    background: rgba(255,255,255,0.1);
}