:root {
    --bg-color-1: #0f172a; /* Slate 900 */
    --bg-color-2: #1e1b4b; /* Indigo 950 */
    --surface-color: rgba(30, 41, 59, 0.7); /* Slate 800 with opacity */
    --surface-border: rgba(255, 255, 255, 0.1);
    --text-primary: #f8fafc; /* Slate 50 */
    --text-secondary: #cbd5e1; /* Slate 300 */
    --accent-color: #818cf8; /* Indigo 400 */
    --accent-hover: #a5b4fc; /* Indigo 300 */
    --warning-bg: rgba(234, 179, 8, 0.1); /* Yellow 500 with opacity */
    --warning-border: rgba(234, 179, 8, 0.3);
    --warning-text: #fde047; /* Yellow 300 */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: #0f172a; /* Solid fallback for iOS Safari */
    background-image: linear-gradient(135deg, var(--bg-color-1), var(--bg-color-2));
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow-x: hidden;
}

/* Dynamic Background Decor */
.background-decor {
    display: none;
}

@keyframes drift {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-2%, 5%); }
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.site-header {
    padding: 3rem 0;
    text-align: center;
}

.site-header h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    background: linear-gradient(to right, #818cf8, #e879f9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.main-content {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 2rem 0 4rem;
}

/* Glassmorphism Card */
.bio-card {
    background: var(--surface-color);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--surface-border);
    border-radius: 24px;
    padding: 3rem;
    display: grid;
    grid-template-columns: minmax(250px, 1fr) 2fr;
    gap: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bio-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px -12px rgba(0, 0, 0, 0.6);
}

.bio-image-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.bio-image {
    width: 100%;
    max-width: 300px;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.4s ease, border-color 0.4s ease;
}

.bio-image:hover {
    transform: scale(1.03);
    border-color: rgba(255, 255, 255, 0.3);
}

.image-caption {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-align: center;
    font-style: italic;
    opacity: 0.8;
}

.bio-text h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #ffffff;
}

.lead-text {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.info-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.info-links li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    font-size: 1.05rem;
    color: var(--text-secondary);
}

.info-links .icon {
    font-size: 1.25rem;
    margin-top: 0.1rem;
}

a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease, text-shadow 0.2s ease;
    position: relative;
}

a:hover {
    color: var(--accent-hover);
    text-shadow: 0 0 8px rgba(165, 180, 252, 0.4);
}

a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-hover);
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease-out;
}

a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Notice Box */
.notice {
    background: var(--warning-bg);
    border: 1px solid var(--warning-border);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.notice strong {
    color: var(--warning-text);
}

.site-footer {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .bio-card {
        grid-template-columns: 1fr;
        padding: 2rem;
        gap: 2rem;
    }
    
    .bio-image {
        max-width: 250px;
    }
    
    .bio-text h2 {
        font-size: 2rem;
        text-align: center;
    }
    
    .lead-text {
        text-align: center;
    }
}
