/* =========================================================================
   Created by : Max Fosse
   Page Name : styles.css
   Description : The CSS, and yes, I know it’s a mess, but hey, it works!
   =========================================================================
   ⚡ Feel free to reach out to me with suggestions !
   =========================================================================
*/


/* BODY */

html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    background-color: #121212;
    color: #fffdfa;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.hidden {
    display: none;
}

main {
    flex-grow: 1;
}



/* NAVBAR */

header, .navbar {
    background-color: #333;
    color: #fffdfa;
    padding: 1em 0;
}

.nav-left a:hover, .nav-right a:hover {
    color: #ff6347;
    text-shadow: 0 0 8px rgba(255, 99, 71, 0.8);
}

.nav-left a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -5px;
    width: 0;
    height: 3px;
    background: #ff6347;
    transition: width 0.3s ease-in-out, left 0.3s ease-in-out;
}

.nav-left a:hover::after {
    width: 100%;
    left: 0;
}

@keyframes neonGlow {
    0% { text-shadow: 0 0 5px #ff6347, 0 0 10px #ff6347; }
    50% { text-shadow: 0 0 10px #ff4500, 0 0 20px #ff4500; }
    100% { text-shadow: 0 0 5px #ff6347, 0 0 10px #ff6347; }
}

.nav-left a:hover {
    animation: neonGlow 1s infinite alternate;
}

.navbar {
    background: rgba(31, 31, 31, 0.8);
    backdrop-filter: blur(8px);
    border-bottom: 2px solid rgba(255, 99, 71, 0.5);
    box-shadow: 0px 4px 15px rgba(255, 99, 71, 0.2);
    transition: all 0.4s ease-in-out;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 40px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background-color: #1f1f1f;
    font-size: 1.5em;
    transform: scale(1); 
}

.nav-left, .nav-right, .nav-right-social {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.nav-left {
    gap: 5px;
}

.nav-left li, .nav-right li, .nav-right-social li {
    margin: 0 10px;
}

.nav-left a, .nav-right a, .nav-right-social a {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.5px;
    position: relative;
    padding: 10px 15px;
    transition: all 0.3s ease-in-out;
    color: #fffdfa;
    text-decoration: none;
    display: flex;
    align-items: center;
}

.nav-right-social p:hover{
    color: #ff6347;
}

.navbar ul li a:hover {
    color: #ff6347;
}

.nav-right {
    display: flex;
    align-items: center;
    margin-right: 75px;
    margin-left: auto; 
}

.nav-right img {
    width: 32px;
    height: 32px;
    margin-top: 5px;
    max-width: 100%;
    min-width: 28px;
    object-fit: contain; 
}

.nav-right-social img {
    width: 32px;
    height: 32px;
    margin-right: 15px;
}

.nav-right-social {
    padding-top: 15px;
}



/* ANIMATION ON LOAD */

.animate {
    opacity: 0;
    transform: scale(0.95);
    animation: fadeIn 0.6s ease forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}



/* HERO */

.hero {
    background-size: cover;
    background-position: center;
    padding: 120px 20px 125px;
    text-align: center;
    margin-top: 80px;
    margin-bottom: -50px;
    background-color: #121212;
    color: #fffdfa;
    position: relative;
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.hero-content img {
    border-radius: 10px;
    margin-bottom: 25px;
    width: 215px;
    height: 215px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), 
                box-shadow 0.6s cubic-bezier(0.25, 1, 0.5, 1); 
    will-change: transform;
    transform-style: preserve-3d;
}

.hero-content img:hover {
    transform: perspective(600px) rotateY(10deg) scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 255, 255, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.75);;
}

.hero-content {
    perspective: 1000px;
    display: inline-block;
}

.hero h1 {
    margin: 0;
    font-size: 3.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #ff6347 50%, #ffffff 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 100%;
    animation: gradientShift 3s ease-in-out infinite alternate;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    position: relative;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

.hero p {
    font-size: 1.3rem;
    margin: 20px 0 40px;
    max-width: 600px;
    line-height: 1.6;
    opacity: 0;
    transform: translateY(30px);
    animation: revealText 1s ease-out 0.5s forwards;
    color: rgba(255, 255, 255, 0.9);
}

@keyframes revealText {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero .cta {
    display: inline-block;
    background-color: #ff6347;
    color: #fffdfa;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.4s;
}

.hero .cta:hover {
    background-color: #e55337;
}

.hero .cta-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #ff6347, #e55337);
    color: #ffffff;
    padding: 16px 32px;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 
        0 8px 25px rgba(255, 99, 71, 0.4),
        0 0 0 1px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero .cta-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.hero .cta-main:hover::before {
    left: 100%;
}

.hero .cta-main:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 15px 40px rgba(255, 99, 71, 0.6),
        0 0 60px rgba(255, 99, 71, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.hero .scroll-indicator {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    z-index: 100;
}

.hero .scroll-indicator:hover {
    opacity: 1;
}

.hero .scroll-indicator span {
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero .scroll-arrow {
    width: 26px;
    height: 26px;
    border: 2px solid #ff6347;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 99, 71, 0.15);
    position: relative;
    animation: pulseArrow 2s ease-in-out infinite;
}

.hero .scroll-arrow::before {
    content: '';
    width: 9px;
    height: 9px;
    border-right: 2px solid #ff6347;
    border-bottom: 2px solid #ff6347;
    transform: rotate(45deg) translateY(-1px);
}

@keyframes pulseArrow {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 0 0 0 rgba(255, 99, 71, 0.4);
    }
    50% {
        transform: translateY(4px);
        box-shadow: 0 0 0 10px rgba(255, 99, 71, 0);
    }
}


/* ABOUT */
.about {
    text-align: center;
    padding: 60px 40px;
    margin: 40px auto;
    width: 80%;
    border-radius: 12px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8) 0%, rgba(41, 41, 41, 0.9) 50%, rgba(15, 15, 15, 0.8) 100%); 
    backdrop-filter: blur(10px); 
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 99, 71, 0.1), inset 0 1px 0 rgba(150, 150, 150, 0.05); 
    overflow: hidden;
}

.about::before { 
    content: ''; 
    position: absolute; 
    top: -50%; 
    left: -50%; 
    width: 200%; 
    height: 200%; 
    background: radial-gradient(circle, rgba(168, 65, 47, 0.02) 0%, transparent 70%); 
    animation: rotateBackground 30s linear infinite; 
    pointer-events: none; 
} 

@keyframes rotateBackground { 
    0% { transform: rotate(0deg); } 
    100% { transform: rotate(360deg); } 
}

.about:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 99, 71, 0.3);
}

.about h2 {
    font-size: 28px;
    color: #ff6347;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    font-weight: bold;
    position: relative;
}

.about h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: #ff6347;
    margin: 10px auto 0;
    border-radius: 2px;
}

.about p {
    font-size: 18px;
    color: #dcdcdc;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}

.about a {
    color: #ff6347;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.about a:hover {
    color: #e55337;
    text-decoration: underline;
}

.animate-on-load {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}



/* HERO-OG */

.hero-og {
    padding: 150px 20px;
    text-align: center;
    margin-top: 35px;
    margin-bottom: -50px;
    background-size: cover;
    background-position: center;
    color: #fffdfa;
}

.hero-og h1 {
    font-size: 60px;
    margin: 0;
}

.title-game {
    margin: 0;
    font-size: 3rem;
    background: white;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% 100%;
    font-weight: 900;
    letter-spacing: 2px;
    position: relative;
}

.hero-og p {
    font-size: 20px;
    margin: 20px 0;
}



/* GAMES */

.about, .gallery, .services, .about-dev {
    text-align: center;
    padding: 40px 20px;
    background-color: #1f1f1f;
    margin: 20px auto;
    width: 80%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.service {
    margin-bottom: 1em;
}

.gallery .images {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.image-desc {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 45%;
    margin: 10px;
}

.responsive-image {
    width: 100%;
    height: auto;
    border-radius: 5px;
}

.games, .team {
    text-align: center;
    padding-top: 50px; 
    overflow: auto;
    box-sizing: border-box;
    padding-bottom: 0px;
    margin-top: 5px;
}



/* FOOTER */

footer {
    color: #fffdfa;
    text-align: center;
    width: 100%;
    margin: 0;
    border: none;
    background: rgba(31, 31, 31, 0.8);
    backdrop-filter: blur(8px);
    padding: 15px 0px;
    position: relative;
    box-shadow: 0 -5px 15px rgba(255, 99, 71, 0.2);
    border-top: 2px solid rgba(255, 99, 71, 0.5);
}

footer p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

.foot-logos {
    display: flex;
    justify-content: center;
    align-items: center;
}

.foot-logo img {
    width: 30px;
    height: 30px;
    margin: 0;
    margin-bottom: 5px;
    margin-right: 11px;
    margin-left: 11px;
    transition: transform 0.3s ease-in-out;
}

.foot-logo img:hover {
    transform: scale(1.1);
}

.footer-links {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 0;
    margin: 0;
    margin-bottom: 15px;
}

.footer-links li {
    display: inline-block;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    transition: color 0.3s, transform 0.3s;
    text-decoration: none;
}

.footer-links a:hover {
    color: #ff6347;
    transform: translateY(-3px);
}



/* FORM */

form {
    display: flex;
    flex-direction: column;
}

form label {
    margin-top: 1em;
}

form input, form textarea {
    padding: 0.5em;
    margin-top: 0.5em;
}

form button {
    margin-top: 1em;
    padding: 0.5em;
    background-color: #333;
    color: #fffdfa;
    border: none;
    cursor: pointer;
}



/* GAMES PRESENTATION + TEAM PRESENTATION */

.game-item, .team-member {
    display: inline-block;
    margin: 20px;
    margin-top: 25px;
}

.game-item p, .team-member p {
    color: #fffdfa;
    margin-top: 12.5px;
    font-size: 16px;
    font-weight: bold;
}

.game-item p:hover, .team-member p:hover {
    color: #e55337;
}

.game-item img, .team-member img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.img-radius {
    border-radius: 10px;
}

.game-item img:hover, .team-member img:hover {
    transform: scale(1.1);
}

.foot-logo a img {
    width: 25px;
    height: auto;
    text-align: center;
}

.foot-logo {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

.platform-logos {
    justify-content: center;
    transition: none;
    transform: none;
}

.platform-logos img:hover {
    transform: none;
}

.platform-logos img {
    width: 24px;
    height: 24px;
    margin: 0 5px;
}

.no-link {
    text-decoration: none;
}

.member-img img {
    border-radius: 50%;
    margin-bottom: 20px;
    width: 150px;
    height: 150px;
    object-fit: cover;
    border: 3px solid #ff6347;
    box-shadow: 0 0 10px rgba(255, 99, 71, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.member-img img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 99, 71, 0.8);
}

.team-member.no-hover {
    pointer-events: none;
    opacity: 0.8;
}

.team-member.no-hover img {
    filter: grayscale(50%);
}


/* SORT OPTIONS */

.sort-options-container {
    align-items: center;
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease-in-out;
}

.sort-options, .sort-options-news {
    height: 40px;
    width: 220px;
    padding: 8px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    backdrop-filter: blur(8px);
    box-shadow: inset 0 0 8px rgba(255, 99, 71, 0.2), 0 0 8px rgba(255, 99, 71, 0.2);
    outline: none;
    transition: all 0.3s ease-in-out;
    text-align: center;
    cursor: pointer;
    margin-right: 10px;
    margin-left: 10px;
    margin-top: 5px;
}

.sort-options:hover, .sort-options-news:hover {
    box-shadow: 0 0 12px rgba(255, 99, 71, 0.8);
    transform: scale(1.05);
}

.sort-options option, .sort-options-news option {
    padding: 10px;
    background-color: #222;
    color: #fff;
    border-bottom: 1px solid #444;
}

.sort-options option:checked, .sort-options-news option:checked {
    background-color: #ff6347;
    color: #fff;
}

.sort-options-container select {
    -webkit-appearance: none; 
    -moz-appearance: none; 
    appearance: none;
}



/* SOCIAL PANEL */

.social-toggle {
    cursor: pointer;
    color: #fffdfa;
    width: 32px;
    height: 32px;
}

.socials-panel {
    opacity: 0;
    position: fixed;
    top: 75px;
    right: 0;
    width: 285px;
    padding: 20px;
    z-index: 999;
    font-size: 18px;
    font-weight: bold;
    pointer-events: none;
    will-change: transform; 
    background: rgba(31, 31, 31, 0.8);
    box-shadow: 0px 4px 15px rgba(255, 99, 71, 0.2);
    backdrop-filter: blur(8px);
    transition: transform 0.25s ease, opacity 0.25s ease;
    transform: translateY(-15px);
}

.socials-panel.open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.socials-panel a:hover {
    color: #ff6347;
    transform: scale(1.2);
    text-shadow: 0 0 10px rgba(255, 99, 71, 0.8);
}

.socials-panel .nav-right-social {
    flex-direction: column;
    align-items: flex-start;
}

.socials-panel .nav-right-social li {
    margin-bottom: 5px;
}

.nav-left li {
    position: relative;
    font-size: 26px;
}

.nav-left a::after {
    content: '';
    position: absolute;
    bottom: -10px; 
    left: 0;
    width: 100%;
    height: 3.5px; 
    background-color: #ff6347;
    transform: scaleX(0);
    transition: transform 0.2s ease;
    transform-origin: bottom right;
}

.nav-left a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.nav-left a.active::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}



/* FEATURES (IMG GAMES PAGE) */

.features {
    padding: 40px 20px;
    background-color: #222;
    text-align: center;
}

.features-grid {
    display: none;
    justify-content: center;
    gap: 135px;
    pointer-events: none;
}

#features-grid-1 {
    display: flex;
}

.feature {
    max-width: 300px;
    text-align: center;
    margin-bottom: 50px;
}

.feature-bis {
    max-width: 600px;
    text-align: center;
    margin-bottom: 50px;
}

.feature img, .feature-bis img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.feature img:hover, .img-radius:hover, .feature-bis img:hover{
    box-shadow: 0 0 15px 5px rgba(255, 255, 255, 0.8); 
    cursor: pointer;
}

.feature img.enlarged, .feature-bis img.enlarged {
    transform: scale(1.5); 
    z-index: 100;
    cursor: zoom-out;
    box-shadow: 0 0 25px 10px rgba(255, 255, 255, 0.9);
}

@keyframes fadeZoomIn {
    0% {
        opacity: 0;
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeZoomOut {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(1.1);
    }
}

.features-grid.slide-in {
    animation: fadeZoomIn 0.5s ease forwards;
    pointer-events: none;
}

.features-grid.slide-out {
    animation: fadeZoomOut 0.5s ease forwards;
    pointer-events: none;
}

.switch-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin-bottom: 0;
}

.switch-buttons button {
    background: none;
    border: none;
    cursor: pointer;
}

#left-btn, #right-btn {
    position: relative;
    top: 285px;
}

#left-btn, #left-2-btn {
    left: 290px;
    margin-right: auto;
}

#right-btn, #right-2-btn {
    right: 290px;
    margin-left: auto; 
}

#left-2-btn, #right-2-btn {
    position: relative;
    top: 185px;
}

.switch-buttons img {
    width: 45px;
    height: auto;
    cursor: pointer;
}

.indicator-container {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.indicator {
    width: 50px;
    height: 10px;
    background-color: #666;
    margin: 0 5px;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin-bottom: 15px;
}

.indicator.active {
    background-color: #ff6347;
}

.arrow-btn {
    background-color: transparent;
    border: none;
    padding: 10px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.arrow-btn img {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 0 5px rgba(255, 99, 71, 0.3));
    transition: filter 0.3s ease, transform 0.3s ease;
}

.glow-arrow img {
    animation: glowPulseOrange 2s infinite ease-in-out;
}

.arrow-btn:hover img {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(255, 99, 71, 0.8));
}

@keyframes glowPulseOrange {
    0%, 100% {
        filter: drop-shadow(0 0 6px rgba(255, 99, 71, 0.4));
    }
    50% {
        filter: drop-shadow(0 0 14px rgba(255, 99, 71, 0.9));
    }
}


/* GAMES INFO */

.game-info-title, .game-info {
    padding: 35px;
    margin-top: 5px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.game-info {
    margin-top: -50px;
}

.game-info-title h2 {
    font-size: 24px;
    color: #fffdfa;
    text-transform: uppercase;
    border-bottom: 2px solid #e5e5e5;
    padding-bottom: 25px;
    text-align: center;
    width: 100%;
}

.game-info-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex-basis: 40%;
}

.game-info-item {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid #e5e5e5;
    padding: 10px 0;
    flex: 1 1 45%;
    margin-bottom: 15px;
}

.game-info-item h3 {
    font-size: 18px;
    color: #fffdfa;
    margin-bottom: 5px;
    flex-basis: 40%;
}

.game-info-item p {
    font-size: 16px;
    color: #999;
    flex-basis: 60%;
    text-align: right;
}

.game-info-item a {
    color: #999;
    text-decoration: none;
}

.game-description {
    flex-basis: 60%;
    margin-right: 20px;
}

.game-description p {
    font-size: 16px;
    color: #999;
    line-height: 1.6;
}



/* NEWS */

.news-section {
    display: grid;
    flex-wrap: wrap;
    margin: 0 auto;
    max-width: 1450px;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 30px;
    padding: 40px 20px;
}

.news-item {
    background-color: #1f1f1f;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    background: linear-gradient(145deg, #1f1f1f, #252525);
    border: 1px solid rgba(255, 99, 71, 0.1);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden; 
    padding-bottom: 15px; 
    margin: 0 auto; 
    width: 375px;
    margin-bottom: 85px;
}

.news-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 
        0 15px 35px rgba(0, 0, 0, 0.7),
        0 0 20px rgba(255, 99, 71, 0.2);
    border-color: rgba(255, 99, 71, 0.3);
}

.news-image {
    width: 100%;
    object-fit: cover;
    border-radius: 10px;
}


.news-content {
    padding: 12.5px;
    text-align: center;
}

.visual-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.visual-badge.nlr { background: linear-gradient(45deg, #ff6b9d, #ff8fab); }
.visual-badge.rfu { background: linear-gradient(45deg, #6c5ce7, #a29bfe); }
.visual-badge.autres { background: linear-gradient(45deg, #636e72, #b2bec3); }


.news-date {
    font-size: 12px;
    color: #777;
    margin-bottom: 10px;
}

.news-content h3 {
    font-size: 18px;
    color: #fffdfa;
    margin-bottom: 10px;
    margin-left: 20px;
    margin-right: 20px;
}

.news-description {
    font-size: 13px;
    color: #999;
    margin-bottom: 15px; 
}

.title-news:hover {
    color: #ff6347;
    cursor: pointer;
    animation: neonGlow 1s infinite alternate;
}



/* CTA */

.cta {
    background-color: #ff6347;
    color: #fffdfa;
    padding: 8px 12px;
    text-align: center;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
    transition: background-color 0.3s;
}

.cta:hover {
    background-color: #e55337;
}

.cta-glow {
    position: relative;
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 1px;
    font-size: 20px;
    padding: 12px 28px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff6347, #e55337);
    color: #fffdfa;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(255, 99, 71, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-glow:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 99, 71, 0.8), 0 0 30px rgba(255, 99, 71, 0.4);
    background: linear-gradient(135deg, #e55337, #ff6347);
    cursor: pointer;
}

.cta-glow::after {
    content: "";
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 15px;
    background: rgba(255, 99, 71, 0.2);
    filter: blur(10px);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cta-glow:hover::after {
    opacity: 1;
}


/* ARTICLE PAGE */

.article-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 35px 25px;
    background-color: #1f1f1f;
    color: #fffdfa;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    border-radius: 25px;
}

.article-hero {
    background-repeat: no-repeat;
    background-position: center;
    padding: 45px 15px;
    text-align: center;
    color: #fffdfa;
    margin-bottom: 20px;
}

.article-hero-content {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

.article-hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.article-hero img {
    max-width: 500px;
    width: 100%;
    margin-bottom: 45px;
}

.article-hero p {
    font-size: 18px;
}

.article-body {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    text-align: center; 
}

.article-no-center {
    text-align: left;
}

.article-body p, .article-body li {
    margin-bottom: 20px;
    margin-left: 15px;
    margin-right: 15px;
}

.article-body p:first-child {
    font-size: 20px;
    font-weight: 500;
}

.article-body strong {
    color: #ff6347;
    font-weight: 700;
}

.article-body .cta {
    display: inline-block; 
    background-color: #ff6347;
    color: #fffdfa;
    padding: 12px 24px;
    text-decoration: none;
    font-size: 18px;
    border-radius: 5px;
    transition: background-color 0.4s;
    margin-top: 20px;
}

.article-body .cta:hover {
    background-color: #e55337;
}

.article-page-main {
    padding-top: 85px;  
    padding-bottom: 50px;
}

.article-body a {
    color: #ff0000;
    text-decoration: none;
}

.article-margin {
    margin-top: 25px;
}

.article-hero-content a {
    color: #fffdfa;
    text-decoration: none;
}

.article-hover:hover, .about a:hover {
    color: #e55337;
    text-decoration: underline;
}

.about a{
    color: #fffdfa;
}

.bump {
    margin-top: 15px;
}

.big-bump {
    margin-top: 30px;
}



/* AUTHOR ARTICLE */

.author-badge {
    font-size: 0.85em;
    text-align: right;
    margin-top: 10px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    padding-top: 25px;
}



/* SHARE BUTTONS ARTICLE */

.share-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 25px;
    padding: 10px;
}

.share-buttons a, .share-buttons button {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background-color: #333;
    border: 1px solid #444;
    padding: 12px 20px;
    border-radius: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.share-buttons a:hover, .share-buttons button:hover {
    background-color: #ff6347;
    transform: translateY(-3px);
    cursor: pointer;
}

.share-buttons a img, .share-buttons button img {
    height: 24px;
    width: 24px;
}



/* RECOMMENDED ARTICLES */

.recommended-articles {
    text-align: center;
    max-width: 900px;
    margin: 40px auto;
    padding: 40px 20px;
    background-color: #1f1f1f;
    color: #fffdfa;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    border-radius: 25px;
}

.recommended-articles-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.recommended-article {
    background-color: #333;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 300px;
    padding-bottom: 20px;
}

.recommended-article:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.6);
}

.recommended-article img {
    width: 100%;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recommended-article h3 {
    color: #fffdfa;
    font-size: 16px;
    margin: 15px 0;
}

.recommended-article-date {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}

.recommended-article a {
    text-decoration: none;
    color: #fffdfa;
    transition: color 0.3s ease;
}

.recommended-article a:hover h3 {
    color: #e55337;
}



/* SECTION DIVIDER */

.section-divider {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 0;
    margin: 0 auto;
    width: 100%;
    text-align: center;
    background-color: transparent;
}

.divider-text {
    font-size: 20px;
    color: #ff6347;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.divider-icon img {
    width: 40px;
    height: auto;
    opacity: 0.75;
    transition: opacity 0.5s ease;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}



/* TRELLO SECTION */

.trello-section {
    padding: 0px 15px;
    margin-top: -15px;
    margin-bottom: 65px;
    background: linear-gradient(180deg, rgba(31, 31, 31, 0) 0%, rgba(31, 31, 31, 1) 50%, rgba(18, 18, 18, 1) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
    color: #fffdfa;
}

.trello-content {
    padding: 40px;
    margin: 0 auto;
    max-width: 800px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    background-color: rgba(255, 255, 255, 0.05);
}

.trello-section h2 {
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ff6347;
    margin-bottom: 5px;
    animation: fadeIn 1s ease;
}

.trello-section p {
    font-size: 18px;
    line-height: 1.6;
    color: #fffdfa;
    margin-bottom: 25px;
    animation: fadeIn 1.2s ease;
}

.trello-cta {
    background-color: #ff6347;
    color: #fffdfa;
    padding: 12px 25px;
    text-decoration: none;
    font-size: 18px;
    border-radius: 8px;
    transition: background-color 0.4s, transform 0.4s ease;
    box-shadow: 0 4px 8px rgba(255, 99, 71, 0.4);
    animation: fadeIn 1.5s ease;
}

.trello-cta:hover {
    background-color: #e55337;
    transform: translateY(-5px);
}



/* LANGUAGE SWITCHER */

.lang-switcher {
    display: inline-block;
    margin: 0 15px;
}

.lang-option {
    font-size: 16px;
    font-weight: bold;
    color: #999;
    padding: 10px;
    cursor: pointer;
    transition: color 0.3s ease, border-bottom 0.3s ease;
    position: relative;
    text-decoration: none;
}


.lang-option:hover {
    color: #ff6347;
}


.active-lang {
    color: #fffdfa;
    font-weight: 900;
    cursor: default;
}

/* CSS TEAM MEMBER */

.pavé {
    display: none !important;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.pavé.active {
    display: flex !important;
    opacity: 1;
}

.keywords {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 30px;
}

.keyword {
    padding: 10px 20px;
    background: #333;
    border-radius: 20px;
    box-shadow: 0 0 10px rgba(255, 99, 71, 0.3);
    transition: transform 0.3s ease-in-out;
}

.keyword a, .keyword a:hover {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}
        
.keyword:hover {
    transform: scale(1.1);
}

/* MODAL PLATFORME STYLE */

.modal {
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
}

.modal.hidden {
    display: none;
}

.modal-content {
    background-color: #1f1f1f;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    text-align: center;
    width: 90%;
    max-width: 400px;
}

.modal-content h2 {
    color: #fffdfa;
    margin-bottom: 25px;
}

.modal-content.neon-border {
    border: 2px solid #ff6347;
    box-shadow: 0 0 15px rgba(255, 99, 71, 0.4), 0 0 30px rgba(255, 99, 71, 0.2);
    background: linear-gradient(145deg, #1a1a1a, #222);
    transition: box-shadow 0.3s ease;
}

.modal-content.neon-border:hover {
    box-shadow: 0 0 25px rgba(255, 99, 71, 0.6), 0 0 45px rgba(255, 99, 71, 0.3);
}

.glow-title {
    font-size: 22px;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.platform-buttons {
    display: flex;
    justify-content: space-around;
    gap: 10px;
    flex-wrap: wrap;
}

.platform {
    background: rgba(255, 99, 71, 0.15);
    border: 1.5px solid #ff6347;
    border-radius: 10px;
    padding: 10px 18px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    color: #fffdfa;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 0 8px rgba(255, 99, 71, 0.2);
    backdrop-filter: blur(5px);
}

.platform:hover {
    background-color: #ff6347;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(255, 99, 71, 0.7);
}

.platform-icon {
    width: 20px;
    height: 20px;
    filter: drop-shadow(0 0 2px #ff6347);
}



/* ALTSTORE MODAL */

.ios-steps ul {
  list-style: none;
  padding-left: 0;
}

.ios-steps li {
  margin-bottom: 1.5rem;
}

.copy-row {
  margin-top: 0.75rem; 
}

.copy-row input {
  width: 45%;         
  padding: 0.2rem 0.6rem;
}

.ios-steps a.cta.small {
  display: inline-block;
  margin-top: 0.5rem;
}

.cta:hover {
    cursor: pointer;
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

.copy-row button {
    padding: 0.25rem 0.5rem;
    font-size: 0.8rem;    
    height: auto;            
}



/* VERSION MOBILE */

@media only screen and (max-width: 768px) {
    body {
       scrollbar-width: thin; /* Scrollbar pour Firefox */
       scrollbar-color: rgba(0, 0, 0, 0.4) rgba(0, 0, 0, 0.1); /* Scrollbar pour Firefox */
    }

    /* Customiser la scrollbar pour WebKit (Chrome, Safari, Opera) */
    body::-webkit-scrollbar {
        width: 6px;
    }
    
    body::-webkit-scrollbar-track {
        background: rgba(0, 0, 0, 0.1); 
    }
    
    body::-webkit-scrollbar-thumb {
        background-color: rgba(0, 0, 0, 0.4);
        border-radius: 10px;
    }
        
    .news-image {
        display: none;
    }

    .news-item {
        margin-bottom: 50px;
    }

    .navbar {
        padding-top: 30px;
        padding-bottom: 25px;
    }

    .article-page-main {
        margin-left: 30px;
        margin-right: 30px;
    }
    
    .sort-options, .sort-options-news {
        margin-bottom: 10px;
        font-size: 15px;
        max-width: 265px;
        width: 100%;
    }

    .sort-options option, .sort-options-news option {
        font-size: 14px;
    }

    .sort-options select, .sort-options-news select {
        width: 100%;
    }

    .games {
        margin-top: 25px;
    }

    .game-info {
        display: flex;
        flex-direction: column-reverse;
    }

    .game-info-content {
        margin-bottom: 25px;
    }

    .features {
        padding-bottom: 25px;
    }

    .feature img {
        width: 140px;
        height: auto;
        border-radius: 10px;
    }

    .nav-left a, .nav-right a, .nav-right-social a {
        padding: 1px 1.5px;
        font-size: 18px;
    }

    .feature-bis img {
        width: 250px;
        height: auto;
        border-radius: 10px;
    }

    #left-btn, #right-btn {
        position: relative;
        top: 145px;
    }

    #left-2-btn, #right-2-btn {
        position: relative;
        top: 100px;
    }
    
    #left-btn, #left-2-btn {
        left: -19.5px;
    }
    
    #right-btn, #right-2-btn {
        right: -19.5px;
    }

    .switch-buttons img {
        width: 42px;
    }

    .features-grid {
        gap: 30px;
    }

    .foot-logo {
        width: 40px;
    }

    .article-hero h1 {
        font-size: 40px;
    }

    .news-section {
        display: flex;
        flex-wrap: wrap;
        gap: 35px;
    }

    .news-item {
        width: 450px;
    }

    .hero p, .about p, .footer p, .game-description p, .game-info-item p, .article-hero p, .hero-content p, .article-body p, .article-body li, .trello-section p {
        font-size: 16px;
    }

    .hero {
        padding: 100px 20px 185px;
        min-height: 50vh;
        margin-top: 70px;
    }
    
    .hero h1, .hero-og h1 {
        font-size: 2.85rem;
    }

    .about {
        margin-top: 95px;
        margin-bottom: 25px; 
    }

    .navbar {
        padding: 25px 20px;
    }

    .nav-right {
        margin: 0px 30px;
        position: relative;
        left: -25px;
    }

    .nav-right img {
        width: 28px;
        height: 28px;
    }

    .nav-left li {
        font-size: 20px;
    }

    .nav-left {
        gap: 5px;
    }

    .platform-logos {
        margin-bottom: 30px;
    }

    .article-hero h1 {
        font-size: 32px;
    }

    .article-page {
        max-width: 950px;
        border-radius: 15px;
    }

    .trello-section {
        margin-bottom: 35px;
    }

    .footer-links li {
        font-size: 12px;
    }

    .foot-logo img {
        margin-right: 0px;
        margin-left: 0px;
    }

    .foot-logo {
        justify-content: space-between;
        width: 11%;
    }

    .team-member {
        margin: 30px;
    }

    .game-item {
        margin: 30px;
    }

    .news-item {
        border-left: 6px solid;
        background: #2a2a2a;
    }
    
    .news-item[data-nlr="true"] { border-left-color: #ff6b9d; }
    .news-item[data-rfu="true"] { border-left-color: #6c5ce7; }
    .news-item[data-autre="true"] { border-left-color: #636e72; }
}