@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Lexend", sans-serif;
}

body {
  background: #0f0f0f;
  color: white;
}

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 80px;
  height: 100vh;
  background: #121212;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
  z-index: 1000;
}

.logo {
  margin-bottom: 30px;
}

.logo img {
  width: 45px;
  height: 45px;
  border-radius: 100%;
  object-fit: contain;
}

.nav-link {
  width: 100%;
  height: 55px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #cfcfcf;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-link i {
  font-size: 1.3rem;
}

.nav-link:hover {
  background: #1f1f1f;
  color: white;
}

.nav-link.bonus i {
  color: #827aa5;
} 

.content {
  margin-left: 80px;
  padding: 40px 60px;
}

.home {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.home-logo {
  width: 700px;
  height: 200px;
  margin-bottom: 20px;
  border-radius: 15px;
  object-fit: cover; 
}

.search-box {
  margin-top: 20px;
  position: relative;
}

.search-box input {
  width: 100%;
  padding: 16px 50px 16px 20px;
  border-radius: 12px;
  border: none;
  outline: none;
  background: #1b1b1b;
  color: white;
  font-size: 1rem;
}

.search-box i {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #888;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 20px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.card {
  background: #161616;
  border-radius: 14px;
  padding: 25px;
  transition: transform 0.2s ease, background 0.2s ease;
  cursor: pointer;
  text-align: center;
}

.card:hover {
  background: #1f1f1f;
  transform: translateY(-6px);
  color: white;
}

.card i {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #cfcfcf;
}

.card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
}

.card p {
  margin-top: 10px;
  font-size: 0.95rem;
}

.infocard {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.infocard a.clickable-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #161616;
  border-radius: 14px;
  padding: 25px;
  transition: transform 0.2s ease, background 0.2s ease;
  cursor: pointer;
  text-align: center;
  text-decoration: none; 
  color: inherit; 
}

.infocard a.clickable-card:hover {
  background: #1f1f1f;
  transform: translateY(-6px);
  color: white;
}

.clickable-card i {
  font-size: 1.8rem;
  margin-bottom: 10px;
  color: #cfcfcf;
}

.clickable-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 10px;
}

.clickable-card p {
  margin-top: 10px;
  font-size: 0.95rem;
}

.game-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.75);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.game-window {
  width: 92%;
  height: 92%;
  background: #0f0f0f;
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.game-header {
  height: 60px;
  background: #121212;
  display: flex;
  align-items: center;
  padding: 0 16px;
  gap: 12px;
}

.game-header img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.game-header span {
  flex-grow: 1;
  font-size: 1.1rem;
}

.overlay-controls button {
  background: #1e1e1e;
  border: none;
  color: white;
  padding: 8px 12px;
  border-radius: 8px;
  cursor: pointer;
}

.overlay-controls button:hover {
  background: #2b2b2b;
}

.game-window iframe {
  flex-grow: 1;
  width: 100%;
  border: none;
}

.settingsbox {
  width: 100%;
  max-width: 1000px;
  background: #161616;
  border-radius: 16px;
  padding: 28px;
  margin: 30px auto;
}

.settingsbox h2 {
  margin: 0 0 10px;
  font-size: 1.4rem;
  font-weight: 600;
}

.settingsbox p {
  margin: 0;
  color: #bdbdbd;
  line-height: 1.6;
}

.settingsbox .box-actions {
  margin-top: 18px;
  display: flex;
  gap: 12px;
}

.settingsbox button {
  background: #2a2a2a;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
}

.settingsbox button:hover {
  background: #3a3a3a;
  transform: translateY(-1px);
}

.settingsbox .secondary {
  background: transparent;
  border: 1px solid #333;
}

#presetSelect {
  width: 100%;
  max-width: 300px;
  padding: 10px 16px;
  background: #1a1a1a;
  color: white;
  border: 1px solid #333;
  border-radius: 8px;
  font-size: 14px;
}

.ad-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin: 10px 0;
}

::selection {
    background: #000;     
    color: #fff;           
}

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;     
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #1a1a1a;    
    border-radius: 10px;
    transition: background 0.3s ease, transform 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
    background: #333;        
    transform: scale(1.1);
}

* {
    scrollbar-width: thin;
    scrollbar-color: #1a1a1a #0a0a0a;  
}
