:root {
	/*--primary: #1e90ff;*/
    /*--primary: #e2f1ff;*/
    --primary: #ffffff;
	--dark: #05070a;
	--light: #ffffff;
	--accent: #00fbff;
	--slash-red: #ffa33e;
	--wild-accent: #00fbff; 
	--wild-deep: #0a192f;
	/*--tapper-sage: #cbd5c0;*/
    --tapper-sage: #000000;
	--tapper-orange: #ffb300;
	/* Goodest Boy Colors */
	--dog-brown: #8B4513;
	--dog-tan: #D2B48C;
	/* Halfmoji Colors */
	/*--half-bg: #d3eaff;*/
    --half-bg: linear-gradient(white, #d1ecff, #4ea2ff);
	--half-text: #2d3436;
	--pyra-yellow: #ffcc00;
	--pyra-wall: #332200;
    --bg-deep: #0f1115;
    --text-soft: #d1d5db;
    --accent-blue: #60a5fa;
    /*--white: #f3f4f6;*/
    --white: #f4faff;
    --bg-misc-options-container: #1d1e1f;
    
    --tag-text-article: #c5de7a;
    --tag-text-fantasy: #c5a3ff;
    --tag-text-fiction: #b1f398;
    --tag-text-scifi: #3ff0f2;
    --tag-text-historical: #dcae86;
    --tag-text-interactive: #bbfffb;
    --tag-text-true-events: #91cf84;
    --tag-text-original: #dbb446;
    --tag-text-poem: #9bb6ff;
    --tag-text-romance: #ff96bb;
    --tag-text-science: #fff778;
    --tag-text-survival: #e2d3c0;
    --tag-text-thoughts: #a8d1d1;
    /*--tag-text-technology: #abffcd;*/
    --tag-text-technology: #84ffd0;
    --tag-text-thriller: #fea16f;
    --tag-text-horror: #ff9999;
    /*--tag-text-lifestyle: #7dd2fc;*/
    --tag-text-lifestyle: #ff9ecf;
    --tag-text-finance: #ffee9e;
    
    /*--tag-bg-article: #251432;*/
    --tag-bg-article: #1f2f10;
    --tag-bg-fantasy: #22182f;
    --tag-bg-fiction: #142a1b;
    --tag-bg-scifi: #001f27;
    --tag-bg-historical: #29190b;
    --tag-bg-interactive: #002224;
    --tag-bg-true-events: #172116;
    --tag-bg-original: #281e0c;
    --tag-bg-poem: #101b2d;
    --tag-bg-romance: #2d1925;
    --tag-bg-science: #2a2310;
    --tag-bg-survival: #2a241b;
    --tag-bg-thoughts: #102022;
    /*--tag-bg-technology: #202b2b;*/
    --tag-bg-technology: #0d2925;
    --tag-bg-thriller: #2a1609;
    --tag-bg-horror: #280c0c;
    /*--tag-bg-lifestyle: #0d1926;*/
    --tag-bg-lifestyle: #260d1e;
    --tag-bg-finance: #332a12;
}

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	/*font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;*/
    font-family: "Inter", sans-serif;
    -webkit-tap-highlight-color: transparent;
}

body {
	background-color: var(--dark);
	color: var(--light);
	scroll-behavior: smooth;
	overflow-x: hidden;
}

/* --- HEADER --- */
header {
	position: fixed;
	top: 0;
	width: 100%;
	/*padding: 8px 5%;
	background: rgba(5, 7, 10, 0.85);*/
    padding: 8px 5%;
    /*background: rgba(5, 7, 10, 0.95);*/
    /*background: linear-gradient(rgba(5, 7, 10, 0.25), transparent);*/
    background: linear-gradient(rgba(5, 7, 10, 0.15), transparent);
    background: linear-gradient(rgb(0 11 28 / 15%), transparent);
    background: linear-gradient(rgb(73 41 113 / 15%), transparent);
    background: linear-gradient(rgb(113 90 41 / 15%), transparent);
    background: transparent; 
	/*backdrop-filter: blur(10px);*/
    /*backdrop-filter: blur(48px);*/
	display: flex;
	justify-content: space-between;
	align-items: center;
	z-index: 1000; 
	/*border-bottom: 1px solid rgb(23 36 41 / 10%);*/
    user-select: none;
    text-shadow: 0px 0px 5px black;
}
.colored-header{
    background: linear-gradient(rgb(0 0 0 / 75%), rgba(0, 0, 0, 50%)) !important;
    backdrop-filter: blur(10px);
    backdrop-filter: blur(48px);
}
@font-face {
	font-family: 'Bebas Neue';
	src: url('/fonts/Bebas_Neue/BebasNeue-Regular.ttf') format('truetype');
}
.logo {
    font-family: "Bebas Neue", sans-serif;
    display: flex;
    gap: 4px;
    font-size: 1.18rem;
    font-weight: 900;
	letter-spacing: 5px;
    font-weight: 800;
    color: transparent;
	text-decoration: none;
	z-index: 1100;
    text-shadow: 0px 0px 0px #855fa9;
    text-shadow: 0px 0px 0px #172257; /*OFFICIAL DARK BLUE VERSION*/
    /*text-shadow: 0px 2px 0px #a98b5f;*/
    /*background: #121517;
    padding: 5px;*/
}

.logo span {
	/*color: var(--primary);*/
}

nav {
	display: flex;
	align-items: center;
    height: 20px;
    /*margin-left: 25px;*/
    gap: 12px;
}

.nav-links {
	display: flex;
	list-style: none;
	align-items: center;
    gap: 25px;
}

.nav-links a,
.dropbtn {
	/*color: #c7a384;*/
    color: transparent;
    /*color: #c7a984;*/
	text-decoration: none;
    font-size: 0.83rem;
    /*font-weight: 500;*/
    font-weight: 400;
	transition: 0.3s;
	background: none;
	border: none;
	cursor: pointer;
    /*text-shadow: 0px 0px 5px #144d87;*/
    /*text-shadow: 0px 0px 5px #876214;*/
    text-shadow: 0px 0px 0px #c7a384;
}

.nav-links a:hover,
.dropbtn:hover {
	color: var(--accent);
}

/* --- HAMBURGER ICON --- */
.hamburger {
	display: none;
	flex-direction: column;
	gap: 5px;
	cursor: pointer;
	z-index: 1100;
}

.hamburger span {
	width: 25px;
	height: 3px;
	background: var(--light);
	border-radius: 2px;
	transition: 0.3s;
}

/* --- DROPDOWN --- */
.dropdown {
	position: static;
}

.dropdown-content {
	display: none;
	position: absolute;
	left: 0;
	top: 100%;
	width: 100%;
	background: #0a0d12;
	padding: 40px 10%;
	border-bottom: 2px solid var(--primary);
	/*z-index: 999;*/
    z-index: 10;
	box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.dropdown-content.active {
	display: block;
    overflow: auto;
    height: 100vh;
    padding: 53px 53px 100px;
}
#navbar-games-directory, #navbar-codex-directory{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
#nav-codex-btn{
    
}
.game-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 20px;
	max-width: 1200px;
	margin: 0 auto;
}

.game-card {
	/*background: #151921;
	padding: 20px;
	border-radius: 8px;
	text-decoration: none;
	border: 1px solid rgba(255,255,255,0.05);
	transition: 0.3s;
	text-align: left;*/
}

/*.game-card:hover {
	border-color: var(--primary);
	transform: translateY(-5px);
}

.game-card h3 {
	color: var(--light);
	margin-bottom: 5px;
	font-size: 1.1rem;
	text-shadow: none;
	font-style: normal;
	text-transform: none;
}

.game-card p {
	color: #777;
	font-size: 0.8rem;
	font-weight: 400;
}*/
.hidden-game-card{
    display:none !important;
}
#coming-soon-on-google-play-btn{
    position: relative;
    display: none;
    height: 53px;
    width: 100%;
    max-width: 190px;
    padding: 5px 10px;
    background: black;
    border: 1px solid #b6b6b6;
    border-radius: 8px;
    color: white;
    bottom: 2px;
    text-align: center;
    text-decoration: none;
    flex-direction: column;
}
/* --- HERO CAROUSEL --- */
.hero-carousel {
	position: relative;
	width: 100%;
	height: 100dvh;
    min-height: 100dvh;
	overflow: hidden;
    z-index: 100;
}

.hero-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	opacity: 0;
	visibility: hidden;
	transition: opacity 1s ease-in-out;
	text-align: center;
	padding: 80px 10%;
}

.hero-slide.active {
	opacity: 1;
	visibility: visible;
	z-index: 10;
}
#codex-hero-section{
    position:relative;
}
/* --- HERO DESIGNS --- */
#quasar-slide, .sel-quasar{
    background: radial-gradient(circle at center, #0a0a1a 0%, #000 100%);
}
#quasar-slide h1{
    color: #ffffff;
    text-shadow: 0px 0px 14px #00c6eb;
    font-size: 6rem;
    margin-bottom: 10px;
}
#quasar-slide, #hero-proof {
    background: black; /* Deep space */
    overflow: hidden;
}
#hero-proof{
    /*background: linear-gradient(#66dcff, #1d59c7);*/ /*=========BLUE SKY GRAIDENT ============*/
    background: linear-gradient(#1c1c1c, #1d59c7);
    background: linear-gradient(#000000, #1d59c7);
    background: linear-gradient(rgb(0 11 28 / 95%), #1d59c7);
    background: linear-gradient(30deg, rgb(0 11 28 / 95%), #450e68, #966a1a); /* OFFICIAL PURPLE GOLD VERSION*/
    /*background: linear-gradient(30deg, rgb(0 11 28 / 95%), #000000, #966a1a);*/ /* OFFICIAL BLACK GOLD VERSION */
    
    /*background: linear-gradient(30deg, rgb(0 11 20 / 95%), #09124f, #65a7bd); *//* OFFICIAL BLUE VERSION*/
    
    background: linear-gradient(30deg, rgb(6 0 24 / 95%), #000000, #000531, #0c020c, #af8818); /*OFFICIAL DARK BLUE VERSION*/
    
    /*background: linear-gradient(30deg, rgb(0 1 8 / 95%), #320541, #450e68, #af8a18);
    background: linear-gradient(30deg, rgb(0 1 8 / 95%), #051741, #450e68, #af8a18);*/
    /*background: linear-gradient(30deg, rgb(4 2 0 / 95%), #20203d, #191827, #47320d, #af8a18);*/
    /*background: linear-gradient(30deg, rgb(6 0 24 / 95%), #000000, #230031, #0c020c, #af8818);*/
    /*text-shadow: 0px 2px 0px #352909;*/
    text-shadow: 0px 4px 1px #352909;
    text-shadow: 0px 4px 1px #0c0935;
    padding-top: 171px;
    padding-top: 134px;
}
#star-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none; /* Let clicks pass through to buttons */
}
.star-canvas, .star-canvas2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0; /* Keep stars behind text/icons */
    pointer-events: none;
}
.codex-hero-slide{
    position: absolute;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(206deg, #02003c, #161a98, #72eaf0);
    background: linear-gradient(194deg, rgb(0 0 0 / 95%), #11131d, #16263a);
    background: linear-gradient(20deg, rgb(0 0 0 / 95%), #11131d, #16263a);
    background: linear-gradient(199deg, rgb(115 48 246 / 95%), #8761c3, #400095);
    background: linear-gradient(199deg, rgb(115 48 246 / 95%), #8761c3, #a33805);
    background: linear-gradient(199deg, rgb(115 48 246 / 95%), #b991f9, #d95617);
    background: linear-gradient(199deg, rgb(6 21 49 / 95%), #002f3d, #9d5133);
    background: linear-gradient(199deg, rgb(6 11 49 / 95%), #00273d, #9d5133);*/
    background: linear-gradient(199deg, rgb(1 4 28 / 95%), #00163d, #9d4833);
    background: linear-gradient(199deg, rgb(6 1 28 / 95%), #17003d, #67339d);
    background: linear-gradient(188deg, rgb(6 1 28 / 95%), #17003d, #67339d);
    background: linear-gradient(188deg, rgb(6 1 28 / 95%), #17003d, #33669d);
    /*background: linear-gradient(188deg, rgb(6 1 28 / 95%), #000000, #9d7433);*/
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 10;
    padding-top: 171px;
}
/* Ensure parents are positioned correctly */
#quasar-slide, .sel-quasar {
    overflow: hidden;
}
#percentofpie-slide{
    background: #dceaff;
    color: #45484a;
}
#percentofpie-slide h1{
    color: #178bff;
    font-size: 4rem;
    font-weight: 800;
}
#percentofpie-slide .btn-play{
    background: #2992e3;
    color: #FFF;
    padding: 15px 40px;
    border: none;
    font-weight: 900;
    border-radius: 8px;
    text-decoration: none;
    margin: 5px auto;
    text-align: center;
    padding: 20px;
}
#lessthan-slide, .sel-lessthan{
    background: #0D0D0D;
    color: #39FF14;
}
@font-face {
	font-family: 'Inter';
	src: url('/fonts/Inter/Inter-VariableFont_opsz,wght.ttf') format('truetype');
}
#lessthan-slide h1, .sel-lessthan h3{
    font-size: 4rem;
    margin-bottom: 5px;
    text-align: center;
    width: 500px;
    font-family: 'Inter', sans-serif;
    color: #f0fff0;
    text-shadow: 0 0 7px #39FF14, 0 0 10px #39FF14, 0 0 21px #39FF14, 0 0 42px #39FF14, 0 0 82px rgba(57, 255, 20, 0.5), 0 0 92px rgba(57, 255, 20, 0.3);
}
#lessthan-h1-left{
    text-align: left;
}
#lessthan-h1-right{
    text-align: right;
}
#lessthan-slide .btn-play{
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    color: #39FF14;
    border: 2px solid #39FF14;
    padding: 15px 50px;
    font-size: 1.2rem;
    font-weight: 900;
    letter-spacing: 2px;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 0 10px #39FF14, inset 0 0 5px #39FF14;
    text-shadow: 0 0 10px #39FF14;
    transition: all 0.2s;
    text-align: center;
    text-decoration: none;
    margin-top: 15px;
    font-size: 0.9rem;
    padding: 12px 30px;
    width: auto;
    height: 50px;
}
#wild-slide {
	background: linear-gradient(var(--wild-deep), #05070a);
}

#wild-slide h1 {
	font-size: 5.5rem;
	font-weight: 900;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 0 0 20px rgba(0, 251, 255, 0.4), 4px 4px 0px #188bc4;
}

#half-slide {
	background: var(--half-bg);
}

#half-slide h1 {
	font-size: 5.5rem;
	font-weight: 900;
	color: var(--half-text);
	text-transform: lowercase;
	letter-spacing: -3px;
}

#half-slide .hero-tagline {
    text-shadow:none;
    color: #535353
}

#slash-slide {
	background: linear-gradient(#8cc4e5, #188bc4);
}

#slash-slide h1 {
	font-size: 5.5rem;
	font-weight: 900;
	font-style: italic;
	text-transform: uppercase;
	color: #fff;
	text-shadow: 6px 6px 0px var(--slash-red);
}

/* PairPlate Hero Design */
#pairplate-slide {
	background: linear-gradient(154deg, #e7f3ff 0%, #d3eaff 25%, #fdfbf0 50%, #a6d9f2 75%, #ffe4e4 100%);
	text-shadow: 0px 1px 3px black;
}

#pairplate-slide h1 {
	font-size: 5.5rem;
	font-weight: 900;
	color: #99cffc;
	text-shadow: 0px 1px 2px black;
}

#dodge-slide {
	background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), linear-gradient(to bottom, #1e90ff 0%, #00fbff 100%);
}

#dodge-slide h1 {
	font-size: 3.2rem;
	font-weight: 800;
	letter-spacing: -3.5px;
	padding: 10px 20px;
	background-color: #7A3D31;
	background-image: linear-gradient(335deg, rgba(0,0,0,0.3) 23px, transparent 23px), linear-gradient(155deg, rgba(0,0,0,0.3) 23px, transparent 23px), linear-gradient(335deg, rgba(0,0,0,0.3) 23px, transparent 23px), linear-gradient(155deg, rgba(0,0,0,0.3) 23px, transparent 23px);
	background-size: 58px 58px;
	background-position: 0px 2px, 4px 35px, 29px 31px, 34px 6px;
	border: 3px solid #3c0505;
	border-radius: 8px;
	box-shadow: 0 8px 0 #4a251e;
	text-shadow: 2px 5px 0 #242525;
}

#balltoy-slide h1{
    font-size: 5rem;
    margin: 0;
    color: #ffcc00;
    letter-spacing: -1px;
}

#target-slide{
    background: radial-gradient(circle at center, #0a0f14 0%, var(--bg) 100%);
}
#target-slide h1, .sel-target h3{
    font-size: 48px;
    font-weight: 900;
    color: #00ffff;
    text-shadow: 0 0 20px #00ffff;
}
#target-slide .btn-play{
    background: transparent;
    border: 2px solid #bfff00;
    color: #bfff00;
    padding: 15px 40px;
    font-size: 18px;
    font-weight: 800;
    text-transform: uppercase;
    cursor: pointer;
    margin: 10px 0;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
    box-sizing: border-box;
}
#tapper-slide {
	background: var(--tapper-sage);
}

#tapper-slide h1 {
	font-size: 5rem;
	font-weight: 900;
	/*color: #2d3436;
    color: #cce81b;*/
    color: #dcff00;
	text-transform: uppercase;
	letter-spacing: -2px;
}
#tapper-slide .btn-play{
    background: #dcff00;
    color: #000;
    border: 4px solid #000; 
    box-shadow: 0 6px 0 #000;
}

#boy-slide {
	background: linear-gradient(to bottom, #4facfe 0%, #00f2fe 100%);
}

#boy-slide h1 {
	font-size: 5.5rem;
	font-weight: 900;
	color: var(--dog-brown);
	text-shadow: 3px 3px 0px #fff;
	z-index: 2;
}

#boy-slide .hero-tagline,
#boy-slide .btn-play {
	z-index: 2;
}
@font-face {
	font-family: 'Antonio';
	src: url('/fonts/Antonio/Antonio-VariableFont_wght.ttf') format('truetype');
}
.hero-tagline {
    font-family: "Antonio", sans-serif;
	position: relative;
	z-index: 5;
    /*font-size: 2.22rem;
    font-size: 2rem;*/
    font-size: 1.4rem;
    margin: 11px 0;
    /*letter-spacing: 7.5px;
    margin-right: -7.5px;
    letter-spacing: 7.4px;
    margin-right: -7.4px;*/
    letter-spacing: 8.6px;
    margin-right: -8.6px;
	font-weight: 150;
    color: #e0d6ed;
    color: #d7d0e1;
    color: #ecf3f5;
}
.codex-hero-tagline{
    font-size: 2.24rem;
    font-size: 2.18rem;
}
#pairplate-slide .hero-tagline{
    color: #4e4f50;
    text-shadow: none;
}
#target-slide .hero-tagline{
    color: #bfff00;
}
.btn-play {
	position: relative;
	z-index: 10;
	padding: 15px 45px;
	margin: 20px 0px;
	font-size: 1.2rem;
	text-decoration: none;
	font-weight: 900;
	transition: 0.3s;
	border-radius: 50px;
	display: inline-block;
}
#explore-out-games-btn, #explore-our-codex-btn{
    padding: 10px 20px 17px;
    background: linear-gradient(156deg, #14c121, #25a72f);
    border: none;
    border-top: 5px solid #b4ffb4;
    border-bottom: 3px solid #007d1b;
    border-radius: 16px;
    color: white;
    text-shadow: 0px 2px 0px black;
    font-weight: 700;
    font-size: 1.5rem;
    margin: 80px 0px 50px;
}

#quasar-slide .btn-play, .in-codex-play-quasar-1-btn{
    padding: 15px;
    background: transparent;
    text-shadow: 0px 0px 8px;
    box-shadow: 0px 0px 8px;
    border: 2px solid #00f2ff;
    color: #00f2ff;
    border-radius: 7px;
    cursor: pointer;
    font-family: monospace;
    font-weight: bold;
    transition: 0.2s;
    min-width:220px;
    text-decoration: none;
    text-align: center;
}

#pairplate-slide .btn-play{
    background: #98d073;
    color: white;
    text-shadow: 1px 2px 2px rgb(69 67 62 / 92%);
    border-bottom: 3px solid rgba(0, 0, 0, 0.2);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.5), 0 4px 6px rgba(0, 0, 0, 0.2);
    font-weight: bold;
    border-radius: 50px;
}
#balltoy-slide .btn-play{
    font-size: 1.1rem;
    font-weight: bold;
    background: #3699f8;
    color: white;
    border: 4px solid #75bbff;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.1s;
    text-decoration: none;
    display: inline-block;
}
.get-it-on-btn-container{
    /*margin: 20px 0px 40px;*/
    /*margin: 60px 0px 00px;*/
    margin: 85px 0px 00px;
    margin: 82px 0px 00px;
    margin: 129px 0px 00px;
    margin: 92px 0px 00px;
    margin: 74px 0px 00px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap:30px;
    gap: 33px;
    gap: 53px;
    flex-direction:row;
}
.get-it-on-btn-container img, .get-on-amazon-app-store-btn, #get-it-on-slider-google-play-btn img, #get-it-on-slider-amazon-appstore-btn img{
    position: relative;
    /*height: 53px;*/
    /*height: 48px;*/
    height: 44px;
    height: 49px;
    height: 54px;
    z-index: 500;
}
#dynamic-games-list-container .get-it-on-btn-container{
    margin: 0;
    gap: 7%;
}
#proof-count-container, #codex-proof-count-container{
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: 800;
    font-weight: 700;
    gap: 8%;
    gap: 4%;
    /*margin: 80px 0px 50px;*/
    margin: 50px 0px 60px;
    /*width: 40%;*/
    width: 613px;
    width: 602px;
    max-width: 1000px;
}
#codex-proof-count-container{
    width: 32%;
}
#playstore-count-and-btn-container, #amazon-count-and-btn-container, #developer-count{
    position:relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100px;
    min-width: 31%;
    color: #fdf5e3;
    color: #fbf8ef;
    color: #fbf9f2;
    color: #f4f8f9;
}
#developer-count{
    width: 159px;
}
.proof-count{
    /*font-size: 3.5rem;*/
    font-size: 3.2rem;
    /*font-weight: 900;*/
    font-weight: 500;
    font-family: "Bebas Neue", sans-serif;
}
.proof-count-sub1{
    /*font-size: 1.12rem;*/
    font-size: 1.05rem;
    /*font-weight: 500;*/
    font-weight: 400;
    font-weight: 350;
    font-weight: 320;
    color: #cdc6d5;
    color: #c5b89b;
    color: #c1b8a2;
    color: #cbc3af;
    color: #d7d2c6;
    color: #d7cdc6;
    color: #c3bacf;
    color: #babccf;
    color: #c4c4c4;
    color: #c9c9c9;
}
.proof-count-sub2{
    /*font-size: 1.35rem;*/
    font-size: 1.31rem;
    font-weight: 650;
    font-size: 1.2rem;
    font-weight: 700;
    font-weight: 680;
    color: #e3dee9;
    color: #f1e3c5;
    color: #ede6d7;
    color: #efe9dc;
    color: #e5dfd1;
    color: #dbd1e5;
    color: #d1d6e5;
    color: #e1e1e4;
    color: #dddddd;
    line-height: 1.7em;
}
.proof-count-developer{
    color: #e3dee9;
    color: #f1e3c5;
    color: #ede6d7;
    color: #e5dfd1;
    color: #dbd1e5;
    color: #d1d6e5;
    color: #e1e1e4;
    color: #dddddd;
    font-size: 1.19rem;
    font-weight: 680;
}
#explore-our-games-btn, #explore-our-codex-btn{
    padding: 13px 40px 13px;
    /* background: linear-gradient(79deg, rgb(0 0 0 / 95%), #000000, #966a1a); */
    /*background: linear-gradient(89deg, rgb(9 0 18 / 71%), rgb(23 0 43 / 71%), rgb(77 48 89 / 68%), rgb(163 109 41 / 71%), rgb(167 133 75 / 86%));
    background: linear-gradient(89deg, rgb(9 0 18 / 84%), rgb(23 0 43 / 84%), rgb(77 48 89 / 84%), rgb(163 109 41 / 75%), rgb(167 133 75 / 86%));
    
    background: linear-gradient(89deg, rgb(9 0 18 / 84%), rgb(0 11 43 / 84%), rgb(48 62 89 / 84%), rgb(41 118 163 / 75%), rgb(75 155 167 / 86%)); */
    background: linear-gradient(89deg, rgb(9 0 18 / 84%), rgb(0 11 43 / 84%), rgb(29 52 96 / 84%), rgb(41 118 163 / 75%), rgb(75 155 167 / 86%));/* OFFICIAL BLUE*/
    border: none;
    border-top: 1px solid #442e55;
    /*border-left: 1px solid #4d0079;*/
    border-bottom: 1px solid #3c155d;
    
    border-top: 1px solid #2e3a55;
    border-bottom: 1px solid #152f5d;
    
    /*border-top: 1px solid #2e3555;
    border-bottom: 1px solid #15295d;*/
    
    border-radius: 34px;
    /* outline: 2px solid #2e343d; */
    /* box-shadow: 0px 0px 2px rgba(0, 0, 0, 20%), 0px 0px 2px rgba(0, 0, 0, 20%), 0px 5px 10px rgba(0, 0, 0, 30%); */
    box-shadow: 0px 0px 2px rgb(32 3 49 / 20%), 0px 0px 2px rgb(50 4 101 / 20%), 0px 5px 8px rgb(18 3 39 / 30%);
    font-size: 1.15rem;
    color: #ffffff;
    color: #f9dfa4;
    color: #fbf8ef;
    color: #f4f8f9;
    text-shadow: 0px 2px 0px #502d88;
    text-shadow: 0px 2px 0px #352909;
    font-weight: 500;
    transition: transform 0.3s ease-out;
    min-width: 220px;
    z-index: 2;
    letter-spacing: 2px;
}
#explore-our-games-btn{
    margin-top: 21px;
}
#explore-our-games-btn:active, #explore-our-codex-btn:active{
    transform: scale(0.8);
}
#explore-our-games-btn:hover, #explore-our-codex-btn:hover{
    cursor: pointer;
    /*border-top: 1px solid #550e8b;*/
}
#explore-our-codex-btn{
    /*border-top: 5px solid #4f2ac3;
    background: linear-gradient(174deg, #412499, #4a1aa7, #320b6f);*/
    border-top: 1px solid #4f2ac3;
    background: linear-gradient(188deg, rgb(36 21 105 / 95%), #48287d, #67339d);
    border-top: 1px solid #2a5dc3;
    background: linear-gradient(188deg, rgb(21 49 105 / 95%), #283b7d, #334b9d);
    /*border-top: 1px solid #775a0b;
    background: linear-gradient(188deg, rgb(18 13 2 / 95%), #000000, #9d8333);*/
    border-radius: 32px;
}
.origins-link {
	font-size: 1rem;
	font-weight: 500;
	text-decoration: none;
	padding: 10px 30px;
	margin: 20px 30px;
	border-radius: 12px;
}
.hero-proof-origins-link{
    color: #dbfaff;
    font-weight: 700;
}
.doodle-bird-origins-link {
	color: #5b5b5b;
}

.pyramaze-origins-link {
	color: #e2b023;
}

.bin-master-origins-link {
	color: #191919;
}

.wild-kingdom-origins-link {
	color: #08d9fa;
}

.dodgewall-origins-link {
	color: #ffffff;
}

.pairplate-origins-link {
	color: #363636;
	text-shadow: none;
}

.halfmoji-origins-link {
	color: #000000;
}

.slashfall-origins-link {
    color: #ffedcc;
}
.megatapper-origins-link{
    color: #dcff00;
}

/* --- SELECTION BAR --- */
.selection-bar {
    position: absolute;
    left: 10vw;
    bottom: 20px;
    width: 80vw;
    height: auto;
    display: none;
    justify-content: flex-start;
    gap: 10px;
    background: linear-gradient(transparent, rgba(8, 11, 16, 80%));
    padding: 10px 5% 0px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    overflow-x: auto;
    z-index: 300;
}

.sel-card {
	min-width: 170px;
	height: 90px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 12px;
	cursor: pointer;
	border: 3px solid transparent;
	transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
	text-align: center;
	overflow: hidden;
	position: relative;
}
.sel-quasar{
    color: #ffffff;
    text-shadow: 0px 0px 14px #00c6eb;
    font-size: 6rem;
    margin-bottom: 10px;
    background: radial-gradient(circle at center, #0a0a1a 0%, #000 100%);
}
.sel-card h3 {
	font-size: 1.4rem;
	position: relative;
	z-index: 2;
	pointer-events: none;
}
.sel-percentofpie{
    background: #dceaff;
    color: #178bff;
}
.sel-percentofpie h3{
    font-weight:800;
}
.sel-lessthan h3{
    font-size:1rem;
    width: 75%;
}
.sel-wild {
	background: linear-gradient(var(--wild-deep), #05070a);
}

.sel-wild h3 {
	font-weight: 900;
	text-transform: uppercase;
	text-shadow: 0 0 10px rgba(0, 251, 255, 0.4), 2px 2px 0px #188bc4;
}

.sel-half {
	background: var(--half-bg);
}

.sel-half h3 {
	color: var(--half-text);
	font-weight: 900;
	text-transform: lowercase;
}

.sel-slash {
	background: linear-gradient(#8cc4e5, #188bc4);
}

.sel-slash h3 {
	font-weight: 900;
	font-style: italic;
	text-transform: uppercase;
	text-shadow: 3px 3px 0px var(--slash-red);
}

.sel-dodge {
	background: linear-gradient(to bottom, #1e90ff, #00fbff);
}

.sel-dodge h3 {
	font-weight: 800;
	letter-spacing: -1px;
	padding: 5px 10px;
	background-color: #7A3D31;
	border: 2px solid #3c0505;
	border-radius: 4px;
	box-shadow: 0 4px 0 #4a251e;
	text-shadow: 1px 2px 0 #242525;
	font-size: 0.9rem;
}
.sel-target{
    background: radial-gradient(circle at center, #0a0f14 0%, #05070a 100%);
}
.sel-target h3{
    font-size: 1.3rem;
    margin: 0;
}
.sel-tapper {
	background: var(--tapper-sage);
    border: 3px solid #dcff00;
}

.sel-tapper h3 {
	color: #dcff00;
	font-weight: 900;
	text-transform: uppercase;
}

.sel-boy {
	background: linear-gradient(to bottom, #4facfe, #00f2fe);
}

.sel-boy h3 {
	color: var(--dog-brown);
	font-weight: 900;
	text-shadow: 1px 1px 0px #fff;
}

/* Selection Bar Style */
.sel-pair {
	background: linear-gradient(154deg, #e7f3ff 0%, #d3eaff 25%, #fdfbf0 50%, #a6d9f2 75%, #ffe4e4 100%);;
	border: 1px solid #333;
}

.sel-pair h3 {
	color: #99cffc;
	text-shadow: 0px 1px 2px black;
}

.sel-card:hover {
	transform: scale(1.05);
}

.sel-card.active {
	border-color: var(--light);
	box-shadow: 0 0 20px rgba(255,255,255,0.2);
	transform: translateY(-5px);
}

/* --- INFO SECTION --- */
.info-section {
	padding: 80px 10%;
	background: #05070a;
	min-height: 400px;
	display: none;
	justify-content: center;
	align-items: center;
	text-align: center;
}

.info-content {
	display: none;
	max-width: 900px;
}

.info-content.active {
	display: block;
	animation: fadeIn 0.8s;
}

.info-content h3 {
	font-size: 3rem;
	font-weight: 900;
	text-transform: uppercase;
	margin-bottom: 20px;
	color: var(--primary);
}

.info-content p {
	font-size: 1.3rem;
	color: #d1d1d1;
	line-height: 1.6;
}

.highlight {
	color: var(--accent);
	font-weight: bold;
}

/* --- Doodle Bird Slide --- */
@font-face {
	font-family: 'Patrick Hand';
	src: url('PatrickHand-Regular.ttf') format('truetype');
}

#doodle-bird-slide {
	background: linear-gradient(#7ac5e7, #f2fbff, #ffffff);
	overflow: hidden;
	font-family: 'Patrick Hand';
	color: #363636;
}

#doodle-bird-slide h1 {
	position: relative;
	font-size: 5.5rem;
	font-weight: 900;
	color: #0b0b0a;
	z-index: 5;
	font-family: 'Patrick Hand';
}

#doodle-bird-slide .btn-play,
.sel-doodle-bird h3 {
	border: 2px solid black;
	border-radius: 0;
	font-family: 'Patrick Hand';
	font-weight: 800;
}

.sel-doodle-bird h3 {
	border: none;
	font-size: 1.4rem;
}
#bird {
    position: absolute; 
    left:116%;
    top: 29%;
    width: 34px; height: 24px;
            border: 2px solid #000; border-radius: 50% 50% 40% 40%;
            z-index: 100; transform-origin: center; background: white;
            /*width: 39px;
            height: 31px;*/
            /*width: 44px;
            height: 34px;*/
            /*width: 46px;
            height: 37px;*/
            /*width: 48px;
            height: 38px;*/
            width: 45px;
            height: 35px;
            transition: transform 0.05s ease-out;
            z-index: 160;
    animation: idle-float 1.8s ease-in-out infinite;
        }
        #bird::after { content: ''; position: absolute; 
            /*top: 4px; 
            right: 6px; 
            top: 6px;
            right: 7px;*/
            top: 8px;
            right: 7px;
            width: 4px; height: 4px; background: #000; border-radius: 50%; }
        #bird::before { content: ''; position: absolute; 
            /*top: 8px; 
            right: -8px;*/
            /*top: 10px;
            right: -9px;*/
            top: 11px;
            right: -8px;
            border-left: 8px solid #000; border-top: 4px solid transparent; border-bottom: 4px solid transparent; }
        #wing { 
            position: absolute; top: 8px; left: 4px; width: 12px; height: 8px; 
            border: 2px solid #000; border-radius: 0 0 10px 10px; 
            transform-origin: top center; background: white;
            transition: transform 0.01s ease;
            animation: fast-flap 0.1s cubic-bezier(0.65, 0.05, 0.36, 1) infinite;
        }

        @keyframes fast-flap {
            0% { transform: rotate(0deg); }
            50% { transform: rotate(90deg); }
            100% { transform: rotate(0deg); }
        }


@keyframes idle-float {
    0%, 100% {
        /* Start at your base transform */
        transform: scale(2) rotate(-15deg) translateY(0px);
    }
    50% {
        /* Move up slightly and level out the angle slightly */
        transform: scale(2) rotate(-10deg) translateY(-15px);
    }
}
/* --- Pyramaze Hero Slide --- */
#pyra-slide {
	background: linear-gradient(to bottom, #a78339, #3d2200);
	overflow: hidden;
}

#pyra-slide h1 {
	position: relative;
	font-size: 6.5rem;
	font-weight: 900;
	color: var(--pyra-yellow);
	text-transform: uppercase;
	z-index: 5;
    transform: unset;
    gap: 8px;
}

.pyra-grid-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: grid;
	grid-template-columns: repeat(20, 1fr);
	grid-template-rows: repeat(20, 1fr);
	opacity: 0.3;
	z-index: 1;
	pointer-events: none;
}

.pyra-wall-block {
	background: var(--pyra-wall);
	border: 1px solid #443311;
	box-shadow: inset 0 0 10px #000;
}

/* --- Selection Bar --- */
.sel-doodle-bird{
	background: linear-gradient(#7ac5e7, #f2fbff, #ffffff);
	color: #0b0b0a;
}

.sel-pyra { 
	background: linear-gradient(to bottom, #a78339, #3d2200); 
	border: 1px solid #333;     
	text-shadow: 0 0 20px rgba(255, 204, 0, 0.4), 4px 4px 0px #242321;
}
.sel-pyra h3 { 
	color: var(--pyra-yellow); 
	font-weight: 900; 
	text-transform: uppercase; 
	text-shadow: 2px 2px 0px #664400; 
}

.sel-bin-master{
	background: linear-gradient(#b8e8f7, #fbffff);
}
#bin-master-slide{
	background: linear-gradient(#b8e8f7, #fbffff);
}
#bin-master-slide h1, .sel-bin-master h3{
	color: #ffcd00;
	font-style: italic;
	font-size: 5rem;
	font-weight: 900;
	text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;
}

.sel-bin-master h3{
	font-size:1.4rem;
}

#bin-master-slide .hero-tagline{
	color: #313131;
	text-shadow: none;
}

#bin-master-slide .btn-play{
	background: #fff;
	color: #000;
	padding: 15px 30px;
	margin: 10px;
	background: #f2d19f;
	color: #ffffff;
	text-decoration: none;
	text-shadow: 0px 2px 2px black;
	border: none;
	border-radius: 8px;
	font-weight: bold;
	cursor: pointer;
	font-size: 18px;
	/* width: 200px; */
	box-shadow: 0px 4px 2px black;
}
#floating-nav{
    position: fixed;
    width: auto;
    height: auto;
    background: transparent;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);
    display: none;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
    gap: 10px;
    padding: 10px;
    text-align: right;
}
.floater-scroller-btn{
    position:relative;
    display: flex;
    flex-direction: row;
    gap: 5px;
    /*background: rgba(0, 0, 0, 30%);*/
    background: rgb(4 41 68 / 54%);
    padding: 5px 14px;
    border-radius: 25px;
}
.floater-scroller-btn:hover{
    cursor: pointer;
}
#the-studio-icon{
    display: flex;
    justify-content: center;
    align-items: center;
}
#dynamic-game-overlay-close-btn{
    position: fixed;
    top: 80px;
    left: 50px;
    width: 50px;
    height: 50px;
    z-index: 5;
    background: rgba(0, 0, 0, 50%);
    display: none;
    justify-content: center;
    align-items: center;
    border-radius: 100%;
}
#dynamic-game-overlay-close-btn:hover{
    cursor:pointer;
}
#mobile-toggle-dynamic-list-btn{
    display:none;
}
#dynamic-game-overlay{
    position: fixed;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: none;
    background: #05070a;
    top: 0;
    left: 0;
    z-index: 901;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}
#dynamic-game-container{
    position: relative;
    width: 70vw;
    height: 100vh;
}
#dynamic-games-list-container{
    position: relative;
    width: 30vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 10px 20px;
    overflow: auto;
}
.show-dynamic-game-overlay{
    display: flex !important;
}
#dynamic-games-list-top-container{
    width: 100%;
    padding: 20px 0px;
}
#game-overlay-games-list{
    overflow: auto;
}
#dynamic-games-list-nav-container, #dynamic-games-list-home-btn{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
.dynamic-games-list-download-text{
    text-align: center;
}
.dynamic-games-overlay-nav-btn:hover{
    cursor: pointer;
}
/* --- STUDIO & FOOTER --- */
#about { 
	display: flex;
    flex-direction: row;
	justify-content: center;
	align-items: center;
	padding: 100px 10%;
    /*background: linear-gradient(#6ecedd, #0072ff);*/
    background: linear-gradient(#01112f, #1742a3);
    background: linear-gradient(87deg, rgb(0 11 28 / 95%), #450e68, #966a1a);
    background: linear-gradient(181deg, rgb(10 6 20 / 95%), #00035f);
    /*background: linear-gradient(130deg, rgb(0 11 28 / 95%), #000000, #966a1a);*/
	text-align: center;
	min-height: 100vh;
}
.section-title {
	font-size: 1.6rem;
    font-size: 3rem;
    font-weight: 500;
    margin: 20px;
    padding: 0px 0px 0px 12px;
    color: #f2f8ff;
    text-align: left;
    /* text-transform: uppercase; */
    width: 87%;
    width: 85%;
    border-left: 5px solid #800000;
    border-left: 5px solid #3c0080;
    border-left: 5px solid #3effe0;
    /* text-shadow: 0px 0px 55px #00d5ff; */
    /* text-shadow: 0px 0px 55px #5878ef; */
    /* text-shadow: 0px 0px 55px #e158ef; */
    /* text-shadow: 0px 0px 55px #7c1cb5; */
    /* text-shadow: 0px 0px 55px #b56c1c; */
}
.codex-section-sub-title{
    color: white;
    font-size: 1.2rem;
    font-weight: 800;
    text-align: center;
}
#about .section-title{
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 3rem;
    font-weight: 800;
    text-align: center;
    border-left: none;
    width: unset;
}
#about-logo{
    max-width:unset !important;
    /*border-radius: 130px;
    box-shadow: 0px 4px 10px rgb(13 45 105 / 50%);*/
    border-radius: 150px;
    box-shadow: 0px 4px 10px rgb(48 0 95 / 50%);
    box-shadow: 0px 4px 10px rgb(0 22 95 / 50%);
    /*box-shadow: 0px 4px 10px rgb(95 65 0 / 50%);*/
}
#blueprints .section-title{
    font-size: 3rem;
}
.about-text {
	max-width: 800px;
	margin: 0 auto;
	line-height: 1.4;
	font-size: 1.7rem;
	font-weight: 500;
	color: #414445;
	text-align: left;  
}

#about-text-sub-1, #about-text-sub-2{
	max-width: 800px;
	margin: 0 auto;
	line-height: 1.4;
	font-size: 1.95rem;
    font-weight: 450;
	/*color: #414445;*/
    color: #e7dcef;
    /*color: #efe9dc;*/
    text-shadow: 0px 1px 0px black;
	text-align: left;
	margin-bottom: 40px;
}
#ending-tagline{
    color: #f6e8ff;
    /*color: #e3af61;*/
    text-shadow: 0px 1px 0px black;
	font-weight: 700;
	font-size: 1.9rem;
}

footer { 
	background: #05070a;
    background: linear-gradient(1deg, rgb(100 20 127 / 95%), #450e68, #1b0339);
    background: linear-gradient(1deg, rgb(1 8 16 / 95%), #030c16, #04121e);
    background: linear-gradient(1deg, rgb(1 3 16 / 95%), #030716, #04091e);
    /*background: linear-gradient(190deg, rgb(0 11 28 / 95%), #000000, #966a1a);*/
	padding: 60px 10% 30px; 
	border-top: 1px solid rgba(255,255,255,0.05); 
}
.footer-grid { 
	display: grid; 
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); 
	gap: 40px; 
}
.footer-col h4 { margin-bottom: 20px; color: #e7e7e7;}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {     
    color: #b1dfff;
    /*color: #ffdcb1;*/ 
    text-decoration: none; transition: 0.3s; }
.footer-col ul li a:hover { color: var(--light); }
.footer-col p {
    color: #bfdcff !important;
}
.copyright { 
	text-align: center; 
	padding-top: 30px; 
	margin-top: 30px; 
	border-top: 1px solid rgba(255,255,255,0.05); 
	font-size: 0.875rem; 
	/*color: #87ceea;*/ 
    color: #bfe1ff;
    color: #e9bfff;
    color: #bfdcff;
    /*color: #ffe8bf;*/
}

.spore, .falling-ball, .wall, .tap-circle, .bone, .floating-emoji { 
	position: absolute; 
	pointer-events: none; 
	z-index: 1; 
}

.wall { 
    position: absolute; 
    border-radius: 4px; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    z-index: 2; 
    background-image: linear-gradient(335deg, rgba(0,0,0,0.3) 23px, transparent 23px);
    background-size: 58px 58px;
    border: 1px solid rgba(0,0,0,0.4);
}

.tap-circle { 
	border-radius: 50%;
    background: #dcff00;
    border: 4px solid #79b900;
}
.bone { 
	font-size: 24px; 
	color: white; 
	opacity: 0.6; 
}

.cloud {
	position: absolute;
	font-size: 3rem;
	opacity: 0.6;
	animation: drift linear infinite;
}

@keyframes drift {
	from { transform: translateX(110vw); }
	to { transform: translateX(-20vw); }
}

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

@font-face {
	font-family: 'Anton';
	src: url('Anton-Regular.ttf') format('truetype');
}

#pyramaze-logo{
	display: inline-flex;
	align-items: center; /* Centers them vertically */
	gap: 4px;
	transform: scaleX(1.2);
	transform-origin: center;
	margin-bottom: 5px;
	position: relative;
	font-size: 3.3rem;
	font-weight: 900;
	font-family: 'Anton', sans-serif;
	color: #ffcc00;
	text-transform: uppercase;
	text-shadow: 0 0 20px rgba(255, 204, 0, 0.4), 4px 4px 0px #242321;
}

#pyramaze-logo span {
	display: inline-block;
	transform-origin: center; /* Now scaling from the middle */
	transform: skewX(-5deg); /* The aggressive Doom look */
    font-family: 'Anton', sans-serif;
}

#pyramaze-logo span:nth-child(1) { transform: scaleY(1.6) skewX(0deg) translateY(-1px); }
#pyramaze-logo span:nth-child(2) { transform: scaleY(1.3) skewX(0deg) translateY(-5px); }
#pyramaze-logo span:nth-child(3) { transform: scaleY(1.2) skewX(0deg) translateY(-6px); }
#pyramaze-logo span:nth-child(4) { transform: scaleY(1.0) skewX(0deg) translateY(-10px); }
#pyramaze-logo span:nth-child(5) { transform: scaleY(1.0) skewX(0deg) translateY(-10px); }
#pyramaze-logo span:nth-child(6) { transform: scaleY(1.2) skewX(0deg) translateY(-6px); }
#pyramaze-logo span:nth-child(7) { transform: scaleY(1.34) skewX(0deg) translateY(-4px); }
#pyramaze-logo span:nth-child(8) { transform: scaleY(1.47) skewX(0deg) translateY(-3px); }

/* --- NEW FEATURES SECTIONS --- */
.feature-section {
	width: 100%;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 20px 10%;
	text-align: center;
}

.feature-section h2 {
	font-size: 5rem;
	font-weight: 900;
	text-transform: uppercase;
	margin-bottom: 20px;
	line-height: 1;
	text-shadow: 0px 2px 2px rgba(0, 0, 0, 58%);
}

.feature-section p {
	/*font-size: 1.75rem;*/
    font-size: 1.85rem;
    font-weight: 500;
	max-width: 800px;
	line-height: 1.8;
	opacity: 0.9;
	text-align: left;
}

/* Backgrounds for each section */
.bg-easy { 
	background: linear-gradient(183deg, #ffbc42, #af6d00);
	text-shadow: 0px 2px 2px rgba(0, 0, 0, 58%);
}
.bg-bite { 
	background: linear-gradient(195deg, #30c2a2, #2a6693);
	text-shadow: 0px 2px 2px rgba(0, 0, 0, 58%);
}
.bg-mobile { 
	background: linear-gradient(135deg, #93337b, #ad7644);
	text-shadow: 0px 2px 2px rgba(0, 0, 0, 58%);
}

.games-directory, .game-previews { 
    padding: 80px 3%;
    /*background: linear-gradient(112deg, rgb(0 11 28 / 95%), #450e68, #966a1a);*/
    /*background: linear-gradient(112deg, rgb(0 11 28 / 95%), #000000, #966a1a);
    background: linear-gradient(112deg, rgb(3 11 24 / 95%), #000000, #0c0327);*/
    /*background: #060211;*/
    /*background: #05070a;*/
    background: #04020a;
    background: #000410;
	text-align: center; 
    align-items: normal;
    justify-content: center;
    align-items: center;
}
.game-previews{
    /*background: linear-gradient(135deg, #092152, #021525, #010411);*/
    background: linear-gradient(#092152, #021525, #010411, #01112f);
    background: linear-gradient(311deg, rgb(0 11 28 / 95%), #450e68, #966a1a);
    background: #060211;
    background: #020511;
    /*background: linear-gradient(311deg, rgb(6 1 28 / 95%), #000000, #0a0700);*/
}
.game-cards-container, .preview-codex-container {
    display: grid;
    /* Force exactly 5 columns */
    /*grid-template-columns: repeat(4, 1fr);*/
    grid-template-columns: repeat(5, 1fr);
    /*gap: 2rem;*/
    /*gap: 32px;*/
    gap: 16px;
    gap: 6px;
    margin-top: 50px;
    width: 1565px;
    width: 1525px;
}
#dynamic-games-list-container .game-cards-container{
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
}
.catalog-card {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /*background: #1d1f21;*/
    /*background: #181d22;*/
    background: #111214;
    background: #160823;
    background: #200935;
    background: transparent;
    /*background: #111114;*/
    overflow: hidden;
    border: none;
    transition: 0.3s ease;
    width: 300px;
    border-radius: 10px;
    transition: transform 0.2s ease-out;
    /*outline: 5px solid rgba(0, 0, 0, 50%);
    box-shadow: 0px 0px 25px #070707;*/
}
.preview-card{
    transition: transform 0.2s ease-out;
}
.catalog-card img, .preview-card img{
    transition: transform 0.2s ease-out;
}
.codex-container .catalog-card{
    justify-content: flex-start;
}
.catalog-card:hover img, .preview-card:hover img{ 
	transform: scale(1.2); 
	/* border-color: var(--primary);*/ 
}

.card-preview, .codex-card-preview {
    position: relative;
    width: 300px;
    height: 300px;
    aspect-ratio: 1 / 1;
    background: #222;
    overflow: hidden;
    max-height: unset;
    border-radius: 12px;
    /*border: 1px solid #1d2430;
    border: 1px solid #1b1d21;*/
    border: 1px solid #121314;
}
#dynamic-games-list-container .catalog-card{
    width:100%;
}
#dynamic-games-list-container .card-preview{
    width:100%;
    height: auto;
}
/*.card-preview img{
	position: relative;
	width: 100%;
}*/
/* Ensure both images stack on top of each other */
.preview-static, .preview-gif {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.8s ease-in-out;
}

/* Static logo on top */
.preview-static {
  opacity: 1;
  z-index: 2;
}

/* GIF hidden underneath */
.preview-gif {
  opacity: 0;
  z-index: 1;
}

/* The Magic Swap: When active, fade the static out and the gif in */
.card-preview.is-active .preview-static {
  opacity: 0;
}

.card-preview.is-active .preview-gif {
  opacity: 1;
}
.card-body {
    position: relative;
    /*padding: 11px 10px 11px 0px;*/
    padding: 8px 10px 8px 0px;
    /*margin-bottom: 35px;*/
    margin-bottom: 38px;
    text-shadow: 0px 0px 10px black;
    background: transparent;
    bottom: 0px;
    width: 100%;
    height: auto;
    z-index: 500;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
}
.card-body h3 { 
    font-size: 1.2rem;
    font-size: 0.9rem;
    /*color: #e5d9ed;
    color: #f9f2fd;*/
    color: #f2f9fd;
    color: #e1e5e7;
    /*color: #edead9;*/
    text-align: left;
    font-weight: 600;
    text-shadow: 
    -1px -1px 0 #000,  
     1px -1px 0 #000,
    -1px  1px 0 #000,
     1px  1px 0 #000;
}

.card-body p { 
	color: #b5b5b5; 
	font-size: 0.95rem; 
	line-height: 1.5; 
	margin-bottom: 20px; 
    display:none;
}
.card-body-game-pic-and-title-container{
    position: relative;
    display: flex;
    flex-direction: row;
    padding: 0px 0px 20px;
    padding: 0px 0px 12px;
    gap: 10px;
    justify-content: flex-start;
    align-items: flex-start;
}
.card-body-title-and-genre{
    position:relative;
    display:flex;
    flex-direction:column;
    justify-content: flex-start;
    line-height: 1.25rem;
}
.card-body-genre{
    font-size: 0.75rem;
    /*color: #9991a1;*/
    color: #8f8f8f;
    color: #78868f;
    /*color: #a19d91;*/
    display: flex;
    justify-content: flex-start;
}
.card-body-game-pic, .card-body-game-pic img {
    /*width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    max-width: 50px;
    max-height: 50px;*/
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    max-width: 40px;
    max-height: 40px;
    border-radius: 12px;
}
.card-body-game-pic{
    overflow:hidden;
    box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15);
}
.card-btn, .card-install-btn { 
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 7px 11px;
    padding: 0px 0px 4px;
    background: linear-gradient(#a76dff, #802dff) !important;
    background: linear-gradient(#ffc44a, #ffb52d) !important;
    background: rgba(0, 0, 0, 50%) !important;
    background: rgb(10 24 44 / 50%) !important;
    color: white;
    text-decoration: none;
    border-radius: 7px;
    font-weight: bold;
    font-size: 0.85rem;
    width: 30%;
    min-width: 50px;
    height: 30px;
    text-align: center;
    /*border: 1px solid #3f1d75;
    border-top: 1px solid #8d5dff;*/
    transition: transform 0.3s ease-out;
    /*border: 1px solid #313131;
    border: 1px solid #101112;*/
    border: 1px solid #1b1c1c;
    border: 1px solid #0c162e;
}
.codex-story-link{
    padding: 4px 20px;
    width: 100%;
}
.card-play-btn{
    /*background: #0073c7 !important;*/
    /*background: #228ad5 !important;*/
    /*background: #229ad5 !important;*/
    /*background: #2b84e3 !important;
    background: #3f92eb !important;
    background: #4490e1 !important;
    background: #0e83ff !important;
    background: #1187eb !important;*/
    background: linear-gradient(#37a1fb, #1187eb) !important;
    background: #577ccf !important;
    background: rgb(0 0 0 / 50%) !important;
    /*border: 1px solid #003151;
    border: 1px solid #101112;*/
    border: 1px solid #1b1c1c;
    border: 1px solid #172323;
    background: rgb(10 24 44 / 50%) !important;
    border: 1px solid #0c162e;
    color: #036baf;
    color: #83b971;
    color: #0081d5;
    color: #b3b3b3;
    /*border: 1px solid hsl(196.05deg 91.9% 27.16%);*/
    /*border-top: 1px solid hsl(208.21deg 100% 70.51%);*/
    text-shadow: 0px 1px 0px black;
    padding: 1px 0px 4px;
}
.card-get-btn{
    /*background: #00990d !important;*/
    /*background: #46bb50 !important;
    background: #4dbd56 !important;
    background: #65af48 !important;
    background: #56e91d !important;
    background: #32c34a !important;*/
    background: linear-gradient(#4ed965, #32c34a) !important;
    background: #54ab5b !important;
    background: #000000 !important;
    /*border: 1px solid #004100;
    border: 1px solid #101112;*/
    border: 1px solid #1b1c1c;
    border: 1px solid #172323;
    background: rgb(10 24 44 / 50%) !important;
    border: 1px solid #0c162e;
    color: #009d00;
    color: #b3b3b3;
    /*border: 1px solid hsl(101.9deg 91.9% 27.16%);*/
    /*border-top: 1px solid hsl(101.9deg 100% 76.33%);*/
    /*border-top: 1px solid hsl(125.13deg 100% 78.92%);*/
    text-shadow: 0px 1px 0px black;
    padding: 1px 0px 4px;
}
.card-get-btn:hover{
    cursor: pointer;
}
.card-install-btn:active, .card-play-btn:active, .card-get-btn:active, .card-btn:active{
    transform: scale(0.8);
}
/* Quick specific bgs for cards */
.pyra-bg { background: linear-gradient(45deg, #a78339, #3d2200); }
.wild-bg { background: linear-gradient(45deg, var(--wild-deep), var(--wild-accent)); }

.card-actions {
	display: flex;
	flex-direction: row;
    justify-content: space-evenly;
    gap: 5%;
    width: 100%;
}
.card-actions svg{
    height: 18px;
}
.card-btn-secondary {
	border: 1px solid #17222c;
    padding: 8px 12px;
    text-decoration: none;
    color: #43a2ff;
    border-radius: 3px;
    font-weight: 700;
    font-size: 0.85rem;
    width: 30%;
    min-width: 70px;
    text-align: center;
    background: rgba(0, 0, 0, 60%);
}

.codex-section{
    background: linear-gradient(#010516, #092152);
    background: linear-gradient(154deg, rgb(0 11 28 / 95%), #450e68, #966a1a);
    background: #060211;
    background: #05070a;
    /*background: linear-gradient(154deg, rgb(6 1 28 / 95%), #000000, #9d7433);*/
}
 /* --- SECTION BASE --- */
section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 80px 3%;
    text-align: center;
}

/* --- ABOUT HERO --- */
#about-hero, #contact-hero, #tos-hero, #policy-hero {
    min-height: 40vh;
    max-height: 40vh;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(5, 7, 10, 0.2), rgba(5, 7, 10, 0.5)), linear-gradient(to bottom, #1e90ff 0%, #00fbff 100%);
    z-index: 1; /* Base layer */
}

.hero-content {
    max-width: 800px;
    position: relative;
    z-index: 10; /* Ensures text is ABOVE the falling bricks */
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

/* --- CONTENT SECTION --- */
.content-section {
    background-color: #0a0d12;
    padding: 100px 15%;
    line-height: 1.8;
    text-align: left;
    position: relative;
    z-index: 20; /* Ensure this section covers the falling bricks from the hero */
}

.content-container {
    max-width: 900px;
    margin: 0 auto;
}

.content-section h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 30px;
}

.content-section p {
    font-size: 1.1rem;
    color: #a0a0a0;
    margin-bottom: 20px;
}
.preview-grid{
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 6px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    margin-top: 50px;
    width: 1525px;
}
.preview-card{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    font-size: 1.1rem;
    font-weight: 400;
    color: #c9d9dc;
    line-height: 1.8rem;
    text-align: left;
    /*background: linear-gradient(135deg, #011622, #010d1b, #010f19);
    background: linear-gradient(135deg, #140122, #0d011b, #0f0119);*/
    background: linear-gradient(135deg, #280245, #0d011b, #0f0119);
    background: linear-gradient(135deg, #021a45, #010a1b, #010619);
    /*background: linear-gradient(135deg, #271c00, #000000, #000000);*/
    padding: 16px;
    /*border: 3px solid #1c2d3b;*/
    border: 1px solid #300057;
    border: 1px solid #002157;
    /*border: 1px solid #573600;*/
    border-radius: 12px;
    width: 300px;
}
.preview-card h3{
    text-align: center;
    font-size: 1.55rem;
    padding: 20px 0px 10px;
    color: #f1f6f9;
    line-height: 2.7rem;
}
.preview-card p{
    /*color: #93b4cc;*/
    color: #a193cc;
    color: #93a7cc;
    /*color: #ccbd93;*/
}
.preview-card-link-container{
    position:relative;
    padding: 20px 0px;
    text-align: right;
}
.preview-card a{
    color: #ffffff;
    font-weight: 500;
    /*background: #283d50;*/
    background: #3d2850;
    background: #283650;
    /*background: #504228;*/
    padding: 8px 20px;
    border-radius: 6px;
    margin: 20px 0px;
    text-decoration: none;
}

.blueprint-coming-soon{
    text-align: center;
    justify-content: flex-start;
    background: linear-gradient(135deg, #01060a, #061017, #010305);
    background: linear-gradient(135deg, #04010a, #0d0617, #030105);
    background: linear-gradient(135deg, #01050a, #060d17, #010205);
}

.origins-header { margin-bottom: 50px; border-left: 3px solid var(--accent-blue); padding-left: 20px; }
.seco-origins-header{
    border-left: 3px solid #e5bf97;
}
.blueprint-body{
    background: linear-gradient(135deg, #01070f, #000304, #000304);
    background: linear-gradient(135deg, #280345, #03030c, #000304);
}
.history-blueprint-body{
    background: linear-gradient(30deg, rgb(0 11 28 / 95%), #450e68, #966a1a);
    /*background: linear-gradient(30deg, rgb(28 16 0 / 95%), #000000, #231902);*/
}
.origins-container {
    max-width: 700px;
    margin: 80px auto;
    padding: 0 20px;
    color: #b4c7d7;
    color: #b9b4d7;
}
.history-blueprint-body .origins-container{
    color: #c7c7c7;
}
.origins-container strong{
    color: #bad2d7 !important;
}
.origins-container a{
    color: #63dbff;
    text-decoration: none;
    font-weight: 500;
}
.origins-container .play-now-btn, .origins-container .btn-back{
    color: #ffffff !important;
}
        h1 { color: var(--white); font-size: 2.5rem; margin-bottom: 10px; }
        .meta { color: var(--accent-blue); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }
.seco-meta{
    color: #e5bf97;
}
#hero-proof h1, #codex-hero-proof h1{ 
    font-family: "Bebas Neue", sans-serif;
    /*font-size: 5.5rem;*/
    /*font-size: 5.1rem;
    font-size: 4.86rem;*/
    font-size: 5.86rem;
    /*font-weight: 1000;
    font-weight: 890;*/
    font-weight: 500;
    margin: 0;
    height: 5.86rem;
    /*color: #fdf5e3;
    color: #fbf8ef;
    color: #fbf9f2;*/
    color: #f4f8f9;
    color: #fbbc0d;
    color: #d3edff;
    text-shadow: 0px 0px 20px #0085ff;
    letter-spacing: 22px;
    margin-right: -22px;
    z-index: 2;
}
.content{
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 50px;
}
        
        .content p { margin-bottom: 25px; font-size: 1.15rem;line-height: 1.75rem; }
        .content strong { color: var(--white); }

        .btn-back {
            display: inline-block;
            margin-top: 40px;
            padding: 10px 20px;
            background: #3b351e;
            color: var(--white);
            text-decoration: none;
            border-radius: 5px;
            transition: 0.3s;
        }
        .btn-back:hover { background: var(--accent-blue); }

        
        .quote{
            position: relative;
            display: flex;
            flex-direction: column;
            gap: 5px;
            background: #0b0b0b;
            border: 1px solid #14232a;
            border-radius: 12px;
            padding: 10px;
            font-size: 1.2rem;
            color: #b1c0d2;
            text-align: center;
            margin: 82px auto;
        }
        .quote-author{
            display: flex;
            justify-content: center;
            position: relative;
            float: right;
            font-size: 0.9rem;
            text-align: center;
            background: #0a0a0b;
            padding: 8px;
            border-radius: 12px;
        }
        img {
            max-width:300px;
        }
.card-preview img, .codex-card-preview img{
    max-width:unset;
}
#dynamic-games-list-container .card-preview img{
    width:100%;
    max-width: 100%;
}
#floater-studio-icon{
    width: 16px;
    height: 16px;
}
.preview-video{
    object-fit: inherit;
    /* This tells the browser: "The stuff inside this box doesn't affect the size of the rest of the page" */
    contain: content; 
    /* This tells the GPU to treat this container as a single unit */
    will-change: transform;
    width: 300px !important;
    height: 300px !important;
}
        .in-article-img{
            position:relative;
            display:flex;
            justify-content: center;
            align-items: center;
            margin: 30px 0px;
        }
        .play-btn-container{
            position:relative;
            display:flex;
            justify-content: center;
            align-items: center;
            margin: 20px;
        }
        .play-now-btn{
            position: relative;
            background: var(--accent-blue);
            color: white;
            padding: 10px 20px;
            border-radius: 12px;
            font-weight: 700;
            font-size: 1.5rem;
            text-decoration: none;
        }
#hero-carousel-slide-down-btn, #codex-slide-down-btn{
    position:absolute;
    display:flex;
    flex-direction:column;
    /*top:calc(100dvh - 60px);*/
    bottom: 0;
    z-index: 300;
    text-shadow: 0px 0px 5px #2a2626;
    /*font-size: 0.8rem;*/
    font-size: 0.75rem;
    font-weight: 700;
    /*color: #a38cff;*/
    color: #dbd6ed;
    color: #7f7aff;
    color: #898989;
    justify-content: center;
    align-items: center;
    /*background: linear-gradient(transparent, rgb(0 0 0 / 30%));*/
    width:100vw;
    height:60px;
    opacity: 20%;
}

#car-more-2{
    position: relative;
    /*border: 1px solid #8b5fff;*/
    border: 1px solid #dbd6ed;
    border: 1px solid #898989;
    transform: rotate(45deg);
    width: 15px;
    height: 15px;
    border-top: none;
    border-left: none;
    top: 1px;
}
#get-it-on-slider{
    position: fixed;
    transform: translate(-50%, 100dvh);
    transition: transform 0.2s ease-out;
    width: 50vw;
    height: 65dvh;
    z-index: 1000;
    top: 0;
    left: 50%;
    gap: 10px;
    /*background: #161717;*/
    background: #0b0b0b;
    background: rgb(1 13 23 / 95%);
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.show-get-it-on-slider{
    transform: translate(-50%, 35dvh) !important;
}
.close-get-it-on-slider{
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 2rem;
    font-weight: 400;
    transform: rotate(45deg);
}
#get-it-on-slider-game-gif{
    position: relative;
    max-width: 200px !important;
    max-height: 200px !important;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 12px;
}
#get-it-on-slider-game-title{
    font-weight: 800;
    text-align: center;
    margin: 10px 0px 30px;
}
#get-it-on-slider-btns-container{
    position:relative;
    display:flex;
    justify-content: center;
    align-items: center;
    flex-direction: row;
    gap: 25px;
    padding: 15px;
    
}
/* --- CUSTOM SCROLLBAR --- */
/* The width of the scrollbar */
::-webkit-scrollbar {
	/*width: 12px;*/
    border-radius: 24px;
    width: 6px;
}

/* The background of the scrollbar track (Rail) */
::-webkit-scrollbar-track {
    /*background: #150021;*/
    background: #060211;
    /*background: #000000;*/
    border-radius: 24px;
}

/* The moving part of the scrollbar (Scroller) */
::-webkit-scrollbar-thumb {
	/*background-color: #bfc1c2;*/
    /*background-color: #d3a7ff;*/
    /*background-color: #c7c2cb;*/
    background-color: #a4c9eb;
    background-color: #a4d1eb;
    background-color: #a4c4eb;
    /*background-color: #e4c58d;*/
	border-radius: 5px;
	/*border: 2px solid #151921;*/ /* Adds a bit of padding around the thumb */
    border-radius: 24px;
}

/* Optional: Color change on hover */
::-webkit-scrollbar-thumb:hover {
	/*background-color: #00d1d4;*/ /* A slightly darker shade of accent */
    background-color: #efbd69;
}
.card-ribbons-container{
    position: absolute;
    display: none;
    flex-direction: row;
    justify-content: flex-end;
    gap: 0;
    top: auto;
    z-index: 4;
    width: 100%;
    bottom: 0;
    left: 0;
    right: auto;
}
.mini-card-ribbon{
    position: relative;
    right: 4px;
    font-weight: 700;
    z-index: 3;
    font-size: 10px;
    background: #33ded5;
    padding: 3px 7px;
    text-shadow: 0px 3px 2px black;
    clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
    margin-left: -6px;
}
.ribbon-new{
    /*background: #33ded5;*/
    background: #38acf5;
}
.ribbon-hot{
    background: #ff861a;
}
.footer-ul-games-list, .footer-ul-codex-list{
    max-height: 250px;
    overflow-y:auto;
}
#categories-floating-btn{
    display: none;
    position: fixed;
    bottom: 50px;
    left: 50px;
    /*z-index: 1001;*/
    z-index: 900;
}
#categories-btn{
    /*background: rgb(0 0 0 / 90%);*/
    background: linear-gradient(#4fcd24, #289d00);
    background: linear-gradient(rgb(26 174 253 / 70%), rgb(10 83 173 / 70%));
    backdrop-filter: blur(4px);
    border-radius: 25px;
    padding: 6px 12px;
    border: 3px solid #63ff2e;
    text-shadow: 0px 1px 0px black;
    font-weight: 600;
    transition: transform 50ms ease-out;
}
#categories-btn:active{
    transform: scale(0.8);
}
#categories-btn, .category-name-container{
    cursor: pointer;
    user-select: none;
    font-size: 0.95rem;
    padding: 7px 10px;
    border: 1px solid #63ff2e;
    border: 1px solid #2e7aff;
}
.category-name-container{
    border:none;
}
#categories-list-container{
    position: fixed;
    display: none;
    width: 200px;
    height: auto;
    max-height: 80dvh;
    overflow: auto;
    background: rgb(0 0 0 / 95%);
    border: 1px solid #3f3f3f;
    z-index: 1000;
    top: auto;
    left: 50px;
    bottom: 101px;
    border-radius: 12px;
}
#categories-list{
    position:relative;
    display: flex;
    flex-direction:column;
    gap:5px;
    width: 100%;
}
#categories-list div{
    padding: 5px 10px;
}
.category-selected-indicator{
    padding: 0 !important;
}
.category-selected-indicator svg{
    color: #63ff2e;
    color: black;
    margin: 5px 0px 5px 10px;
}
.category-name-container{
    position:relative;
    display:flex;
    flex-direction:row;
}
.selected-category-container-indicator{
    color: #63ff2e !important;
    background: #1cff00;
    background: #63ff2e;
    color: black !important;
}
.category-game-count{
    padding: 5px 0px !important;
}
/*==========START CODEX CSS ============*/
.idea_page_misc_options_container{
    position: fixed;
    display: none;
    flex-direction: column;
    width: 54px;
    max-width: 54px;
    height: 300px;
    justify-content: space-around;
    align-items: center;
    bottom: 20px;
    color: var(--text-nav);
    background: var(--bg-misc-options-container);
    border-radius: 25px;
    padding: 5px;
    opacity: 0.89;
    left: auto;
    right: 50px;
    z-index: 2;
    text-align: center;
    font-size:0.71rem;
}
.in-codex-img-container{
    width:100%;
}
.idea_page_idea_content img{
    position: relative;
    opacity: 1;
}
.card-body-tags-and-btn-container{
    position:relative;
    display: flex;
    flex-direction:row;
    gap: 5px;
    justify-content: flex-start;
    align-items: flex-end;
}
.codex-directory .card-body h3{
    text-align: left;
    margin: 0px 7px 8px 3px;
}
.catalog-card:hover .card-body-game-title, .preview-card:hover .codex-story-title{
    /*color: #9083ff;*/
    color: #3c91bb;
}
.codex-directory .card-actions{
    width: unset;
}
.alpha_container{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: auto;
    padding: 100px 0px;
}
.beta_container{
    position: relative;
    max-width: 500px;
}
.card_dea_tags_container{
    position: relative;
    display: flex;
    gap: 20px;
    justify-content: center;
    align-items: center;
}
.idea_page_idea_title {
    font-size: 2rem;
    width: 100%;
    text-align: center;
    font-weight: 800;
}
.idea_page_idea_container{
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.idea_page_idea_content{
    display: flex;
    flex-direction: column;
    gap: 25px;
    font-size: 1.04rem;
    line-height: 1.57rem;
    letter-spacing: 0.002rem;
}
.paragraph_separator{
    width: 100%;
    text-align: center;
}
.card_idea_tags_container{
    display: inline-block;
    width: 100%;
    text-align: left;
}
/*.chapters_container{
    position: fixed;
    top: 101vh;
    width: 100%;
    height: 500px;
    overflow: hidden;
    overflow-y: auto;
    
    padding: 20px;
}*/
.chapters_container {
    will-change: transform;
    position: fixed;
	transform: translateY(101dvh); /* hidden by default */
	background: #11151b;
	width: 800px;
	transition: transform 0.4s ease-out; /* smooth transition */
    margin: 75px 0px 0px;
    padding: 20px 24px 18px;
    overflow-y: scroll;
    height: 500px;
    max-height: 50vh;
    color: var(--text-idea-card);
    display: flex;
    flex-direction: column;
    gap: 20px;
    z-index: 3;
    top: 0;
    bottom: unset;
}
.chapters_container.show_chapters {
    transform: translateY(calc(100dvh - 500px));
}
#codexMenu .card-body h3{
    font-size: 1rem;
    text-align: center;
    margin-bottom: 25px;
}
.poem_container{
    text-align: center;
    line-height: 2.2rem;
}
.chapter_title {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 2rem;
    text-align: center;
    padding: 42px 12px 18px;
}
.idea_tag {
    position: relative;
    display: inline-block;
    width: auto;
    padding: 2px 6px;
    border-radius: 25px;
    font-size: 0.75rem;
    margin: 3px;
}
.article_tag {
	color: var(--tag-text-article);
	background: var(--tag-bg-article);
}
.fantasy_tag {
	color: var(--tag-text-fantasy);
	background: var(--tag-bg-fantasy);
}
.fiction_tag {
	color: var(--tag-text-fiction);
	background: var(--tag-bg-fiction);
}
.scifi_tag {
	color: var(--tag-text-scifi);
	background: var(--tag-bg-scifi);
}
.historical_tag {
	color: var(--tag-text-historical);
	background: var(--tag-bg-historical);
}
.interactive_tag {
	color: var(--tag-text-interactive);
	background: var(--tag-bg-interactive);
}
.based_on_true_events_tag {
	color: var(--tag-text-true-events);
	background: var(--tag-bg-true-events);
}
.original_story_tag,
.original_tag {
	color: var(--tag-text-original);
	background: var(--tag-bg-original);
}
.poem_tag {
	color: var(--tag-text-poem);
	background: var(--tag-bg-poem);
}
.romance_tag {
	color: var(--tag-text-romance);
	background: var(--tag-bg-romance);
}
.science_tag {
	color: var(--tag-text-science);
	background: var(--tag-bg-science);
}
.survival_tag {
	color: var(--tag-text-survival);
	background: var(--tag-bg-survival);
}
.thoughts_tag {
	color: var(--tag-text-thoughts);
	background: var(--tag-bg-thoughts);
}
.technology_tag{
    color: var(--tag-text-technology);
	background: var(--tag-bg-technology);
}
.thriller_tag {
	color: var(--tag-text-thriller);
	background: var(--tag-bg-thriller);
}
.horror_tag {
	color: var(--tag-text-horror);
	background: var(--tag-bg-horror);
}
.lifestyle_tag {
	color: var(--tag-text-lifestyle);
	background: var(--tag-bg-lifestyle);
}
.finance_tag {
	color: var(--tag-text-finance);
	background: var(--tag-bg-finance);
}
.bottom_more_info{
    padding: 30px 0px;
    display: flex;
    flex-direction: column;
    font-style: italic;
    gap: 10px;
}
.idea_page_save_btn{
    display:none;
}
/*==========END CODEX CSS ============*/

@media (max-width: 600px) {
            .origins-container {
                margin: 120px auto;
            }
            h1 { font-size: 1.8rem; }
        }

@media (max-width: 768px) {
    header{
        width: 100vw;
        /*backdrop-filter: blur(7px);*/
    }
    nav{
        gap: 0;
        flex: 1;
        justify-content: space-evenly;
    }
    .logo{
        font-size: 1rem;
        display: flex;
        /*text-shadow: 0px 0px 0px #a9805f;
        text-shadow: 0px 0px 0px #101624;
        text-shadow: 0px 0px 0px #241b10;*/
        text-shadow: 0px 0px 0px #a58765;
        justify-content: center;
        align-items: center;
        height: 1rem;
        padding: 2px 0px 0px;
    }
    .dropdown-content.active{
        padding: 50px 0px 100px;
    }
    .dropdown, #nav-codex-btn{
        display: flex;
    justify-content: center;
    align-items: center;
    }
    #codexMenu.active {
        padding: 50px 10px 100px;
    }
	.hamburger { 
		display: flex;
		right: 20px;
	}
    .hamburger span{
        background: #51380a;
        background: #c6a072;
        /*background: #cdab74;*/
    }
	.nav-links { 
		position: fixed; 
		top: 0; 
		right: -100%; 
		height: 100vh; 
		width: 100%; 
		background: var(--dark); 
		flex-direction: column; 
        justify-content: flex-start;
        align-items: flex-start;
        transition: 0.4s ease;
        z-index: 1000;
        padding: 100px 20px;
	}
	.nav-links.active { right: 0; }
	.nav-links a, .dropbtn { 
        margin: 15px 0; font-size: 0.8rem; /*color: #cdab74;*/
    }
	.dropdown-content { 
		position: fixed; 
		padding:2vw; 
		box-shadow: none; 
		border-bottom: none; 
		border-top: 1px solid var(--primary); 
        padding-bottom: 100px;
	}
    .hero-carousel, #codex-hero-section{
        /*height: 83vh;
        min-height: 83vh;*/
        /*height: 75vh;
        min-height: 75vh;*/
        z-index: 900;
    }
    .hero-slide{
        
    }
	#quasar-slide h1, #pyra-slide h1, #wild-slide h1, #half-slide h1, #slash-slide h1, #tapper-slide h1, #boy-slide h1, #pairplate-slide h1{ 
		font-size: 3rem; 
	}
    #wild-slide h1, #percentofpie-slide h1{
        font-size: 2.3rem;
    }
    #balltoy-slide h1{
        font-size: 3rem;
    }
	#pyra-slide h1{ font-size: 3.7rem; }
	#bin-master-slide h1{ font-size: 2.5rem; }
    #lessthan-slide h1{
        font-size: 2rem;
        width: 253px;
    }
	#doodle-bird-slide h1{ font-size: 4rem; }
	.info-content h3 { font-size: 2rem; }
	.selection-bar { 
        width: 100vw;
        height: 85px;
        left: 0;
        bottom: 0;
        justify-content: flex-start; 
        padding: 4px 5%;
        gap: 10px;
    }
    .sel-card {
        min-width: 125px;
        height: 100%;
    }
    .sel-card h3 {
        font-size: 0.8rem;
        position: relative;
        z-index: 2;
        pointer-events: none;
    }
	.btn-play { 
		position: relative; 
		z-index: 10;
		padding: 15px 45px;
		font-size: 0.8rem;
		font-weight: 900;
		transition: 0.3s;
		border-radius: 50px;
		display: inline-block;
		text-decoration: none;
	}
    #doodle-bird-slide .btn-play, .sel-doodle-bird h3{
        font-size: 1.2rem;
    }
    #bird{
        top: -19px;
        left: 74%;
    }
    @keyframes idle-float {
        0%, 100% {
            /* Start at your base transform */
            transform: scale(1) rotate(-15deg) translateY(0px);
        }
        50% {
            /* Move up slightly and level out the angle slightly */
            transform: scale(1) rotate(-10deg) translateY(-15px);
        }
    }
	.hero-tagline{ 
        /*font-size: 1rem;*/
        font-size: 0.8rem;
        font-weight: 200;
        margin: 6px 0px;
        letter-spacing: 3.45px;
        margin-right: -3.45px;
    }
    .codex-hero-tagline{
        /*font-size: 1.22rem;*/
        font-size: 1.06rem;
    }
    #codex-proof-count-container {
        width: 80%;
    }
    #lessthan-slide .hero-tagline{
        font-size: 1rem;
    }
    #lessthan-slide .btn-play{
        font-size: 0.65rem;
    }
    
	.feature-section h2{ font-size: 3rem; }
	.feature-section p{
		font-size: 1.4rem;
		max-width: 800px;
		line-height: 1.75;
		opacity: 0.9;
	}
    #get-it-on-slider{
        width:100vw;
    }
    #categories-floating-btn, #categories-list-container{
        left: 10px;
        bottom: 75px;
    }
    #coming-soon-on-google-play-btn{
        height: 95%;
        min-width: 158px;
        font-size: 0.85rem;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 4px;
    }
    #categories-floating-btn{
        bottom: 20px;
    }
    #categories-btn, .category-name-container{
        font-size: 0.85rem;
        padding: 7px 8px;
    }
	#about{ flex-direction: column; }
	.section-title, #blueprints .section-title { 
        font-size: 1.3rem;
        margin: 20px 0px;
        width: 100%;
    }
	#about-logo{ 
        max-width:80vw !important;
        border-radius: 92px;
    }
    #about-text-sub-1, #about-text-sub-2{
        font-size: 1.45rem; 
    }
    #about-hero, #contact-hero, #tos-hero, #policy-hero{
        padding-top: 150px;
    }
    #about-hero h1, #contact-hero h1, #tos-hero h1, #policy-hero h1{
        font-size: 2rem;
    }
    #about-hero .hero-tagline, #contact-hero .hero-tagline, #tos-hero .hero-tagline, #policy-hero .hero-tagline{
        font-size: 1rem;
    }
    #hero-proof{
        padding: 6vh 10px 10px;
        padding: 4vh 10px 10px;
        /*background: linear-gradient(30deg, rgb(0 11 28 / 100%), #450e68, #966a1a);*/
        text-shadow: 0px 2px 1px #352909;
    }
    #hero-proof h1, #codex-hero-proof h1 {
        /*font-size: 2.5rem;
        height: 2.5rem;*/
        /*font-size: 2.6rem;
        height: 2.6rem;*/
        font-size: 3.3rem;
        height: 3.3rem;
        letter-spacing: 8px;
        margin-right: -8px;
    }
    #proof-count-container{
        /*margin: 5vh 0px 6vh;*/
        margin: 5vh 0px 5vh;
        gap: 0;
        width: 85%;
        width: 87%;
    }
    #playstore-count-and-btn-container, #amazon-count-and-btn-container, #developer-count{
        min-width: 28%;
        flex: 1;
    }
    .proof-count {
        font-size: 1.7rem;
        font-size: 2.2rem;
    }
    .proof-count-sub1 {
        font-size: 0.75rem;
        font-size: 0.72rem;
    }
    .proof-count-sub2 {
        /*font-size: 1rem;*/
        /*font-size: 0.9rem;
        font-size: 0.87rem;
        font-size: 0.84rem;*/
        font-size: 0.82rem;
        font-weight: 500;
    }
    .proof-count-developer{
        /*font-size: 0.9rem;
        font-size: 0.87rem;
        font-size: 0.84rem;*/
        font-size: 0.82rem;
        font-weight: 500;
    }
    .get-it-on-btn-container{
        flex-direction: row;
        gap: 28px;
    }
    .games-directory, .game-previews{
        padding: 50px 10px;
    }
    .get-it-on-btn-container img, .get-on-amazon-app-store-btn, #get-it-on-slider-google-play-btn img, #get-it-on-slider-amazon-appstore-btn img{
        /*height: 6vh;*/
        /*height: 5.4vh;*/
        height: 5.2vh;
    }
    .game-cards-container, .preview-grid, .preview-codex-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 7px;
        width:100%;
        margin-top: 8px;
    }
    #get-it-on-slider-btns-container {
        flex-direction: row;
    }
    #explore-our-games-btn{
        font-size: 1rem;
        margin-top: 0;
    }
    .catalog-card{
        width: 46.3vw;
        max-width: 46.3vw;
        width: 100%;
        max-width: 100%;
        border-radius: 12px;
        /*outline: 3px solid rgba(0, 0, 0, 50%);*/
    }
    .card-body{
        padding: 8px 8px 10px;
        padding: 5px 8px 10px;
        margin-bottom: 10px;
    }
    .card-body h3{
        font-size: 0.81rem;
        font-weight: 450;
    }
    .card-body-genre {
        font-size: 0.7rem;
    }
    .card-body-game-pic-and-title-container{
        padding: 0px 0px 8px;
        align-items: center;
        gap: 6px;
    }
    .card-body-game-pic, .card-body-game-pic img {
        width:30px;
        height:30px;
        min-width: 30px;
        min-height: 30px;
        max-width: 30px;
        max-height: 30px;
    }
    .card-body-title-and-genre{
        line-height: 1.1rem;
    }
    .card-btn, .card-btn-secondary, .card-install-btn{
        /*padding: 12px 11px;*/
        /*padding: 14px 11px;*/
        padding: 12px 9px;
        font-size: 0.7rem;
        height: 24px;
        width: 38%;
        min-width: 41px;
        z-index: 9;
    }
    .preview-card{
        gap:10px;
        width: unset;
    }
    .preview-card h3{
        padding: 0;
        font-size: 1.1rem;
        line-height: 1.5rem;
    }
    .preview-card p{
        font-size: 0.85rem;
        line-height: 1.23rem;
    }
    .preview-card-link-container{
        padding:0;
        font-size: 0.7rem;
    }
    .card-preview, .codex-card-preview{
        width: 100%;
        height: 100%;
    }
    .preview-video{
        object-fit: inherit;
        width: 100% !important;
        height: 100% !important;
    }
    .floater-btn-title{
        display:none;
        user-select: none;
    }
    .floater-scroller-btn{
        position: relative;
        display: flex;
        flex-direction: row;
        gap: 5px;
        background: #1c1129;
        border: 1px solid #2d2633;
        background: #111a29;
        border: 1px solid #262b33;
        padding: 3px;
        border-radius: 100%;
        width: 28px;
        height: 28px;
        user-select: none;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }
    #scroll-to-the-studio{
        padding: 0;
    }
    #the-studio-icon{
        display:flex;
    }
    #floater-studio-icon{
        width: 100%;
        height: 100%;
    }
    #stories-list-icon{
        margin-top: -3px;
    }
    #blueprints-list-icon{
        display: flex;
        margin-top: -5px;
        margin-left: 4px;
    }
    #floating-nav{
        z-index: 500;
        right: 10px;
        bottom: 15px;
        top: unset;
        transform: unset;
        user-select: none;
    }
    
    
    /*=========START DYNAMIC GAME OVERLAY===========*/
    
    
    #dynamic-game-container{
        width: 100vw;
    }
    #dynamic-games-list-container{
        position: fixed;
        transform: translateX(100vw);
        width: 88vw;
        background: black;
        transition: transform 0.2s ease-out;
        padding: 10px 10px;
    }
    #dynamic-game-overlay-close-btn{
        display:none;
    }
    #mobile-toggle-dynamic-list-btn{
        display: flex;
        justify-content: center;
        align-items: center;
        position: fixed;
        right: 0;
        /*bottom: 100px;*/
        top: 20vh;
        width: 30px;
        width: auto;
        height: 40px;
        background: rgba(0, 0, 0, 80%);
        z-index: 3;
        border-top-left-radius: 12px;
        border-bottom-left-radius: 12px;
        transition: 0.2s ease-out;
    }
    #mobile-toggle-arrow-icon{
        margin-right: -7px;
        z-index: 4;
        color: #97b9ff;
    }
    #mobile-toggle-studio-icon {
        width: 26px;
        height: 26px;
    }
    .mobile-show-games-list{
        transform: translateX(10vw) !important;
        transform: translateX(6vw) !important;
    }
    .move-toggle-games-list-btn{
        right: 84vw !important;
        right: 87vw !important;
    }
    #dynamic-games-list-container .get-it-on-btn-container{
        margin: 0;
        gap: 7%;
    }
    #dynamic-games-list-container .get-it-on-btn-container img{
        height: 39px;
    }
    /*=========END DYNAMIC GAME OVERLAY=================*/
    
    /*==========START MOBILE CODEX CSS==========*/
    #codex-section{
        padding: 50px 10px;
    }
    .alpha_container{
        width:100vw;
        padding: 100px 25px;
    }
    .beta_container{
        width: 100%;
    }
    .idea_page_misc_options_container{        
        flex-direction: column;
        font-size: 0.8rem;
        bottom: 0px;
        right: 0;
        width: 70px;
        max-width: unset;
        height: 175px;
        border-top-right-radius: 0px;
        border-bottom-right-radius: 0px;
        border-bottom-left-radius: 0;
    }
    .card-body-tags-and-btn-container{
        text-align: center;
    }
    .card_dea_tags_container{
        width: 100%;
        max-width: unset;
        display: block;
    }
    .idea_page_tags_title, .idea_tag{
        position: relative;
        display: inline-block;
        margin: 4px;
        font-size: 0.67rem;
        padding: 1px 4px;
        margin: 0px;
    }
    .chapters_container{
        width:100vw;
        bottom: 0;
        top: auto;
    }
    .chapters_container.show_chapters {
        transform: translateY(0vh);
    }
    .chapter_title {
        font-size: 1.2rem;
    }
    .codex-directory .card-body h3, #codexMenu .card-body h3 {
        font-size: 0.8rem;
        margin-bottom: 5px;
    }
    #codexMenu .card-actions{
        margin-top:5px;
        justify-content: flex-end;
    }
    
    #codexMenu .idea_tag{
        font-size: 0.7rem;
        padding: 1px 4px;
        margin: 0px;
    }
    .card_idea_tags_container{
        text-align: left;
    }
    /*==========END MOBILE CODEX CSS==========*/
    
    
    ::-webkit-scrollbar {
        width: unset;
        border-radius: unset;
    }

    /* The background of the scrollbar track (Rail) */
    ::-webkit-scrollbar-track {
        background: unset; /* Slightly lighter than the body background */
        border-radius: unset;
    }

    /* The moving part of the scrollbar (Scroller) */
    ::-webkit-scrollbar-thumb {
        border: unset; /* Adds a bit of padding around the thumb */
        border-radius: unset;
    }

    /* Optional: Color change on hover */
    ::-webkit-scrollbar-thumb:hover {
        background-color: unset; /* A slightly darker shade of accent */
    }
}
