@import url('/assets/css/themes.css');

#particles-js {
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: -1;
	top: 0;
	left: 0;
}  

body {
	background-color: var(--bg-color);
	font-family: var(--font);
	color: var(--text-color);
	text-align: center;
	margin: 0;
	padding: 0;
	overflow-x: hidden;
}

.glowing-text {
	color: var(--text-color);
	font-size: 3rem;
	text-align: center;
	text-shadow: 
	  0 0 5px var(--text-color), 
	  0 0 10px var(--text-color), 
	  0 0 20px var(--text-color), 
	  0 0 40px var(--text-color);
	animation: glow 2s infinite alternate;
  }
  
  @keyframes glow {
	from {
	  text-shadow: 
		0 0 5px var(--text-color), 
		0 0 10px var(--text-color), 
		0 0 20px var(--text-color), 
		0 0 40px var(--text-color);
	}
	to {
	  text-shadow: 
		0 0 10px var(--text-color), 
		0 0 20px var(--text-color), 
		0 0 30px var(--text-color), 
		0 0 50px var(--text-color);
	}
  }

.banner {
	width: 100%;
	height: calc(100vh - -100px);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: none;
	color: var(--text-color);
	position: relative;
	font-family: var(--font);
}

#uv-form {
	margin-top: 10px;
}

.form__input {
	padding: 10px;
	font-size: 16px;
	border: 2px solid var(--border-color);
	border-radius: 50px;
	width: 300px;
	text-align: center;
	color: var(--text-color);
	background: var(--input-bg);
	font-family: var(--font);
}

#dynamic-text {
	cursor: pointer;
	transition: opacity 0.3s ease;
}

.scroll-down-btn {
	opacity: 0.5;
	position: absolute;
	bottom: 20px;
	background-color: transparent;
	border: none;
	color: var(--text-color);
	font-size: 24px;
	cursor: pointer;
}

.navbar {
	position: fixed;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 70%;
	height: 40px;
	max-width: 1200px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: rgba(0, 0, 0, 0.3);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	color: white;
	padding: 10px 20px;
	z-index: 1000;
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 15px;
	border: none;
}

.navbar-left {
	display: flex;
	align-items: center;
}

.logo {
	width: 40px;
	height: 40px;
	margin-right: 20px;
	transition: transform 0.3s ease;
	border-radius: 1000px;
}

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

.navbar-right {
	display: flex;
}

.nav-link {
	text-decoration: none;
	color: white;
	padding: 10px 15px;
	transition: background-color 0.3s ease;
	border-radius: 10px;
}

.nav-link:hover {
	background-color: var(--border-color);
}

#searchBar {
	display: flex;
	margin: 0 auto 20px;
	padding: 10px;
	width: 50%;
	border-radius: 50px;
	border: 2px solid var(--border-color);
	background-color: var(--input-bg);
	color: var(--text-color);
}

.button-container,
.container-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px;
	margin: 0 100px;
}

.filter-button {
	padding: 15px 25px;
	font-size: 16px;
	border: 2px solid var(--border-color);
	margin: 3px;
	cursor: pointer;
	background-color: var(--input-bg);
	color: var(--text-color);
	border-radius: 50px;
	transition: 0.3s;
}

.filter-button:hover {
	background-color: #555;
}

.container,
#games-container {
	margin: 20px auto 0;
	max-width: 1200px;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}

.game-box {
	background: var(--box-bg);
	border: 2px solid var(--border-color);
	padding: 7px;
	width: 170px;
	border-radius: 10px;
	text-align: center;
	transition: 0.2s ease-in-out;
	position: relative;
	overflow: hidden;
}

.game-box:hover {
	transform: translateY(-5px);
}

.game-box a {
	text-decoration: none;
	color: var(--text-color);
	display: block;
	position: relative;
}

.loader {
	width: 40px;
	height: 40px;
	border: 5px solid rgba(255, 255, 255, 0.3);
	border-top: 5px solid var(--text-color);
	border-radius: 50%;
	animation: spin 1s linear infinite;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

@keyframes spin {
	0% { transform: translate(-50%, -50%) rotate(0deg); }
	100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.game-box img {
	width: 170px;
	height: 170px;
	object-fit: cover;
	display: block;
	border-radius: 10px;
	opacity: 0;
	transition: opacity 0.3s ease-in-out;
}

.game-title {
	padding: 10px;
	text-align: center;
	font-weight: bold;
}

.container-frame {
	display: flex;
	align-items: flex-start;
}

iframe {
	margin-left: 5vh;
	width: 70vw;
	height: 75vh;
	border: none;
	border-top-left-radius: 15px;
	border-top-right-radius: 15px;
}

.controls {
	margin-left: 5vh;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	width: 70vw;
	gap: 5px;
	background: var(--box-bg);
	border-left: 2px solid var(--border-color);
	border-right: 2px solid var(--border-color);
	border-bottom: 2px solid var(--border-color);
	border-bottom-left-radius: 15px;
	border-bottom-right-radius: 15px;
}

.controls button {
	padding: 10px;
	font-size: 20px;
	background-color: transparent;
	color: var(--text-color);
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: color 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
}

.controls button:hover {
	color: var(--hover-color);
}

.ad-box-iframe {
	margin-right: 3.5vw;
	width: 20vw;
	height: 75vh;
	background: var(--box-bg);
	border: 2px solid var(--border-color);
	position: absolute;
	right: 0;
	top: 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	overflow: hidden;
}

.ad-box-iframe iframe {
	margin-right: 2.5vw;
	width: 160px !important;
	height: 300px !important;
	border: none;
}

.image-link {
	display: inline-block;
}

.image {
	border: none;
	width: 300px;
	height: 200px;
	transition: transform 0.3s ease;
	border-radius: 15px;
}

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

hr {
	border: none;
	height: 2px;
	background-color: var(--text-color);
	margin: 40px auto;
	width: 50%;
}

h1 {
	font-size: 3rem;
	margin: 10px;
}

.bar {
	margin: 0 auto;
	width: 70vw;
	height: 80px;
	background-color: var(--border-color);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--text-color);
	border: none;
	border-radius: 8px;
}

a {
	text-decoration: none;
}

.my-container {
	display: flex;
	flex-direction: column;
	gap: 30px;
	width: 50vw;
	margin: 0 auto;
}

.my-box {
	background-color: var(--box-bg);
	padding: 20px;
	color: var(--text-color);
	text-align: center;
	border: 2px solid var(--border-color);
	border-radius: 50px;
}

.ad-container {
	position: relative;
	width: 728px;
	height: 90px;
	margin: 0 auto;
	padding: 0;
	overflow: hidden;
}

.ad-container iframe {
	display: block;
	width: 728px !important;
	height: 90px !important;
	margin: 0 !important;
	padding: 0 !important;
	border: none !important;
}

.image-container {
    position: relative;
    display: inline-block;
    margin: 5px;
}

.image-container img {
    width: 170px;
    height: 170px;
    border: none;
    border-radius: 10px;
    transition: transform 0.2s ease, filter 0.2s ease;
	margin: 15px;
}

.image-container img:hover {
    transform: scale(1.1);
}

* {
	scrollbar-width: thin;
	scrollbar-color: var(--scroll-thumb) var(--scroll-track);
}

*::-webkit-scrollbar {
	width: 4px;
}

*::-webkit-scrollbar-track {
	background: var(--scroll-track);
}

*::-webkit-scrollbar-thumb {
	background-color: var(--scroll-thumb);
	border-radius: 10px;
}

::selection {
	background-color: var(--highlight-bg);
	color: var(--highlight-text);
}
