/* Page-specific styles */

/* Page Header */
.page-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 54, 93, 0.1);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 247, 237, 0.1);
}

.page-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.back-link {
    color: rgba(255, 247, 237, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.back-link:hover {
    color: #20c997;
    text-shadow: 0 0 20px rgba(32, 201, 151, 0.5);
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    color: #fff7ed;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.spacer {
    width: 80px;
}

/* Page Content */
.page-content {
    padding-top: 120px;
    min-height: 100vh;
}

.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Intro Section */
.intro-section {
    text-align: center;
    margin-bottom: 4rem;
}

.intro-text {
    font-size: 1.2rem;
    line-height: 1.8;
    color: rgba(255, 247, 237, 0.9);
    max-width: 800px;
    margin: 0 auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.intro-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 3rem;
}

.intro-stats .stat-item {
    text-align: center;
}

.intro-stats .stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff6b35;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.intro-stats .stat-label {
    font-size: 0.9rem;
    color: rgba(255, 247, 237, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Media Page Styles */
.media-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.media-item {
    background: rgba(255, 247, 237, 0.05);
    border: 1px solid rgba(255, 247, 237, 0.1);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.media-item:hover {
    background: rgba(255, 247, 237, 0.08);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-2px);
}

.media-item.featured {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(32, 201, 151, 0.1));
    border-color: rgba(255, 107, 53, 0.3);
}

.media-type {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ff6b35;
    background: rgba(255, 107, 53, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.media-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 600;
    color: #fff7ed;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.media-author {
    font-size: 0.9rem;
    color: rgba(255, 247, 237, 0.7);
    margin-bottom: 1rem;
    font-style: italic;
}

.media-description {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 247, 237, 0.9);
    margin-bottom: 1rem;
}

.media-status {
    display: inline-block;
    background: rgba(32, 201, 151, 0.2);
    color: #20c997;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.media-rating {
    font-size: 1.1rem;
    color: #ff6b35;
}

/* Queue Section */
.queue-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.queue-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 247, 237, 0.03);
    border: 1px solid rgba(255, 247, 237, 0.1);
    border-radius: 10px;
    padding: 1rem;
    transition: all 0.3s ease;
}

.queue-item:hover {
    background: rgba(255, 247, 237, 0.06);
    border-color: rgba(255, 107, 53, 0.2);
}

.queue-type {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.queue-title {
    font-weight: 500;
    color: #fff7ed;
    flex-grow: 1;
}

.queue-author {
    font-size: 0.9rem;
    color: rgba(255, 247, 237, 0.7);
    font-style: italic;
}

/* Influences Section */
.influences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.influence-item {
    background: rgba(255, 247, 237, 0.05);
    border: 1px solid rgba(255, 247, 237, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.influence-item:hover {
    background: rgba(255, 247, 237, 0.08);
    border-color: rgba(32, 201, 151, 0.3);
    transform: translateY(-2px);
}

.influence-item h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #20c997;
    margin-bottom: 0.8rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.influence-item p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(255, 247, 237, 0.9);
    margin: 0;
}

/* Section Spacing */
.current-media,
.recent-media,
.media-queue,
.influences {
    margin-bottom: 4rem;
}

/* Section Titles */
.current-media h3,
.recent-media h3,
.media-queue h3,
.influences h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 400;
    color: #fff7ed;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Birthplace Highlight */
.birthplace-highlight {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-radius: 15px;
    padding: 2rem;
    margin: 3rem auto;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3);
}

.birthplace-highlight h3 {
    color: #000;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.birthplace-highlight p {
    color: #333;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

/* Section Titles */
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: #fff7ed;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Story Section (About Page) - Updated for better readability */
.story-section {
    max-width: 800px;
    margin: 0 auto;
}

.story-section p {
    font-size: 1.3rem;
    line-height: 1.8;
    color: rgba(255, 247, 237, 0.9);
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.story-section p:last-child {
    margin-bottom: 0;
}

/* Common Grid Styles */
.detail-grid,
.skills-grid,
.places-grid,
.projects-grid,
.posts-grid,
.topics-grid,
.equipment-grid,
.skills-categories {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.detail-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.skills-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.places-grid,
.projects-grid,
.posts-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.topics-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.equipment-grid,
.skills-categories {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

/* Card Styles */
.place-card,
.project-card,
.post-card {
    background: rgba(26, 54, 93, 0.3);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 247, 237, 0.1);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.place-card:hover,
.project-card:hover,
.post-card:hover {
    transform: translateY(-5px);
    border-color: rgba(32, 201, 151, 0.5);
    box-shadow: 0 8px 25px rgba(32, 201, 151, 0.2);
}

.place-image,
.project-image img,
.post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.place-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px 10px 0 0;
}

.place-icon {
    font-size: 3rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.place-info,
.project-info,
.post-info {
    padding: 1.5rem;
}

.place-info h4,
.project-info h4,
.post-info h4 {
    color: #fff7ed;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.place-info p,
.project-info p,
.post-info p {
    color: rgba(255, 247, 237, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* About Page Styles */
.details-section {
    margin-bottom: 4rem;
}

.detail-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #fff7ed;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.detail-item p {
    line-height: 1.7;
    color: rgba(255, 247, 237, 0.8);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.skills-section {
    margin-bottom: 4rem;
}

.skills-section h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: #fff7ed;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.skill-category h4 {
    color: #fff7ed;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    color: rgba(255, 247, 237, 0.8);
    padding: 0.3rem 0;
    border-bottom: 1px solid rgba(255, 247, 237, 0.1);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Places Page Styles */
.map-container {
    position: relative;
    height: 420px;
    border-radius: 10px;
    overflow: hidden;
    margin: 1.5rem 0;
    border: 1px solid #333;
}

.map {
    width: 100%;
    height: 100%;
    filter: invert(90%) hue-rotate(180deg);
}

.map-overlay {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(0, 0, 0, 0.8);
    padding: 1.5rem;
    border-radius: 10px;
    backdrop-filter: blur(10px);
}

.location-info h3 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.location-info p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.places-grid-section {
    margin: 4rem 0;
}

.place-card {
    cursor: pointer;
}

.place-date {
    color: rgba(255, 247, 237, 0.6);
    font-size: 0.9rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.travel-stats {
    text-align: center;
    margin: 1.5rem 0;
}

.stats-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    margin-top: 1rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #ff6b35;
    margin-bottom: 0.5rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.stat-label {
    color: rgba(255, 247, 237, 0.8);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Portfolio Page Styles */
.featured-project {
    margin: 4rem 0;
}

.project-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.project-image img {
    height: 300px;
}

.project-details h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #fff7ed;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.project-description {
    color: rgba(255, 247, 237, 0.8);
    line-height: 1.7;
    margin-bottom: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.tech-tag {
    background: rgba(32, 201, 151, 0.2);
    color: #20c997;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid rgba(32, 201, 151, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-link {
    color: #888;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border: 1px solid #333;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.project-link:hover {
    color: #fff;
    border-color: #fff;
}

.projects-section {
    margin: 4rem 0;
}

.skills-showcase {
    margin: 4rem 0;
}

.skill-column h4 {
    color: #fff;
    margin-bottom: 1rem;
}

/* Blog Page Styles */
.blog-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.substack-link,
.subscribe-link {
    color: #888;
    text-decoration: none;
    padding: 0.8rem 1.5rem;
    border: 1px solid #333;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.substack-link:hover,
.subscribe-link:hover {
    color: #fff;
    border-color: #fff;
}

.featured-post {
    margin: 4rem 0;
}

.post-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.post-image img {
    height: 250px;
}

.post-category {
    color: #888;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.post-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: #fff;
    margin: 1rem 0;
}

.post-excerpt {
    color: #ccc;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    color: #888;
    font-size: 0.9rem;
}

.read-more-link {
    color: #888;
    text-decoration: none;
    transition: color 0.3s ease;
}

.read-more-link:hover {
    color: #fff;
}

.recent-posts {
    margin: 4rem 0;
}

.newsletter-signup {
    background: #111;
    border-radius: 10px;
    padding: 3rem;
    text-align: center;
    margin: 4rem 0;
    border: 1px solid #333;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 400px;
    margin: 2rem auto;
}

.email-input {
    flex: 1;
    padding: 0.8rem;
    background: #222;
    border: 1px solid #333;
    border-radius: 5px;
    color: #fff;
}

.subscribe-button,
.contact-button {
    background: #333;
    color: #fff;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.subscribe-button:hover,
.contact-button:hover {
    background: #555;
}

.newsletter-note {
    color: #888;
    font-size: 0.8rem;
    margin-top: 1rem;
}

.blog-topics {
    margin: 4rem 0;
}

.topic-item h4 {
    color: #fff;
    margin-bottom: 0.5rem;
}

.topic-item p {
    color: #ccc;
    line-height: 1.6;
}

/* Photography Page Styles */
.gallery-filters {
    text-align: center;
    margin: 3rem 0;
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    color: #888;
    border: 1px solid #333;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
    color: #fff;
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 2rem;
}

.photo-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}

.photo-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.photo-item:hover img {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 2rem 1rem 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.photo-item:hover .photo-overlay {
    opacity: 1;
}

.photo-info h4 {
    color: #fff;
    margin-bottom: 0.3rem;
}

.photo-info p {
    color: #ccc;
    font-size: 0.9rem;
}

.photography-stats {
    text-align: center;
    margin: 4rem 0;
}

.equipment-section {
    margin: 4rem 0;
}

.equipment-item h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.equipment-item p {
    color: #ccc;
    margin-bottom: 0.5rem;
}

.photography-contact {
    text-align: center;
    margin: 4rem 0;
}

/* Instagram Feed Section */
.instagram-feed {
    text-align: center;
    margin: 4rem 0;
}

.instagram-grid {
    margin: 2rem 0;
}

.instagram-placeholder {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.instagram-post {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.instagram-post:hover {
    transform: scale(1.05);
}

.instagram-post img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.instagram-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.instagram-post:hover .instagram-overlay {
    opacity: 1;
}

.instagram-likes,
.instagram-comments {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 500;
}

.instagram-follow {
    display: inline-block;
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: #fff;
    text-decoration: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 500;
    transition: transform 0.3s ease;
    margin-top: 1rem;
}

.instagram-follow:hover {
    transform: translateY(-2px);
}

/* Google Location History Sign-in Button */
.sign-in-button {
    display: inline-block;
    background: linear-gradient(135deg, #4285f4, #1a73e8);
    color: #fff;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.sign-in-button:hover {
    transform: translateY(-2px);
    background: linear-gradient(135deg, #1a73e8, #1557b0);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.sign-in-button:active {
    transform: translateY(0);
}

/* Location Data Upload Styles */
.location-upload {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    border: 1px solid #333;
}

.location-upload h3 {
    color: #fff;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.upload-instructions {
    color: #ccc;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.upload-instructions a {
    color: #4285f4;
    text-decoration: none;
}

.upload-instructions a:hover {
    text-decoration: underline;
}

.upload-area {
    border: 2px dashed #555;
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
    background: rgba(0, 0, 0, 0.3);
}

.upload-area:hover {
    border-color: #4285f4;
    background: rgba(66, 133, 244, 0.1);
}

.upload-area.dragover {
    border-color: #4285f4;
    background: rgba(66, 133, 244, 0.2);
    transform: scale(1.02);
}

.upload-button {
    background: linear-gradient(135deg, #4285f4, #1a73e8);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.upload-button:hover {
    background: linear-gradient(135deg, #1a73e8, #1557b0);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(66, 133, 244, 0.3);
}

.upload-note {
    color: #888;
    font-size: 0.9rem;
    margin: 0;
}

.upload-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
    font-weight: 500;
    display: none;
}

.upload-status.loading {
    display: block;
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.upload-status.success {
    display: block;
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.upload-status.error {
    display: block;
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

/* Common Section Styles */
section {
    margin: 4rem 0;
}

section h3 {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #fff;
    text-align: center;
}

/* Instagram Redirect Styles */
.instagram-redirect {
    text-align: center;
    padding: 4rem 2rem;
    margin: 2rem 0;
}

.redirect-content {
    max-width: 500px;
    margin: 0 auto;
}

.instagram-icon {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.instagram-icon svg {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.redirect-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 1.5rem;
}

.redirect-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 3rem;
}

.instagram-button {
    display: inline-block;
    background: linear-gradient(135deg, #E4405F, #C13584);
    color: #fff;
    text-decoration: none;
    padding: 1.5rem 3rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(196, 53, 132, 0.3);
}

.instagram-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(196, 53, 132, 0.4);
}

.button-text {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.button-subtext {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
}

.auto-redirect {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border: 1px solid #333;
}

.redirect-note {
    color: #888;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.redirect-note #countdown {
    color: #E4405F;
    font-weight: 600;
}

.cancel-redirect {
    background: transparent;
    color: #888;
    border: 1px solid #444;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cancel-redirect:hover {
    color: #fff;
    border-color: #666;
}

/* Substack Redirect Styles */
.substack-redirect {
    text-align: center;
    padding: 4rem 2rem;
    margin: 2rem 0;
}

.substack-redirect .redirect-content {
    max-width: 500px;
    margin: 0 auto;
}

.substack-icon {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.substack-icon svg {
    animation: bounce 2s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.substack-redirect h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 400;
    color: #fff;
    margin-bottom: 1.5rem;
}

.substack-redirect .redirect-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 3rem;
}

.substack-button {
    display: inline-block;
    background: linear-gradient(135deg, #FF6719, #E55100);
    color: #fff;
    text-decoration: none;
    padding: 1.5rem 3rem;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 103, 25, 0.3);
}

.substack-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 103, 25, 0.4);
}

.substack-button .button-text {
    display: block;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.3rem;
}

.substack-button .button-subtext {
    display: block;
    font-size: 0.9rem;
    opacity: 0.8;
}

.topics-preview {
    margin-top: 4rem;
}

.topics-preview h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 400;
    color: #fff;
    text-align: center;
    margin-bottom: 2rem;
}

.topics-preview .topics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.topics-preview .topic-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid #333;
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.topics-preview .topic-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.05);
    border-color: #FF6719;
}

.topics-preview .topic-item h4 {
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.topics-preview .topic-item p {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.5;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-nav {
        padding: 0.5rem;
    }

    .content-wrapper {
        padding: 0 1rem;
    }

    .project-hero,
    .post-hero {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .stats-grid {
        gap: 2rem;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }

    .filter-buttons {
        gap: 0.5rem;
    }

    .instagram-placeholder {
        grid-template-columns: repeat(2, 1fr);
    }

    .intro-stats {
        gap: 2rem;
    }

    .blog-links {
        flex-direction: column;
        align-items: center;
    }

    .detail-grid,
    .places-grid,
    .projects-grid,
    .posts-grid {
        grid-template-columns: 1fr;
    }

    .skills-grid,
    .topics-grid,
    .equipment-grid,
    .skills-categories {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    /* Media Page Mobile Styles */
    .media-grid {
        grid-template-columns: 1fr;
    }

    .queue-grid {
        grid-template-columns: 1fr;
    }

    .influences-grid {
        grid-template-columns: 1fr;
    }

    .current-media h3,
    .recent-media h3,
    .media-queue h3,
    .influences h3 {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.2rem;
    }

    .intro-text {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .intro-stats {
        flex-direction: column;
        gap: 1.5rem;
    }

    .intro-stats .stat-number {
        font-size: 2rem;
    }

    .substack-redirect,
    .instagram-redirect {
        padding: 2rem 1rem;
    }

    .substack-redirect h2,
    .instagram-redirect h2 {
        font-size: 2rem;
    }

    .topics-preview .topics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* Media Cover Images */
.media-cover {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.media-cover-placeholder {
    width: 100%;
    height: 300px;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.book-cover {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
    color: white;
    background: linear-gradient(135deg, #ff6b35, #f7931e, #20c997);
    position: relative;
}

.book-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.book-cover h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.book-cover p {
    font-size: 1rem;
    font-weight: 400;
    margin: 0;
    opacity: 0.9;
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* Books Grid Layout (inspired by Camilo Nova) */
.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-top: 2rem;
    max-width: 900px;
    justify-items: center;
}

.book-item {
    transition: transform 0.3s ease;
    width: 100%;
    max-width: 300px;
}

.book-item:hover {
    transform: translateY(-8px);
}

.book-item a {
    display: block;
    text-decoration: none;
    width: 100%;
}

.book-cover-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}

.book-cover-image:hover {
    box-shadow: 0 12px 35px rgba(255, 107, 53, 0.3);
}

/* Currently Reading Styles */
.current-reading,
.recent-videos {
    margin-bottom: 4rem;
}

.current-reading h3,
.recent-videos h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 400;
    color: #fff7ed;
    margin-bottom: 1rem;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* Reading Progress Styles */
.reading-progress {
    margin-top: 1rem;
    padding: 0 0.5rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 247, 237, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #ff6b35, #20c997);
    border-radius: 4px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.8rem;
    color: rgba(255, 247, 237, 0.7);
    text-align: center;
    display: block;
}

/* Video Styles */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.video-item {
    background: rgba(255, 247, 237, 0.05);
    border: 1px solid rgba(255, 247, 237, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-item:hover {
    background: rgba(255, 247, 237, 0.08);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-2px);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-item:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 107, 53, 0.9);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-item:hover .play-overlay {
    opacity: 1;
}

.video-info {
    padding: 1.5rem;
}

.video-info h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff7ed;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.video-info .video-channel {
    font-size: 0.9rem;
    color: #20c997 !important;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.watch-time {
    font-size: 0.8rem;
    color: rgba(255, 247, 237, 0.6);
}

/* Mobile Responsive Updates */
@media (max-width: 768px) {
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .video-thumbnail {
        height: 200px;
    }

    .current-reading h3,
    .recent-videos h3 {
        font-size: 1.6rem;
    }
}

/* Spotify Integration Styles */
.spotify-current-playing {
    margin-top: 2rem;
}

.current-track-card {
    display: flex;
    gap: 2rem;
    background: rgba(255, 247, 237, 0.05);
    border: 1px solid rgba(255, 247, 237, 0.1);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.current-track-card:hover {
    background: rgba(255, 247, 237, 0.08);
    border-color: rgba(30, 215, 96, 0.3);
    transform: translateY(-2px);
}

.track-image {
    position: relative;
    flex-shrink: 0;
}

.track-image img {
    width: 150px;
    height: 150px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.playing-indicator {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(30, 215, 96, 0.9);
    color: white;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.playing-indicator.paused {
    background: rgba(255, 107, 53, 0.9);
}

.track-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.track-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 600;
    color: #fff7ed;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.track-artist {
    font-size: 1.2rem;
    color: #20c997;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.track-album {
    font-size: 1rem;
    color: rgba(255, 247, 237, 0.7);
    margin-bottom: 1.5rem;
    font-style: italic;
}

.track-progress {
    margin-bottom: 1.5rem;
}

.track-progress .progress-bar {
    height: 6px;
    background: rgba(255, 247, 237, 0.2);
    border-radius: 3px;
    margin-bottom: 0.5rem;
}

.track-progress .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #1db954, #20c997);
    border-radius: 3px;
}

.progress-time {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: rgba(255, 247, 237, 0.6);
}

.spotify-link {
    display: inline-block;
    background: linear-gradient(90deg, #1db954, #20c997);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    align-self: flex-start;
}

.spotify-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(29, 185, 84, 0.3);
}

/* Not Playing State */
.not-playing {
    margin-top: 2rem;
}

.not-playing-card {
    background: rgba(255, 247, 237, 0.05);
    border: 1px solid rgba(255, 247, 237, 0.1);
    border-radius: 15px;
    padding: 3rem;
    text-align: center;
}

.spotify-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.not-playing-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: #fff7ed;
    margin-bottom: 0.5rem;
}

.not-playing-card p {
    color: rgba(255, 247, 237, 0.7);
    font-size: 1rem;
}

/* Music Grid (Recently Played) */
.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.music-item {
    background: rgba(255, 247, 237, 0.05);
    border: 1px solid rgba(255, 247, 237, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.music-item:hover {
    background: rgba(255, 247, 237, 0.08);
    border-color: rgba(29, 185, 84, 0.3);
    transform: translateY(-2px);
}

.music-thumbnail {
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
}

.music-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.music-item:hover .music-thumbnail img {
    transform: scale(1.05);
}

.music-thumbnail .play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(29, 185, 84, 0.9);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.music-item:hover .music-thumbnail .play-overlay {
    opacity: 1;
}

.music-info {
    padding: 1.5rem;
}

.music-info h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff7ed;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.music-artist {
    font-size: 0.9rem;
    color: #20c997;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.play-time {
    font-size: 0.8rem;
    color: rgba(255, 247, 237, 0.6);
}

/* Top Tracks Grid */
.top-tracks-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.top-track-item {
    display: flex;
    gap: 1rem;
    background: rgba(255, 247, 237, 0.05);
    border: 1px solid rgba(255, 247, 237, 0.1);
    border-radius: 12px;
    padding: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.top-track-item:hover {
    background: rgba(255, 247, 237, 0.08);
    border-color: rgba(29, 185, 84, 0.3);
    transform: translateY(-2px);
}

.top-track-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
}

.track-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.track-details h5 {
    font-size: 1rem;
    color: #fff7ed;
    margin-bottom: 0.3rem;
    font-weight: 600;
}

.track-details p {
    font-size: 0.9rem;
    color: #20c997;
    margin-bottom: 0.3rem;
}

.popularity {
    font-size: 0.8rem;
    color: rgba(255, 247, 237, 0.6);
}

/* Error States */
.spotify-error {
    margin-top: 2rem;
}

.error-card {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid rgba(255, 107, 53, 0.3);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}

.error-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: #ff6b35;
    margin-bottom: 0.5rem;
}

.error-card p {
    color: rgba(255, 247, 237, 0.8);
    font-size: 1rem;
}

/* Mobile Responsive for Spotify */
@media (max-width: 768px) {
    .current-track-card {
        flex-direction: column;
        gap: 1.5rem;
        text-align: center;
    }

    .track-image img {
        width: 120px;
        height: 120px;
    }

    .music-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .top-tracks-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .music-thumbnail {
        height: 200px;
    }
}

/* New Media Page Design */
.top-artists-section,
.recent-podcasts-section,
.current-playing-section {
    margin-bottom: 4rem;
}

.section-subtitle {
    color: rgba(255, 247, 237, 0.7);
    font-size: 1rem;
    margin-bottom: 2rem;
    font-style: italic;
}

/* Loading States */
.loading-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 247, 237, 0.05);
    border: 1px solid rgba(255, 247, 237, 0.1);
    border-radius: 15px;
    padding: 2rem;
    animation: pulse 2s infinite;
}

.loading-placeholder {
    width: 60px;
    height: 60px;
    background: rgba(255, 247, 237, 0.1);
    border-radius: 50%;
    flex-shrink: 0;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

/* Artists Grid */
.artists-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.artist-card {
    background: rgba(255, 247, 237, 0.05);
    border: 1px solid rgba(255, 247, 237, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.artist-card:hover {
    background: rgba(255, 247, 237, 0.08);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.artist-image {
    margin-bottom: 1rem;
}

.artist-image img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid rgba(255, 107, 53, 0.3);
    transition: transform 0.3s ease;
}

.artist-card:hover .artist-image img {
    transform: scale(1.05);
    border-color: rgba(255, 107, 53, 0.6);
}

.artist-info h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: #fff7ed;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.artist-info p {
    font-size: 0.9rem;
    color: #20c997;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.popularity {
    font-size: 0.8rem;
    color: rgba(255, 247, 237, 0.6);
    font-style: italic;
}

/* Podcasts List */
.podcasts-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.podcast-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 247, 237, 0.05);
    border: 1px solid rgba(255, 247, 237, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.podcast-item:hover {
    background: rgba(255, 247, 237, 0.08);
    border-color: rgba(32, 201, 151, 0.3);
    transform: translateX(5px);
}

.podcast-image {
    position: relative;
    flex-shrink: 0;
}

.podcast-image img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.podcast-play {
    position: absolute;
    top: -5px;
    right: -5px;
    background: rgba(255, 107, 53, 0.9);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
}

.podcast-info {
    flex: 1;
    min-width: 0;
    /* Allows text to truncate */
}

.podcast-info h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff7ed;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.podcast-show {
    font-size: 1rem;
    color: #20c997;
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.podcast-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 247, 237, 0.6);
}

.duration {
    font-weight: 500;
}

.listened-date {
    font-style: italic;
}

.podcast-link {
    background: linear-gradient(90deg, #20c997, #17a2b8);
    color: white;
    padding: 0.6rem 1.2rem;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.podcast-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(32, 201, 151, 0.3);
}

/* Podcast Show Items */
.podcast-show-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(32, 201, 151, 0.08));
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    margin-bottom: 1rem;
}

.podcast-show-item:hover {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.12), rgba(32, 201, 151, 0.12));
    border-color: rgba(255, 107, 53, 0.4);
    transform: translateX(5px);
}

.episode-count {
    position: absolute;
    bottom: -5px;
    right: -5px;
    background: rgba(255, 107, 53, 0.9);
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.4);
    border: 2px solid rgba(255, 247, 237, 0.2);
}

.episode-item {
    opacity: 0.8;
    background: rgba(255, 247, 237, 0.03);
}

.episode-item:hover {
    opacity: 1;
}

.show-type {
    background: rgba(32, 201, 151, 0.2);
    color: #20c997;
    padding: 0.2rem 0.6rem;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 500;
}

.latest-episode {
    font-style: italic;
    font-size: 0.8rem;
}

/* Currently Playing Section */
.current-playing-section {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(32, 201, 151, 0.1));
    border: 1px solid rgba(255, 107, 53, 0.2);
    border-radius: 20px;
    padding: 2rem;
}

.current-track-card {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.now-playing-image {
    position: relative;
    flex-shrink: 0;
}

.now-playing-image img {
    width: 100px;
    height: 100px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.playing-indicator {
    position: absolute;
    top: -8px;
    right: -8px;
    background: rgba(32, 201, 151, 0.9);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    animation: pulse-playing 2s infinite;
}

.playing-indicator.paused {
    background: rgba(255, 107, 53, 0.9);
    animation: none;
}

@keyframes pulse-playing {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }
}

.now-playing-info h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #fff7ed;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.now-playing-info p {
    font-size: 1rem;
    color: #20c997;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

.now-playing-info .album {
    font-size: 0.9rem;
    color: rgba(255, 247, 237, 0.7);
    font-style: italic;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .artists-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1.5rem;
    }

    .artist-image img {
        width: 80px;
        height: 80px;
    }

    .podcast-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .podcast-info h4 {
        white-space: normal;
    }

    .podcast-meta {
        justify-content: center;
    }

    .current-track-card {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }

    .now-playing-image img {
        width: 120px;
        height: 120px;
    }
}

/* Simplified Podcast Items */
.simple-podcast-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 247, 237, 0.05);
    border: 1px solid rgba(255, 247, 237, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.simple-podcast-item:hover {
    background: rgba(255, 247, 237, 0.08);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-2px);
}

.simple-podcast-item .podcast-image img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.simple-podcast-item .podcast-info {
    flex: 1;
    min-width: 0;
    /* Allows text to truncate */
}

.simple-podcast-item .podcast-info h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff7ed;
    margin: 0;
    line-height: 1.4;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Video Cards - Cuban Sunset Theme */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.video-card {
    background: rgba(255, 247, 237, 0.05);
    border: 1px solid rgba(255, 247, 237, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    background: rgba(255, 247, 237, 0.08);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 53, 0.2);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail img {
    transform: scale(1.05);
}

.video-info {
    padding: 1rem;
}

.video-info h4 {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 247, 237, 0.9);
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-info h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.video-thumbnail a {
    display: block;
    text-decoration: none;
}

.video-info p {
    font-size: 0.85rem;
    color: rgba(255, 107, 53, 0.8);
    margin: 0;
    font-weight: 400;
}

.video-info .video-channel {
    font-size: 0.9rem;
    color: #20c997 !important;
    margin-bottom: 0.3rem;
    font-weight: 500;
}

/* Recent Videos Section */
.recent-videos-section {
    margin-bottom: 3rem;
}

.top-artists-section h3,
.recent-videos-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(255, 247, 237, 0.9);
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 0.05em;
}

/* Artist clickable links - Cuban sunset theme */
.artist-info h4 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.artist-image a {
    display: block;
    text-decoration: none;
}

/* Books Section - Cuban Sunset Theme */
.books-reading-section {
    margin-bottom: 3rem;
}

.books-reading-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: rgba(255, 247, 237, 0.9);
    margin-bottom: 1.5rem;
    text-align: center;
    letter-spacing: 0.05em;
}

.books-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
    margin-top: 1.5rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.book-card {
    background: rgba(255, 247, 237, 0.05);
    border: 1px solid rgba(255, 247, 237, 0.1);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 1.5rem;
    text-align: left;
    width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    display: block;
}

.book-card:hover {
    background: rgba(255, 247, 237, 0.08);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.15);
}

.book-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.book-info h4 {
    margin: 0;
    color: rgba(255, 247, 237, 0.9);
    font-size: 1.1rem;
    font-weight: 600;
    line-height: 1.4;
}

.book-author {
    font-size: 0.9rem;
    color: #20c997;
    margin: 0;
    font-weight: 500;
    font-style: italic;
}

.book-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.book-status .status {
    font-size: 0.8rem;
    color: rgba(32, 201, 151, 0.8);
    font-weight: 500;
    background: rgba(32, 201, 151, 0.1);
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    border: 1px solid rgba(32, 201, 151, 0.3);
}

.book-status .progress {
    font-size: 0.8rem;
    color: rgba(255, 107, 53, 0.9);
    font-weight: 600;
}

/* Progress Bar Styles for Book Cards */
.progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 247, 237, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 107, 53, 0.8), rgba(255, 167, 53, 0.8));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.8rem;
    color: rgba(255, 167, 53, 0.8);
    font-weight: 500;
}

/* Mobile responsive for media sections */
@media (max-width: 768px) {

    .videos-grid,
    .books-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .book-card {
        padding: 1.25rem;
    }

    .book-info h4 {
        font-size: 1rem;
    }

    .book-author {
        font-size: 0.85rem;
    }
}

/* Cursor behavior fixes - prevent text cursor on non-interactive elements */
.page-title,
.stat-number,
.stat-label,
.section-title,
.artist-info p,
.video-info .video-channel,
.book-author,
.book-status,
.progress-text,
.tbd-text,
h1,
h2,
h3,
h4,
h5,
h6,
.loading-card p,
.error-card p {
    cursor: default;
    user-select: none;
}

/* Allow text selection only for readable content */
.description,
.content-text,
p:not(.stat-label):not(.artist-info p):not(.video-info .video-channel):not(.book-author):not(.loading-card p):not(.error-card p) {
    cursor: text;
    user-select: text;
}

/* Intro text should not have text cursor */
.intro-text,
.hero-bubble {
    cursor: default;
    user-select: none;
}