@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Poppins:wght@300;400;600&display=swap');

:root {
    --dark-purple-bg: #140a20;
    --deep-purple: #1f122d;
    --primary-purple: #7c45e1;
    --secondary-purple: #b28bd8;
    --accent-mauve: #d8a2c5;
    --accent-gold: #c8a769;
    --glow-purple: #9b6dff;
    --glow-mauve: #d3a2c8;
    --text-light: #efe7ff;
    --text-muted: #c8b6e0;
    --white: #ffffff;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--dark-purple-bg);
    color: var(--text-light);
    margin: 0;
    padding: 0;
    line-height: 1.8;
    overflow-x: hidden;
    position: relative;
}

body::before,
body::after {
    content: "";
    position: fixed;
    left: 0;
    bottom: 0;
    width: 200%;
    height: 240px;
    z-index: -1;
    background-repeat: repeat-x;
    background-size: 1440px 240px;
    animation: wave 26s linear infinite;
    will-change: transform;
    opacity: 0.5;
}

body::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,60 C240,20 240,100 480,60 C720,20 720,100 960,60 C1200,20 1200,100 1440,60 L1440,120 L0,120 Z' fill='%23d3a2c8' fill-opacity='0.5'/%3E%3C/svg%3E");
    animation-duration: 26s;
}

body::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath d='M0,50 C240,90 240,10 480,50 C720,90 720,10 960,50 C1200,90 1200,10 1440,50 L1440,120 L0,120 Z' fill='%239b6dff' fill-opacity='0.2'/%3E%3C/svg%3E");
    animation-duration: 32s;
}

@keyframes wave {
   0% { transform: translateX(0); }
   100% { transform: translateX(-50%); }
}

.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 20px;
}

.main-header {
    background: linear-gradient(135deg, #1a0d2a, #2a1740, rgba(211, 162, 200, 0.22));
    padding: 2rem 0;
    text-align: center;
    border-bottom: 2px solid rgba(211, 162, 200, 0.55);
    box-shadow: 0 10px 30px rgba(20, 10, 32, 0.6), 0 0 30px rgba(155, 109, 255, 0.25), 0 0 18px rgba(211, 162, 200, 0.25);
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-bottom: 1rem;
}

.logo {
    max-width: 100px;
    border-radius: 50%;
    border: 2px solid rgba(216, 162, 197, 0.75);
    box-shadow: 0 0 20px rgba(155, 109, 255, 0.45), 0 0 40px rgba(211, 162, 200, 0.5);
}

.site-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    text-shadow: 0 0 12px rgba(155, 109, 255, 0.7), 0 0 24px rgba(211, 162, 200, 0.4);
    margin: 0;
}

.tagline {
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-muted);
    opacity: 0.95;
}

main {
    padding: 3rem 0;
}

.section {
    margin-bottom: 3rem;
    padding: 2.5rem;
    background: linear-gradient(160deg, rgba(31, 18, 45, 0.95), rgba(24, 12, 34, 0.85), rgba(58, 33, 64, 0.9));
    border-radius: 12px;
    box-shadow: 0 12px 35px rgba(10, 6, 18, 0.65), 0 0 25px rgba(155, 109, 255, 0.15), 0 0 20px rgba(211, 162, 200, 0.12);
    text-align: center;
    border: 1px solid rgba(211, 162, 200, 0.2);
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    text-shadow: 0 0 12px rgba(211, 162, 200, 0.55), 0 0 18px rgba(155, 109, 255, 0.35);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
    margin: 0.75rem auto 0;
    box-shadow: 0 0 10px rgba(200, 167, 105, 0.6);
}

p {
    margin-bottom: 1rem;
    font-size: 1.05rem;
    color: var(--text-muted);
}

.social-media {
    background-color: transparent;
    box-shadow: none;
    border: none;
}

.social-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

.social-links a {
    font-size: 2rem;
    color: var(--text-muted);
    transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
}

.social-links a:hover {
    color: var(--white);
    transform: scale(1.15);
    text-shadow: 0 0 12px rgba(155, 109, 255, 0.7);
}

.podcast-player {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2.5rem;
    background-color: rgba(24, 12, 34, 0.9);
    border: 1px solid rgba(155, 109, 255, 0.2);
    border-radius: 12px;
}

.podcast-placeholder {
    width: 100%;
    max-width: 400px;
    height: 100px;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-muted);
    font-style: italic;
    font-family: 'Poppins', sans-serif;
}

.main-footer {
    text-align: center;
    padding: 2rem 0;
    margin-top: 2rem;
    border-top: 1px solid rgba(155, 109, 255, 0.2);
    font-size: 0.9rem;
    color: var(--text-muted);
}

.privacy-note {
    max-width: 700px;
    margin: 0.75rem auto 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.btn-primary {
    display: inline-block;
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    background: linear-gradient(135deg, rgba(124, 69, 225, 0.9), rgba(200, 167, 105, 0.85));
    border: 2px solid rgba(200, 167, 105, 0.55);
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(14, 8, 25, 0.5), 0 0 18px rgba(155, 109, 255, 0.4);
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(200, 167, 105, 0.7), 0 0 40px rgba(211, 162, 200, 0.3);
}

.featured-study {
    background-color: rgba(24, 12, 34, 0.8);
    border: 1px solid rgba(200, 167, 105, 0.25);
    padding: 2rem;
}

.video-frame {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(10, 6, 18, 0.6), 0 0 20px rgba(155, 109, 255, 0.2);
    border: 2px solid rgba(200, 167, 105, 0.45);
}

.video-frame video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.study-link {
    display: inline-block;
    margin-top: 1rem;
    font-weight: 600;
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.study-link:hover {
    color: var(--white);
    text-shadow: 0 0 12px rgba(211, 162, 200, 0.6);
}
