:root {
    --bg-color: #f8fafc;
    --text-primary: #1e293b;
    --text-secondary: #475569;
    --accent: #ca8a04; /* Soft Gold */
    --accent-light: #fef08a;
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(255, 255, 255, 0.5);
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.05);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Background Parallax */
.parallax-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60vh;
    background-size: cover;
    background-position: center 20%;
    z-index: -2;
    transition: background-image 1s ease-in-out;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(to bottom, rgba(248, 250, 252, 0.2) 0%, rgba(248, 250, 252, 0.95) 50%, rgba(248, 250, 252, 1) 100%);
    z-index: -1;
}

.app-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    z-index: 10;
}

.back-btn {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 8px 16px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.2s;
}

.back-btn:hover {
    transform: translateY(-2px);
}

.date-badge {
    background: var(--accent);
    color: white;
    padding: 6px 14px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.85rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(202, 138, 4, 0.3);
}

/* Main Content */
.santo-content {
    padding: 0 20px 40px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.santo-image-container {
    margin-top: 10vh;
    position: relative;
    border-radius: 24px;
    margin-bottom: -40px; /* Overlap trick */
    z-index: 2;
    text-align: center;
}

.santo-image-container img {
    width: 160px;
    height: 160px;
    object-fit: cover;
    border-radius: 50%;
    border: 6px solid white;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    background: #e2e8f0;
}

.santo-name-box {
    margin-top: 15px;
    margin-bottom: 25px;
}

.santo-prefix {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

.santo-name-box h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-top: 5px;
    text-shadow: 0 2px 10px rgba(255,255,255,0.8);
}

/* Glass Panel */
.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 1;
    padding-top: 50px;
}

/* Tabs */
.tabs {
    display: flex;
    background: rgba(0,0,0,0.04);
    border-radius: 12px;
    padding: 5px;
    margin-bottom: 25px;
}

.tab-btn {
    flex: 1;
    background: transparent;
    border: none;
    padding: 10px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-secondary);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tab-btn.active {
    background: white;
    color: var(--accent);
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.tab-content {
    display: none;
    animation: fadeIn 0.4s ease-out;
}

.tab-content.active {
    display: block;
}

/* Typography (Bio and Prayer) */
.santo-bio {
    font-family: 'Lora', serif;
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-primary);
    text-align: justify;
}

.santo-prayer {
    font-family: 'Lora', serif;
    font-size: 1.2rem;
    line-height: 1.8;
    font-style: italic;
    color: var(--text-primary);
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(0,0,0,0.05);
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Share Button */
.share-box {
    margin-top: 30px;
    text-align: center;
}

.share-btn {
    background: var(--accent);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 15px rgba(202, 138, 4, 0.3);
}

.share-btn:hover {
    transform: translateY(-2px);
    background: #a16207;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal-up {
    animation: fadeIn 0.8s ease-out forwards;
}
