/**
 * =====================================================
 * RADIO MAGAZINE - STYLES PRINCIPAUX
 * =====================================================
 * Design moderne, futuriste et professionnel
 * Responsive mobile/tablette/desktop
 * =====================================================
 */

/* =====================================================
   VARIABLES CSS
   ===================================================== */
:root {
    --primary-color: #0d6efd;
    --secondary-color: #6c757d;
    --accent-color: #ffc107;
    --success-color: #198754;
    --danger-color: #dc3545;
    --warning-color: #fd7e14;
    --info-color: #0dcaf0;
    --dark-color: #212529;
    --light-color: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    --gradient-accent: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
    --border-radius: 12px;
    --border-radius-sm: 8px;
    --transition: all 0.3s ease;
}

/* =====================================================
   BASE ET RÉINITIALISATION
   ===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: #f5f7fa;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--dark-color);
}

img {
    max-width: 100%;
    height: auto;
}

/* =====================================================
   HEADER ET NAVIGATION
   ===================================================== */
.main-header {
    background: var(--gradient-primary);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background: rgba(0,0,0,0.2);
    padding: 8px 0;
    font-size: 0.85rem;
}

.top-bar a {
    color: rgba(255,255,255,0.9);
    margin-right: 15px;
}

.top-bar a:hover {
    color: #fff;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.navbar-brand img {
    max-height: 50px;
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255,255,255,0.9);
    font-weight: 500;
    padding: 0.75rem 1rem;
    border-radius: var(--border-radius-sm);
    transition: var(--transition);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
    background: rgba(255,255,255,0.15);
    color: #fff;
}

/* Bouton Radio Live */
.btn-radio-live {
    background: var(--gradient-accent);
    color: var(--dark-color) !important;
    font-weight: 600;
    padding: 0.5rem 1.25rem !important;
    border-radius: 50px !important;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.7); }
    50% { box-shadow: 0 0 0 10px rgba(255, 193, 7, 0); }
}

.btn-radio-live:hover {
    transform: scale(1.05);
}

/* Barre de recherche */
.search-form {
    position: relative;
}

.search-form .form-control {
    border-radius: 50px;
    padding-left: 20px;
    padding-right: 45px;
    border: none;
    background: rgba(255,255,255,0.2);
    color: #fff;
}

.search-form .form-control::placeholder {
    color: rgba(255,255,255,0.7);
}

.search-form .btn {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* =====================================================
   HERO SLIDER
   ===================================================== */
.hero-slider {
    position: relative;
    height: 500px;
    overflow: hidden;
    border-radius: 0 0 var(--border-radius) var(--border-radius);
}

.hero-slide {
    position: relative;
    height: 500px;
    background-size: cover;
    background-position: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 50%, rgba(0,0,0,0.1) 100%);
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 40px;
    color: #fff;
}

.hero-category {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
}

.hero-meta {
    font-size: 0.9rem;
    opacity: 0.9;
}

.hero-meta i {
    margin-right: 5px;
}

/* Contrôles du slider */
.slider-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.slider-btn {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-btn:hover {
    background: var(--primary-color);
}

/* Indicateurs */
.slider-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
}

.slider-dot.active {
    background: var(--accent-color);
    width: 30px;
    border-radius: 6px;
}

/* =====================================================
   CARTES D'ARTICLES
   ===================================================== */
.article-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.article-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

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

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-category {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 5px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: #fff;
}

.article-body {
    padding: 20px;
}

.article-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-excerpt {
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.article-meta i {
    margin-right: 5px;
}

/* Carte article horizontal (liste) */
.article-card-horizontal {
    display: flex;
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.article-card-horizontal:hover {
    box-shadow: var(--shadow-md);
}

.article-card-horizontal .article-image {
    width: 200px;
    height: 150px;
    flex-shrink: 0;
}

.article-card-horizontal .article-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* =====================================================
   SECTIONS ET TITRES
   ===================================================== */
.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-color);
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
    padding-left: 15px;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 25px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-link {
    font-size: 0.9rem;
    font-weight: 500;
}

/* =====================================================
   SIDEBAR ET WIDGETS
   ===================================================== */
.sidebar {
    position: sticky;
    top: 100px;
}

.widget-card {
    background: #fff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
    overflow: hidden;
}

.widget-card .card-header {
    padding: 15px 20px;
    font-weight: 600;
    border-bottom: none;
}

.widget-card .card-body {
    padding: 20px;
}

/* Widget articles populaires */
.popular-item {
    display: flex;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid var(--light-color);
}

.popular-item:last-child {
    border-bottom: none;
}

.popular-number {
    width: 35px;
    height: 35px;
    background: var(--gradient-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.popular-content {
    flex: 1;
}

.popular-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 5px;
    line-height: 1.4;
}

.popular-meta {
    font-size: 0.8rem;
    color: var(--secondary-color);
}

/* =====================================================
   PAGE ARTICLE
   ===================================================== */
.article-header {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}

.article-header .article-category {
    position: static;
    display: inline-block;
    margin-bottom: 15px;
}

.article-header h1 {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.3;
}

.article-subtitle {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-bottom: 20px;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info {
    flex: 1;
}

.author-name {
    font-weight: 600;
    margin-bottom: 2px;
}

.author-date {
    font-size: 0.85rem;
    color: var(--secondary-color);
}

.article-featured-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 20px;
}

.article-featured-image img {
    width: 100%;
    height: auto;
}

.article-content {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow-sm);
    font-size: 1.1rem;
    line-height: 1.8;
}

.article-content p {
    margin-bottom: 20px;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 600;
}

.article-content img {
    border-radius: var(--border-radius-sm);
    margin: 20px 0;
}

.article-content blockquote {
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin: 25px 0;
    font-style: italic;
    color: var(--secondary-color);
}

.article-content blockquote cite {
    display: block;
    margin-top: 10px;
    font-style: normal;
    font-weight: 600;
}

/* Tags */
.article-tags {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--light-color);
}

.tag {
    display: inline-block;
    padding: 5px 15px;
    background: var(--light-color);
    border-radius: 50px;
    font-size: 0.85rem;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: var(--transition);
}

.tag:hover {
    background: var(--primary-color);
    color: #fff;
}

/* Partage social */
.share-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

.share-btn:hover {
    transform: scale(1.1);
    color: #fff;
}

.share-btn.facebook { background: #3b5998; }
.share-btn.twitter { background: #1da1f2; }
.share-btn.whatsapp { background: #25d366; }
.share-btn.linkedin { background: #0077b5; }
.share-btn.telegram { background: #0088cc; }

/* =====================================================
   COMMENTAIRES
   ===================================================== */
.comments-section {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 30px;
    margin-top: 20px;
    box-shadow: var(--shadow-sm);
}

.comment {
    display: flex;
    gap: 15px;
    padding: 20px 0;
    border-bottom: 1px solid var(--light-color);
}

.comment:last-child {
    border-bottom: none;
}

.comment-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gradient-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
    flex-shrink: 0;
}

.comment-body {
    flex: 1;
}

.comment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.comment-author {
    font-weight: 600;
}

.comment-date {
    font-size: 0.8rem;
    color: var(--secondary-color);
}

.comment-content {
    color: var(--dark-color);
    line-height: 1.6;
}

.comment-form {
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 25px;
    margin-top: 20px;
}

/* =====================================================
   LECTEUR RADIO
   ===================================================== */
.radio-player {
    background: var(--gradient-primary);
    border-radius: var(--border-radius);
    padding: 30px;
    color: #fff;
    margin-bottom: 30px;
}

.radio-player-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
}

.radio-cover {
    width: 120px;
    height: 120px;
    border-radius: var(--border-radius);
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
}

.radio-info h2 {
    font-size: 1.8rem;
    margin-bottom: 5px;
}

.radio-info p {
    opacity: 0.9;
}

.radio-controls {
    display: flex;
    align-items: center;
    gap: 20px;
}

.radio-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--accent-color);
    border: none;
    color: var(--dark-color);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.radio-btn:hover {
    transform: scale(1.1);
}

.radio-volume {
    flex: 1;
    max-width: 200px;
}

.radio-volume input[type="range"] {
    width: 100%;
}

/* =====================================================
   VIDÉOS ET PODCASTS
   ===================================================== */
.video-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.video-card:hover {
    box-shadow: var(--shadow-md);
}

.video-thumbnail {
    position: relative;
    padding-top: 56.25%; /* 16:9 */
    overflow: hidden;
}

.video-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--danger-color);
    font-size: 1.5rem;
    transition: var(--transition);
}

.video-card:hover .video-play-btn {
    background: var(--danger-color);
    color: #fff;
    transform: translate(-50%, -50%) scale(1.1);
}

.video-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.8);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
}

.video-body {
    padding: 15px;
}

.video-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* =====================================================
   ANNONCES
   ===================================================== */
.classified-card {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 2px solid transparent;
}

.classified-card:hover {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-md);
}

.classified-card.featured {
    border-color: var(--accent-color);
}

.classified-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--accent-color);
    color: var(--dark-color);
    padding: 3px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.classified-body {
    padding: 20px;
}

.classified-category {
    font-size: 0.8rem;
    color: var(--primary-color);
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.classified-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.classified-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--success-color);
    margin-bottom: 10px;
}

.classified-location {
    font-size: 0.9rem;
    color: var(--secondary-color);
}

.classified-location i {
    margin-right: 5px;
}

/* =====================================================
   CTA ET PUBLICITÉS
   ===================================================== */
.cta-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: var(--border-radius);
    padding: 25px;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
}

.cta-box h4 {
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.cta-box p {
    margin-bottom: 15px;
    opacity: 0.9;
}

.cta-box .btn {
    background: #fff;
    color: #764ba2;
    font-weight: 600;
    border-radius: 50px;
    padding: 10px 25px;
}

.ad-banner {
    background: var(--light-color);
    border-radius: var(--border-radius);
    padding: 15px;
    text-align: center;
    margin-bottom: 20px;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ad-banner img {
    max-width: 100%;
    border-radius: var(--border-radius-sm);
}

/* =====================================================
   FOOTER
   ===================================================== */
.main-footer {
    background: var(--dark-color);
    color: #fff;
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer-widget h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-widget h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 2px;
}

.footer-widget ul {
    list-style: none;
    padding: 0;
}

.footer-widget ul li {
    margin-bottom: 10px;
}

.footer-widget ul li a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-widget ul li a:hover {
    color: #fff;
    padding-left: 5px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--primary-color);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 40px;
    text-align: center;
    color: rgba(255,255,255,0.6);
    font-size: 0.9rem;
}

/* =====================================================
   ADMINISTRATION
   ===================================================== */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--dark-color);
    color: #fff;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
}

.admin-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.admin-sidebar-header h3 {
    font-size: 1.3rem;
    margin: 0;
}

.admin-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.admin-nav li {
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.admin-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px 20px;
    color: rgba(255,255,255,0.8);
    transition: var(--transition);
}

.admin-nav li a:hover,
.admin-nav li a.active {
    background: var(--primary-color);
    color: #fff;
}

.admin-nav li a i {
    width: 20px;
    text-align: center;
}

.admin-main {
    flex: 1;
    margin-left: 260px;
    background: #f5f7fa;
    min-height: 100vh;
}

.admin-header {
    background: #fff;
    padding: 15px 30px;
    box-shadow: var(--shadow-sm);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-content {
    padding: 30px;
}

/* Stats cards */
.stat-card {
    background: #fff;
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.stat-card:hover {
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.stat-icon.blue { background: rgba(13, 110, 253, 0.1); color: var(--primary-color); }
.stat-icon.green { background: rgba(25, 135, 84, 0.1); color: var(--success-color); }
.stat-icon.orange { background: rgba(253, 126, 20, 0.1); color: var(--warning-color); }
.stat-icon.red { background: rgba(220, 53, 69, 0.1); color: var(--danger-color); }

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    color: var(--secondary-color);
    font-size: 0.9rem;
}

/* Table admin */
.admin-table {
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.admin-table table {
    width: 100%;
    margin-bottom: 0;
}

.admin-table th {
    background: var(--light-color);
    font-weight: 600;
    padding: 15px;
    border-bottom: 2px solid #dee2e6;
}

.admin-table td {
    padding: 15px;
    vertical-align: middle;
}

.admin-table tr:hover {
    background: rgba(13, 110, 253, 0.02);
}

/* Formulaires admin */
.admin-form .form-label {
    font-weight: 500;
}

.admin-form .form-control,
.admin-form .form-select {
    border-radius: var(--border-radius-sm);
    border: 1px solid #dee2e6;
    padding: 12px 15px;
}

.admin-form .form-control:focus,
.admin-form .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.1);
}

/* =====================================================
   BOUTONS
   ===================================================== */
.btn {
    border-radius: var(--border-radius-sm);
    font-weight: 500;
    padding: 10px 20px;
    transition: var(--transition);
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.3);
}

.btn-success {
    background: linear-gradient(135deg, #198754 0%, #146c43 100%);
    border: none;
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #b02a37 100%);
    border: none;
}

.btn-warning {
    background: var(--gradient-accent);
    border: none;
    color: var(--dark-color);
}

/* =====================================================
   BADGES ET ÉTIQUETTES
   ===================================================== */
.badge {
    padding: 6px 12px;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.75rem;
}

/* =====================================================
   ALERTES
   ===================================================== */
.alert {
    border-radius: var(--border-radius);
    border: none;
    padding: 15px 20px;
}

.alert-success {
    background: rgba(25, 135, 84, 0.1);
    color: var(--success-color);
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    color: #856404;
}

.alert-info {
    background: rgba(13, 202, 240, 0.1);
    color: #055160;
}

/* =====================================================
   PAGINATION
   ===================================================== */
.pagination .page-link {
    border-radius: var(--border-radius-sm);
    margin: 0 3px;
    border: none;
    color: var(--dark-color);
    font-weight: 500;
}

.pagination .page-item.active .page-link {
    background: var(--gradient-primary);
}

.pagination .page-link:hover {
    background: var(--light-color);
}

/* =====================================================
   RÉPONSIVE
   ===================================================== */
@media (max-width: 991px) {
    .hero-slider,
    .hero-slide {
        height: 400px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .article-card-horizontal {
        flex-direction: column;
    }
    
    .article-card-horizontal .article-image {
        width: 100%;
        height: 200px;
    }
    
    .admin-sidebar {
        width: 100%;
        position: relative;
        height: auto;
    }
    
    .admin-main {
        margin-left: 0;
    }
}

@media (max-width: 767px) {
    .hero-slider,
    .hero-slide {
        height: 350px;
    }
    
    .hero-title {
        font-size: 1.5rem;
    }
    
    .hero-content {
        padding: 20px;
    }
    
    .section-title {
        font-size: 1.2rem;
    }
    
    .article-header h1 {
        font-size: 1.5rem;
    }
    
    .radio-player-header {
        flex-direction: column;
        text-align: center;
    }
    
    .radio-controls {
        flex-direction: column;
    }
    
    .admin-content {
        padding: 15px;
    }
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease forwards;
}

/* Loading spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--light-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* =====================================================
   UTILITAIRES
   ===================================================== */
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-hover {
    transition: var(--transition);
}

.shadow-hover:hover {
    box-shadow: var(--shadow-lg);
}

/* Lazy loading */
.lazyload {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazyloaded {
    opacity: 1;
}
