:root {
    /* Couleurs */
    --color-background: #1A1A1E;
    --color-text: #FFFFFF;
    --color-text-secondary: rgba(255, 255, 255, 0.8);
    --color-text-muted: rgba(255, 255, 255, 0.6);
    --color-accent: #FFB700;
    --color-accent-rgb: 255, 183, 0;
    
    /* Effets visuels */
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --card-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    --glow-primary: rgba(var(--color-accent-rgb), 0.15);
    --glow-secondary: rgba(var(--color-accent-rgb), 0.1);
    
    /* Animations */
    --transition-fast: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-medium: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Layout */
    --container-padding: clamp(1rem, 5vw, 6rem);
    --section-spacing: clamp(3rem, 8vh, 8rem);
    --border-radius: 1.5rem;
    
    /* Breakpoints */
    --mobile: 480px;
    --tablet: 768px;
    --desktop: 1024px;
    --large: 1200px;
}

body.page-template-template-home {
    min-height: 100vh;
    position: relative;
    background: #0c0c0e !important;
    color-scheme: dark !important;
}

body.page-template-template-home::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, var(--glow-primary), transparent 50%),
                radial-gradient(circle at bottom left, var(--glow-secondary), transparent 50%);
    pointer-events: none;
    z-index: 0;
}

body.page-template-template-home #masthead {
    background: transparent !important;
    position: absolute;
    width: 100%;
    z-index: 10;
}

body.page-template-template-home .site-header-primary-section-left .site-title a,
body.page-template-template-home .site-header-primary-section-right .menu-link {
    color: var(--color-text) !important;
}

.wgl_home_hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem;
    overflow: hidden;
}

.hero-features {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-bottom: 3rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.hero-feature i {
    color: var(--color-accent);
}

@media (max-width: 768px) {
    .hero-features {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
}

.wgl_home_concept {
    position: relative;
    z-index: 2;
    background: linear-gradient(to bottom, 
        transparent 0%,
        rgba(26, 26, 30, 0.8) 5%,
        rgba(26, 26, 30, 0.95) 15%,
        #1A1A1E 30%
    );
}

.concept-header {
    max-width: 64rem;
    margin: 0 auto var(--section-spacing) auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.subtitle {
    display: inline-block;
    color: var(--color-accent);
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1rem;
    position: relative;
}

.subtitle::before,
.subtitle::after {
    content: '';
    position: absolute;
    width: 3rem;
    height: 1px;
    background: var(--color-accent);
    top: 50%;
}

.subtitle::before {
    left: 100%;
    margin-left: 1rem;
}

.subtitle::after {
    right: 100%;
    margin-right: 1rem;
}

h2 {
    font-size: 3rem;
    font-weight: bold;
    background: linear-gradient(to right, var(--color-accent), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.5rem;
}

.description {
    color: var(--color-text-muted);
    font-size: 1.125rem;
    max-width: 42rem;
    margin: 0 auto;
    line-height: 1.7;
}

@media (min-width: 768px) {
    h2 {
        font-size: 3.5rem;
    }
}

@media (min-width: 1024px) {
    h2 {
        font-size: 4rem;
    }
}

.concepts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    max-width: 7xl;
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.concepts-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem 2rem;
    padding: var(--section-spacing) 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
}

.concepts-container .concept-card:nth-child(3n+2) {
    transform: translateY(2rem);
}

.concepts-container .concept-card:nth-child(3n+3) {
    transform: translateY(-2rem);
}

.concepts-container .concept-card:nth-child(3n+2):hover {
    transform: translateY(calc(2rem - 8px));
}

.concepts-container .concept-card:nth-child(3n+3):hover {
    transform: translateY(calc(-2rem - 8px));
}

.concepts-container .concept-card:nth-child(3n+1):hover {
    transform: translateY(-8px);
}

@media (max-width: 1200px) {
    .concepts-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem 2rem;
    }

    .concepts-container .concept-card:nth-child(3n+2),
    .concepts-container .concept-card:nth-child(3n+3) {
        transform: none;
    }

    .concepts-container .concept-card:nth-child(2n+2) {
        transform: translateY(2rem);
    }

    .concepts-container .concept-card:nth-child(2n+2):hover {
        transform: translateY(calc(2rem - 8px));
    }

    .concepts-container .concept-card:nth-child(2n+1):hover {
        transform: translateY(-8px);
    }
}

@media (max-width: 768px) {
    .concepts-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .concepts-container .concept-card,
    .concepts-container .concept-card:nth-child(2n+2) {
        transform: none;
    }

    .concepts-container .concept-card:hover {
        transform: translateY(-8px) !important;
    }
}

.concept-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05), rgba(31, 41, 55, 0.3));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 1rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

.concept-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent, rgba(var(--color-accent-rgb), 0.05), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.concept-card:hover {
    transform: translateY(-8px);
    border-color: rgba(var(--color-accent-rgb), 0.2);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(var(--color-accent-rgb), 0.1);
}

.concept-card:hover::after {
    opacity: 1;
}

.card-content {
    position: relative;
    z-index: 2;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.icon-wrapper {
    position: relative;
    width: 3.5rem;
    height: 3.5rem;
    margin-bottom: 0.75rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(var(--color-accent-rgb), 0.2), rgba(var(--color-accent-rgb), 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 4px 15px rgba(var(--color-accent-rgb), 0.1),
        inset 0 0 10px rgba(var(--color-accent-rgb), 0.05);
    transition: all 0.3s ease;
}

.concept-card:hover .icon-wrapper {
    background: linear-gradient(135deg, rgba(var(--color-accent-rgb), 0.25), rgba(var(--color-accent-rgb), 0.1));
    box-shadow: 
        0 4px 20px rgba(var(--color-accent-rgb), 0.15),
        inset 0 0 15px rgba(var(--color-accent-rgb), 0.1);
}

.icon {
    width: 1.25rem;
    height: 1.25rem;
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.card-content h3 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--color-accent), var(--color-accent));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin: 0;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.card-content p {
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    line-height: 1.7;
    font-size: 0.95rem;
    letter-spacing: 0.2px;
}

.icon-glow {
    position: absolute;
    inset: -20%;
    background: radial-gradient(circle at center, rgba(var(--color-accent-rgb), 0.15), transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.4s ease;
    transform: scale(0.8);
}

.concept-card:hover .icon-glow {
    opacity: 1;
    transform: scale(1);
}

.card-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, transparent, rgba(var(--color-accent-rgb), 0.05));
    opacity: 0;
    transition: opacity 0.5s;
}

.concept-card:hover .card-background {
    opacity: 1;
}

@keyframes floatCircle {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(30px, -30px) rotate(8deg);
    }
    50% {
        transform: translate(-20px, 20px) rotate(-8deg);
    }
    75% {
        transform: translate(25px, 25px) rotate(5deg);
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
    }
}

@keyframes fadeScale {
    0% {
        opacity: 0;
        transform: scale(0.98);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.wgl_home_suggest {
    position: relative;
    padding: 8rem 2rem;
    background: linear-gradient(180deg, var(--color-background), #0D0D0F);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    margin-bottom: -65px;
}

.suggest-background::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #0D0D0F);
    pointer-events: none;
}

.suggest-background {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.ancient-symbol {
    position: absolute;
    color: var(--color-accent);
    opacity: 0.1;
    font-size: 5rem;
    animation: floatSymbol 20s infinite linear;
}

.s1 {
    top: 10%;
    left: 10%;
    animation-delay: -5s;
}

.s2 {
    top: 40%;
    right: 15%;
    animation-delay: -10s;
}

.s3 {
    bottom: 20%;
    left: 30%;
    animation-delay: -15s;
}

.suggest-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    text-align: center;
}

.suggest-content h2 {
    color: var(--color-accent);
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.suggest-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.suggest-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 3rem;
}

.suggest-description p {
    margin-bottom: 1rem;
}

.suggest-button {
    background: transparent;
    border: 2px solid var(--color-accent);
    color: var(--color-accent);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.suggest-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(var(--color-accent-rgb), 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.suggest-button:hover {
    background: rgba(var(--color-accent-rgb), 0.1);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(var(--color-accent-rgb), 0.2);
}

.suggest-button:hover::before {
    transform: translateX(100%);
}

.button-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.suggest-button:hover .button-icon {
    transform: rotate(180deg);
}

@keyframes floatSymbol {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.1;
    }
    50% {
        transform: translate(20px, 20px) rotate(180deg);
        opacity: 0.2;
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
        opacity: 0.1;
    }
}

@media (max-width: 768px) {
    .wgl_home_suggest {
        padding: 0rem 1rem 3rem 1rem;
    }

    .suggest-content h2 {
        font-size: 2rem;
    }

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

    .suggest-description {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
}

.wgl_home_faq {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, transparent 0%, #0D0D0F 10%, var(--color-background) 100%);
    padding: 6rem 2rem;
    min-height: 800px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: -10rem;
}

.faq-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    opacity: 0.15;
    z-index: 1;
    height: 100%;
    width: 100%;
}

.question-mark {
    position: absolute;
    font-family: "Times New Roman", serif;
    color: var(--color-accent);
    font-style: italic;
    font-weight: bold;
    opacity: 0.5;
    text-shadow: 0 0 30px rgba(var(--color-accent-rgb), 0.8);
    animation: floatQuestion 20s infinite linear;
    filter: drop-shadow(0 0 10px rgba(var(--color-accent-rgb), 0.3));
}

.q1 {
    top: 10%;
    left: 5%;
    font-size: 8rem;
    animation-delay: -2s;
    transform: rotate(-15deg);
}

.q2 {
    top: 60%;
    right: 10%;
    font-size: 12rem;
    animation-delay: -7s;
    transform: rotate(25deg);
}

.q3 {
    bottom: 15%;
    left: 15%;
    font-size: 6rem;
    animation-delay: -11s;
    transform: rotate(-20deg);
}

.q4 {
    top: 30%;
    right: 25%;
    font-size: 10rem;
    animation-delay: -5s;
    transform: rotate(10deg);
}

.q5 {
    bottom: 40%;
    left: 30%;
    font-size: 7rem;
    animation-delay: -9s;
    transform: rotate(-5deg);
}

@media (max-width: 768px) {
    .wgl_home_faq {
        padding: 3rem 1rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        min-height: 100vh;
    }

    .faq-container {
        position: relative;
        z-index: 10;
        height: auto;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .faq-header {
        width: 100%;
        text-align: center;
        margin-bottom: 3rem;
    }

    .faq-background {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .question-mark {
        opacity: 0.1;
    }

    .q1 {
        font-size: 4rem;
    }

    .q2 {
        font-size: 6rem;
    }

    .q3 {
        font-size: 3rem;
    }

    .q4 {
        font-size: 5rem;
    }

    .q5 {
        font-size: 3.5rem;
    }

    .q1 { left: 2%; }
    .q2 { right: 5%; }
    .q3 { left: 8%; }
    .q4 { right: 10%; }
    .q5 { left: 15%; }

    .faq-container {
        max-width: 100%;
        width: 98%;
        margin: 0 auto;
    }

    .faq-header {
        margin-bottom: 3rem;
    }

    .faq-header h2 {
        font-size: 2.2rem;
    }

    .faq-header p {
        font-size: 1rem;
        padding: 0 1rem;
    }

    .faq-item {
        margin-bottom: 1rem;
    }

    .faq-question {
        padding: 1.2rem;
    }

    .faq-answer p {
        padding: 1.2rem;
        font-size: 1rem;
    }

    .faq-answer {
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .faq-item.active .faq-answer {
        padding: 1rem 0;
        max-height: 500px;
    }
}

@keyframes floatQuestion {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.4;
    }
    25% {
        transform: translate(20px, 20px) rotate(5deg);
        opacity: 0.6;
    }
    50% {
        transform: translate(0, 40px) rotate(0deg);
        opacity: 0.4;
    }
    75% {
        transform: translate(-20px, 20px) rotate(-5deg);
        opacity: 0.6;
    }
    100% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.4;
    }
}

.faq-item {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateX(10px);
    box-shadow: -5px 0 20px rgba(var(--color-accent-rgb), 0.1);
}

.faq-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 0% 50%, rgba(var(--color-accent-rgb), 0.1), transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.faq-item:hover::before {
    opacity: 1;
}

.faq-item.active .faq-answer::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--color-accent-rgb), 0.2), transparent);
    animation: glowLine 2s infinite;
}

@keyframes glowLine {
    0%, 100% {
        opacity: 0.3;
    }
    50% {
        opacity: 0.7;
    }
}

.faq-header {
    position: relative;
    z-index: 10;
    text-align: center;
    margin-bottom: 4rem;
}

.faq-header h2 {
    color: var(--color-accent);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.faq-header p {
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

.faq-item {
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 11;
}

.faq-question span {
    color: var(--color-text);
    font-size: 1.1rem;
    font-weight: 500;
}

.faq-question i {
    color: var(--color-accent);
    transition: transform 0.3s ease;
}

.faq-answer {
    position: relative;
    background: linear-gradient(90deg, rgba(var(--color-accent-rgb), 0.05), transparent, rgba(var(--color-accent-rgb), 0.05));
    height: 0;
    opacity: 0;
    transition: height 0.3s ease, opacity 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.faq-answer p {
    position: absolute;
    padding: 1.2rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    max-width: 90%;
    margin: 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.faq-item.active .faq-question {
    background: rgba(var(--color-accent-rgb), 0.05);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
}

.faq-item.active .faq-answer {
    height: 120px;
    opacity: 1;
}

.faq-item.active .faq-answer p {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .faq-header h2 {
        font-size: 2rem;
    }

    .faq-question span {
        font-size: 1rem;
    }
}

.market-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    max-width: 1200px;
    margin: var(--section-spacing) auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius);
    position: relative;
}

.stat-item {
    text-align: center;
    padding: 2rem;
    position: relative;
}

.stat-item::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: linear-gradient(to bottom, transparent, rgba(var(--color-accent-rgb), 0.2), transparent);
}

.stat-item:last-child::after {
    display: none;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    color: var(--color-accent);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 20px rgba(var(--color-accent-rgb), 0.3);
}

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

.stat-number .counter {
    display: inline-block;
    opacity: 0;
    animation: countUp 2s ease-out forwards;
}

.stat-number.animate .counter {
    animation: countUp 2s ease-out forwards;
}

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

@media (max-width: 768px) {
    .stat-item::after {
        display: none;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

.market-quote {
    text-align: center;
    max-width: 800px;
    margin: var(--section-spacing) auto;
    position: relative;
}

.market-quote blockquote {
    font-size: 1.5rem;
    color: var(--color-text);
    line-height: 1.6;
    position: relative;
    padding: 2rem;
}

.quote-icon {
    color: rgba(var(--color-accent-rgb), 0.2);
    font-size: 2rem;
    position: absolute;
    top: 0;
    left: 0;
}

.market-quote cite {
    display: block;
    margin-top: 1rem;
    color: var(--color-accent);
    font-style: italic;
    font-size: 1rem;
}

@media (max-width: 768px) {
    .market-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 1rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .stat-item::after {
        display: none;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .stat-label {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .market-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    
    .stat-number {
        font-size: 1.8rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .market-quote blockquote {
        font-size: 1.25rem;
        padding: 1.5rem;
    }
}

.wgl_home_market {
    padding: 6rem 2rem;
    background: linear-gradient(180deg, var(--color-background), #0D0D0F);
    position: relative;
    overflow: hidden;
}

.wgl_home_market-header {
    text-align: center;
    margin-bottom: var(--section-spacing);
    position: relative;
}

.wgl_home_market-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-weight: 700;
    position: relative;
}

.wgl_home_market-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: var(--color-accent);
    margin: 1rem auto 0;
    transition: width 0.3s ease;
}

.wgl_home_market-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.wgl_home_market-grid {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.wgl_home_market::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 10% 0%, rgba(var(--color-accent-rgb), 0.1), transparent 50%),
        radial-gradient(circle at 90% 100%, rgba(var(--color-accent-rgb), 0.05), transparent 50%);
    opacity: 0.5;
    pointer-events: none;
}

.market-card {
    display: block;
    background: linear-gradient(180deg, #000000, #1a0f2e);
    border: 1px solid rgba(138, 43, 226, 0.2);
    border-radius: var(--border-radius);
    padding: 3rem;
    position: relative;
    overflow: visible;
    text-decoration: none;
    transition: all 0.3s ease;
}

.market-card:hover {
    transform: translateY(-5px);
    border-color: rgba(var(--color-accent-rgb), 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

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

.market-card-icon {
    color: var(--color-accent);
    margin-bottom: 2rem;
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.market-card-title {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1rem;
    font-weight: 700;
}

.market-card-desc {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.market-card-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.market-card:hover .icon-glow {
    opacity: 1;
    animation: pulse 2s infinite;
}

.market-card-header {
    position: relative;
    margin-bottom: 2rem;
}

.title-underline {
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-accent), transparent);
    transition: width 0.5s ease;
}

.market-card:hover .title-underline {
    width: 100px;
}

.mystic-circles {
    position: absolute;
    inset: 0;
    opacity: 0.5;
    background: 
        radial-gradient(circle at 20% 20%, rgba(var(--color-accent-rgb), 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(var(--color-accent-rgb), 0.1) 0%, transparent 50%);
    filter: blur(20px);
    transition: all 0.5s ease;
}

.market-card:hover .mystic-circles {
    transform: scale(1.1);
    opacity: 0.8;
}

.feature {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.feature-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(var(--color-accent-rgb), 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s ease;
}

.feature:hover .feature-glow {
    transform: translateX(100%);
}

.feature i {
    color: var(--color-accent);
    margin-right: 0.5rem;
}

.market-card-cta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-accent);
    font-size: 1.1rem;
    font-weight: 600;
    padding: 1rem 1.5rem;
    background: rgba(var(--color-accent-rgb), 0.1);
    border-radius: 30px;
    transition: all 0.3s ease;
}

.market-card-cta:hover {
    background: rgba(var(--color-accent-rgb), 0.2);
    transform: translateX(5px);
}

.cta-arrow {
    display: inline-flex;
    align-items: center;
    line-height: 1;
    transition: transform 0.3s ease;
}

.market-card-cta:hover .cta-arrow {
    transform: translateX(5px);
}

.effects-container {
    position: absolute;
    inset: 0;
    overflow: visible;
    pointer-events: none;
}

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: sparkleFloat 3s infinite;
}

@keyframes sparkleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(0);
        opacity: 0;
    }
    50% {
        transform: translate(var(--moveX, 100px), var(--moveY, -100px)) scale(1);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .wgl_home_market {
        padding: 4rem 1.5rem;
    }

    .market-card {
        padding: 2rem;
    }

    .market-card-features {
        gap: 0.5rem;
    }

    .feature {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Section Heroes Promo */
.wgl_home_heroes-promo {
    padding: 6rem 2rem;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(0, 0, 0, 0.9) 15%,
        rgba(20, 20, 20, 0.95) 100%
    );
    position: relative;
    overflow: hidden;
    margin-top: -6rem;
    padding-top: 10rem;
    margin-bottom: 4rem;
}

.wgl_home_heroes-promo::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 135, 0.05), transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(0, 183, 203, 0.05), transparent 40%);
    pointer-events: none;
}

.heroes-promo-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.heroes-promo-text {
    color: white;
}

.heroes-promo-text h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #00ff87, #00b7cb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.heroes-promo-text p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.heroes-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.heroes-stats .hero-stat {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.heroes-stats .hero-stat:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.05);
}

.heroes-stats .hero-stat i {
    font-size: 1.2rem;
    width: 24px;
    text-align: center;
}

.heroes-stats .hero-stat:nth-child(1) i {
    color: #00ff87;
}

.heroes-stats .hero-stat:nth-child(2) i {
    color: #00b7cb;
}

.heroes-stats .hero-stat:nth-child(3) i {
    color: #80ffc3;
}

.heroes-stats .hero-stat span {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
}

.heroes-cta {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #00ff87, #00b7cb);
    border-radius: 50px;
    color: #1a1a1a;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    max-width: 100%;
    box-sizing: border-box;
}

.heroes-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 255, 135, 0.2);
}

.heroes-cta i {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.heroes-cta:hover i {
    transform: translateX(5px);
}

@media (max-width: 768px) {
    .heroes-cta {
        width: 100%;
        justify-content: center;
        padding: 1rem;
        margin: 0 1rem;
        max-width: calc(100% - 2rem);
    }
}

.heroes-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background: linear-gradient(135deg, #00ff87, #00b7cb);
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0;
    animation: float-particle 8s infinite;
}

.particle::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: inherit;
    filter: blur(2px);
    transform: scale(1.5);
    opacity: 0.5;
}

.particle.p1 { top: 20%; left: 10%; animation-delay: 0s; }
.particle.p2 { top: 60%; left: 20%; animation-delay: 2s; }
.particle.p3 { top: 30%; right: 25%; animation-delay: 4s; }
.particle.p4 { top: 70%; right: 10%; animation-delay: 6s; }
.particle.p5 { top: 40%; left: 50%; animation-delay: 1s; }

@keyframes float-particle {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 0;
    }
    25% { opacity: 0.8; }
    50% {
        transform: translate(100px, -100px) scale(1.5);
        opacity: 0.4;
    }
    75% { opacity: 0.6; }
    100% {
        transform: translate(200px, -200px) scale(1);
        opacity: 0;
    }
}

/* Rangs */
.ranks-explanation {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.rank-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    transition: all 0.3s ease;
}

.rank-item:hover {
    transform: translateX(10px);
    background: rgba(255, 255, 255, 0.05);
}

.rank-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
}

.rank-icon::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: inherit;
    background: linear-gradient(135deg, transparent, rgba(255, 255, 255, 0.1));
    z-index: -1;
}

.rank-item:nth-child(1) .rank-icon {
    color: #FFD700;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.rank-item:nth-child(2) .rank-icon {
    color: #00ff87;
    box-shadow: 0 0 20px rgba(0, 255, 135, 0.2);
}

.rank-item:nth-child(3) .rank-icon {
    color: #00b7cb;
    box-shadow: 0 0 20px rgba(0, 183, 203, 0.2);
}

.rank-info h3 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.rank-info p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Media Queries */
@media (max-width: 1024px) {
    .heroes-promo-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 768px) {
    .wgl_home_heroes-promo {
        padding: 4rem 1.5rem;
    }

    .heroes-promo-text h2 {
        font-size: 2rem;
    }

    .heroes-promo-text p {
        font-size: 1rem;
    }

    .heroes-stats .hero-stat {
        padding: 0.75rem;
    }

    .ranks-explanation {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .rank-item {
        padding: 1.25rem;
    }

    .rank-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }

    .rank-info h3 {
        font-size: 1.1rem;
    }

    .rank-info p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .ranks-explanation {
        padding: 1rem;
        gap: 1rem;
    }

    .rank-item {
        padding: 1rem;
        gap: 1rem;
    }

    .rank-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }

    .heroes-stats .hero-stat {
        font-size: 0.9rem;
    }
}

/* Masquer le switch de thème sur la page d'accueil */
body.page-template-template-home .theme-switcher,
body.page-template-template-home .theme-switch,
body.page-template-template-home #theme-toggle {
    display: none !important;
}

/* Masquer le switch de thème dans le header sur la page d'accueil */
body.page-template-template-home .site-header .mystic-switch {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.hero-background {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.artifacts-grid {
    position: relative;
    width: 100%;
    aspect-ratio: 5/8; /* Ajusté pour un meilleur rapport largeur/hauteur */
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Réduit à 5 colonnes */
    grid-template-rows: repeat(8, 1fr); /* 8 rangées */
    gap: 1.4rem; /* Gap plus petit pour plus de logos */
    padding: 2rem;
    opacity: 0.12;
    filter: grayscale(0.6);
    transform: rotate(-5deg) scale(1.3);
    animation: slowFloat 20s infinite linear;
}

/* Animation lente de flottement */
@keyframes slowFloat {
    0% {
        transform: rotate(-5deg) scale(1.3) translateY(0);
    }
    50% {
        transform: rotate(-5deg) scale(1.3) translateY(-10px);
    }
    100% {
        transform: rotate(-5deg) scale(1.3) translateY(0);
    }
}

/* Ajout d'un effet de répétition pour la fresque */
.hero-background::before {
    content: '';
    position: absolute;
    inset: -50%;
    background: inherit;
    opacity: 0.5;
    z-index: 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .artifacts-grid {
        width: 150%;
        aspect-ratio: 4/6; 
        grid-template-columns: repeat(4, 1fr); /* 4 colonnes sur tablette */
        grid-template-rows: repeat(6, 1fr);
        gap: 0.3rem;
        padding: 1rem;
        transform: rotate(-5deg) scale(1.2);
    }

    @keyframes slowFloat {
        0% {
            transform: rotate(-5deg) scale(1.2) translateY(0);
        }
        50% {
            transform: rotate(-5deg) scale(1.2) translateY(-10px);
        }
        100% {
            transform: rotate(-5deg) scale(1.2) translateY(0);
        }
    }

    .artifact-item {
        transform: scale(0.8); /* Légèrement plus grand que 0.55 */
    }
}

/* Ajout d'un breakpoint spécifique pour les très petits écrans */
@media (max-width: 480px) {
    .artifacts-grid {
        width: 180%;
        aspect-ratio: 3/5;
        grid-template-columns: repeat(3, 1fr); /* 3 colonnes sur mobile */
        grid-template-rows: repeat(5, 1fr);
        gap: 0.25rem;
        transform: rotate(-5deg) scale(1.3);
    }

    @keyframes slowFloat {
        0% {
            transform: rotate(-5deg) scale(1.3) translateY(0);
        }
        50% {
            transform: rotate(-5deg) scale(1.3) translateY(-10px);
        }
        100% {
            transform: rotate(-5deg) scale(1.3) translateY(0);
        }
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 6rem 2rem;
}

.brand-tag {
    display: inline-block;
    color: var(--color-accent);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 3rem;
    padding: 0.5rem 1.5rem;
    border: 1px solid var(--color-accent);
    border-radius: 100px;
}

.hero-titles {
    margin-bottom: 3rem;
}

.hero-titles h1 {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.title-thin {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 300;
}

.title-strong {
    font-size: clamp(3rem, 8vw, 5rem);
    color: white;
    font-weight: 800;
}

.title-accent {
    font-size: clamp(2rem, 6vw, 3.5rem);
    background: linear-gradient(135deg, var(--color-accent), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.feature::before {
    content: '•';
    color: var(--color-accent);
    margin-right: 0.5rem;
}

.hero-actions {
    display: flex;
    justify-content: center;
}

.btn-primary {
    position: relative;
    background: var(--color-accent);
    color: black;
    padding: 1rem 2.5rem;
    border-radius: 100px;
    font-weight: 600;
    font-size: 1.1rem;
    overflow: hidden;
}

.btn-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-primary:hover .btn-glow {
    transform: translateX(100%);
}

.artifact-item {
    position: relative;
    transition: all 0.8s ease;
    transform: scale(0.8);
    animation: artifactFloat 4s infinite ease-in-out;
}

.artifact-item:hover {
    transform: scale(1);
    filter: brightness(1.5);
}

/* Créer des délais d'animation différents pour chaque item */
.artifact-item:nth-child(3n+1) {
    animation-delay: 0s;
}
.artifact-item:nth-child(3n+2) {
    animation-delay: -1.3s;
}
.artifact-item:nth-child(3n+3) {
    animation-delay: -0.7s;
}

@keyframes artifactFloat {
    0%, 100% {
        transform: scale(0.8) translate(0, 0);
    }
    50% {
        transform: scale(0.8) translate(0, -10px);
    }
}

.artifact-item img {
    transition: transform 0.3s ease;
    will-change: transform;
}

.artifact-item:hover img {
    transform: rotate(15deg);
}

@media (max-width: 1024px) {
    .wgl_home_hero .feature,
    .wgl_home_market .market-card-features .feature,
    .wgl_home_container .feature {
        flex-direction: row;
    }
}
