 :root {
   --color-main: #953095;
   /* --color-red: #f1360b; */
   --color-red: #ff4457;
   --color-orange: #f66900;
   --color-yellow: #ffc310;
   --color-green: #f66900;
   /* --color-blue: #3f3cff; */
   --color-blue: #3255a5;
   --color-magenta: #b20792;
   --color-peach: #f8be9b;
   --color-text: #222222;
   --color-border-dk: #222;
   --color-border-lt: #ccc;
   --color-bg-lt: #fffbf3;
   --color-bg-dk: #222222;
   --color-error: #BE0A00;
 }

 .color-purple {
   color: var(--color-main);
 }

 .color-red {
   color: var(--color-red);
 }

 .color-orange {
   color: var(--color-orange);
 }

 .color-yellow {
   color: var(--color-yellow);
 }

 .color-green {
   color: var(--color-green);
 }

 .color-blue {
   color: var(--color-blue);
 }

 .color-magenta {
   color: var(--color-magenta);
 }

 .color-peach {
   color: var(--color-peach);
 }

 .color-white {
   color: white;
 }

 .bg-purple {
   background-color: var(--color-main);
 }

 .bg-red {
   background-color: var(--color-red);
 }

 .bg-blue {
   background-color: var(--color-blue);
 }

 .bg-green {
   background-color: var(--color-green);
 }

 .bg-yellow {
   background-color: var(--color-yellow);
 }

 .bg-orange {
   background-color: var(--color-orange);
 }

 .bg-magenta {
   background-color: var(--color-magenta);
 }

 .bg-peach {
   background-color: var(--color-peach);
 }

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


 html,
 body {
   max-width: 100%;
   overflow-x: hidden;
 }


 body {
   background: var(--color-bg-lt) !important;
   position: relative;
   color: var(--color-text);
   font-size: 16px;
   font-family: "Geist", sans-serif;
   font-optical-sizing: auto;
   font-weight: 400;
   font-style: normal;
   color: var(--color-text);
 }

 h1,
 h2,
 .h1,
 .h2 {
   font-family: 'Erica One', sans-serif;
   font-weight: 400;
 }

 p {
   font-size: 1.4rem;
 }

 section:not(.hero, .game-item) {
   min-height: 400px;
   padding: 50px 10%;
 }

 section.page-banner {
   min-height: 300px;
   display: flex;
   align-items: flex-end;
   background: linear-gradient(180deg, rgba(149, 48, 149, 1), rgba(149, 48, 149, 0.85)), url('../imgs/SVG_Header-2.svg') center/cover no-repeat;
 }

 .section-title {
   font-size: clamp(2rem, 3cqi, 4rem);
 }

 .section-title:after {
   content: "\f0da";
   font-family: "Font Awesome 6 Free";
   font-weight: 900;
   font-size: clamp(1rem, 3cqi, 3rem);
   margin-left: 25px;
 }

 @media (min-width: 1600px) {

   .container,
   .container-lg,
   .container-md,
   .container-sm,
   .container-xl,
   .container-xxl {
     max-width: 1520px;
   }
 }

 /* ==============================
   Home hero bg
   ============================== */
 .hero {
   position: relative;
   height: 100vh;
   overflow: hidden;
 }

 .bg-bottom {
   position: absolute;
   inset: 0;
   background-image: url('../imgs/header_bg.webp');
   background-size: cover;
   background-position: center;
   z-index: 1;
 }

 .bg-top {
   position: absolute;
   inset: -50px;
   /* extra space prevents gaps during movement */
   background-image: url('../imgs/SVG_Header-2.svg');
   background-size: cover;
   background-position: center;
   z-index: 2;
   pointer-events: none;
   will-change: transform;
 }

 /* Optional dark overlay
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 3;
} */

 .hero-content {
   position: relative;
   z-index: 4;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   text-align: center;
   height: 85vh;
   margin-top: 15vh;
   background: url('../imgs/cloud.png') no-repeat center bottom;
   background-size: cover;
 }

 .content h1 {
   font-size: 4rem;
   text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
 }

 .logo-main {
   width: 80vw;
   max-width: 400px;
   margin-bottom: 20px;
   filter: drop-shadow(0 10px 15px rgba(0, 0, 0, 0.2));
   transition: transform 0.25s ease;
 }

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

 .btn-primary {
   padding: 10px 30px;
   font-size: 1.2rem;
   background: var(--color-main);
   border: none;
   color: white;
   cursor: pointer;
   border-radius: 30px;
   font-weight: bold;
 }

 .btn-primary:hover {
   padding: 10px 30px;
   font-size: 1.2rem;
   background: var(--color-main);
   border: none;
   color: white;
   cursor: pointer;
   border-radius: 30px;
   font-weight: bold;
 }

 .triangle-btn {
   position: relative;
   background: #000;
   color: white;
   cursor: pointer;
 }

 .triangle-btn::before {
   content: "";
   position: absolute;
   top: 50%;
   left: -15px;
   transform: translateY(-50%);
   width: 0;
   height: 0;
   border-top: 10px solid transparent;
   border-bottom: 10px solid transparent;
   border-right: 10px solid #000;
 }

 .triangle-btn::after {
   content: "";
   position: absolute;
   top: 50%;
   right: -15px;
   transform: translateY(-50%);
   width: 0;
   height: 0;
   border-top: 10px solid transparent;
   border-bottom: 10px solid transparent;
   border-left: 10px solid #000;
 }

 /* ==============================
   HEADER
   ============================== */

 .fixed-top {
   top: 3vh;
   width: 100%;
   padding: 0px;
 }

 .fixed-top.scrolled {
   top: 0;
 }

 body nav.navbar.scrolled,
 body header nav.navbar.scrolled {
   background-color: rgba(149, 48, 149, 0.85) !important;
   transition: background 0.25s ease-in-out;
 }

 body nav.navbar.scrolled {
   box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
 }

 .logo {
   height: 70px;
   width: auto;
   transition: .3s;
   cursor: pointer;
 }

 .logo:hover {
   transform: scale(1.1);
 }

 nav ul {
   list-style: none;
   display: flex;
   gap: 40px;
   margin: 0;
   padding: 0;
 }

 nav a,
 .mobile-nav-list a {
   text-decoration: none;
   color: white;
   font-weight: bold;
   font-size: 1.6rem;
   transition: .25s;
   padding: 5px 15px;
   border-radius: 30px;
   text-transform: uppercase;
 }

 nav a {
   text-shadow: 0 2px 5px rgba(149, 48, 149, 0.8);
 }

 header li:hover a {
   background: white;
   color: var(--color-main);
   text-shadow: none;
 }

 .btn-lang {
   background: white;
   color: var(--color-main);
   border: 2px solid white;
   padding: 6px 16px;
   border-radius: 30px;
   font-weight: 700;
   font-size: 1rem;
   cursor: pointer;
   transition: 0.25s;
 }

 .btn-lang:hover {
   background: var(--color-main);
   color: white;
 }
 p.tagline {
   font-size: 1.3rem;
   margin: 0;
 }
 section#about,
 section#team,
 section#contact {
   scroll-margin-top: 80px;
 }
 /* About */
/* section#contact, */
 section#about
  {
   background: url(../imgs/bg_about.png) no-repeat right center;
 }

 /* Works */
 .work-list {
   display: flex;
   flex-direction: row;
   flex-wrap: wrap;
   gap: 30px;
 }

 .work-list a {
   flex: 1 0 calc((100% - (30px * 2)) / 3);
 }

 .work-card {
   position: relative;
   width: 100%;
   border-radius: 20px;
   overflow: hidden;
   cursor: pointer;
   transition: transform 0.3s ease-in-out;
 }

 .work-card img {
   width: 100%;
   height: 100%;
   object-fit: cover;
   transition: filter 0.3s;
 }

 .work-card .overlay {
   position: absolute;
   bottom: 0;
   width: 100%;
   padding: 1rem 0;
   background: rgba(0, 0, 0, .55);
   color: white;
   font-size: 1.3rem;
   font-weight: 700;
   text-align: center;
 }

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


 /* Team */
 section#team {
   background: url(../imgs/bg_team.png) no-repeat left center;
 }

 .card {
   width: 16rem;
   border-radius: 20px !important;
   overflow: hidden;
 }

 .card-body {
   min-height: 100px;
 }

 .card-body p {
   font-size: 1rem !important;
   line-height: 1.1 !important;
 }

 .job-title {
   font-size: 0.9rem;
   font-weight: 600;
   padding: 4px 10px;
   border-radius: 20px;
   display: inline-block;
   margin-bottom: 10px;
 }

 .team-image {
   width: 100%;
   height: auto;
   object-fit: cover;
   aspect-ratio: 1 / 1;
 }

 .card-maenta,
 .card-magenta .card-body,
 .card-magenta .team-image {
   background-color: var(--color-magenta);
   color: var(--color-peach);
 }

 .card-magenta .job-title {
   background-color: var(--color-peach);
   color: var(--color-magenta);
 }

 .card-blue,
 .card-blue .card-body,
 .card-blue .team-image {
   background-color: var(--color-blue);
   color: var(--color-yellow);
 }

 .card-blue .job-title {
   background-color: var(--color-yellow);
   color: var(--color-blue);
 }

 .carousel-wrapper {
   width: 100%;
   overflow: visible;
   position: relative;
 }

 .team-carousel {
   position: relative;
   width: 100%;
   padding: 20px 0;
 }

 .team-carousel-viewport {
   overflow: hidden;
 }

 .team-carousel-track {
   display: flex;
   gap: 1rem;
   align-items: stretch;
   transition: transform 0.6s ease;
   will-change: transform;
 }

 .team-carousel-item {
   flex: 0 0 100%;
 }

 #teamCarousel .card {
   width: 100%;
 }

 .team-carousel-control {
   position: absolute;
   top: 50%;
   z-index: 1;
   width: 50px;
   opacity: .6;
   border: 0;
   padding: 0;
   background: transparent;
   color: var(--color-main);
   transform: translateY(-50%);
 }

 .team-carousel-control:hover:not(:disabled) {
   opacity: 1;
 }

 .team-carousel-control:disabled {
   cursor: default;
 }

 .team-carousel-control-prev {
   left: -100px;
 }

 .team-carousel-control-next {
   right: -100px;
 }

 .team-carousel-control i {
   font-size: 4rem;
   color: var(--color-main);
 }

 @media (min-width: 768px) {
   .team-carousel-item {
     flex-basis: calc((100% - 1rem) / 2);
   }
 }

 @media (min-width: 992px) {
   .team-carousel-item {
     flex-basis: calc((100% - 2rem) / 3);
   }
 }

 @media (min-width: 1200px) {
   .team-carousel-item {
     flex-basis: calc((100% - 3rem) / 4);
   }

   .team-carousel-control {
     display: none;
   }
 }

 @media (max-width: 767px) {
   .team-carousel-control-prev {
     left: -40px;
   }

   .team-carousel-control-next {
     right: -40px;
   }
 }

 /* Contact */

 #contact .contact-email-block {
   flex:1 1 35%;
   border-radius: 30px;
   padding: 40px 40px;
   color: var(--color-main);
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   text-align: center;
   position: relative;
 }
 .contact-seperator {
   width: 100%;
   border-top: var(--color-main) solid 2px;
   height:60px;
   position:relative;
 }
 span.or-circle {
   width: 60px;
   height: 60px;
   background: var(--color-main);
   color: #fff;
   border-radius: 60px;
   display: flex;
   align-items: center;
   justify-content: center;
   font-size: 20px;
   text-transform: uppercase;
   border: var(--color-bg-lt) solid 10px;
   position:absolute;
   left: calc(50% - 30px);
   top:-30px;
 }
 a.contact-link {
   color: var(--color-main);
   text-decoration: none;
 }
 a.contact-link i {
       position: absolute;
    top: calc(50% - 100px);
    left: calc(50% - 100px);
    opacity: 0.2;
    font-size: 200px;
 }
 .contact-form{
  flex:1 1 calc(60% - 60px);
 }
 /* ==============================
   Footer
   ============================== */

 Footer {
   background-image: url("../imgs/Footer_pattern_mobile.webp"), url("../imgs/footer_bg.webp");
   background-size: cover, cover;
   background-position: center, center;
   padding: 25px 15px;
   color: white;
   margin-top: 50px;
 }

 @media (min-width: 768px) {
   Footer {
     background-image: url("../imgs/Footer_pattern.webp"), url("../imgs/footer_bg.webp");
     background-size: cover;
   }
 }

 .footer-container {
   display: flex;
   justify-content: center;
   align-items: flex-start;
   flex-wrap: wrap;
   gap: 40px;
 }

 footer h3 {
   font-size: 1.2rem;
   margin-top: 0;
   color: #fff;
 }

 footer p {
   font-size: 1rem;
 }

 footer a {
   color: var(--color-bg-lt);
   text-decoration: none;
   transition: color 0.3s;
 }

 footer a:hover {
   color: var(--color-main);
 }

 .social-links a img,
 .social-links a i {
   color: var(--color-bg-lt);
   width: 40px;
   font-size: 40px;
   line-height: 40px;
   margin-left: 15px;
   margin-top: 5px;
   transition: .2s;
   cursor: pointer;
   text-decoration: none;
 }

 .social-links a img:hover,
 .social-links a i:hover {
   transform: scale(1.2);
 }

 @media (max-width: 991px) {

   .btn-lang {
     margin-left: auto;
   }

   /* Full-screen mobile sliding nav */
   .mobile-nav {
     position: fixed;
     top: 0;
     left: 0;
     width: 100%;
     height: 100%;
     background-color: var(--color-primary);
     background-image: url('../imgs/header_bg.webp');
     background-position: center;
     background-size: cover;
     background-repeat: no-repeat;
     transform: translateX(-100%);
     transition: transform 300ms ease;
     z-index: 2000;
     display: flex;
     align-items: center;
   }

   .mobile-nav.open {
     transform: translateX(0);
   }

   .mobile-nav-close {
     position: absolute;
     top: 18px;
     right: 24px;
     font-size: 36px;
     background: transparent;
     border: none;
     color: #fff;
     cursor: pointer;
   }

   .mobile-nav-inner {
     width: 100%;
     padding: 40px 24px;
   }

   .mobile-nav-list {
     list-style: none;
     padding: 0;
     margin: 0;
     display: flex;
     flex-direction: column;
     gap: 36px;
     align-items: center;
   }
   #about {
     flex-direction: column;
     gap: 30px;
     padding: 60px 6%;
     margin-top: -40px;
   }

   .about-title {
     font-size: 12vw;
   }

   .about-text {
     font-size: 1rem;
   }

   .work-card {
     max-width: 100%;
   }

   .ourteam {
     padding: 80px 6%;
   }

   .ourteam-left h2 {
     font-size: 12vw;
   }

   .footer-container {
     flex-direction: column;
     text-align: center;
   }

   .footer-right {
     justify-content: center;
   }
 }

 @media (min-width: 992px) {
   .fixed-top {
     top: 6vh;
     padding: 0 5%;
   }
   section.page-banner {
     min-height: 400px;
   }
   .mobile-nav,
   #mobileMenuBtn {
     display: none !important;
   }
   .section-title {
     font-size: clamp(3rem, 4cqi, 5rem);
   }
   .contact-seperator {
   flex:1 1 5%;
   width: 5%;
   border-left: var(--color-main) solid 2px;
   border-top:0;
   height:unset;
 }
 span.or-circle {
   top: calc(50% - 30px);
   left:-30px;
 }
 }


 @media (min-width: 1920px) and (orientation: landscape) {
   main.page_principale {
     height: 78vh;
   }

   .logo-centre {
     width: 30vw;
   }
 }

 /* ==============================
   services
   ============================== */
 .our-services-title {
   font-family: 'Erica One', sans-serif;
   font-size: 9vw;
   line-height: 0.85;
   color: var(--color-main);
   margin: 0;
   font-weight: 1000;
   letter-spacing: -1px;
   text-align: center;
 }

 .our-services-title-style {
   align-items: flex-start;
   background-color: #fffbf3;
   position: relative;
   z-index: 4;
   margin-top: 0;
 }

 .service-list {
   display: flex;
   flex-wrap: wrap;
   justify-content: center;
   gap: 20px;
 }
 .service-card {
   flex: 0 1 90%;
   max-width: 480px;
   border-radius: 20px;
   padding: 15px;
   box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
   transition: transform 0.3s ease;
   position: relative;
   overflow: hidden;
 }

 @media (min-width:1400px) {
   .service-card {
     flex: 1 1 calc((100% - 40px)/3);
   }
 }
 .service-card .card-inner {
   width: 100%;
   height: 100%;
   padding: 40px 40px;
   color: #ffffff;
   display: flex;
   flex-direction: column;
   align-items: center;
   justify-content: center;
   text-align: center;
   background: url("../imgs/Frame.png");
   background-repeat: no-repeat;
   background-image: center;
   background-size: 100% 100%;
 }

 .service-card:hover {
   transform: translateY(-6px);
 }


 .service-card img {
   width: 40%;
   height: auto;
   margin-bottom: 10px;
 }

 .service-card a {
   color: #ffffff;
   text-decoration: none;
   font-weight: 600;
   margin-top: 15px;
   border: 2px solid #ffffff;
   padding: 10px 20px;
   border-radius: 30px;
   transition: background-color 0.3s ease, color 0.3s ease;
 }

 .card-orange a:hover {
   background-color: #ffffff;
   color: var(--color-orange);
   transition: background-color 0.3s ease, color 0.3s ease;
 }

 .card-blue a:hover {
   background-color: #ffffff;
   color: var(--color-blue);
   transition: background-color 0.3s ease, color 0.3s ease;
 }

 .card-purple a:hover {
   background-color: #ffffff;
   color: var(--color-main);
   transition: background-color 0.3s ease, color 0.3s ease;
 }


 .service-card h3 {
   font-size: 20px;
   font-weight: 800;
   text-transform: uppercase;
   margin: 20px 0 15px 0;
   letter-spacing: 1px;
 }

 .service-card p {
   font-size: 1rem;
   line-height: 1.6;
   margin: 0;
 }

 .card-orange {
   background: linear-gradient(135deg, #ff984d 0%, #ff6b00 100%);
   z-index: 1;
 }

 .card-blue {
   background: linear-gradient(135deg, #7674ff 0%, #4455ff 100%);
   z-index: 1;
 }

 .card-purple {
   background: linear-gradient(135deg, #e290ff 0%, #c552f5 100%);
   z-index: 1;

 }

 .bottom-image {
   width: 100%;
   position: relative;
   bottom: 0;
   display: block;
   opacity: 0.3;
   margin-bottom: -100px;
   margin-top: -400px;
   pointer-events: none;
   z-index: -1;
 }

 /* ==============================
   Responsive
   ============================== */
 @media (max-width: 1200px) {
   .bottom-image {
     margin-top: -300px;
   }
 }

 @media (max-width:768px) {

   .bottom-image {
     margin-top: -50px;
     opacity: 0.25;
   }
 }

 /* ==============================
   Game
   ============================== */

 .game-item {
   display: flex;
   width: 100%;
   min-height: 500px;
   position: relative;
   overflow: hidden;
   flex-direction: row;
   transition: transform 0.3s ease, box-shadow 0.3s ease;
   z-index: 1;
 }

 .game-item:hover {
   transform: scale(1.03);
   box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
   z-index: 2;
 }

 .game-visual {
   flex: 1 1 60%;
   position: relative;
   background-size: cover;
   background-position: center;
   background-repeat: no-repeat;
   min-height: 100%;
   overflow: hidden;
   will-change: transform;
 }

 .game-info {
   flex: 1 1 40%;
   min-width: 300px;
   display: flex;
   flex-direction: column;
   justify-content: center;
   padding: 40px 50px;
   box-sizing: border-box;
   color: white;
   z-index: 5;
 }

 .game-info p {
   font-weight: 1.2rem;
   line-height: 1.5;
   margin-bottom: 2rem;
 }

 /* =========================================
   MINI-GALERIE / CARROUSEL
   ========================================= */
 .mini-gallery {
   display: flex;
   gap: 10px;
   overflow-x: auto;
   padding-bottom: 10px;
   scrollbar-width: none;
 }

 .mini-gallery::-webkit-scrollbar {
   display: none;
 }

 .mini-gallery img {
   height: 125px;
   width: auto;
   flex-shrink: 0;
   object-fit: cover;
   transition: none;
 }

 .game-logo {
   position: absolute;
   bottom: 40px;
   width: 100%;
   max-width: 40%;
   filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
   z-index: 10;
 }
 .witch .game-logo {
   max-width: 30%;
 }
 .logo-left {
   left: 40px;
 }

 .logo-right {
   right: 40px;
 }

 .crumbs .game-info {
   background: linear-gradient(180deg, #df8409 0%, #aa4d22 100%);
 }

 .witch .game-info {
   background: linear-gradient(180deg, #e70b90 0%, #a618e0 100%);
 }

 .hiraeth .game-info {
   background: linear-gradient(180deg, #1459a6 0%, #014759 100%);
 }

 .our-games-title {
   font-family: 'Erica One', sans-serif;
   font-size: 9vw;
   line-height: 0.85;
   color: var(--color-main);
   margin: 0;
   font-weight: 1000;
   letter-spacing: -1px;
   text-align: center;
 }

 .games-title-style {
   align-items: flex-start;
   background-color: #fffbf3;
   position: relative;
   z-index: 4;
   margin-top: 0;
   padding-bottom: 50px;
 }

 /* =========================================
   CARROUSEL HIRAETH (Desktop)
   ========================================= */
 .hiraeth .mini-gallery {
   display: flex;
   overflow: hidden;
   width: 100%;
   position: relative;
 }

 .hiraeth .carousel-team {
   display: flex;
   gap: 10px;
   animation: scroll 40s linear infinite;
 }

 @keyframes scroll {
   0% {
     transform: translateX(0);
   }

   100% {
     transform: translateX(-50%);
   }
 }


 @media screen and (max-width: 1024px) {

   .game-item {
     flex-direction: column;
     min-height: auto;
   }

   .crumbs,
   .hiraeth {
     flex-direction: column;
   }

   .witch {
     flex-direction: column-reverse;
   }

   .game-visual {
     flex: none;
     width: 100%;
     height: 400px;
     background-size: cover;
     background-position: center;
   }

   .game-info {
     flex: none;
     width: 100%;
     min-width: auto;
     padding: 30px 20px;
     box-sizing: border-box;
   }

   .logo-left,
   .logo-right {
     width: 200px;
     max-width: 80%;
     bottom: 20px;
   }

   .logo-left {
     left: 50%;
     transform: translateX(-50%);
   }

   .logo-right {
     right: 50%;
     transform: translateX(50%);
   }

   .hiraeth .mini-gallery {
     display: block;
     overflow: hidden;
     width: 100%;
     position: relative;
   }

   .hiraeth .carousel-team {
     display: flex;
     gap: 10px;
     width: max-content;

     animation: scroll 40s linear infinite;
   }

   .hiraeth .mini-gallery img {
     height: 100px;
     width: auto;
     flex-shrink: 0;
     object-fit: cover;
   }

   .hiraeth .game-visual {
     background-size: 300%;
   }

   .witch .game-visual {
     background-size: 170%;
   }
 }

 /* ==============================
   Modal form
   ============================== */
 .modal-content {
   background: var(--color-bg-lt);
 }

 .modal-header {
   padding: 50px 50px 15px;
   border: none;
 }

 .modal-body {
   padding: 15px 50px 50px;
 }
