@import url('https://fonts.googleapis.com/css2?family=Modak&display=swap');

@font-face {
  font-family: 'baberry';
  src: url('baberry.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

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



body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    /* Immersive, moody deep water/reptilian gradient background */
    background: radial-gradient(circle at 50% 15%, #1e5e67 0%, #0d2226 100%);
    color: #f4f8f9;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 60px 20px;
    position: relative;
    overflow-x: hidden;
}

/* Organic micro-texture scale simulation overlay */
body::before {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    opacity: 0.025;
    pointer-events: none;
    z-index: 10;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Tracking Accents */
.track-accent {
    position: absolute;
    font-size: 1.5rem;
    opacity: 0.08;
    pointer-events: none;
    user-select: none;
    color: #E3C94E;
}
.track-1 { top: 12%; left: 10%; transform: rotate(15deg); }
.track-2 { top: 65%; right: 8%; transform: rotate(-35deg); }

/* Main Wrapper Layout */
.container {
    width: 100%;
    max-width: 460px;
    text-align: center;
    animation: dynamicFade 0.7s cubic-bezier(0.25, 1, 0.5, 1);
}

/* Profile / Branding Header */
.profile {
    margin-bottom: 45px;
}

.avatar-container {
    width: 250px;
    height: 250px;
    background-color: #0d2226;
    border: 2px solid #E3C94E; /* Your gold accent border */
    border-radius: 50%;        /* Forces the container into a perfect circle */
    overflow: hidden;          /* Clips the square corners of the image inside it */
    margin: 0 auto 24px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;         /* Ensures the image fills the circle without stretching */
    display: block;
}
}

.avatar-icon {
    font-size: 2.2rem;
    color: #E3C94E;
}

.podcast-title {
  font-family: "baberry", system-ui;
    font-size: 2.3rem;
    font-weight: 400;
    letter-spacing: -0.7px;
    color: #ffffff;
    text-transform: uppercase;
}

.podcast-subtitle {
  font-family: "baberry", system-ui;
    font-size: 1.8rem;
    font-weight: 400;
    letter-spacing: -0.7px;
    margin-bottom: 12px;
    color: #ffffff;
    text-transform: uppercase;
}

.podcast-tagline {
    font-size: 1rem;
    line-height: 1.5;
    color: #f4f8f9;
    opacity: 0.85;
    padding: 0 20px;
    font-weight: 400;
}

/* Links Grid Structure */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 45px;
}

/* 3-Column Grid Layout (Guarantees un-smooshed, readable icon separation) */
.link-btn {
    display: grid;
    grid-template-columns: 40px 1fr 40px; 
    align-items: center;
    text-decoration: none;
    color: #f4f8f9;
    background-color: rgba(30, 94, 103, 0.3); /* Transparent Main Teal Base */
    border: 1px solid rgba(58, 125, 135, 0.4); /* Muted slate teal borders */
    padding: 16px 12px;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.25s cubic-bezier(0.215, 0.610, 0.355, 1);
}

/* Icon box placement track */
.icon-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.35rem;
    color: #E3C94E; /* Base color uses Accent Gold */
    transition: transform 0.2s ease, color 0.2s ease;
}

/* Middle core text alignment track */
.btn-text {
    grid-column: 2;
    text-align: center;
    word-wrap: break-word;
}

/* Hover Physics Engine */
.link-btn:hover {
    transform: translateY(-2px);
    background-color: rgba(30, 94, 103, 0.55);
    border-color: #E3C94E; /* Changes to Accent Gold on Hover */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.link-btn:hover .icon-wrapper {
    transform: scale(1.15);
    color: #ffffff;
}

.link-btn:active {
    transform: translateY(1px);
}

/* Branding indicator adjustments for specific services */
.link-btn.spotify:hover { border-color: #1DB954; }
.link-btn.apple:hover { border-color: #7224d8; }
.link-btn.amazon:hover { border-color: #00A8E1; }
.link-btn.anchor:hover { border-color: #A549FF; }
.link-btn.pocketcasts:hover { border-color: #F74132; }
.link-btn.youtube:hover { border-color: #FF0000; }


/* Section Separator */
.divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 14px 0;
    color: #3a7d87;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.divider::before, .divider::after {
    content: '';
    flex: 1;
    border-bottom: 2px dashed rgba(58, 125, 135, 0.4);
}

.divider:not(:empty)::before { margin-right: 1.5em; }
.divider:not(:empty)::after { margin-left: 1.5em; }

/* Minimalist Footer Note */
.social-footer {
    margin-top: 16px;
}

.footer-note {
    color: #3a7d87;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 700;
}


.footer-note-shop {
    color: #3a7d87;
    font-size: 0.4rem;
    letter-spacing: 2px;
    margin-top:12px;
    text-transform: uppercase;
    font-weight: 700;
}


/* Smooth scaling entry animation */
@keyframes dynamicFade {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Adaptive layout for micro viewports */
@media (max-width: 400px) {
    body {
        padding: 40px 14px;
    }
    .link-btn {
        font-size: 0.98rem;
        grid-template-columns: 35px 1fr 35px;
        padding: 14px 8px;
    }
}

.spotify-embed {
  position: relative;
  width: 100%;
  max-width: 496px;
  aspect-ratio: 16 / 9;
  margin-bottom: 16px;
}

.spotify-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}
