/* Resource Cards Styling */

/* COSTAR Framework Styling */
.costar-framework {
    background: var(--card-bg);
    border-radius: 12px;
    margin: 2rem 0;
    padding: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.framework-content h2 {
    color: var(--text-light);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: left !important;
}

.framework-content h2 i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.framework-intro {
    color: var(--text-muted);
    text-align: left;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.costar-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    text-align: left;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.costar-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.costar-icon {
    width: 60px;
    height: 60px;
    background: var(--accent-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: var(--transition);
}

.costar-item:hover .costar-icon {
    transform: scale(1.1);
}

.costar-icon i {
    color: white;
    font-size: 1.5rem;
}

.costar-item h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
    text-align: left !important;
}

.costar-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 768px) {
    .costar-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .framework-content h2 {
        font-size: 1.5rem;
    }
    
    .framework-intro {
        font-size: 1rem;
    }
    
    .costar-item {
        padding: 1rem;
    }
    
    .costar-icon {
        width: 50px;
        height: 50px;
    }
    
    .costar-icon i {
        font-size: 1.2rem;
    }
}

/* Prompt Guide Styling */
.prompt-guide {
    background: var(--card-bg);
    border-radius: 12px;
    margin: 2rem 0;
    padding: 2rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.guide-content h2 {
    color: var(--text-light);
    font-size: 1.8rem;
    margin-bottom: 1rem;
    text-align: left !important;
}

.guide-content h2 i {
    color: var(--accent-color);
    margin-right: 0.5rem;
}

.guide-intro {
    color: var(--text-muted);
    text-align: left;
    font-size: 1.1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

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

.guide-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 1.5rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.guide-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.guide-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    transition: var(--transition);
}

.guide-item:nth-child(1) .guide-icon {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.guide-item:nth-child(2) .guide-icon {
    background: linear-gradient(135deg, #dc3545, #fd7e14);
}

.guide-item:nth-child(3) .guide-icon {
    background: linear-gradient(135deg, #007bff, #6610f2);
}

.guide-item:hover .guide-icon {
    transform: scale(1.1);
}

.guide-icon i {
    color: white;
    font-size: 1.5rem;
}

.guide-item h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    font-weight: 600;
    text-align: left !important;
}

.guide-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Improved list styling for COSTAR and guide sections */
.costar-framework ul,
.costar-framework ol,
.prompt-guide ul,
.prompt-guide ol {
    list-style: none !important;
    padding-left: 0 !important;
}

.guide-item li {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.5rem;
    padding-left: 0;
    position: relative;
}

.guide-item li:before {
    content: '•';
    position: absolute;
    left: -1rem;
    top: 0;
    color: var(--accent-color);
    font-size: 0.8rem;
    opacity: 0.7;
}

.guide-item li strong {
    color: var(--text-light);
    font-weight: 600;
}

/* Additional spacing improvements for better readability */
.guide-item ul {
    margin-top: 0.5rem;
}

.guide-item li:last-child {
    margin-bottom: 0;
}

/* Reduce visual clutter in COSTAR items */
.costar-item p {
    margin-top: 0.5rem;
}

@media (max-width: 768px) {
    .guide-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .guide-content h2 {
        font-size: 1.5rem;
    }
    
    .guide-intro {
        font-size: 1rem;
    }
    
    .guide-item {
        padding: 1rem;
    }
    
    .guide-icon {
        width: 50px;
        height: 50px;
    }
    
    .guide-icon i {
        font-size: 1.2rem;
    }
    
    .guide-item li {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
        padding-left: 0.5rem;
    }
    
    .guide-item li:before {
        left: -0.75rem;
    }
}

/* Podcast Cards */
.podcast-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.podcast-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.podcast-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.podcast-thumbnail {
    position: relative;
    width: 100%;
    height: 180px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
}

.podcast-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.podcast-card:hover .play-overlay {
    opacity: 1;
}

.play-overlay i {
    color: white;
    font-size: 1.2rem;
}

.episode-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;
}

.podcast-content {
    padding: 1rem;
}

.podcast-content h3 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.podcast-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1rem;
}

.podcast-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.episode-date {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.listen-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.listen-link:hover {
    color: var(--accent-hover);
    transform: translateX(2px);
}

.listen-link i {
    font-size: 1rem;
}

/* Guide Cards */
.guide-card {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.guide-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.guide-meta-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.guide-category {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.guide-difficulty {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.difficulty-beginner {
    background: rgba(40, 167, 69, 0.2);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.3);
}

.difficulty-intermediate {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.difficulty-advanced {
    background: rgba(220, 53, 69, 0.2);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.3);
}

.guide-content h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.guide-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.guide-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.guide-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.read-more {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.read-more:hover {
    color: var(--accent-hover);
}

/* PDF Cards */
.pdf-card {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pdf-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.pdf-card i.fa-file-pdf {
    color: #dc3545;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.pdf-content h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.pdf-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.pdf-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.file-size {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.download-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.download-link:hover {
    color: var(--accent-hover);
}

/* Video Cards */
.video-card {
    background: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.video-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

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

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.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;
}

.video-content {
    padding: 1rem;
}

.video-content h3 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.video-content p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.video-date {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.watch-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.watch-link:hover {
    color: var(--accent-hover);
}

/* Tool Cards */
.tool-card {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-decoration: none;
    color: inherit;
    display: block;
}

.tool-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
    text-decoration: none;
    color: inherit;
}

.tool-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--accent-gradient);
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: var(--transition);
}

.tool-card:hover .tool-icon {
    transform: scale(1.1);
}

.tool-icon i {
    color: white;
    font-size: 1.5rem;
}

.tool-title {
    color: var(--text-light);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    display: block;
}

.tool-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Prompt Cards */
.prompt-card {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.prompt-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.prompt-category {
    display: inline-block;
    background: var(--accent-gradient);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-bottom: 1rem;
}

.prompt-content h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
}

.prompt-content p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.5;
}

.prompt-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.prompt-count {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.view-prompts {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.view-prompts:hover {
    color: var(--accent-hover);
}

/* Tool Review Cards */
.tool-review-card {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.tool-review-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.tool-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.tool-header h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin: 0;
}

.tool-category {
    background: var(--accent-gradient);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.tool-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tool-rating i {
    color: #ffc107;
}

.rating-value {
    color: var(--text-light);
    font-weight: 600;
}

.tool-pros-cons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.pros h4, .cons h4 {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.pros ul, .cons ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pros li, .cons li {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pros i {
    color: #28a745;
}

.cons i {
    color: #dc3545;
}

.read-review {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
    margin-top: 0.5rem;
}

.read-review:hover {
    color: var(--accent-hover);
}

/* No Results States */
.no-episodes,
.no-results,
.no-guides {
    text-align: center;
    padding: 2rem;
    color: var(--text-muted);
}

.no-episodes p,
.no-results p,
.no-guides p {
    font-size: 1rem;
    margin: 0;
}

/* Prompt Collection Page Styles - Updated for consistency */
.prompt-collection-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
    color: var(--text-light);
}

.collection-hero {
    padding: 4rem 0 3rem;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.1) 0%, rgba(107, 78, 255, 0.1) 100%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.collection-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 144, 226, 0.05) 0%, rgba(107, 78, 255, 0.05) 100%);
    pointer-events: none;
}

.collection-hero .hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.collection-hero .hero-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.collection-hero .category-badge {
    background: var(--accent-gradient);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

.collection-hero h1 {
    color: var(--text-light);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.collection-hero .hero-description {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.collection-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.collection-meta .meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.collection-meta .meta-item i {
    color: var(--accent-color);
    font-size: 1rem;
}

/* Hero section specific styling for collection-meta */
.hero .collection-meta {
    margin-top: 2rem;
}

.hero .collection-meta .meta-item {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-light);
    backdrop-filter: blur(10px);
}

/* Enhanced Hero Features */
.hero-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.feature-item {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.feature-item:hover {
    transform: translateY(-2px);
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.08);
}

.feature-item i {
    font-size: 2rem;
    color: var(--accent-color);
    margin-bottom: 1rem;
}

.feature-item h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.feature-item p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

.hero-cta {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.cta-text {
    color: var(--text-light);
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
}

/* Collection Overview */
.collection-overview {
    padding: 3rem 0;
    background: rgba(0, 0, 0, 0.2);
}

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

.overview-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.overview-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition);
}

.overview-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.overview-card:hover::before {
    opacity: 1;
}

.overview-card h3 {
    color: var(--text-light);
    font-size: 1.2rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.overview-card h3 i {
    color: var(--accent-color);
    font-size: 1.1rem;
}

.overview-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.overview-card li {
    color: var(--text-muted);
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.overview-card li:last-child {
    border-bottom: none;
}

.overview-card li:hover {
    color: var(--text-light);
    padding-left: 0.5rem;
}

.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    background: rgba(74, 144, 226, 0.2);
    color: var(--accent-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(74, 144, 226, 0.3);
    transition: var(--transition);
}

.tag:hover {
    background: rgba(74, 144, 226, 0.3);
    transform: translateY(-1px);
}

/* Prompts Section */
.prompts-section {
    padding: 3rem 0;
    background: rgba(0, 0, 0, 0.1);
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    color: var(--text-light);
    font-size: 2rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.prompts-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    width: 100%;
    margin: 0 auto;
}

.prompt-detail-card {
    background: var(--card-bg);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

/* Collapsible functionality */
.prompt-detail-card.collapsible {
    padding: 0;
}

.prompt-detail-card.collapsible .prompt-header {
    padding: 1rem;
    margin: 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: var(--transition);
}

.prompt-detail-card.collapsible .prompt-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.prompt-header-content {
    flex: 1;
}

.collapse-toggle {
    background: none;
    border: none;
    color: var(--accent-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 4px;
    transition: var(--transition);
    margin-left: 1rem;
    flex-shrink: 0;
}

.collapse-toggle:hover {
    background: rgba(74, 144, 226, 0.1);
    transform: scale(1.1);
}

.prompt-body {
    padding: 0 1rem 1rem 1rem;
    max-height: none;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.prompt-detail-card.collapsed .prompt-body {
    max-height: 0;
    padding-top: 0;
    padding-bottom: 0;
}

.prompt-detail-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition);
}

.prompt-detail-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.prompt-detail-card:hover::before {
    opacity: 1;
}

.prompt-header {
    margin-bottom: 1rem;
}

.prompt-header h3 {
    color: var(--text-light);
    font-size: 1.4rem;
    margin: 1rem 0 0.5rem 0;
    line-height: 1.3;
    font-weight: 600;
}

.prompt-description {
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}

.prompt-content {
    margin-bottom: 1rem;
}

/* HTML Content Styling for Prompts */
.prompt-text {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.4;
    white-space: normal;
}

.prompt-text h2 {
    color: var(--accent-color);
    font-size: 1.2rem;
    margin: 1rem 0 0.5rem 0;
    font-weight: 600;
    border-bottom: 1px solid rgba(74, 144, 226, 0.3);
    padding-bottom: 0.25rem;
}

.prompt-text h2:first-child {
    margin-top: 0;
}

.prompt-text h3 {
    color: var(--text-light);
    font-size: 1rem;
    margin: 0.75rem 0 0.4rem 0;
    font-weight: 600;
}

.prompt-text p {
    margin: 0.4rem 0;
    line-height: 1.4;
}

.prompt-text ul, .prompt-text ol {
    margin: 0.4rem 0;
    padding-left: 1.2rem;
}

.prompt-text li {
    margin: 0.2rem 0;
    line-height: 1.3;
}

.prompt-text strong {
    color: var(--text-light);
    font-weight: 600;
}

.prompt-text em {
    color: var(--text-muted);
    font-style: italic;
}

.prompt-text pre {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    padding: 0.75rem;
    margin: 0.5rem 0;
    overflow-x: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    line-height: 1.3;
    color: var(--text-light);
}

.prompt-text code {
    background: rgba(74, 144, 226, 0.1);
    color: var(--accent-color);
    padding: 0.15rem 0.3rem;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
}



.prompt-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.copy-btn {
    background: var(--accent-gradient);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 8px rgba(74, 144, 226, 0.3);
}

.copy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.4);
}

.copy-status {
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-height: 0;
    min-width: 0;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copy-status:not(:empty) {
    opacity: 1;
}

.copy-status.success {
    background: rgba(40, 167, 69, 0.1);
    border-color: rgba(40, 167, 69, 0.3);
    color: #28a745;
}

.copy-status.error {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

.prompt-info-top {
    margin-bottom: 1rem;
}

.prompt-footer {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    margin-top: 1.5rem;
}

.use-case, .tips {
    margin-bottom: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.4;
    padding: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    border-left: 3px solid var(--accent-color);
}

.use-case strong, .tips strong {
    color: var(--text-light);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.use-case:last-child, .tips:last-child {
    margin-bottom: 0;
}

/* Related Collections */
.related-collections {
    padding: 3rem 0;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.related-collections h2 {
    color: var(--text-light);
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    font-weight: 600;
}

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

.related-card {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 1.5rem;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.related-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    opacity: 0;
    transition: var(--transition);
}

.related-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    border-color: var(--accent-color);
}

.related-card:hover::before {
    opacity: 1;
}

.related-card h3 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.related-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.related-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Enhanced Prompt Cards */
.prompt-enhanced-meta {
    margin: 1rem 0;
}

.meta-row {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}

.meta-row .meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.meta-row .meta-item i {
    color: var(--accent-color);
    font-size: 0.9rem;
}

.prompt-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.prompt-tags .tag {
    background: rgba(74, 144, 226, 0.2);
    color: var(--accent-color);
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    font-size: 0.75rem;
    border: 1px solid rgba(74, 144, 226, 0.3);
    transition: var(--transition);
}

.prompt-tags .tag:hover {
    background: rgba(74, 144, 226, 0.3);
    transform: translateY(-1px);
}

.tag-more {
    color: var(--text-muted);
    font-size: 0.75rem;
    font-style: italic;
}

.prompt-best-for {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.4;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.75rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.prompt-best-for strong {
    color: var(--text-light);
    font-weight: 600;
}

.more-roles {
    color: var(--accent-color);
    font-style: italic;
}

/* Breadcrumb Styling */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--accent-color);
    text-decoration: none;
    transition: var(--transition);
}

.breadcrumb a:hover {
    color: var(--accent-hover);
    text-decoration: underline;
}

.breadcrumb-separator {
    color: var(--text-muted);
}

.breadcrumb-current {
    color: var(--text-light);
    font-weight: 500;
}

/* Back to Resources Button */
.back-to-resources {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--accent-gradient);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.back-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-hover);
    color: white;
    text-decoration: none;
}

.back-btn i {
    font-size: 0.9rem;
}

/* Search Container */
.search-container {
    position: relative;
    max-width: 500px;
    margin: 0 auto 2rem auto;
}

.search-input {
    width: 100%;
    padding: 1rem 1rem 1rem 3rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-light);
    font-size: 1rem;
    transition: var(--transition);
}

.search-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.search-input::placeholder {
    color: var(--text-muted);
}

.search-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1rem;
}

/* Individual Prompt Customization */
.prompt-customization {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.prompt-customization::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    opacity: 0.8;
}

.customization-header h4 {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.customization-header h4 i {
    color: var(--accent-color);
}

.customization-header p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.prompt-placeholder-inputs {
    display: grid;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.prompt-placeholder-group {
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition);
}

.prompt-placeholder-group:hover {
    border-color: var(--accent-color);
    background: rgba(0, 0, 0, 0.4);
}

.prompt-placeholder-label {
    display: block;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 0.25rem;
    font-size: 0.85rem;
}

.prompt-placeholder-description {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-bottom: 0.5rem;
    line-height: 1.3;
}

.prompt-placeholder-input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-light);
    font-size: 0.85rem;
    line-height: 1.3;
    transition: var(--transition);
    font-family: inherit;
}

.prompt-placeholder-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.1);
}

.prompt-placeholder-input::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.prompt-placeholder-example {
    color: #28a745;
    font-size: 0.7rem;
    margin-top: 0.25rem;
    font-style: italic;
}

.prompt-customization-actions {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.customize-prompt-btn, .preview-prompt-btn, .reset-prompt-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    text-decoration: none;
}

.customize-prompt-btn {
    background: var(--accent-gradient);
    color: white;
}

.customize-prompt-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(74, 144, 226, 0.3);
}

.preview-prompt-btn {
    background: linear-gradient(135deg, #28a745, #1e7e34);
    color: white;
}

.preview-prompt-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 8px rgba(40, 167, 69, 0.3);
}

.reset-prompt-btn {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.reset-prompt-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

.prompt-customization-status {
    margin-top: 0.5rem;
}

.prompt-customization-status .status-message {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem;
    border-radius: 6px;
    font-size: 0.85rem;
    line-height: 1.3;
}

.prompt-customization-status .status-message i {
    font-size: 1rem;
    flex-shrink: 0;
}

.prompt-customization-status .status-message {
    background: rgba(74, 144, 226, 0.1);
    color: var(--text-light);
    border: 1px solid rgba(74, 144, 226, 0.2);
}

.prompt-customization-status .status-message.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border-color: rgba(40, 167, 69, 0.2);
}

.prompt-customization-status .status-message.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border-color: rgba(220, 53, 69, 0.2);
}

/* Individual Prompt Preview Mode */
.prompt-preview-mode .prompt-text {
    background: rgba(255, 193, 7, 0.1);
    border: 2px dashed #ffc107;
    border-radius: 6px;
    padding: 1rem;
    margin: 0.5rem 0;
}

.prompt-preview-mode .placeholder-highlight {
    background: rgba(255, 193, 7, 0.3);
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-weight: 600;
    color: #856404;
}

/* Challenge Input Section (Legacy - keeping for backward compatibility) */
.challenge-input-section {
    margin: 2rem 0;
    padding: 2rem;
    background: var(--card-bg);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.challenge-input-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent-gradient);
    opacity: 0.8;
}

.challenge-input-container h3 {
    color: var(--text-light);
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.challenge-input-container h3 i {
    color: var(--accent-color);
}

.challenge-input-container p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.challenge-input-wrapper {
    margin-bottom: 1.5rem;
}

.challenge-input {
    width: 100%;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.3);
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.5;
    resize: vertical;
    transition: var(--transition);
    font-family: inherit;
}

.challenge-input:focus {
    outline: none;
    border-color: var(--accent-color);
    background: rgba(0, 0, 0, 0.4);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.challenge-input::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.challenge-input-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.challenge-status {
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .podcast-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .podcast-thumbnail {
        height: 160px;
    }
    
    .podcast-content h3 {
        font-size: 1rem;
    }
    
    .podcast-content p {
        font-size: 0.85rem;
    }
    
    .podcast-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .listen-link {
        font-size: 0.85rem;
    }
    
    .tool-pros-cons {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .guide-meta-badges {
        gap: 0.25rem;
    }
    
    .guide-category,
    .guide-difficulty {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }

    .collection-hero h1 {
        font-size: 2rem;
    }
    
    .collection-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-item {
        padding: 1.25rem;
    }
    
    .feature-item h3 {
        font-size: 1.1rem;
    }
    
    .feature-item p {
        font-size: 0.9rem;
    }
    
    .hero-cta {
        padding: 1.25rem;
    }
    
    .cta-text {
        font-size: 1rem;
    }
    
    .challenge-input-section {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
    
    .challenge-input-container h3 {
        font-size: 1.2rem;
    }
    
    .challenge-input-actions {
        flex-direction: column;
    }
    
    .customize-btn, .clear-btn {
        width: 100%;
        justify-content: center;
    }
    
    .overview-grid {
        grid-template-columns: 1fr;
    }
    
    .prompt-detail-card {
        padding: 1.5rem;
    }
    

    
    .prompt-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .copy-btn {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .podcast-grid {
        gap: 0.75rem;
    }
    
    .podcast-thumbnail {
        height: 140px;
    }
    
    .play-overlay {
        width: 50px;
        height: 50px;
    }
    
    .play-overlay i {
        font-size: 1rem;
    }
    
    .guide-meta-badges {
        flex-direction: column;
        align-items: flex-start;
    }

    .collection-hero {
        padding: 2rem 0 1.5rem;
    }
    
    .collection-hero h1 {
        font-size: 1.5rem;
    }
    
    .prompt-detail-card {
        padding: 1rem;
    }
    

} 