body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f2f2f2;
}
header {
    background-color: #1f53c2;
    color: white;
    padding: 15px;
    text-align: center;
}
header h1 {
    margin: 0;
    font-size: 24px;
}
nav {
    margin-top: 10px;
}
nav a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
}
nav a:hover {
    text-decoration: underline;
}
main {
    padding: 20px;
    max-width: 900px;
    margin: 0 auto;
}
footer {
    background-color: #1f53c2;
    color: white;
    text-align: center;
    padding: 10px;
    margin-top: 30px;
}

/* =====================
   HERO — index.php
   ===================== */
.hero {
    background: linear-gradient(135deg, #0d2e7a 0%, #1f53c2 55%, #2d6ee0 100%);
    color: white;
    padding: 70px 40px 80px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    min-height: 320px;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 520px;
}
.hero-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.65);
    margin-bottom: 18px;
    border-left: 3px solid rgba(255,255,255,0.4);
    padding-left: 10px;
}
.hero-title {
    font-size: clamp(32px, 5vw, 54px);
    font-weight: 900;
    line-height: 1.1;
    margin: 0 0 18px 0;
    letter-spacing: -1px;
}
.hero-sub {
    font-size: 16px;
    color: rgba(255,255,255,0.78);
    margin: 0 0 32px 0;
    line-height: 1.6;
    max-width: 400px;
}
.hero-btn {
    display: inline-block;
    background: white;
    color: #1f53c2;
    font-weight: 700;
    font-size: 14px;
    padding: 13px 28px;
    border-radius: 50px;
    text-decoration: none;
    letter-spacing: 0.5px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.hero-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,0.3);
}
.hero-deco {
    position: relative;
    flex-shrink: 0;
    width: 220px;
    height: 220px;
}
.deco-ring {
    position: absolute;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.15);
}
.ring-1 { width: 180px; height: 180px; top: 20px; left: 20px; }
.ring-2 { width: 130px; height: 130px; top: 45px; left: 45px; border-style: dashed; }
.ring-3 { width: 220px; height: 220px; top: 0; left: 0; border-color: rgba(255,255,255,0.07); }
.deco-dice {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 72px;
    opacity: 0.25;
    animation: spin-slow 12s linear infinite;
}
@keyframes spin-slow {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* =====================
   BANDE STATS (NOUVEAU)
   ===================== */
.intro-strip {
    background: white;
    border-bottom: 1px solid #e8edf7;
}
.intro-strip-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}
.strip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #0d2e7a;
    padding: 0 32px;
}
.strip-icon {
    font-size: 20px;
}
.strip-sep {
    width: 1px;
    height: 28px;
    background: #d0d9ee;
}

/* =====================
   CATALOGUE
   ===================== */
.catalog-section {
    max-width: 960px;
    margin: 0 auto;
    padding: 50px 20px 60px;
}
.catalog-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 36px;
}
.catalog-title {
    font-size: 22px;
    font-weight: 800;
    color: #0d2e7a;
    margin: 0;
    white-space: nowrap;
    letter-spacing: -0.5px;
}
.catalog-line {
    display: block;
    flex: 1;
    height: 2px;
    background: linear-gradient(to right, #1f53c2, transparent);
    border-radius: 2px;
}
.catalog-link {
    font-size: 13px;
    font-weight: 700;
    color: #1f53c2;
    text-decoration: none;
    white-space: nowrap;
    letter-spacing: 0.3px;
}
.catalog-link:hover {
    text-decoration: underline;
}
.jeux-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}
.jeu-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(13,46,122,0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}
.jeu-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(13,46,122,0.15);
}
.card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(13,46,122,0.85);
    color: white;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 50px;
    z-index: 1;
}
.card-img-wrap {
    width: 100%;
    height: 180px;
    background: #eef2fb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.card-img-wrap img {
    height: 150px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.jeu-card:hover .card-img-wrap img {
    transform: scale(1.06);
}
.card-body {
    padding: 16px 18px 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.card-body h3 {
    margin: 0;
    font-size: 17px;
    font-weight: 800;
    color: #0d2e7a;
}
.card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
}
.card-players {
    font-size: 12px;
    color: #666;
}
.card-price, .prix {
    font-size: 15px;
    font-weight: 800;
    color: #1f53c2;
}

/* =====================
   LISTING
   ===================== */
.table-responsive {
    overflow-x: auto;
}
table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
}
th, td {
    padding: 10px;
    border: 1px solid #ccc;
    text-align: left;
}
th {
    background-color: #1f53c2;
    color: white;
}
table tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* =====================
   FORMULAIRE
   ===================== */
.form-card {
    max-width: 500px;
    margin: 20px auto;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
}
.form-group {
    margin-bottom: 15px;
}
.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}
.form-group input {
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    border: 1px solid #ccc;
    border-radius: 4px;
}
.btn-submit {
    width: 100%;
    padding: 10px;
    background-color: #333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

/* =====================
   RESPONSIVE
   ===================== */
@media (max-width: 700px) {
    .hero { flex-direction: column; padding: 50px 24px 60px; text-align: center; }
    .hero-eyebrow { border-left: none; padding-left: 0; }
    .hero-sub { margin-left: auto; margin-right: auto; }
    .hero-deco { display: none; }
    .jeux-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
    .intro-strip-inner { flex-direction: column; gap: 12px; }
    .strip-sep { display: none; }
}
@media (max-width: 576px) {
    .form-card { width: 95%; padding: 10px; }
    .table-responsive { font-size: 12px; }
}

/* listing-wrap : marges latérales uniquement */
.listing-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 40px 0;
}