/* Reset and base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #181818;
  color: #f0f0f0;
  min-height: 100vh;
}

/* Top Navigation Bar */
.top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #000 !important;
  padding: 0 48px;
  height: 80px;
  box-shadow: 0 2px 8px #0008;
  position: sticky;
  top: 0;
  z-index: 100;
}
.logo {
  font-size: 2.4em;
  font-weight: 900;
  color: #fff;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-right: 32px;
}
.nav-links {
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-link, .settings-btn {
  display: flex;
  align-items: center;
  height: 38px;
}
.nav-link {
  color: #fff;
  text-decoration: none;
  font-size: 1.1em;
  font-weight: 600;
  transition: color 0.18s;
  position: relative;
}
.nav-link::after {
  content: '';
  display: block;
  width: 0;
  height: 2px;
  background: #e11d48;
  transition: width 0.2s;
  position: absolute;
  left: 0;
  bottom: -4px;
}
.nav-link:hover {
  color: #e11d48;
}
.nav-link:hover::after {
  width: 100%;
}
.settings-btn img {
  width: 38px !important;
  height: 38px !important;
  object-fit: contain;
  display: block;
  margin-bottom: 0;
}
.nav-links .social-icon img, .nav-links .nav-link img {
  width: 38px !important;
  height: 38px !important;
  object-fit: contain;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #18181c url('background.jpg') center/cover no-repeat;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(120deg, #0a0a0a 60%, #e11d48 120%);
  opacity: 0.7;
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
}
.hero-title {
  font-size: 3.2em;
  font-weight: 900;
  margin-bottom: 18px;
  letter-spacing: 2px;
  color: #fff;
}
.hero-desc {
  font-size: 1.4em;
  color: #e5e5e5;
  margin-bottom: 32px;
}
.hero-btn {
  background: #e11d48;
  color: #fff;
  font-weight: 700;
  font-size: 1.2em;
  padding: 16px 48px;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  box-shadow: 0 2px 12px #e11d4822;
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
}
.hero-btn:hover {
  background: #be123c;
  transform: translateY(-2px) scale(1.04);
}

/* Game Card Grid */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  padding: 64px 6vw 48px 6vw;
  background: #0a0a0a;
  max-width: 1600px;
  margin: 0 auto;
}
.game-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #18181c;
  border-radius: 18px;
  box-shadow: 0 4px 24px #0008, 0 1.5px 0 #e11d48 inset;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  transition: transform 0.18s, box-shadow 0.18s;
  cursor: pointer;
  position: relative;
}
.game-card img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  background: #23232b;
  transition: filter 0.2s;
}
.game-card .game-title {
  font-size: 1.5em;
  font-weight: 800;
  margin: 22px 0 18px 24px;
  letter-spacing: 1px;
  text-align: left;
}
.game-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px #e11d4840, 0 4px 32px #000a;
}
.game-card:hover img {
  filter: brightness(1.08) saturate(1.2);
}

/* Footer */
footer, .bottom-section {
  background: #111;
  padding: 48px 0 32px 0;
  text-align: center;
  color: #bbb;
  border-top: 2px solid #23232b;
}
.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 18px;
}
.footer-link {
  color: #bbb;
  text-decoration: none;
  font-size: 1em;
  transition: color 0.18s;
}
.footer-link:hover {
  color: #e11d48;
}
.social-icons {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 18px;
}
.social-icon {
  width: 32px;
  height: 32px;
  display: inline-block;
  filter: grayscale(1) brightness(1.2);
  transition: filter 0.18s;
}
.social-icon:hover {
  filter: none;
}
.copyright {
  font-size: 0.95em;
  color: #666;
}

/* Responsive */
@media (max-width: 900px) {
  .top-bar {
    flex-direction: column;
    height: auto;
    padding: 0 16px;
  }
  .logo {
    margin-bottom: 12px;
  }
  .game-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 32px 2vw 24px 2vw;
  }
  .hero-title {
    font-size: 2.1em;
  }
  .hero-section {
    min-height: 320px;
  }
}

/* Remove old/unused styles for a cleaner, Riot-like look */
/* .game-columns, .game-column, .game-placeholder, .ad.ad-middle { display: none !important; } */

/* Game Detail Page Styles */
.game-detail {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 5vw 40px 5vw;
  background: #111;
  min-height: 70vh;
}
.back-link {
  display: inline-block;
  color: #e11d48;
  font-weight: 700;
  margin-bottom: 32px;
  text-decoration: none;
  font-size: 1.1em;
  transition: color 0.2s;
}
.back-link:hover {
  color: #fff;
  text-decoration: underline;
}
.game-detail-content {
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  align-items: flex-start;
  background: #18181c;
  border-radius: 18px;
  box-shadow: 0 4px 24px #0006, 0 1.5px 0 #e11d48 inset;
  padding: 40px 32px;
}
.game-detail-cover {
  width: 340px;
  max-width: 90vw;
  border-radius: 14px;
  box-shadow: 0 4px 24px #e11d4822, 0 2px 12px #000a;
  background: #23232b;
}
.game-detail-info {
  flex: 1;
  min-width: 260px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.game-detail-title {
  font-size: 2.2em;
  font-weight: 700;
  margin: 0 0 10px 0;
  color: #fff;
  letter-spacing: 1px;
}
.game-detail-desc {
  font-size: 1.2em;
  color: #e5e5e5;
  margin-bottom: 18px;
}
.game-detail-screenshots {
  display: flex;
  gap: 18px;
  margin-bottom: 18px;
}
.game-detail-screenshots img {
  width: 220px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px #0006;
  background: #23232b;
}
.play-btn {
  display: inline-block;
  background: #e11d48;
  color: #fff;
  font-weight: 700;
  font-size: 1.2em;
  padding: 14px 38px;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 10px;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 2px 12px #e11d4822;
}
.play-btn:hover {
  background: #be123c;
  transform: translateY(-2px) scale(1.04);
}

@media (max-width: 900px) {
  .game-detail-content {
    flex-direction: column;
    align-items: center;
    padding: 24px 8px;
    gap: 24px;
  }
  .game-detail-cover {
    width: 90vw;
    max-width: 340px;
  }
  .game-detail-screenshots {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(10,10,10,0.85);
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}
.modal-content {
  background: #18181c;
  color: #fff;
  border-radius: 18px;
  box-shadow: 0 4px 32px #000a, 0 1.5px 0 #e11d48 inset;
  padding: 40px 32px 32px 32px;
  min-width: 320px;
  max-width: 90vw;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
  font-family: 'Montserrat', Arial, sans-serif;
}
.close {
  position: absolute;
  top: 18px;
  right: 24px;
  font-size: 2em;
  color: #e11d48;
  cursor: pointer;
  font-weight: 900;
  transition: color 0.2s;
  z-index: 10;
}
.close:hover {
  color: #fff;
}
.login-modal-content {
  min-width: 340px;
  max-width: 95vw;
}
.login-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 18px;
}
.login-form input {
  padding: 12px 16px;
  border-radius: 8px;
  border: none;
  background: #23232b;
  color: #fff;
  font-size: 1em;
  outline: none;
}
.login-form button {
  background: #e11d48;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 12px 0;
  font-size: 1.1em;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
}
.login-form button:hover {
  background: #fff;
  color: #e11d48;
}
@media (max-width: 600px) {
  .modal-content, .login-modal-content {
    padding: 24px 8vw 18px 8vw;
    min-width: 0;
  }
}

/* Headings and Logo */
.logo,
.intro-text,
.game-placeholder,
.adam-head,
footer .footer-title,
h1, h2, h3, h4, h5, h6 {
  font-family: 'Sora', sans-serif;
  font-weight: 700;
}

/* Learn Guide Section Styles */
.guide-section {
  background: #23232b;
  padding: 32px 24px;
  border-radius: 14px;
  box-shadow: 0 2px 12px #0006;
  margin-top: 32px;
  width: 100%;
  color: #fff;
}
.guide-step {
  margin-top: 28px;
  margin-bottom: 10px;
  color: #e11d48;
  font-size: 1.4em;
  font-weight: 800;
}
.guide-list, .guide-steps {
  margin-left: 18px;
  margin-bottom: 18px;
  font-size: 1.08em;
  line-height: 1.7;
}
.guide-code {
  background: #18181c;
  padding: 12px 16px;
  border-radius: 8px;
  overflow-x: auto;
  color: #e5e5e5;
  font-size: 1em;
  font-family: 'Fira Mono', 'Consolas', 'Menlo', 'Monaco', monospace;
  margin: 12px 0 18px 0;
  display: block;
}
.guide-section ul {
  margin-left: 18px;
  margin-bottom: 18px;
  font-size: 1.08em;
  line-height: 1.7;
}
.guide-section p {
  margin-bottom: 12px;
  color: #e5e5e5;
  font-size: 1.08em;
}
.guide-section b, .guide-section strong {
  color: #fff;
}
@media (max-width: 700px) {
  .guide-section {
    padding: 18px 6vw;
  }
} 