/* Variables CSS */
:root {
    --primary-gold: #ffd700;
    --primary-gold-light: #ffed4e;
    --primary-red: #dc143c;
    --primary-red-dark: #8b0000;
    --bg-dark: #000000;
    --bg-gray: #1a1a1a;
    --text-white: #ffffff;
    --text-gray: #cccccc;
    --text-gray-dark: #888888;
    --border-color: rgba(255, 215, 0, 0.3);
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 215, 0, 0.2);
    --shadow-gold: rgba(255, 215, 0, 0.4);
    --shadow-dark: rgba(0, 0, 0, 0.4);
    --success-green: #28a745;
    --error-red: #dc3545;
}

/* Reset et base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-gray) 50%, var(--bg-dark) 100%);
    color: var(--text-white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Hero Section */
.hero-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1) 0%, rgba(220, 20, 60, 0.1) 100%);
    overflow: hidden;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    z-index: 2;
}

.hero-text {
    text-align: center;
    animation: fadeInUp 1s ease;
}


.title-icon {
    font-size: 3.5rem;
    color: var(--primary-gold);
    filter: drop-shadow(0 0 20px var(--shadow-gold));
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-gray);
    margin-bottom: 40px;
    font-weight: 400;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    border-radius: 20px;
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow-gold);
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-gold);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--text-gray);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

/* Animation des ondes sonores */
.hero-animation {
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.3;
}

.sound-wave {
    display: flex;
    align-items: end;
    gap: 8px;
    height: 120px;
}

.wave-bar {
    width: 8px;
    background: linear-gradient(to top, var(--primary-gold), var(--primary-gold-light));
    border-radius: 4px;
    animation: waveAnimation 1.5s ease-in-out infinite;
}

.wave-bar:nth-child(1) { height: 30%; animation-delay: 0s; }
.wave-bar:nth-child(2) { height: 70%; animation-delay: 0.1s; }
.wave-bar:nth-child(3) { height: 100%; animation-delay: 0.2s; }
.wave-bar:nth-child(4) { height: 50%; animation-delay: 0.3s; }
.wave-bar:nth-child(5) { height: 80%; animation-delay: 0.4s; }

@keyframes waveAnimation {
    0%, 100% { height: 30%; }
    50% { height: 100%; }
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, var(--glass-bg) 0%, rgba(255, 215, 0, 0.05) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 60px 0;
    position: relative;
    overflow: hidden;
}

.newsletter-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.newsletter-content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 40px;
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    padding: 40px 50px;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px var(--shadow-dark);
}

.newsletter-icon {
    font-size: 3rem;
    color: var(--primary-gold);
    animation: bounce 2s infinite;
}

.newsletter-text {
    text-align: left;
}

.newsletter-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(45deg, var(--primary-gold), var(--primary-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.newsletter-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
    font-weight: 400;
}

.newsletter-form {
    min-width: 400px;
}

.input-group {
    display: flex;
    gap: 0;
    border-radius: 50px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-dark);
}

.newsletter-input {
    flex: 1;
    padding: 18px 25px;
    border: 2px solid var(--border-color);
    border-right: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    font-size: 1rem;
    backdrop-filter: blur(10px);
    border-radius: 50px 0 0 50px;
    outline: none;
    transition: all 0.3s ease;
}

.newsletter-input:focus {
    border-color: var(--primary-gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.newsletter-btn {
    padding: 18px 30px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-light) 100%);
    color: var(--bg-dark);
    border: none;
    font-weight: 700;
    cursor: pointer;
    border-radius: 0 50px 50px 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.newsletter-btn:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 20px var(--shadow-gold);
}

.newsletter-success {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(40, 167, 69, 0.95);
    color: white;
    padding: 40px 60px;
    border-radius: 25px;
    text-align: center;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(40, 167, 69, 0.3);
    display: none;
    animation: slideInDown 0.5s ease;
    border: 2px solid var(--success-green);
}

.newsletter-success i {
    font-size: 3.5rem;
    margin-bottom: 20px;
    display: block;
}

.newsletter-success h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.newsletter-success p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Sections communes */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--primary-gold), var(--primary-gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.section-subtitle {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Featured Podcasts */
.featured-section {
    padding: 80px 0;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.featured-card {
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(20px);
    position: relative;
    cursor: pointer;
}

.featured-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: 0 20px 60px var(--shadow-gold);
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-gold), var(--primary-gold-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-card:hover::before {
    opacity: 1;
}

.featured-image {
    height: 250px;
    overflow: hidden;
    position: relative;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-card:hover .featured-image img {
    transform: scale(1.05);
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 215, 0, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-size: 2rem;
    opacity: 0;
    transition: all 0.3s ease;
    cursor: pointer;
}

.featured-card:hover .play-overlay {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.featured-content {
    padding: 30px;
}

.featured-category {
    background: var(--primary-gold);
    color: var(--bg-dark);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 15px;
}

.featured-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-white);
    line-height: 1.3;
}

.featured-description {
    color: var(--text-gray);
    margin-bottom: 20px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: pre-line;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.featured-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-gray-dark);
    font-size: 0.9rem;
}

.featured-presenter {
    color: var(--primary-gold);
    font-weight: 600;
}

/* Filters Section */
.filters-section {
    padding: 40px 0;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid var(--border-color);
}

.filters-header {
    text-align: center;
    margin-bottom: 40px;
}

.filters-controls {
    display: grid;
    grid-template-columns: 2fr 3fr 1fr;
    gap: 30px;
    align-items: center;
}

.search-box {
    position: relative;
}

.search-icon {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-gray-dark);
    font-size: 1.1rem;
}

.search-input {
    width: 100%;
    padding: 18px 20px 18px 55px;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-white);
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.search-input::placeholder {
    color: var(--text-gray-dark);
}

.category-filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 12px 20px;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 25px;
    color: var(--text-white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
}

.filter-btn:hover {
    border-color: var(--primary-gold);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-light) 100%);
    color: var(--bg-dark);
    border-color: var(--primary-gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-gold);
}

.sort-controls {
    display: flex;
    justify-content: flex-end;
}

.sort-select {
    padding: 15px 20px;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 15px;
    color: var(--text-white);
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.sort-select:focus {
    outline: none;
    border-color: var(--primary-gold);
}

.sort-select option {
    background: var(--bg-gray);
    color: var(--text-white);
}

/* Podcasts Grid */
.podcasts-section {
    padding: 60px 0 100px;
}

.podcasts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.podcast-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    cursor: pointer;
}

.podcast-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-gold);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.2);
}

.podcast-cover {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.podcast-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.podcast-card:hover .podcast-cover img {
    transform: scale(1.03);
}

.podcast-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 215, 0, 0.95);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-dark);
    font-size: 1.5rem;
    opacity: 0;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.podcast-card:hover .podcast-play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.podcast-info {
    padding: 25px;
}

.podcast-category {
    background: var(--primary-gold);
    color: var(--bg-dark);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 12px;
}

.podcast-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-white);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.podcast-presenter {
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.podcast-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-gray-dark);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.podcast-description {
    color: var(--text-gray);
    font-size: 0.9rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
    white-space: pre-line;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Load More Button */
.load-more-container {
    display: flex;
    justify-content: center;
}

.load-more-btn {
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-light) 100%);
    color: var(--bg-dark);
    border: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 30px var(--shadow-gold);
}

.load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px var(--shadow-gold);
}

/* Audio Modal */
.audio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    animation: fadeIn 0.3s ease;
}

.audio-modal.active {
    display: block;
}

.audio-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.audio-modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 700px;
    max-height: 90vh;
    background: linear-gradient(135deg, var(--glass-bg) 0%, rgba(255, 215, 0, 0.05) 100%);
    border: 2px solid var(--border-color);
    border-radius: 30px;
    padding: 30px;
    backdrop-filter: blur(20px);
    box-shadow: 0 30px 80px var(--shadow-dark);
    animation: slideInUp 0.4s ease;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: var(--primary-red);
    border-color: var(--primary-red);
    transform: rotate(90deg);
}

.player-info {
    display: flex;
    gap: 25px;
    margin-bottom: 25px;
    align-items: center;
}

.player-cover {
    width: 120px;
    height: 120px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: 0 10px 30px var(--shadow-dark);
}

.player-details {
    flex: 1;
}

.player-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text-white);
    line-height: 1.3;
}

.player-presenter {
    color: var(--primary-gold);
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.player-category {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 5px;
}

.player-duration {
    color: var(--text-gray-dark);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.player-duration::before {
    content: "⏱";
}

.player-description {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    color: var(--text-gray);
    line-height: 1.5;
    white-space: pre-line;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.audio-player {
    margin-bottom: 25px;
}

.audio-player audio {
    width: 100%;
    height: 60px;
    background: var(--glass-bg);
    border-radius: 15px;
    border: 2px solid var(--glass-border);
}

/* Reactions améliorées */
.player-reactions {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.reaction-btn {
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 50px;
    color: var(--text-white);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    padding: 12px 20px;
    min-width: 120px;
    justify-content: center;
}

.reaction-btn:hover {
    border-color: var(--primary-gold);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.reaction-btn i {
    font-size: 1.1rem;
}

.reaction-label {
    font-size: 0.9rem;
}

.like-btn.liked {
    background: var(--primary-red);
    border-color: var(--primary-red);
    color: white;
    box-shadow: 0 5px 20px rgba(220, 20, 60, 0.4);
}

.like-btn.liked:hover {
    box-shadow: 0 8px 30px rgba(220, 20, 60, 0.6);
}

.like-btn.liked i {
    color: #ff4757;
    filter: drop-shadow(0 0 8px rgba(255, 71, 87, 0.5));
}

.reaction-btn:active {
    transform: scale(0.95) translateY(-2px);
}

/* Section Commentaires */
.comments-section {
    border-top: 2px solid var(--glass-border);
    padding-top: 25px;
    display: none;
}

.comments-section.active {
    display: block;
    animation: slideDown 0.3s ease;
}

.comment-form {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 25px;
}

.comment-input-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.comment-name-input {
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 15px;
    padding: 12px 18px;
    color: var(--text-white);
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.comment-text-input {
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    border-radius: 15px;
    padding: 15px 18px;
    color: var(--text-white);
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

.comment-name-input:focus,
.comment-text-input:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.comment-name-input::placeholder,
.comment-text-input::placeholder {
    color: var(--text-gray-dark);
}

.comment-submit-btn {
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-gold-light) 100%);
    color: var(--bg-dark);
    border: none;
    border-radius: 25px;
    padding: 12px 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    align-self: flex-end;
}

.comment-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-gold);
}

.comment-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.comments-list {
    max-height: 300px;
    overflow-y: auto;
}

.comment-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 18px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
    animation: slideInLeft 0.3s ease;
}

.comment-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateX(2px);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comment-author {
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 0.95rem;
}

.comment-date {
    color: var(--text-gray-dark);
    font-size: 0.8rem;
}

.comment-text {
    color: var(--text-gray);
    line-height: 1.5;
    font-size: 0.95rem;
    white-space: pre-line;
    word-wrap: break-word;
    overflow-wrap: break-word;
    margin-bottom: 10px;
}

/* Styles pour les réactions sur commentaires */
.comment-reactions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 215, 0, 0.1);
    align-items: center;
    flex-wrap: wrap;
}

.comment-reactions .reaction-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: #ccc;
    padding: 5px 10px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    min-width: auto;
}

.comment-reactions .reaction-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.3);
    transform: translateY(-1px);
}

.comment-reactions .reaction-btn.active {
    background: rgba(255, 215, 0, 0.2);
    border-color: #ffd700;
    color: #ffd700;
}

.comment-reactions .reaction-btn.reaction-like.active {
    background: rgba(220, 20, 60, 0.2);
    border-color: #dc143c;
    color: #ff6b7a;
}

.comment-reactions .reaction-btn.reaction-laugh.active {
    background: rgba(255, 193, 7, 0.2);
    border-color: #ffc107;
    color: #ffc107;
}

.comment-reactions .reaction-btn.reaction-wow.active {
    background: rgba(23, 162, 184, 0.2);
    border-color: #17a2b8;
    color: #17a2b8;
}

.reaction-count {
    font-weight: 600;
    min-width: 15px;
    text-align: center;
}

.comment-reply-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 0.8rem;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 15px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
}

.comment-reply-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    color: #ffd700;
}

/* Styles pour les formulaires de réponse */
.reply-form {
    margin-top: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    animation: slideDown 0.3s ease;
}

.reply-input-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.reply-name-input,
.reply-text-input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 8px 12px;
    color: white;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.reply-text-input {
    resize: vertical;
    min-height: 60px;
    font-family: inherit;
}

.reply-name-input:focus,
.reply-text-input:focus {
    outline: none;
    border-color: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.reply-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.reply-cancel-btn,
.reply-submit-btn {
    padding: 6px 12px;
    border: none;
    border-radius: 15px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.reply-cancel-btn {
    background: rgba(255, 255, 255, 0.1);
    color: #ccc;
}

.reply-cancel-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.reply-submit-btn {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: black;
    font-weight: 600;
}

.reply-submit-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(255, 215, 0, 0.3);
}

/* Styles pour les réponses aux commentaires */
.comment-replies {
    margin-top: 15px;
    padding-left: 20px;
    border-left: 2px solid rgba(255, 215, 0, 0.2);
}

.reply-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 10px;
    animation: slideInLeft 0.3s ease;
}

.reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.reply-date {
    color: #888;
    font-size: 0.75rem;
}

.reply-text {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.4;
    white-space: pre-line;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* Modal de partage amélioré */
.share-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.share-content {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 100%);
    border: 2px solid #ffd700;
    border-radius: 25px;
    position: relative;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.share-header {
    padding: 25px 25px 20px;
    border-bottom: 1px solid rgba(255,215,0,0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.share-header h3 {
    color: #ffd700;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 1.3rem;
}

.share-podcast-info {
    padding: 20px 25px;
    display: flex;
    gap: 15px;
    border-bottom: 1px solid rgba(255,215,0,0.1);
    align-items: flex-start;
}

.share-cover {
    width: 80px;
    height: 80px;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    flex-shrink: 0;
}

.share-details {
    flex: 1;
    min-width: 0;
}

.share-details h4 {
    color: white;
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    line-height: 1.3;
    word-wrap: break-word;
}

.share-presenter {
    color: #ffd700;
    font-weight: 600;
    margin: 0 0 10px 0;
    font-size: 0.9rem;
}

.share-description {
    color: #ccc;
    font-size: 0.85rem;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    white-space: pre-line;
    word-wrap: break-word;
}

.share-options {
    padding: 20px 25px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 15px;
}

.share-option {
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.1);
    border-radius: 15px;
    padding: 15px 12px;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
}

.share-option:hover {
    background: rgba(255,215,0,0.1);
    border-color: var(--color, #ffd700);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255,215,0,0.2);
    color: white;
}

.share-option i {
    font-size: 1.2rem;
}

.share-close {
    background: rgba(255,255,255,0.1);
    border: none;
    color: #ccc;
    font-size: 1.2rem;
    cursor: pointer;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.share-close:hover {
    background: rgba(220,53,69,0.8);
    color: white;
    transform: rotate(90deg);
}

/* Loading States */
.loading-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 40px;
    color: var(--text-gray);
    text-align: center;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid var(--glass-border);
    border-top: 4px solid var(--primary-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.comments-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 30px;
    color: var(--text-gray);
    flex-direction: column;
}

.spinner-small {
    width: 30px;
    height: 30px;
    border: 3px solid var(--glass-border);
    border-top: 3px solid var(--primary-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 80px 40px;
    color: var(--text-gray);
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-gray-dark);
    margin-bottom: 20px;
    display: block;
}

.empty-state h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-white);
}

.empty-state p {
    font-size: 1rem;
    line-height: 1.6;
}

.comments-empty {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-gray);
}

.comments-empty i {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
    color: var(--text-gray-dark);
}

.comments-empty h4 {
    color: var(--text-white);
    margin-bottom: 8px;
}

/* Scrollbar personnalisée */
.comments-list::-webkit-scrollbar,
.audio-modal-content::-webkit-scrollbar {
    width: 8px;
}

.comments-list::-webkit-scrollbar-track,
.audio-modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

.comments-list::-webkit-scrollbar-thumb,
.audio-modal-content::-webkit-scrollbar-thumb {
    background: var(--primary-gold);
    border-radius: 4px;
}

.comments-list::-webkit-scrollbar-thumb:hover,
.audio-modal-content::-webkit-scrollbar-thumb:hover {
    background: var(--primary-gold-light);
}

/* Notifications */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 25px;
    border-radius: 12px;
    z-index: 10003;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    min-width: 300px;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: slideInRight 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.notification.success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border-color: rgba(40, 167, 69, 0.3);
}

.notification.error {
    background: linear-gradient(135deg, #dc3545 0%, #e74c3c 100%);
    color: white;
    border-color: rgba(220, 53, 69, 0.3);
}

.notification.info {
    background: linear-gradient(135deg, #17a2b8 0%, #20c997 100%);
    color: white;
    border-color: rgba(23, 162, 184, 0.3);
}

.notification i {
    font-size: 1.2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translate(-50%, -40%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translate(-50%, -60%);
    }
    to {
        opacity: 1;
        transform: translate(-50%, -50%);
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
        max-height: 0;
    }
    to {
        opacity: 1;
        transform: translateY(0);
        max-height: 300px;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

@keyframes slideOutRight {
    from { transform: translateX(0); opacity: 1; }
    to { transform: translateX(100%); opacity: 0; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes likeAnimation {
    0% { transform: scale(1); }
    15% { transform: scale(1.2); }
    30% { transform: scale(0.95); }
    45% { transform: scale(1.1); }
    60% { transform: scale(1); }
    100% { transform: scale(1); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Accessibilité */
.keyboard-navigation *:focus {
    outline: 2px solid #ffd700 !important;
    outline-offset: 2px;
}

.sr-only {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .hero-stats {
        gap: 40px;
    }
    
    .featured-grid {
        grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    }
    
    .filters-controls {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 968px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .title-icon {
        font-size: 2.5rem;
    }
    
    .newsletter-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .newsletter-form {
        min-width: auto;
        width: 100%;
    }
    
    .hero-animation {
        display: none;
    }
    
    .category-filters {
        flex-direction: column;
        align-items: center;
    }
    
    .filter-btn {
        min-width: 200px;
        justify-content: center;
    }
    
    .share-podcast-info {
        flex-direction: column;
        text-align: center;
    }
    
    .share-options {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        flex-direction: column;
        gap: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
        align-items: center;
    }
    
    .stat-item {
        min-width: 150px;
    }
    
    .newsletter-content {
        padding: 30px 25px;
    }
    
    .newsletter-title {
        font-size: 1.5rem;
    }
    
    .input-group {
        flex-direction: column;
        border-radius: 20px;
    }
    
    .newsletter-input,
    .newsletter-btn {
        border-radius: 20px;
        border: 2px solid var(--border-color);
    }
    
    .section-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 10px;
    }
    
    .featured-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .featured-card {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .podcasts-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 20px;
    }
    
    .audio-modal-content {
        width: 95%;
        padding: 20px;
        max-height: 95vh;
    }
    
    .player-info {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .player-cover {
        width: 150px;
        height: 150px;
        margin: 0 auto;
    }
    
    .player-reactions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .reaction-btn {
        min-width: 200px;
    }
    
    .comment-input-group {
        gap: 12px;
    }
    
    .comment-submit-btn {
        align-self: stretch;
        justify-content: center;
    }
    
    .comment-reactions {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .comment-reply-btn {
        margin-left: 0;
        margin-top: 5px;
    }
    
    .reply-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .reply-cancel-btn,
    .reply-submit-btn {
        justify-content: center;
        width: 100%;
    }
    
    .comment-replies {
        padding-left: 15px;
    }
    
    .share-content {
        width: 95%;
    }
    
    .share-options {
        grid-template-columns: repeat(2, 1fr);
        padding: 15px 20px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 50vh;
        padding: 40px 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .newsletter-section {
        padding: 40px 0;
    }
    
    .featured-section,
    .podcasts-section {
        padding: 50px 0;
    }
    
    .podcasts-grid {
        grid-template-columns: 1fr;
    }
    
    .featured-content,
    .podcast-info {
        padding: 20px;
    }
    
    .category-filters {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 10px 15px;
        font-size: 0.9rem;
        min-width: auto;
    }
    
    .audio-modal-content {
        padding: 15px;
    }
    
    .player-title {
        font-size: 1.3rem;
    }
    
    .player-description {
        padding: 15px;
    }
    
    .comments-list {
        max-height: 250px;
    }
    
    .comment-item {
        padding: 15px;
    }
    
    .comment-reactions {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .comment-reactions .reaction-btn {
        min-width: 80px;
        justify-content: center;
    }
    
    .share-options {
        grid-template-columns: 1fr;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        min-width: auto;
        max-width: calc(100vw - 20px);
    }
}

/* Préférences utilisateur pour les animations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* Mode sombre amélioré */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-dark: #000000;
        --bg-gray: #0a0a0a;
        --text-white: #ffffff;
        --text-gray: #e0e0e0;
        --text-gray-dark: #a0a0a0;
        --glass-bg: rgba(255, 255, 255, 0.03);
        --glass-border: rgba(255, 215, 0, 0.15);
    }
}

/* Mode à contraste élevé */
@media (prefers-contrast: high) {
    :root {
        --border-color: rgba(255, 215, 0, 0.6);
        --glass-border: rgba(255, 215, 0, 0.4);
        --text-gray: #f0f0f0;
        --text-gray-dark: #c0c0c0;
    }
    
    .podcast-card,
    .featured-card,
    .audio-modal-content {
        border-width: 3px;
    }
    
    .reaction-btn {
        border-width: 2px;
        background: rgba(255, 255, 255, 0.1);
    }
    
    .reaction-btn.active {
        background: var(--color, #ffd700);
        color: black;
        border-color: var(--color, #ffd700);
    }
}

/* Impression */
@media print {
    .hero-animation,
    .newsletter-section,
    .filters-section,
    .player-reactions,
    .comments-section,
    .modal-close,
    .load-more-btn,
    .comment-reactions,
    .reply-form,
    .share-modal,
    .notification {
        display: none !important;
    }
    
    .audio-modal-content {
        position: static;
        transform: none;
        width: 100%;
        max-width: none;
        max-height: none;
        background: white;
        color: black;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }
    
    .podcast-description,
    .featured-description,
    .comment-text,
    .reply-text {
        color: black;
        white-space: pre-line;
    }
    
    .podcast-title,
    .featured-title {
        color: black;
    }
    
    .comment-item,
    .reply-item {
        background: white;
        color: black;
        border: 1px solid #ccc;
    }
    
    .comment-author,
    .reply-author {
        color: black;
        font-weight: bold;
    }
}

/* Support pour les anciens navigateurs */
.no-webkit-line-clamp .podcast-description,
.no-webkit-line-clamp .featured-description {
    max-height: 4.5em;
    overflow: hidden;
}

/* Fallback pour les navigateurs sans support backdrop-filter */
@supports not (backdrop-filter: blur(10px)) {
    .featured-card,
    .podcast-card,
    .audio-modal-content,
    .newsletter-content {
        background: rgba(26, 26, 26, 0.95);
    }
}

/* États de focus améliorés */
.filter-btn:focus,
.sort-select:focus,
.newsletter-input:focus,
.newsletter-btn:focus,
.search-input:focus,
.reaction-btn:focus,
.comment-name-input:focus,
.comment-text-input:focus,
.comment-submit-btn:focus,
.reply-name-input:focus,
.reply-text-input:focus,
.reply-submit-btn:focus,
.reply-cancel-btn:focus {
    outline: 2px solid var(--primary-gold);
    outline-offset: 2px;
}

/* Transitions fluides pour tous les éléments interactifs */
.filter-btn,
.sort-select,
.newsletter-input,
.newsletter-btn,
.search-input,
.reaction-btn,
.comment-name-input,
.comment-text-input,
.comment-submit-btn,
.podcast-card,
.featured-card,
.load-more-btn,
.reply-name-input,
.reply-text-input,
.reply-submit-btn,
.reply-cancel-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Amélioration des performances pour les animations */
.featured-card,
.podcast-card,
.stat-item,
.filter-btn,
.reaction-btn {
    will-change: transform;
}

.featured-card:hover,
.podcast-card:hover,
.stat-item:hover,
.filter-btn:hover,
.reaction-btn:hover {
    will-change: auto;
}