/* ===================================
   VARIABLES & RESET
   =================================== */
:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --secondary-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-bg: #0f172a;
    --dark-card: #1e293b;
    --dark-card-hover: #334155;
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --border-color: #334155;
    --gradient-1: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --gradient-2: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.4);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

/* ===================================
   UTILITIES
   =================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 6rem 0;
    scroll-margin-top: 130px; /* Compensation pour navbar + ticker sticky */
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.gradient-text {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    font-family: inherit;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.4);
}

.btn-secondary {
    background: var(--dark-card);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    border-color: var(--primary-color);
    background: var(--dark-card-hover);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-affiliate {
    background: var(--gradient-2);
    color: white;
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}

.btn-affiliate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
}

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 1rem 0 0.4rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

.nav-brand i {
    color: transparent;
    background: linear-gradient(135deg, #FFFFFF 0%, #F0F9FF 25%, #E0F2FE 50%, #BAE6FD 75%, #7DD3FC 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2rem;
    display: flex;
    align-items: center;
    filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.9)) 
            drop-shadow(0 0 20px rgba(186, 230, 253, 0.7))
            drop-shadow(0 0 30px rgba(125, 211, 252, 0.5));
    animation: frost-shimmer 3s ease-in-out infinite;
}

@keyframes frost-shimmer {
    0%, 100% { 
        filter: drop-shadow(0 0 12px rgba(255, 255, 255, 0.9)) 
                drop-shadow(0 0 20px rgba(186, 230, 253, 0.7))
                drop-shadow(0 0 30px rgba(125, 211, 252, 0.5));
    }
    50% { 
        filter: drop-shadow(0 0 16px rgba(255, 255, 255, 1)) 
                drop-shadow(0 0 24px rgba(186, 230, 253, 0.9))
                drop-shadow(0 0 35px rgba(125, 211, 252, 0.7));
    }
}

.pro-badge {
    background: var(--gradient-1);
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    transform: rotate(-8deg);
    margin-left: 2px;
    display: inline-block;
}

.forex-shadow {
    display: block;
    font-size: 1.6rem;
    color: #a5b4fc;
    font-weight: 800;
    letter-spacing: -0.8px;
    font-style: italic;
    margin-top: -2px;
    margin-left: 0;
    transform: perspective(300px) rotateX(45deg) scaleY(0.6);
    transform-origin: top center;
    opacity: 0.75;
    filter: blur(0.3px);
}

/* Typo fun pour les marques */
.brand-name {
    font-family: 'Inter', 'Comic Sans MS', 'Trebuchet MS', sans-serif;
    font-weight: 800;
    letter-spacing: -0.8px;
    font-style: italic;
    text-transform: none;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    transition: var(--transition);
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
    z-index: 1001;
}

/* ===================================
   CRYPTO TICKER (STICKY BAR)
   =================================== */
.crypto-ticker {
    position: sticky;
    top: 100px;
    left: 0;
    right: 0;
    width: 100%;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.95) 0%, rgba(139, 92, 246, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
    padding: 0.75rem 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ticker-spacer {
    height: 50px;
}

@media (max-width: 768px) {
    .ticker-spacer {
        height: 30px; /* Plus petit sur tablette */
    }
}

@media (max-width: 480px) {
    .ticker-spacer {
        height: 20px; /* Encore plus petit sur très petit écran */
    }
}

.ticker-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    overflow-x: auto;
    scrollbar-width: none;
}

.ticker-content::-webkit-scrollbar {
    display: none;
}

.ticker-label {
    font-weight: 600;
    color: white;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.ticker-prices {
    display: flex;
    gap: 2rem;
    flex-wrap: nowrap;
    align-items: center;
    overflow-x: auto;
    scrollbar-width: none;
}

.ticker-prices::-webkit-scrollbar {
    display: none;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: white;
    font-weight: 500;
    font-size: 0.875rem;
    white-space: nowrap;
}

.ticker-crypto {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ticker-symbol {
    font-weight: 700;
    font-size: 0.875rem;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.ticker-price {
    font-weight: 700;
    color: #fff;
    font-size: 0.875rem;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.ticker-change {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.ticker-change.positive {
    background: rgba(34, 197, 94, 0.95);
    color: #fff;
    border: 2px solid #000;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.ticker-change.negative {
    background: rgba(239, 68, 68, 0.95);
    color: #fff;
    border: 2px solid #000;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.skeleton-ticker {
    opacity: 0.6;
    animation: pulse-ticker 1.5s ease-in-out infinite;
}

@keyframes pulse-ticker {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.3; }
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 6rem; /* Réduit pour compenser le spacer */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(6, 182, 212, 0.15) 0%, transparent 50%);
    animation: pulse 10s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-title {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-stats {
    display: flex;
    gap: 4rem;
    justify-content: center;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    color: var(--text-secondary);
    animation: bounce 2s infinite;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ===================================
   QUICK SEARCH
   =================================== */
.quick-search {
    margin-top: -4rem;
    position: relative;
    z-index: 10;
}

.quick-search-card {
    background: var(--dark-card);
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.quick-search-card h2 {
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.quick-search-card h2 i {
    color: var(--primary-color);
}

.quick-search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.search-option label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.search-option select,
.search-option input {
    width: 100%;
    padding: 0.875rem;
    background: var(--dark-bg);
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.search-option select:focus,
.search-option input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.quick-result {
    margin-top: 1.5rem;
    padding: 1.5rem;
    background: var(--dark-bg);
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary-color);
    display: none;
}

.quick-result.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===================================
   COMPARATOR
   =================================== */
.comparator {
    background: linear-gradient(180deg, var(--dark-bg) 0%, rgba(30, 41, 59, 0.5) 100%);
}

.filters-card {
    background: var(--dark-card);
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-color);
}

.filters-row {
    display: flex;
    gap: 3rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.filter-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1rem;
    background: var(--dark-bg);
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-secondary);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.875rem;
}

.filter-btn:hover {
    border-color: var(--primary-light);
    color: var(--text-primary);
}

.filter-btn.active {
    background: var(--gradient-1);
    border-color: var(--primary-color);
    color: white;
}

.search-bar {
    position: relative;
}

.search-bar i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.search-bar input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 3rem;
    background: var(--dark-bg);
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.search-bar input:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Comparison Table */
.comparison-table-wrapper {
    overflow-x: auto;
    background: var(--dark-card);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
}

.comparison-table thead {
    background: var(--dark-bg);
}

.comparison-table th {
    padding: 1.25rem 1rem;
    text-align: left;
    font-weight: 700;
    color: var(--text-secondary);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-bottom: 2px solid var(--border-color);
}

.comparison-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.comparison-table tbody tr:hover {
    background: var(--dark-card-hover);
}

.comparison-table td {
    padding: 1.25rem 1rem;
}

.platform-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.platform-logo {
    width: 48px;
    height: 48px;
    background: var(--dark-bg);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.platform-name {
    font-weight: 600;
    font-size: 1.125rem;
}

.platform-type {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--dark-bg);
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.platform-type.crypto {
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.platform-type.forex {
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.platform-type.hybrid {
    color: var(--warning-color);
    border: 1px solid var(--warning-color);
}

.bonus-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-stars {
    color: var(--warning-color);
}

.rating-score {
    font-weight: 700;
    font-size: 1.125rem;
}

/* ===================================
   TOOLS SECTION
   =================================== */
.tools-section {
    background: var(--dark-bg);
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.tool-card {
    background: var(--dark-card);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}

.tool-card.featured {
    border: 2px solid var(--primary-color);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.2);
}

.tool-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.tool-card.full-width {
    grid-column: 1 / -1;
}

.tool-header {
    padding: 1.5rem;
    background: var(--dark-bg);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
}

.badge-new {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 10px rgba(16, 185, 129, 0.4);
}

.tool-description {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin: 0;
}

.tool-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-1);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.tool-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
}

.tool-body {
    padding: 1.5rem;
}

.input-group {
    margin-bottom: 1rem;
}

.input-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.input-group input,
.input-group select {
    width: 100%;
    padding: 0.875rem;
    background: var(--dark-bg);
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.input-group input:focus,
.input-group select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.result-box {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--dark-bg);
    border-radius: 0.5rem;
    border-left: 4px solid var(--primary-color);
    display: none;
}

.result-box.show {
    display: block;
    animation: slideDown 0.3s ease-out;
}

.result-box h4 {
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.result-value {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0.5rem 0;
}

.result-value.positive {
    color: var(--success-color);
}

.result-value.negative {
    color: var(--danger-color);
}

.chart-container {
    position: relative;
    margin-top: 1.5rem;
}

/* ===================================
   PLATFORMS DETAIL
   =================================== */
.platforms-detail {
    background: linear-gradient(180deg, rgba(30, 41, 59, 0.5) 0%, var(--dark-bg) 100%);
}

.platforms-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

.platform-card {
    background: var(--dark-card);
    border-radius: 1rem;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: var(--transition);
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.platform-card-header {
    padding: 2rem;
    background: var(--dark-bg);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.platform-card-logo {
    width: 80px;
    height: 80px;
    background: var(--dark-card);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 1rem;
}

.platform-card-header h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.platform-card-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.platform-card-body {
    padding: 2rem;
}

.platform-features {
    list-style: none;
    margin-bottom: 1.5rem;
}

.platform-features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
}

.platform-features li:last-child {
    border-bottom: none;
}

.platform-features i {
    color: var(--success-color);
}

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

.pros, .cons {
    padding: 1rem;
    background: var(--dark-bg);
    border-radius: 0.5rem;
}

.pros h4 {
    color: var(--success-color);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.cons h4 {
    color: var(--danger-color);
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
}

.pros ul, .cons ul {
    list-style: none;
    font-size: 0.875rem;
}

.pros li, .cons li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
}

/* ===================================
   GUIDES SECTION
   =================================== */
.guides-section {
    background: var(--dark-bg);
}

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

.guide-card {
    background: var(--dark-card);
    border-radius: 1rem;
    padding: 2rem;
    border: 1px solid var(--border-color);
    transition: var(--transition);
    text-align: center;
}

.guide-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.guide-icon {
    width: 64px;
    height: 64px;
    background: var(--gradient-1);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin: 0 auto 1.5rem;
}

.guide-card h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.guide-card p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.guide-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    font-weight: 600;
    transition: var(--transition);
}

.guide-link:hover {
    gap: 0.75rem;
}

/* ===================================
   CTA SECTION
   =================================== */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(6, 182, 212, 0.1) 100%);
}

.cta-card {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta-card h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-card p {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--dark-card);
    border-top: 1px solid var(--border-color);
    padding: 4rem 0 2rem;
}

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

.footer-col h4 {
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-col p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a {
    color: var(--text-secondary);
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--primary-color);
}

/* ===================================
   PULSE CRYPTO SECTION
   =================================== */
.pulse-section {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(6, 182, 212, 0.05) 100%);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    scroll-margin-top: 140px; /* Navbar + Ticker */
}

.pulse-subtitle {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pulse-subtitle i {
    color: var(--primary-color);
}

.pulse-trending {
    margin-bottom: 3rem;
}

/* NOUVEAU STYLE COMPACT pour Trending Coins */
.trending-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    padding: 1rem 0;
}

@media (min-width: 769px) and (max-width: 1200px) {
    .trending-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 colonnes sur tablette */
    }
}

.trending-card {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 0.75rem;
    padding: 1rem;
    transition: var(--transition);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.trending-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-color);
}

.trending-rank {
    font-size: 1.25rem;
    margin-bottom: 0;
}

.trending-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.trending-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.trending-name {
    flex: 1;
    min-width: 0;
}

.trending-name h4 {
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.125rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.trending-symbol {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-transform: uppercase;
}

.trending-price {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
}

.trending-change {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    font-size: 0.75rem;
}

.trending-change.positive {
    background: rgba(34, 197, 94, 0.95);
    color: #fff;
    border: 2px solid #000;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.trending-change.negative {
    background: rgba(239, 68, 68, 0.95);
    color: #fff;
    border: 2px solid #000;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.trending-volume {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.trending-cta {
    margin-top: 0.5rem;
    width: 100%;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
}

.pulse-news {
    margin-top: 3rem;
}

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

.news-card {
    background: var(--dark-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.5rem;
    transition: var(--transition);
    cursor: pointer;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--secondary-color);
}

.news-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-color);
    border-radius: 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.news-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.4;
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.news-source {
    font-weight: 500;
    color: var(--primary-light);
}

.news-sentiment {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.news-sentiment i {
    font-size: 1rem;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--secondary-color);
    font-weight: 500;
    font-size: 0.875rem;
}

.news-link:hover {
    color: var(--primary-color);
}

/* Loading Skeleton */
.skeleton {
    position: relative;
    overflow: hidden;
}

.skeleton::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

.skeleton-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--border-color);
    margin-bottom: 1rem;
}

.skeleton-text {
    height: 16px;
    background: var(--border-color);
    border-radius: 0.25rem;
    margin-bottom: 0.75rem;
}

.skeleton-text:last-child {
    width: 60%;
}

#lastUpdate {
    color: var(--secondary-color);
    font-weight: 500;
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: var(--dark-bg);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-bottom p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.disclaimer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: var(--warning-color);
    font-size: 0.875rem;
}

/* ===================================
   RESPONSIVE
   =================================== */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 4rem 0;
    }

    .nav-menu {
        display: none;
        position: fixed;
        top: 55px; /* Ajusté pour navbar plus compacte */
        left: 0;
        right: 0;
        background: rgba(15, 23, 42, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0;
        border-bottom: 1px solid var(--border-color);
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-menu.active {
        display: flex;
        animation: slideDown 0.3s ease-out;
    }

    .nav-menu li {
        border-bottom: 1px solid var(--border-color);
    }

    .nav-menu li:last-child {
        border-bottom: none;
    }

    .nav-link {
        display: block;
        padding: 1.25rem 2rem;
        width: 100%;
        text-align: left;
        font-size: 1.125rem;
    }

    .nav-link:hover {
        background: var(--dark-card-hover);
    }

    .nav-toggle {
        display: block;
    }

    .nav-toggle:active {
        transform: scale(0.95);
    }

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

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

    .pulse-subtitle {
        font-size: 1.125rem;
    }

    .trending-card {
        padding: 1.25rem;
    }

    .news-card {
        padding: 1.25rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-stats {
        gap: 2rem;
    }

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

    .hero-cta {
        flex-direction: column;
    }

    .hero-cta .btn {
        width: 100%;
    }

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

    .quick-search-grid {
        grid-template-columns: 1fr;
    }

    .filters-row {
        flex-direction: column;
        gap: 1.5rem;
    }

    .comparison-table-wrapper {
        overflow-x: scroll;
    }

    .comparison-table {
        min-width: 800px;
    }

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

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

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

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-card h2 {
        font-size: 2rem;
    }

    .platform-pros-cons {
        grid-template-columns: 1fr;
    }

    .crypto-ticker {
        top: 90px;
        padding: 0.5rem 0;
    }

    .ticker-content {
        gap: 0.75rem;
    }

    .ticker-label {
        font-size: 0.7rem;
    }

    .ticker-prices {
        gap: 0.75rem;
        flex-wrap: nowrap;
    }

    .ticker-item {
        font-size: 0.65rem;
        gap: 0.35rem;
    }

    .ticker-symbol {
        font-size: 0.7rem;
    }

    .ticker-price {
        display: none; /* Cache le prix détaillé sur très petit écran */
    }

    .hero {
        padding-top: 5rem; /* Réduit encore plus pour mobile */
    }

    .section {
        padding: 4rem 0;
        scroll-margin-top: 110px; /* Réduit pour mobile */
    }

    .pulse-section {
        scroll-margin-top: 115px; /* Ajusté pour mobile */
    }

    .trending-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        gap: 0.75rem;
        grid-template-columns: none;
        padding: 1rem 0;
        scrollbar-width: thin;
    }

    .trending-grid::-webkit-scrollbar {
        height: 4px;
    }

    .trending-grid::-webkit-scrollbar-track {
        background: var(--dark-bg);
        border-radius: 10px;
    }

    .trending-grid::-webkit-scrollbar-thumb {
        background: var(--primary-color);
        border-radius: 10px;
    }

    .trending-card {
        min-width: 160px;
        flex-shrink: 0;
        padding: 0.75rem;
    }

    .trending-icon {
        width: 26px;
        height: 26px;
    }

    .trending-rank {
        font-size: 0.875rem;
    }

    .trending-price {
        font-size: 0.875rem;
    }

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

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

    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }

    .quick-search-card {
        padding: 1.5rem;
    }

    .tool-card {
        min-width: auto;
    }

    .crypto-ticker {
        top: 85px;
        padding: 0.4rem 0;
    }

    .navbar {
        padding: 0.5rem 0; /* Navbar plus compacte */
    }

    .nav-brand {
        font-size: 1.25rem; /* Plus petit */
    }

    .hero {
        padding-top: 4.5rem; /* Très réduit pour mobile */
    }

    .ticker-label {
        font-size: 0.65rem;
    }

    .ticker-item {
        font-size: 0.6rem;
    }

    .section {
        scroll-margin-top: 105px; /* Ajusté pour petit écran */
    }
}
