/* Global Reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #f8f9fa;
    font-family: 'Inter', -apple-system, sans-serif;
    color: #1a1a1a;
    display: flex;
    justify-content: center;
    padding: 60px 20px;
}

.container {
    width: 100%;
    max-width: 850px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
}

/* Header */
header {
    text-align: center;
}

.logo {
    width: 120px;
    height: 120px;
    border: 2px solid #000;
    object-fit: cover;
    margin-bottom: 15px;
    background: white;
}

h1 {
    font-size: 3rem;
    font-weight: 900;
    letter-spacing: -1px;
}

.subtitle {
    color: #666;
    margin-bottom: 10px;
}

/* Badge PAPER en VERT */
.compatibility-badge {
    display: inline-block;
    padding: 5px 15px;
    border: 2px solid #2ecc71; /* Vert Paper */
    color: #2ecc71;
    font-weight: bold;
    font-size: 0.85rem;
    text-transform: uppercase;
}

/* Links Table */
.links-section {
    width: 100%;
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

td {
    border: 1px solid #000;
    padding: 10px 15px;
    font-size: 0.85rem;
    font-family: monospace;
}

td:first-child {
    font-weight: bold;
    width: 120px;
    background-color: #f0f0f0;
}

a {
    color: #0066cc;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/* Wiki Section */
.wiki-container {
    width: 100%;
}

h2 {
    font-size: 1.5rem;
    margin: 30px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #000;
}

.wiki-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.wiki-card {
    background: white;
    padding: 20px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.badge {
    font-size: 0.7rem;
    text-transform: uppercase;
    font-weight: bold;
    background: #000;
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
}

.wiki-card h3 {
    margin: 12px 0 5px 0;
    font-size: 1.1rem;
}

code {
    background: #f0f0f0;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    color: #d63384;
}

.description {
    font-size: 0.9rem;
    color: #555;
    margin-top: 10px;
    line-height: 1.5;
}

.audio-note {
    margin-top: 30px;
    text-align: center;
    font-style: italic;
    color: #888;
    font-size: 0.9rem;
}

/* Correction du cadre Vidéo */
.video-card-modern {
    background: white;
    padding: 10px; /* Bordure intérieure réduite */
    border: 1px solid #e0e0e0; /* Bordure plus fine */
    border-radius: 4px;
    width: 100%;
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Footer */
footer {
    margin-top: 40px;
    border-top: 1px solid #eee;
    width: 100%;
    text-align: center;
    padding: 20px 0;
}

h5 {
    font-weight: 400;
    color: #bbb;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.7rem;
}