:root {
    --primary-blue: #03A9F4;
    --primary-blue-light: #35baf6;
    --primary-blue-dark: #0288d1;
    --primary-gradient: linear-gradient(135deg, var(--primary-blue), #0288d1);
    --dark-bg: #0a0b14;
    --darker-bg: #050613;
    --medium-bg: #111224;
    --light-bg: #1a1c36;
    --text-white: #f0f0f0;
    --text-light: #c0c0c0;
    --text-muted: #909090;
    --border-radius: 15px;
    --border-radius-lg: 80px;
    --transition-speed: 0.3s;
    --glow-shadow: 0 0 20px rgba(3, 169, 244, 0.3);
}

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

html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--darker-bg);
    color: var(--text-white);
    line-height: 1.6;
    position: relative;
    min-height: 100vh;
    overflow-y: auto !important;
    overflow-x: hidden;
}

.gradient-overlay, .noise-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.gradient-overlay {
    background: radial-gradient(circle at top right, rgba(10, 11, 20, 0) 0%, var(--darker-bg) 80%);
}

.noise-overlay {
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    opacity: 0.4;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

h2 { font-size: 2.8rem; }

p {
    margin-bottom: 1.5rem;
    color: var (--text-light);
}

.highlight, h1, .status-count {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(5, 6, 19, 0.9) 0%, rgba(5, 6, 19, 0.8) 50%, rgba(5, 6, 19, 0) 100%);
    backdrop-filter: blur(10px);
    border-bottom: #ffffff20 1px solid;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 45px;
    width: auto;
    transition: transform var(--transition-speed) ease;
}

.logo img:hover { transform: scale(1.05); }

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color var(--transition-speed) ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gradient);
    transition: width var(--transition-speed) ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--text-white);
}

.nav-link:hover::after, .nav-link.active::after { width: 100%; }

.nav-link.external {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link.external i {
    font-size: 0.8rem;
    transition: transform var(--transition-speed) ease;
}

.nav-link.external:hover i {
    transform: translate(2px, -2px);
}

@media screen and (max-width: 768px) {
    .nav-link.external {
        justify-content: center;
    }
}

.section {
    min-height: 100vh;
    padding: 120px 5% 80px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 1;
    background-color: transparent;
    overflow: hidden;
}

/* Apply snap scroll only to specific sections */
#home, #download, #about, #compatibility {
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.text-content {
    flex: 1;
    max-width: 600px;
    position: relative;
    z-index: 2;
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: var(--border-radius);
    background: rgba(5, 6, 19, 0.5);
    outline: solid 2px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.image-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.floating-image {
    position: relative;
    animation: float 6s ease-in-out infinite;
}

.floating-image img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    filter: drop-shadow(0 0 15px rgba(0, 102, 255, 0.4));
    transition: transform 0.5s ease;
    filter: drop-shadow(0 20px 40px rgba(0, 102, 255, 0.3));
}

.floating-image::before {
    content: '';
    position: absolute;
    inset: 10%;
    background: var(--primary-blue);
    filter: blur(60px);
    opacity: 0.15;
    border-radius: 50%;
    z-index: -1;
    background: var(--primary-gradient);
    filter: blur(80px);
    opacity: 0.2;
    transform: scale(0.8);
    animation: pulse 4s ease-in-out infinite;
}

.cta-buttons { 
    display: flex; 
    gap: 1rem; 
    margin-top: 2rem; 
    display: flex;
    gap: 1.2rem;
    margin-top: 2rem;
}

.primary-button, .secondary-button, .download-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all var(--transition-speed) ease;
}

.primary-button, .secondary-button, .patreon-button {
    height: 48px;
    padding: 0 1.75rem;
    border-radius: 24px;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.primary-button {
    background: var(--primary-gradient);
    color: white;
    box-shadow: var(--glow-shadow);
    box-shadow: 0 8px 20px rgba(3, 169, 244, 0.3);
}

.secondary-button {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: var(--text-white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.primary-button:hover, .download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 102, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(3, 169, 244, 0.4);
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

.patreon-button {
    background: linear-gradient(135deg, #FF424D, #F96854);
    color: white;
    box-shadow: 0 8px 20px rgba(255, 66, 77, 0.25);
}

.patreon-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 66, 77, 0.35);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.scroll-indicator:hover { opacity: 1; }

.mouse {
    width: 30px;
    height: 50px;
    border: 2px solid var(--text-light);
    border-radius: 25px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background-color: var(--primary-blue-light);
    position: absolute;
    top: 7px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: scroll 2s infinite;
}

.arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--primary-blue-light);
    border-bottom: 2px solid var(--primary-blue-light);
    transform: rotate(45deg);
    margin-top: 15px;
    animation: arrow-fade 2s infinite;
}

.banner-background {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    overflow: hidden;
    z-index: -2;
    background: var(--darker-bg);
}

.banner-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('assets/images/pattern.png');
    background-size: 400px 400px;
    animation: scrollPattern 20s linear infinite;
    pointer-events: none;
}

.banner-background img {
    position: fixed;
    width: auto;
    height: 100vh;
    right: 0;
    top: 0;
    object-fit: contain;
    opacity: 1;
    z-index: -1;
}

.banner-background .front-image {
    position: fixed;
    height: 100vh;
    right: 0;
    bottom: 0;
    z-index: 2!important;
}

@keyframes scrollPattern {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: -400px -400px;
    }
}

.download-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 3rem auto;
    width: 100%;
}

.download-card {
    width: 100%;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    padding: 4rem 3rem; /* Increased padding */
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-speed) ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.download-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
    z-index: 0;
}

.download-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-gradient);
}

.download-card > * {
    position: relative;
    z-index: 1;
}

.download-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(3, 169, 244, 0.15);
    border-color: rgba(255, 255, 255, 0.1);
}

.download-card:hover::before {
    opacity: 0.05;
}

.download-icon {
    margin-bottom: 2rem;
    transition: transform var(--transition-speed) ease;
}

.download-card:hover .download-icon {
    transform: scale(1.1);
}

.download-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(3, 169, 244, 0.2));
}

.download-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.download-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.download-button {
    background: var(--primary-gradient);
    color: white;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius-lg);
    font-weight: 600;
    box-shadow: var(--glow-shadow);
    width: 100%;
    max-width: 200px;
}

.download-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(3, 169, 244, 0.3);
}

.requirements {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    margin-top: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.requirements h4 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.requirements ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.requirements li {
    position: relative;
    padding: 0.75rem 1rem;
    color: var (--text-light);
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    min-height: 50px;
}

.requirements li i {
    color: var(--primary-blue);
    font-size: 1.25rem;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.requirements li strong {
    color: var(--text-white);
    margin-left: 0.75rem;
    margin-right: 0.5rem;
    font-weight: 500;
}

/* Remove the bullet point styles */
.requirements li::before {
    display: none;
}

@media screen and (max-width: 768px) {
    .requirements ul {
        grid-template-columns: 1fr;
    }
}

footer {
    background: var(--medium-bg);
    padding: 0 5% 2rem;
    position: relative;
    scroll-snap-align: start;
    overflow: hidden;
}

.footer-wave {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M985.66,92.83C906.67,72,823.78,31,743.84,14.19c-82.26-17.34-168.06-16.33-250.45.39-57.84,11.73-114,31.07-172,41.86A600.21,600.21,0,0,1,0,27.35V120H1200V95.8C1132.19,118.92,1055.71,111.31,985.66,92.83Z' fill='%23111224'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    transform: translateY(-99%);
    z-index: 1;
}

.footer-content {
    position: relative;
    z-index: 2;
    padding-top: 5rem;
    max-width: 1400px;
    margin: 0 auto;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(3, 169, 244, 0.3));
    transition: all var(--transition-speed) ease;
}

.footer-logo img:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 15px rgba(3, 169, 244, 0.5));
}

.footer-tagline {
    color: var(--text-light);
    font-size: 1rem;
    font-weight: 300;
    margin: 0.5rem 0 1.5rem;
    max-width: 250px;
    line-height: 1.4;
    letter-spacing: 0.5px;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.link-group h4 {
    color: var(--text-white);
    margin-bottom: 1.25rem;
    position: relative;
    display: inline-block;
    font-size: 1.1rem;
}

.link-group h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

.link-group ul { 
    list-style: none; 
    padding: 0;
}

.link-group li { 
    margin-bottom: 0.9rem;
    transition: transform var(--transition-speed) ease;
}

.link-group li:hover {
    transform: translateX(5px);
}

.link-group a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.link-group a i {
    font-size: 0.9rem;
    color: var(--primary-blue);
    opacity: 0.8;
    transition: opacity var(--transition-speed) ease;
}

.link-group a:hover { 
    color: var(--primary-blue-light); 
}

.link-group a:hover i {
    opacity: 1;
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, rgba(255,255,255,0.01) 0%, rgba(255,255,255,0.1) 50%, rgba(255,255,255,0.01) 100%);
    margin: 2rem 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
}

copyright p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.developer-signature {
    display: flex;
    justify-content: flex-end;
}

.developer-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--text-muted);
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-speed) ease;
}

.developer-link:hover {
    background: rgba(3, 169, 244, 0.05);
    transform: translateY(-3px);
    border-color: rgba(3, 169, 244, 0.2);
}

.dev-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--primary-blue);
    box-shadow: 0 0 10px rgba(3, 169, 244, 0.3);
}

.dev-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.developer-link span {
    opacity: 0.7;
}

.developer-link strong {
    color: var(--text-white);
    font-weight: 600;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

@media screen and (max-width: 768px) {
    .footer-main {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    copyright p {
        text-align: center;
    }
    
    .developer-signature {
        justify-content: center;
    }
}

.section-wide .content-wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.section-wide .text-content {
    max-width: none;
    width: 100%;
    padding: 4rem;
    margin: 0 auto;
    position: relative;
}

#about.section-wide .text-content,
#about .features,
#faq.section-wide .text-content { text-align: left; }

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.feature {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    padding: 2rem;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    transition: all var(--transition-speed) ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.feature::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
    z-index: 0;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
}

.feature:hover::before {
    opacity: 0.05;
}

.feature-icon {
    background: var(--primary-gradient);
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    box-shadow: var(--glow-shadow);
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.feature-content h3 {
    color: var(--text-white);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.feature-content p {
    color: var (--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

/* Animation for features */
.feature {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

.feature:nth-child(2) { animation-delay: 0.2s; }
.feature:nth-child(3) { animation-delay: 0.4s; }
.feature:nth-child(4) { animation-delay: 0.6s; }
.feature:nth-child(5) { animation-delay: 0.8s; }
.feature:nth-child(6) { animation-delay: 1s; }

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

@media screen and (max-width: 768px) {
    .feature {
        padding: 1.5rem;
    }
    
    .feature-icon {
        width: 40px;
        height: 40px;
    }
    
    .feature-icon i {
        font-size: 1.2rem;
    }
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 2rem 0 150px;
    width: 100%;
}

.small-bottom-right {
    position: absolute;
    bottom: -10px;
    right: 1.5rem;
    z-index: 1;
}

.small-bottom-right img {
    width: 150px;
    height: auto;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes scroll {
    0% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(20px);
    }
}

@keyframes arrow-fade {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@media screen and (max-width: 1024px) {
    .download-options {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}

@media screen and (max-width: 768px) {
    .section-wide .text-content { padding: 2rem; }
    .small-bottom-right {
        width: 80px;
        bottom: -10px;
        right: 3rem;
    }
}

.compatibility-section {
    padding: 120px 5% 80px;
    min-height: 100vh;
    overflow: visible;
}

.compatibility-section .content-wrapper {
    max-width: 1400px;
}

.compatibility-section .text-content {
    max-width: none;
    width: 100%;
    padding: 3rem;
}

.status-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin: 2rem 0;
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.status-legend .status-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.status-dot.perfect { background: #4CAF50; }
.status-dot.playable { background: #2196F3; }
.status-dot.runs { background: #FFC107; }
.status-dot.loads { background: #FF9800; }
.status-dot.unplayable { background: #f44336; }
.status-dot.unknown { background: #9e9e9e; }

.compatibility-table {
    margin-top: 2rem;
    overflow-x: auto;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-height: none; /* Removed fixed height */
    overflow-y: visible; /* Changed from auto to visible */
    min-width: 1200px; /* Augmenté de 800px à 1200px pour le tableau */
}

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

.compatibility-table th {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    font-weight: 600;
    text-align: left;
    padding: 1rem;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.compatibility-table td {
    padding: 1rem;
    color: var (--text-light);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

.compatibility-table td:nth-child(3) {
    width: 50px;
    text-align: center;
    padding: 0.5rem;
}

.compatibility-table tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.compatibility-table .status {
    font-weight: 500;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    min-width: 100px;
    text-align: center;
}

.compatibility-table .status.perfect {
    background: rgba(76, 175, 80, 0.1);
    color: #4CAF50;
}

.compatibility-table .status.playable {
    background: rgba(33, 150, 243, 0.1);
    color: #2196F3;
}

.compatibility-table .status.runs {
    background: rgba(255, 193, 7, 0.1);
    color: #FFC107;
}

.compatibility-table .status.loads {
    background: rgba(255, 152, 0, 0.1);
    color: #FF9800;
}

.compatibility-table .status.unplayable {
    background: rgba(244, 67, 54, 0.1);
    color: #f44336;
}

.compatibility-table .status.unknown {
    background: rgba(158, 158, 158, 0.1);
    color: #9e9e9e;
}

@media screen and (max-width: 768px) {
    .compatibility-section {
        padding-top: 120px;
    }
    
    .status-legend {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .compatibility-table {
        margin: 1rem -1rem;
        border-radius: 0;
    }
}

.compatibility-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin: 2rem 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    padding: 1.5rem;  /* Réduit de 2rem à 1.5rem */
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-speed) ease;
}

.stat-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity var(--transition-speed) ease;
    z-index: 0;
}

.stat-card.perfect::before { background: linear-gradient(135deg, rgba(76, 175, 80, 0.1), transparent); }
.stat-card.playable::before { background: linear-gradient(135deg, rgba(33, 150, 243, 0.1), transparent); }
.stat-card.developing::before { background: linear-gradient(135deg, rgba(255, 193, 7, 0.1), transparent); }

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.1);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 40px;  /* Réduit de 50px à 40px */
    height: 40px; /* Réduit de 50px à 40px */
    border-radius: 10px; /* Réduit de 12px à 10px */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem; /* Réduit de 1.5rem à 1rem */
    position: relative;
    z-index: 1;
}

.stat-card.perfect .stat-icon {
    background: linear-gradient(135deg, #4CAF50, #45a049);
    box-shadow: 0 0 20px rgba(76, 175, 80, 0.3);
}

.stat-card.playable .stat-icon {
    background: linear-gradient(135deg, #2196F3, #1e88e5);
    box-shadow: 0 0 20px rgba(33, 150, 243, 0.3);
}

.stat-card.developing .stat-icon {
    background: linear-gradient(135deg, #FFC107, #ffb300);
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.3);
}

.stat-icon i {
    font-size: 1.2rem; /* Réduit de 1.5rem à 1.2rem */
    color: white;
}

.stat-content {
    position: relative;
    z-index: 1;
}

.stat-count {
    font-size: 2rem; /* Réduit de 2.5rem à 2rem */
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.stat-card h3 {
    font-size: 1.1rem; /* Réduit de 1.2rem à 1.1rem */
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.stat-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0;
}

.cta-container {
    margin-top: 3rem;
    text-align: center;
}

.compatibility-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.compatibility-button i {
    font-size: 1.2rem;
}

@media screen and (max-width: 768px) {
    .compatibility-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

.search-container {
    margin: 2rem 0;
    width: 100%;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-wrapper {
    flex: 1;
}

.search-bar {
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
}

.search-bar:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 2px rgba(3, 169, 244, 0.2);
}

.search-bar::placeholder {
    color: var(--text-muted);
}

.filters-wrapper {
    display: flex;
    gap: 1rem;
}

.filter-select {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-white);
    font-size: 1rem;
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    min-width: 150px;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 2px rgba(3, 169, 244, 0.2);
}

.filter-select option {
    background: var(--darker-bg);
    color: var(--text-white);
    padding: 0.5rem;
}

/* Style de messagerie pour le FAQ */
.faq-container {
    max-width: 1400px;
    margin: 3rem auto;
    position: relative;
    background: rgba(10, 11, 20, 0.4);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.faq-item {
    transition: all var(--transition-speed) ease;
    overflow: hidden;
    background: transparent;
    border-radius: var(--border-radius);
    position: relative;
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.25rem;
    border-radius: 20px 20px 20px 5px;
    margin-right: 20%;
    position: relative;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-speed) ease;
}

.faq-question::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: url('assets/images/cemu-logo.png') center center no-repeat;
    background-size: cover;
    left: -50px;
    top: 50%;
    transform: translateY(-50%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 10px rgba(3, 169, 244, 0.3);
}

.faq-question h3 {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-white);
    font-weight: 600;
}

.faq-toggle {
    width: 20px;
    height: 20px;
    position: relative;
    transition: transform var(--transition-speed) ease;
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background: var(--primary-blue);
    border-radius: 2px;
    transition: all var(--transition-speed) ease;
}

.faq-toggle::before {
    width: 20px;
    height: 3px;
    top: 8px;
}

.faq-toggle::after {
    width: 3px;
    height: 20px;
    left: 8px;
    top: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.4s ease;
    padding: 0 1.25rem;
    background: rgba(3, 169, 244, 0.1);
    border-radius: 20px 20px 5px 20px;
    margin-left: 20%;
    margin-top: 1rem;
    position: relative;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
}

.faq-answer p {
    margin: 0;
    padding: 1.25rem 0;
    color: var(--text-light);
    line-height: 1.7;
}

.faq-answer::before {
    content: "";
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary-gradient);
    right: -50px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 0 15px rgba(3, 169, 244, 0.5);
}

.faq-answer::after {
    content: "\f4ad"; /* Code de l'icône de bulle de chat de Font Awesome */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    right: -43px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 1rem;
    z-index: 1;
}

.faq-item.active .faq-question {
    background: rgba(3, 169, 244, 0.1);
    box-shadow: none;
}

.faq-item.active .faq-toggle::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    opacity: 1;
    padding: 1.25rem;
}

/* Animation pour les questions */
@keyframes messageIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.faq-item {
    animation: messageIn 0.5s ease forwards;
    opacity: 0;
}

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.3s; }
.faq-item:nth-child(3) { animation-delay: 0.5s; }
.faq-item:nth-child(4) { animation-delay: 0.7s; }
.faq-item:nth-child(5) { animation-delay: 0.9s; }

/* Style pour les écrans mobiles */
@media screen and (max-width: 768px) {
    .faq-question {
        margin-right: 5%;
        padding: 1rem;
    }
    
    .faq-question::before {
        width: 30px;
        height: 30px;
        left: -40px;
    }
    
    .faq-answer {
        margin-left: 5%;
    }
    
    .faq-answer::before {
        width: 30px;
        height: 30px;
        right: -40px;
    }
    
    .faq-answer::after {
        right: -35px;
        font-size: 0.8rem;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.hero-badge i {
    color: #FFD700;
    font-size: 0.9rem;
}

.hero-badge span {
    color: var(--text-light);
    font-size: 0.9rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.2rem;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 2.5rem;
    letter-spacing: 0.3px;
}

.download-cta, .patreon-button {
    padding: 1rem 1.5rem;
    gap: 1rem;
}

.download-cta span, .patreon-button span {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.2rem;
}

.download-cta small, .patreon-button small {
    font-size: 0.8rem;
    opacity: 0.8;
    font-weight: normal;
}

.patreon-button {
    background: linear-gradient(135deg, #FF424D, #F96854);
    color: white;
    box-shadow: 0 0 20px rgba(255, 66, 77, 0.3);
}

.patreon-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 66, 77, 0.4);
}

.secondary-button i {
    font-size: 1.1rem;
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.image-glow {
    position: absolute;
    inset: 10%;
    background: var(--primary-gradient);
    filter: blur(80px);
    opacity: 0.15;
    border-radius: 50%;
    z-index: -1;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.15;
    }
    50% { 
        transform: scale(1.1);
        opacity: 0.2;
    }
}

@media screen and (max-width: 768px) {
    .hero-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .stat-divider {
        width: 40px;
        height: 1px;
    }

    .cta-buttons {
        flex-direction: column;
        gap: 1rem;
    }

    .download-cta, .patreon-button, .secondary-button {
        width: 100%;
        justify-content: center;
    }

    .cta-buttons {
        flex-wrap: wrap;
    }

    .primary-button, .secondary-button, .patreon-button {
        width: 100%;
        justify-content: center;
    }
}

.region-flag {
    width: 45px;
    height: 30px;
    vertical-align: middle;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
    border-radius: 5px;
    cursor: help;
}

/* Mobile Responsive Styles */
@media screen and (max-width: 768px) {
    /* Header adjustments */
    .header-content {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }

    /* Navigation improvements */
    nav {
        position: fixed;
        bottom: 0;
        left: 0;
        width: 100%;
        background: rgba(5, 6, 19, 0.95);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding: 0.75rem;
        z-index: 1000;
    }

    nav ul {
        justify-content: space-around;
        gap: 0;
    }

    .nav-link {
        flex-direction: column;
        align-items: center;
        font-size: 0.8rem;
        gap: 0.3rem;
    }

    .nav-link i {
        font-size: 1.2rem;
    }

    /* Section adjustments */
    .section {
        padding: 80px 1rem 100px;
    }

    .content-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .text-content {
        padding: 1.5rem;
    }

    /* Typography adjustments */
    h1 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }

    h2 { font-size: 1.75rem; }

    p { font-size: 0.95rem; }

    /* Table improvements */
    .compatibility-table {
        font-size: 0.9rem;
        margin: 1rem -1rem;
        border-radius: 0;
        width: calc(100% + 2rem);
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .compatibility-table table {
        min-width: 100%;
        white-space: nowrap;
    }

    .compatibility-table th,
    .compatibility-table td {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    /* Adjust column widths */
    .compatibility-table td:first-child {
        min-width: 180px; /* Title column */
    }

    .compatibility-table td:nth-child(2) {
        min-width: 80px; /* Version column */
    }

    .compatibility-table td:nth-child(3) {
        min-width: 60px; /* Region column */
        text-align: center;
    }

    .compatibility-table td:nth-child(4) {
        min-width: 100px; /* Status column */
        text-align: center;
    }

    .compatibility-table .status {
        padding: 0.25rem 0.5rem;
        font-size: 0.85rem;
        min-width: 80px;
    }

    /* Add visual indicator for scroll */
    .compatibility-table::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 5px;
        background: linear-gradient(to left, rgba(255,255,255,0.1), transparent);
        pointer-events: none;
    }

    /* Download section */
    .download-options {
        grid-template-columns: 1fr;
    }

    .download-card {
        padding: 2rem 1.5rem;
    }

    .download-icon img {
        width: 60px;
        height: 60px;
    }

    /* Footer adjustments */
    footer {
        padding-bottom: 80px;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-links {
        width: 100%;
    }

    .link-group {
        width: 100%;
    }

    /* Search and filters */
    .search-container {
        flex-direction: column;
    }

    .filters-wrapper {
        width: 100%;
        flex-wrap: wrap;
    }

    .filter-select {
        flex: 1;
        min-width: 140px;
    }

    .scroll-indicator {
        display: none;
    }
}

/* Ultra-small screens */
@media screen and (max-width: 380px) {
    :root {
        --border-radius: 12px;
        --border-radius-lg: 60px;
    }

    .header-content {
        padding: 0.75rem;
    }

    .logo img {
        height: 35px;
    }

    nav {
        padding: 0.5rem;
    }

    .nav-link i {
        font-size: 1rem;
    }

    .nav-link {
        font-size: 0.75rem;
    }

    .download-card h3 {
        font-size: 1.2rem;
    }

    .stat-card {
        padding: 1rem;
    }
}

/* Touch optimizations */
@media (hover: none) {
    .nav-link, 
    .download-button,
    .feature,
    .faq-question {
        cursor: default;
    }

    .clickable {
        cursor: pointer;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }

    .floating-image:active {
        transform: scale(0.98);
    }

    .download-card:active {
        transform: translateY(-5px);
    }

    .feature:active {
        transform: translateY(-3px);
    }
}

/* Fix iOS issues */
@supports (-webkit-touch-callout: none) {
    .section {
        min-height: -webkit-fill-available;
    }

    .banner-background {
        position: absolute;
    }

    body {
        -webkit-overflow-scrolling: touch;
    }
}

/* Hamburger Menu Styles */
.hamburger-menu {
    display: none;
}

@media screen and (max-width: 768px) {
    .header-content {
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.5rem;
    }

    .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 30px;
        height: 30px;
        cursor: pointer;
        z-index: 1001;
        position: relative;
    }

    .hamburger-line {
        width: 100%;
        height: 2px;
        background: var(--text-white);
        transition: all var(--transition-speed) ease;
    }

    .hamburger-line:not(:last-child) {
        margin-bottom: 6px;
    }

    .hamburger-menu.active .hamburger-line:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger-menu.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active .hamburger-line:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--darker-bg);
        backdrop-filter: blur(10px);
        transition: right var(--transition-speed) ease;
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    nav.active {
        right: 0;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        width: 100%;
        padding: 2rem;
    }

    .nav-link {
        font-size: 1.5rem;
        text-align: center;
        width: 100%;
        padding: 1rem;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(3px);
        z-index: 999;
        opacity: 0;
        transition: opacity var(--transition-speed) ease;
    }

    .nav-overlay.active {
        display: block;
        opacity: 1;
    }
    
    /* Disable default bottom navigation */
    nav:not(.active) {
        bottom: auto;
        padding: 0;
        border-top: none;
    }
}

/* Mobile Navigation Styles - Revised */
@media screen and (max-width: 768px) {
    /* Reset previous mobile styles */
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: var(--darker-bg);
        backdrop-filter: blur(10px);
        z-index: 1000;
        transform: translateX(100%); /* Ensure it's off-screen */
        transition: transform 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: 0;
        visibility: hidden; /* Hide completely by default */
    }

    nav.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2rem;
        width: 100%;
        padding: 2rem;
    }

    .nav-link {
        font-size: 1.5rem;
        text-align: center;
        width: 100%;
        padding: 1rem;
    }
    
    .header-content {
        display: flex;
        flex-direction: row !important;
        justify-content: space-between;
        align-items: center;
        padding: 1rem 1.5rem;
    }

    .hamburger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        width: 30px;
        height: 24px;
        cursor: pointer;
        z-index: 1002;
        position: relative;
    }

    .hamburger-line {
        width: 100%;
        height: 2px;
        background-color: var(--text-white);
        transition: all 0.3s ease;
    }

    .hamburger-menu.active .hamburger-line:nth-child(1) {
        transform: translateY(11px) rotate(45deg);
    }

    .hamburger-menu.active .hamburger-line:nth-child(2) {
        opacity: 0;
        transform: translateX(-20px);
    }

    .hamburger-menu.active .hamburger-line:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

    .nav-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(3px);
        z-index: 999;
        opacity: 0;
    }

    .nav-overlay.active {
        display: block;
        opacity: 1;
    }
    
    /* Disable default bottom navigation */
    nav:not(.active) {
        bottom: auto;
        padding: 0;
        border-top: none;
    }
}

@media screen and (max-width: 768px) {
    /* Compatibility page specific styles */
    .compatibility-section {
        padding: 80px 1rem 2rem;
    }

    .compatibility-section .text-content {
        padding: 1rem;
    }

    .status-legend {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
        margin: 1rem 0;
    }

    .search-container {
        flex-direction: column;
        gap: 1rem;
        margin: 1rem 0;
    }

    .filters-wrapper {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .filter-select {
        width: 100%;
        min-width: 0;
        padding: 0.75rem;
        font-size: 0.9rem;
    }

    .compatibility-table {
        margin: 1rem -1rem;
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .compatibility-table table {
        font-size: 0.9rem;
    }

    .compatibility-table th,
    .compatibility-table td {
        padding: 0.75rem;
    }

    .compatibility-table .status {
        min-width: 80px;
        height: 28px;
        padding: 0.25rem 0.5rem;
        font-size: 0.85rem;
    }

    /* Adjust header for compatibility page */
    .compatibility-section h2 {
        font-size: 1.75rem;
        margin-bottom: 0.75rem;
    }

    .compatibility-section p {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }

    .status-item {
        font-size: 0.9rem;
    }

    /* Make table horizontally scrollable on very small screens */
    .compatibility-table {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    /* Ensure minimum column widths */
    .compatibility-table th:nth-child(1),
    .compatibility-table td:nth-child(1) {
        min-width: 200px; /* Game title column */
    }

    .compatibility-table th:nth-child(2),
    .compatibility-table td:nth-child(2) {
        min-width: 80px; /* Version column */
    }

    .compatibility-table th:nth-child(3),
    .compatibility-table td:nth-child(3) {
        min-width: 70px; /* Region column */
    }

    .compatibility-table th:nth-child(4),
    .compatibility-table td:nth-child(4) {
        min-width: 90px; /* Status column */
    }

    .table-container {
        margin: 0 -1rem;
        width: calc(100% + 2rem);
        position: relative;
    }

    .compatibility-table {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        position: relative;
        background: rgba(255, 255, 255, 0.03);
        border: none;
        margin: 0;
    }

    .compatibility-table table {
        margin: 0;
        border-collapse: collapse;
        width: 100%;
    }

    .compatibility-table td {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Indicateur de défilement */
    .table-container::after {
        content: "";
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        width: 24px;
        background: linear-gradient(to left, 
            rgba(5, 6, 19, 0.3) 0%,
            rgba(5, 6, 19, 0) 100%);
        pointer-events: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }

    .table-container:hover::after {
        opacity: 1;
    }
}

@media screen and (max-width: 768px) {
    .table-container {
        width: 100vw;
        max-width: 100vw;
        overflow-x: auto;
        padding: 0;
        margin: 0 -16px; /* Pour compenser le padding du body si besoin */
        box-sizing: border-box;
    }
    .compatibility-table {
        min-width: 600px;
        width: max-content;
        overflow-x: auto;
        border-radius: 0;
        border: none;
        margin: 0;
        background: transparent;
    }
    .compatibility-table table {
        min-width: 600px;
        width: max-content;
        background: transparent;
    }
    .compatibility-table th,
    .compatibility-table td {
        white-space: nowrap;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    .compatibility-table td {
        overflow: hidden;
        text-overflow: ellipsis;
    }
}
