/* Global Styles */
:root {
  --primary-color: #00b8a9;
  --dark-bg: #121212;
  --light-text: #ffffff;
}

* {
  border-radius: 0 !important;
}

body {
  font-family: "Lab Grotesque", "Roboto", sans-serif;
  font-weight: 300;
  background-color: #f8f9fa;
  color: #333;
  overflow-x: hidden;
  min-height: calc(100vh - 100px);
}

.alert {
  border-radius: var(--bs-alert-border-radius) !important;
}

.logo {
  height: 40px;
}

/* Navigation */
.navbar {
  padding: 15px 0;
}

.navbar-dark .navbar-nav .nav-link {
  color: var(--light-text);
  margin: 0 10px;
}

.login-btn .nav-link,
.logout-btn .nav-link {
  color: var(--primary-color) !important;
}

/* Hero Carousel */
.game-showcase {
  position: relative;
  background: var(--dark-bg);
}

.carousel-item {
  height: 600px;
  background-color: var(--dark-bg);
}

.carousel-item img {
  object-fit: cover;
  height: 600px;
}

.carousel-caption {
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  bottom: 50%;
  transform: translateY(50%);
  left: 10%;
  right: 10%;
  padding: 0;
}

.game-info {
  padding: 20px;
  background-color: rgba(5, 5, 5, 0.6);
  max-width: 50%;
}

.game-logo {
  max-width: 40%;
  max-height: 250px;
}

.highlight-text {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.game-info .highlight-text {
  font-weight: normal;
}

.card-title.highlight-text {
  font-weight: normal;
}

.btn {
  border-radius: 32px !important;
}

.teal-btn {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  padding: 10px 30px;
  margin-top: 1rem;
}

.teal-btn:hover {
  background-color: #009b8e;
  border-color: #009b8e;
}

.custom-indicators {
  bottom: 20px;
}

.carousel-indicators [data-bs-target] {
  width: 30px;
  height: 3px;
  border-radius: 4px;
  background-color: #fff;
  opacity: 0.5;
  border: none;
  transition: opacity 0.3s ease;
}
.carousel-btn {
  width: 40px;
  height: 8px;
  border-radius: 4px;
  background-color: #fff;
  opacity: 0.5;
  border: none;
  transition: opacity 0.3s ease;
}

.carousel-indicators .active {
  opacity: 1;
  background-color: #ffff;
}

/* Featured Games */
.featured-games {
  background-color: #f8f9fa;
  padding: 60px 0;
}

.game-card {
  margin-bottom: 30px;
  padding-left: 40px;
  padding-right: 40px;
}

.card {
  border: none;
  border-radius: 8px;
  overflow: visible;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  background-color: #fff;
}

.card .position-relative {
  overflow: visible;
}

.card .card-img-top {
  transition: transform 0.3s ease;
}

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

.featured-tag {
  position: absolute;
  border-radius: 3px;
  top: 10px;
  right: -20px;
  background-color: #11bdba;
  color: white;
  padding: 6px 12px;
  font-size: 14px;
  font-weight: 400;
  text-transform: capitalize;
  z-index: 999;
}

.card-title {
  font-size: 1.5rem;
  margin: 15px 0;
  color: var(--primary-color);
}

.gridcard .card-title {
  font-size: 20px;
  font-weight: 200;
  text-transform: uppercase;
  color: var(--dark);
}

.game-grid-item a {
  text-decoration: none;
  color: inherit; /* Optional: Keeps the text color consistent, avoiding default link blue */
}

.dotline {
  display: block;
  width: 120px;
  margin: 20px auto;
}

.card-text {
  color: #666;
  font-size: 0.9rem;
}

/* Roadmap Section */
.roadmap-section {
  background-color: var(--dark-bg);
  color: var(--light-text);
}

.roadmap-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  z-index: 1;
}

.roadmap-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

.roadmap-full {
  background-color: var(--primary-color);
  padding: 40px 0;
}

.section-title {
  margin-bottom: 15px;
  font-size: 1.8rem;
}

/* Game Catalogue Section */
.game-catalogue {
  background-color: var(--dark-bg);
  color: var(--light-text);
}

.catalogue-bg {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 60px 0;
  position: relative;
  z-index: 1;
}

.catalogue-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
}

/* All Games Section */
.all-games {
  padding: 50px 0;
  background-color: #f8f9fa;
}

.search-bar {
  display: flex;
  max-width: 300px;
  position: relative;
}

.search-btn {
  background-color: var(--primary-color);
  color: white;
  border: none;
  position: absolute;
  right: 0;
  top: 0;
  height: 100%;
  border-radius: 0 !important;
}

/* Game Grid */
#game-grid {
  margin-top: 40px;
}

.game-grid-item {
  margin-bottom: 30px;
}

.game-grid-item .card-body {
  /*padding: 15px;
    padding-top: 5px;*/
  text-align: center;
}

.game-grid-item .card-title {
  font-size: 1.2rem;
  margin: 10px 0;
}

/* Footer */
footer {
  background-color: var(--dark-bg);
  padding: 20px 0;
}

footer a {
  text-decoration: none;
  color: var(--primary-color);
}

/* Login page */

.login-container {
  position: relative;
  width: 100%;
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.background-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.login-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 400px;
}

.login-game-logo {
  margin-bottom: 20px;
  width: 80%;
  max-width: 300px;
}

.login-form-container {
  background-color: rgba(0, 0, 0, 0.8);
  border-radius: 10px;
  padding: 25px;
  width: 100%;
}

.relax-logo {
  text-align: center;
}

.relax-logo img {
  width: 180px;
}

.form-control {
  background-color: #fff;
  border: none;
  color: #333;
  padding: 12px;
  height: auto;
}

.form-control::placeholder {
  color: #aaa;
}

.contact-form-message {
  color: #000;
  background-color: #fff;
  border: 1px solid #aaa;
  min-height: 256px;
  width: 100%;
}

.forgot-password {
  color: #aaa;
  text-decoration: none;
  font-size: 14px;
}

.forgot-password:hover {
  color: #fff;
}

.btn-login {
  background-color: #00b8b0;
  color: white;
  border: none;
  padding: 10px;
  transition: background-color 0.3s;
}

.btn-login:hover {
  background-color: #00a29a;
  color: white;
}

.no-account {
  color: #aaa;
  margin-bottom: 5px;
  font-size: 14px;
}

.request-link {
  color: #fff;
  text-decoration: none;
}

.request-link:hover {
  text-decoration: underline;
}

.affiliates-link {
  color: #00b8b0;
  text-decoration: none;
  font-size: 14px;
}

.affiliates-link:hover {
  text-decoration: underline;
}

.game-overview-item {
  color: #525252;
  background: #ebebeb;
  font-size: 14px;
}

.game-overview-item .title {
  font-weight: 400;
  text-transform: uppercase;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 12px;
}

.game-overview-item .specifier {
  text-transform: uppercase;
  font-size: 10px;
}

.game-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  /*max-width: 1200px; /* Optional: limit max size */
  margin: 0 auto; /* Center the container */
}

.game-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0; /* Remove iframe border */
}

.editorsection {
  border: 1px solid #eee;
  padding: 8px;
  margin: 8px 0;
}

.editorsection .form-control {
  color: #000;
  background-color: #fff;
  border: 1px solid #aaa;
}

.editorsection textarea {
  min-height: 300px;
  overflow: auto;
  resize: vertical;
}

.editorsection-title {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 8px;
}

.editorsection .btn {
  text-transform: capitalize;
  min-width: 160px;
}

.editorsection .files .btn {
  min-width: 0px;
  color: #00b1a9;
  background-color: transparent;
}

.asset-editor-divider {
  background: repeating-linear-gradient(
    135deg,
    #ffd600,
    #ffd600 10px,
    black 10px,
    black 20px
  );
  margin: 16px 0;
  padding: 8px;
}

.asset-editor-divider > span {
  background: #000;
  opacity: 0.9;
  color: #ffd600;
  font-weight: 400;
  padding: 2px 10px;
}
