:root
{
    --primary-color: rgb(59, 193, 6);
    --secondary-color: #ffffff;
    --background-color: #090F0A;
    --text-color: #ffffff;
    --text-transparent-colour: rgba(255, 255, 255, 0.8);

    --line-colour: rgba(59, 193, 6, 0.25);
}

html
{
	scroll-behavior: smooth;
	overflow-x: hidden;
}

body
{
    background-color: var(--background-color);
    font-family: Fredoka, sans-serif;
    margin: 0;

    justify-content: center; /* Centers all content horizontally */
    
    overflow-x: hidden;
}

section
{
	width: 100%; 
	border: 0 solid var(--line-colour); 
	border-width: 1px 0px; 
	margin-top: -1px;
	padding: 50px 0px;
}

i
{
	color: var(--text-color);
}

.content
{
    max-width: 1200px;
    justify-content: center;
    margin: 0 auto; /* Centers the content */
    padding-left: 40px;
    padding-right: 40px;
    overflow: visible;
    position: relative;
}

.content.bordered
{
	border: 0 solid var(--line-colour); 
	border-width: 0 1px; 
	vertical-align: middle;
	text-align: center;
	justify-content:center;
}

.separated
{
    border: 1px solid #163F08; 
    border-left: 0; 
    border-right: 0
}

/* Text */
h1, h2, h3, h4, h5, h6
{
    color: var(--text-color);
    font-weight: 600;
    text-transform: uppercase;
}

h1
{
    font-size: 48px;
    font-weight: 400;
    margin: 10px 0 5px 0;
}

h2
{
    font-size: 40px;
    font-weight: 400;
    margin: 10px 0 5px 0;
}

h3
{
    font-size: 32px;
    font-weight: 400;
    margin: 10px 0 5px 0;
}

h4
{
    font-size: 24px;
    font-weight: 400;
}

h5
{
    font-size: 20px;
    font-weight: 400;
    margin: 0;
}

p
{
    color: var(--text-color);
    font-size: 16px;
    font-weight: 200;
    line-height: 1.5em;
}

b
{
    font-weight: 600;
    line-height: 1.5em;
}

a
{
    color: var(--primary-color);
}

.background
{
    background-color: var(--background-color);
}

		.tablist {
			display: flex;
			justify-content: space-between;
			border-bottom: 2px solid #333;
			margin: 20px 0;
		}

		.tab-button {
			background: none;
			border: none;
			color: white;
			cursor: pointer;
			border-bottom: 3px solid transparent;
			border-radius: 0px;
		}
		
		.tab-button:hover
		{
		    background: transparent;
		    border-bottom: 3px solid rgba(255, 255, 255, 0.8);
		}

		.tab-button[aria-selected="true"] {
			border-bottom: 3px solid var(--primary-color);
		}

		.tab-content {
			display: none;
			max-width: 800px;
			margin: 0 auto;
			padding: 30px;
			color: #e6e6e6;
		}

		.tab-content.active {
			display: block;
		}

		.entry {
			margin-bottom: 25px;
		}

.project-info
{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    min-height: 80px;
    
    margin: 30px 0px;
    
    /* Grid does the 4 equal columns */
    background:
        linear-gradient(to bottom,rgba(22, 63, 8, 0.5),rgba(22, 63, 8, 0.6)) left 25% top/2px 100% no-repeat,
        linear-gradient(to bottom,rgba(22, 63, 8, 0.5),rgba(22, 63, 8, 0.6)) left 50% top/2px 100% no-repeat,
        linear-gradient(to bottom,rgba(22, 63, 8, 0.5),rgba(22, 63, 8, 0.6)) left 75% top/2px 100% no-repeat;
}

.project-info-item
{
    text-align:center;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.other-service-background
{
    width: 100%;
    height: 100%;
    background-size: cover;
    background-image: linear-gradient(rgba(23,23,23, 0.3), rgba(23,23,23, 0.3));
    border-radius: 25px;
}

.other-service
{
    border-radius: 25px;
    text-align: center;
    vertical-align: middle;
    background-size: cover;
    border-color: #1A2714;
    border-width: 2px;
    border: solid 2px #1A2714;
    
    backdrop-filter: blur(1px);
    
    width: 100%;
    height: 100%;
    
    display: flex;
    justify-content: center;
    align-items: center;
    
    background-color: transparent;
    
    transition: border-color 0.3s, background-color 0.3s, backdrop-filter 0.3s;
}

.other-service:hover
{
    background-color: rgba(0,0,0, 0.2);
    border-color: var(--primary-color) !important;
    backdrop-filter: blur(2px);
}

.other-service h4
{
    text-decoration: none !important;
    transition: color 0.3s;
    text-shadow: 2px 2px 15px rgba(0,0,0, 1);
}

.other-service:hover h4
{
    color: var(--primary-color) !important;
}

a
{
    text-decoration: none !important;
}

stat
{
    font-size: 64px;
    font-weight: 500;
    color: var(--primary-color);
}

stat.suffix
{
    font-size: 36px;
    font-weight: 400;
    color: var(--text-color);
    vertical-align: middle;
    display: inline-block;
}

subtitle
{
    color: var(--text-color);
    font-size: 20px;
}

.transparent-text
{
    color: var(--text-color);
    opacity: 60%;
    font-weight: 200;
    line-height: 1.5em;
}

a.transparent-text
{
    text-decoration: none;
}

a.transparent-text:hover
{
    opacity: 100%;
}

.footer-link
{
    color: var(--text-color);
    font-size: 14px;
    font-weight: 800;
    line-height: 1.5em;
    text-decoration: none;
    text-transform: lower;
}
.footer-link:hover
{
    text-decoration: underline;
}

ul
{
	padding-inline-start: 20px;
}

li
{
    color: var(--text-color);
    margin-bottom: 15px;
}

li::marker
{
	color: var(--primary-color);
	content: '⬢  ';
	font-size: 0.8em;
}

input
{
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: var(--text-color);
    border-radius: 5px;
    font-family: Fredoka, sans-serif;
}

textarea
{
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    color: var(--text-color);
    border-radius: 5px;
    font-family: Fredoka, sans-serif;
    min-height: 7rem;
}

input[type="checkbox"] {
  /* remove default browser styling */
  appearance: none;
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  border: 2px solid var(--primary-color);
  border-radius: 4px;
  position: relative;
  cursor: pointer;
}

/* checked state */
input[type="checkbox"]:checked {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

/* the checkmark */
input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  width: 4px;
  height: 10px;
  border: solid var(--background-color);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Buttons */
button
{
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    padding: 13px 40px;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.1s, color 0.2s;
    width: fit-content;
    display: inline-block;
    min-width: 100px;
    user-select: none;
    
    font-family: Fredoka, sans-serif;
    color: var(--text-color);
    font-weight: 600;
    text-transform: uppercase;
    
    background-color: transparent;
    border: 0px;
}

button.primary
{
    background-color: var(--primary-color);
    color: var(--background-color);
}

button.secondary
{
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--secondary-color);
}

/* Button status effects */
button:hover
{
    background-color: var(--secondary-color);
    color: var(--background-color);
}


/* Key elements */

.header
{
    min-height: 500px;
    background: url("media/header.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.header .content
{
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers content vertically */
    align-items: normal; /* Centers content horizontally */
    height: 100%;
}

.step-box
{
	position: relative; 
	border: 1px solid var(--line-colour); 
	border-radius: 25px; 
	width: 340px; 
	height: auto; 
	padding: 35px 45px; 
	box-sizing: border-box; 
	background: transparent;
}

.header-text 
{
    display: flex;
    flex-direction: column;
    width: 480px; /* Set a fixed width */
    position: relative; /* Optional: Use relative positioning */
    left: 0; /* Align it to the left */
    margin-left: 0; /* Ensure no extra margin on the left */
    gap: 20px;
}


.navbar-container {
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 80px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    background-color: transparent;
    transition: background-color 0.3s ease;
}

.navbar-container.scrolled {
    background-color: rgba(23, 23, 23, 0.5);
}

.backdrop {
    position: absolute;
    inset: 0;
    height: 200%;
    width: 200%;
    background: linear-gradient(to bottom, rgba(23, 23, 23, 1) 5%, rgba(23, 23, 23, 0.5) 50%);
    -webkit-mask-image: linear-gradient(to bottom, black 0% 50%, transparent 50% 100%);
    mask-image: linear-gradient(to bottom, black 0% 50%, transparent 50% 100%);
    -webkit-backdrop-filter: blur(20px);
    backdrop-filter: blur(20px);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events:none;
}

.navbar-container.scrolled .backdrop {
    opacity: 1;
}

.navbar {
    position: absolute;
    inset: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.links
{
    display: flex;
    gap: 32px; /* Space between menu items */
}

/* Dropdown Button */
.dropbtn 
{
  border: none;
  padding: 5px 0px;
  min-width: 0;
  background-color: transparent;
  
  font-weight: 400;
  color: white;
}

/* The container <div> - needed to position the dropdown content */
.dropdown 
{
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content 
{
    display: none;
    position: absolute;
    min-width: 160px;
    margin-left: -50%;
    z-index: 1;
    
    background-color: rgba(23, 23, 23, 0.5);
    
    padding: 5px 0px;

    border-width: 2px;
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    
    backdrop-filter: blur(20px); /* Applies a blur effect to the background */
    -webkit-backdrop-filter: blur(20px); /* Ensures compatibility with WebKit browsers */
}

/* Links inside the dropdown */
.dropdown-content a 
{
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover 
{
    color: var(--primary-color);
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content 
{
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn 
{
    color: var(--primary-color);
    background-color: transparent !important;
}

.cooperation
{
    width: 400px;
}

.cooperation-description
{
    text-align: left;
    border-radius: 20px;

    border: 1px solid var(--line-colour);
    padding: 40px 20px;
    width: 100%;
    box-sizing: border-box;
    background: linear-gradient(to top, rgba(21, 36, 33, 1) 0%, rgba(21, 36, 33, 0) 90%);
}

.cooperation-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.cooperation-list li {
  position: relative;
  padding-left: 1.5em;     /* space for the tick */
  margin-bottom: 0.75em;    /* optional spacing between items */
}

.cooperation-list li::before {
  content: '✔';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-color);
  font-size: 1em;
  line-height: 1;
}

.cooperation-list li::marker
{
    content: '';
}


.slider-container
{
    max-width: 100%;
    width: 120%;
    overflow: hidden;
    white-space: nowrap;
    
    position: relative;        
    left: 50%;                 
    transform: translateX(-50%);
}

.slider-container.transparent
{
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 30%, black 70%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 30%, black 70%, transparent 100%);
}

.overlay
{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 50;
}

.slider {
    display: inline-block;
    overflow: visible !important;
    gap: 10px;
    padding:0 5px;
}

.slider img
{
    display: inline-block;
    height: 420px;
    flex-shrink: 0;
    margin-right: 10px;
}

.stats
{
    display: flex;
    justify-content: center; /* Centers the stats horizontally */
    align-items: center; /* Aligns items vertically */
    margin-top: 20px;
    height: 400px;
}
.stats .stat
{
    display: flex;
    flex-direction: column; /* Aligns items vertically */
    justify-content: center; /* Centers items vertically */
    align-items: center; /* Centers items horizontally */
    gap: 10px; /* Space between stat and text */
    width: 290px; /* Fixed width for each stat */
}

.main-capsule
{
    display: flex;
    align-items: center; /* Aligns items vertically */
    gap: 1rem; /* Adds spacing between the image and text */

    border: 2px solid rgba(26, 39, 20, 1);
    border-radius: 25px;
    overflow: hidden;

    margin-bottom: 70px;

    backdrop-filter: blur(20px); /* Applies a blur effect to the background */
    -webkit-backdrop-filter: blur(20px); /* Ensures compatibility with WebKit browsers */

    vertical-align: center;

    height: 380px;
}

.main-capsule.green
{
    background: linear-gradient(to bottom, rgba(23, 23, 23, 0.5) 0%, rgba(18, 26, 15, 0.5) 100%);
}

.main-capsule.red
{
    background: linear-gradient(to bottom, rgba(23, 23, 23, 0.5) 0%, rgba(26, 15, 15, 0.8) 100%);
}

.main-capsule.blue
{
    background: linear-gradient(to bottom, rgba(23, 23, 23, 0.5) 0%, rgba(15, 15, 26, 0.5) 100%);
}

.main-capsule.purple
{
    background: linear-gradient(to bottom, rgba(23, 23, 23, 0.5) 0%, rgba(30, 18, 34, 0.5) 100%);
}

.category-capsule
{
    display: inline-block;
    background-color: rgba(89, 107, 74, .33);;
    color: var(--text-transparent-colour);
    border-radius: 55px;
    font-weight: 400;
    padding: 10px 15px;
    margin-right: 10px;
    margin-bottom: 15px;
    text-transform: uppercase;
    height: fit-content;
    user-select: none;
}

.category-capsule::before
{
    display: block;
    content: attr(title);
    font-weight: 400;
    height: 1px;
    color: transparent;
    overflow: hidden;
    visibility: hidden;
}

.category-capsule::after
{
    display: block;
    content: attr(title);
    font-weight: 600;
    height: 1px;
    color: transparent;
    overflow: hidden;
    visibility: hidden;
}

.category-capsule.green
{
    background-color: rgba(89, 107, 74, .33);;
}

.category-capsule.red
{
    background-color: rgba(107, 74, 74, .33);;
}

.category-capsule.blue
{
    background-color: rgba(71, 109, 129, .33);;
}

.category-capsule.purple
{
    background-color: rgba(107, 74, 106, .33);;
}

.category-capsule:hover
{
    background-color: var(--secondary-color);
    color: var(--background-color);
    font-weight: 600;
}

.logo-area{
    /* NEW ↓ ensures the two tracks sit side-by-side */
    display:flex;

    align-items: center;
    justify-content: center;
    
    height:140px;
    overflow:hidden;
    border-left-width:0!important;
    border-right-width:0!important;
}

.logo-area .logos{
    display:flex;
    align-items:center;
    gap:50px;          /* same 50 px you already use */

    /* NEW ↓ prevents the track shrinking on huge screens */
    flex:0 0 auto;

    /* we don’t want the extra margin any more */
    margin-right:0;
}

.logos img{
    max-width:200px;
    max-height:25px;
    width:auto;
    height:auto;
    flex:0 0 auto;     /* stop flexbox stretching */
}
.recommendation-container
{
    position: relative;
    background: url(media/games/contingent/background.png); 
    background-size: cover;
    
    padding-top: 60px;
    padding-bottom: 60px;

    border: 2px solid #163F08;
    border-right: 0px;
    border-left: 0px;
}

.recommendation
{
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    background: rgba(22, 29, 23, 0.9);
    padding: 26px 32px;
    width: 640px;
    height: 300px;
    
    display: inline-block;
    flex-shrink: 0;
    margin-right: 60px;
    
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
}

.circle
{
    border-radius: 500px;
}

.scroll-left
{
    animation: anim-scroll-left 30s linear infinite;
}
.scroll-right
{
    animation: anim-scroll-right 30s linear infinite;
}



.scroll-left.slow
{
    animation: anim-scroll-left 70s linear infinite;
}

.scroll-right.slow
{
    animation: anim-scroll-right 70s linear infinite;
}

.hover-pause { }

.hover-pause:hover
{
    animation-play-state: paused;
}

.no-transition {
  transition: none !important;
}

.platforms.logos
{
    background-color: var(--background-color);
}

.platforms.hr-title
{
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 40px;
    border-bottom: 2px;
    border-color: rgba(59, 193, 6, 0.25);
    width: 100%;
    text-transform: uppercase;
}
.platforms hr {
	 margin: 0;
}

hr {
    border: 0;
    border-top: 2px solid var(--line-colour);
    width: 100%;
}


/* Images */

.client-logo
{
    max-height: 50px;
    max-width: 120px;
    display: flex;
    align-items: center; /* Aligns items vertically */
    justify-content: center; /* Centers the image horizontally */
}

.box-art
{
    display: flex;
    align-items: center; /* Aligns items vertically */
    justify-content: center; /* Centers the image horizontally */
    width: auto;
    height: 420px;
    width: 280px;
    border-radius: 4px;
}

/* Use to create polygons: https://bennettfeely.com/clippy/ */
.diagonal
{
    height: 100%;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 80%, 0 100%);
    width: 85%;
    max-width: 420px;
}

.diagonal.left
{
    clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%);
}

.diagonal.right
{
    clip-path: polygon(0 0, 90% 0, 100% 100%, 0% 100%);
    margin-right: 10px;
}

.diagonal img
{
    height: 100%;
    width: 100%;
    object-fit: cover;

    margin-left: auto; /* Pushes the image container to the right */
    display: flex; /* Ensures proper alignment */
    align-items: center; /* Vertically centers the image */
}


/* Radial gradients */
.radial-background
{
    position: absolute;
    transform: translate(-50%, -50%); /* Adjust for centering */
    left: 40%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}


.spider-legs
{
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    z-index: -200;
    overflow: hidden;
    pointer-events: none;
    
}

.flex-container 
{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  white-space: normal;
}

.flex-container p 
{
    margin: 0;
    flex: 1 1;
}

/* Animations */

@keyframes anim-scroll-left{
    from{ transform:translateX(0); }
    /* slide exactly one track width **plus the final gap** */
    to  { transform:translateX(calc(-100% + 50px)); }
}

/* Animations */
@keyframes anim-scroll-right 
{
  from   { transform: translateX(-100%);   }
  to     { transform: translateX(0%);     }
}