/* Variables */
:root {
    --primary-color: #3B3EFF;
    --secondary-color: #FF3B3E;
    --text-color: #333;
    --background-color: #000000;
    --section-padding: 4rem 2rem;
}

/* Page d'accueil */
.index-page {
    background-color: var(--background-color);
    color: white;
}

/* Section Héro */
.hero-section {
    text-align: center;
    padding: var(--section-padding);
/*    background-image: url('/images/hero-background.jpg');*/
    background-size: cover;
    background-position: center;
    color: white;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-background {
    background: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    margin-top: 2rem;
    border-radius: 20px;
    max-width: 1200px;
    margin: 3rem 3rem auto;
}

.hero-section h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

/* Question Card */
.question-card {
    background: #000;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem auto;
    max-width: 600px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 30px solid white;
}

.question-content {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    color: white;
}

.question-content .highlight {
    background: white;
    color: black;
    padding: 0.2rem 0.5rem;
    margin: 0 0.2rem;
    border-radius: 4px;
    display: inline-block;
}

.hero-text {
    max-width: 800px;
    margin: 2rem auto;
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
}

/* Mode Sections */
.mode-section {
    padding: var(--section-padding);
    background: linear-gradient(45deg, #000 0%, #1a1a1a 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.mode-content {
    max-width: 1000px;
    margin: 0 auto;
    position: relative;
}

.mode-header {
    text-align: left;
    margin-bottom: 3rem;
}

.mode-header h2 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: white;
}

.highlight-text {
    color: var(--primary-color);
    font-weight: 700;
}

.mode-description {
    max-width: 600px;
}

.mode-description p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

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

.feature {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    transition: transform 0.3s ease, background 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.feature-icon {
    font-size: 2.5rem;
    line-height: 1;
    flex-shrink: 0;
}

.feature-text {
    flex: 1;
}

.feature h4 {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.feature p {
    font-size: 1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.mode-section .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.mode-section .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(59, 62, 255, 0.4);
}

@media screen and (max-width: 768px) {
    .mode-header h2 {
        font-size: 2.5rem;
    }

    .mode-features {
        grid-template-columns: 1fr;
    }

    .feature {
        padding: 1.2rem;
    }
    .hero-background {
        background:transparent;
        padding: 0rem;
        margin: 0rem;
    }
}

/* Steps Section */
.steps-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: var(--section-padding);
    background: #000;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    text-align: left;
    padding: 2rem;
}


.step h3 {
    font-size: 1.8rem;
    line-height: 1.2;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.step p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
}

/* Boutons */
.primary-button, .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.primary-button:hover, .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(59, 62, 255, 0.3);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
        padding: 0;
    }

    .question-content {
        font-size: 1.5rem;
    }

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

    .steps-section {
        grid-template-columns: 1fr;
    }

    .step {
        text-align: center;
    }
}

/* Section Prêt(e) */
.ready-section {
    padding: var(--section-padding);
    background: #000;
    text-align: center;
    color: var(--primary-color);
}

.ready-section h2 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.ready-section h3 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: white;
}

/* Section Pourquoi Notre Jeu Est Différent */
.why-different-section {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a2d99 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.why-different-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.why-different-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.logo-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    background: black;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.logo-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 30px;
}

.why-different-section h2 {
    font-size: 3rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

.unique-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.unique-feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 2rem;
    border-radius: 20px;
    text-align: left;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.unique-feature:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.unique-feature .feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.unique-feature h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.unique-feature p {
    font-size: 1.1rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

@media screen and (max-width: 768px) {
    .why-different-section h2 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }

    .unique-features {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 1rem;
    }

    .unique-feature {
        padding: 1.5rem;
    }
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .ready-section h2 {
        font-size: 3rem;
    }

    .ready-section h3 {
        font-size: 1.5rem;
    }

    .why-different-section p {
        font-size: 1.1rem;
        padding: 0 1rem;
    }
}

/* Landscape Question Section */
.landscape-question-section {
    position: relative;
    min-height: 100vh;
    background:transparent;
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--section-padding);
    overflow: hidden;
}

.landscape-question-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2),
        rgba(0, 0, 0, 0.4)
    );
}

.landscape-question-section .question-card {
    position: relative;
    z-index: 2;
    background: #000;
    padding: 2rem;
    border-radius: 15px;
    margin: 0 auto;
    max-width: 600px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    border: 30px solid white;
}

.landscape-question-section .background-changer {
    position: relative;
    z-index: 2;
    margin-top: 2rem;
}

.maple-leaves {
    position: absolute;
    width: 100%;
    height: 200px;
    background-image: url('/images/paysage_montage.jpg');
    background-size: contain;
    background-repeat: repeat-x;
    z-index: 1;
}

.maple-leaves.top {
    top: 0;
    transform: rotate(180deg);
}

.maple-leaves.bottom {
    bottom: 0;
}

/* Responsive adjustments */
@media screen and (max-width: 768px) {
    .landscape-question-section {
        min-height: 80vh;
    }

    .landscape-question-section .question-card {
        margin: 0 1rem;
    }

    .maple-leaves {
        height: 100px;
    }
}

/* Section Comment ça marche */
.how-it-works-section {
    padding: var(--section-padding);
    background: #000;
    color: white;
}

.how-it-works-section .section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 4rem;
    color: var(--primary-color);
}

.step-container {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto 6rem;
    padding: 0 2rem;
}

.step-container.reverse {
    flex-direction: row-reverse;
}

.step-content {
    flex: 1;
    padding: 2rem;
}

.step-number {
    font-size: 4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.step-content h3 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.step-content p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    max-width: 400px;
}

.step-image {
    flex: 1;
    position: relative;
    height: 600px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background-color: #000;
}

.step-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    padding: 1rem;
}

.step-container:hover .step-image img {
    transform: scale(1.02);
}

/* Responsive adjustments */
@media screen and (max-width: 1024px) {
    .step-image {
        height: 350px;
    }

    .step-image img {
        padding: 0.5rem;
    }
}

@media screen and (max-width: 768px) {
    .step-container,
    .step-container.reverse {
        flex-direction: column;
        text-align: center;
        margin-bottom: 4rem;
    }

    .step-content p {
        margin: 0 auto;
    }

    .step-image {
        width: 100%;
        height: 300px;
    }

    .how-it-works-section .section-title {
        font-size: 2.5rem;
        margin-bottom: 3rem;
    }
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
    margin-top: 2rem;
}

.hero-buttons .primary-button {
    background: transparent;
    border: 2px solid var(--primary-color);
}

.hero-buttons .primary-button:hover {
    background: var(--primary-color);
}

.hero-buttons .cta-button {
    background: var(--primary-color);
}

@media screen and (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .primary-button,
    .hero-buttons .cta-button {
        width: 100%;
        justify-content: center;
    }
}
/* Section CTA après Comment ça marche */
.post-how-it-works-cta {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-color) 0%, #2a2d99 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.post-how-it-works-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0) 100%);
    z-index: 1;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
}

.post-how-it-works-cta h2 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 2rem;
    font-weight: 700;
}

.post-how-it-works-cta .highlight-text {
    color: white;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2rem 0.8rem;
    border-radius: 8px;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.post-how-it-works-cta .cta-button {
    background: white;
    color: var(--primary-color);
    font-size: 1.2rem;
    padding: 1.2rem 2.5rem;
    border-radius: 30px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
}

.post-how-it-works-cta .cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 768px) {
    .post-how-it-works-cta h2 {
        font-size: 2.5rem;
        padding: 0 1rem;
    }

    .post-how-it-works-cta .cta-button {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
    }
}

.step-cta {
    margin-top: 1.5rem;
}

.step-cta .cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--primary-color);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.step-cta .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(var(--primary-color-rgb), 0.3);
}

/* Styles pour le changeur de fond d'écran */
.background-changer {
    text-align: center;
    margin-top: 2rem;
    margin-bottom: 1rem;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.background-changer:hover {
    opacity: 1;
}

.background-change-link {
    background: none;
    border: none;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    background: rgba(255, 255, 255, 0.1);
}

.background-change-link:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.background-change-link .icon {
    font-size: 1.1rem;
}

