@import url("https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;700&family=Press+Start+2P&display=swap");

body {
  font-family: "Fira Code", monospace;
  line-height: 1.6;
  margin: 0;
  background-color: #090a0f;
  color: #a9b7c6;
  overflow-x: hidden;
}

.focus-container {
  width: 90%;
  max-width: 1400px;
  margin: 0 auto;
}
h1,
h2,
h3,
.logo {
  font-family: "Press Start 2P", cursive;
  text-transform: uppercase;
}

.main-header {
  background: #000;
  border-bottom: 2px solid #00ffcc;
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 2000;
  box-shadow: 0 4px 15px rgba(0, 255, 204, 0.1);
}
.nav-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.logo {
  color: #00ffcc;
  font-size: 1.5rem;
  text-shadow: 2px 2px 0px #ff0055;
  transition: all 0.3s;
  cursor: pointer;
}
.logo:hover {
  text-shadow:
    0 0 15px #00ffcc,
    2px 2px 0px #ff0055;
}

.nav-links {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-links a {
  color: #556677;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: bold;
  padding: 5px 10px;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.nav-links a:hover {
  color: #00ffcc;
  border: 1px dashed #00ffcc;
}

.nav-links a.active {
  color: #ff0055;
  border: 1px solid #ff0055;
  background: rgba(255, 0, 85, 0.1);
  box-shadow: 0 0 8px rgba(255, 0, 85, 0.4);
}

.dropdown {
  position: relative;
}

.dropdown-content {
  display: none;
  position: absolute;
  background: rgba(5, 5, 8, 0.95);
  border: 1px solid #00ffcc;
  min-width: 180px;
  z-index: 3000;
  list-style: none;
  padding: 10px 0;
  top: 100%;
  margin-top: 8px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.8);
}

.dropdown-content a {
  border: none !important;
  display: block;
  padding: 10px 20px;
  color: #556677;
  text-shadow: none;
  box-shadow: none;
  border-left: 3px solid transparent !important;
  transition: all 0.2s ease-out;
}

.dropdown-content a:hover {
  background: rgba(0, 255, 204, 0.05);
  color: #00ffcc;
  text-shadow: 0 0 8px #00ffcc;
  padding-left: 25px;
  border-left: 3px solid #00ffcc !important;
}

.dropdown:hover .dropdown-content {
  display: block;
}

#home-view {
  text-align: center;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1500;
}
.bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 100vh;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
  filter: saturate(120%) contrast(110%);
}
.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(5, 5, 8, 0.7);
  z-index: 1;
}
.home-content {
  position: relative;
  z-index: 2;
  color: #00ffcc;
}
.home-content h2 {
  font-size: 2.2rem;
  text-shadow: 0 0 15px #00ffcc;
  margin-bottom: 40px;
}
.big-btn {
  background: rgba(0, 0, 0, 0.5);
  color: #00ffcc;
  border: 2px solid #00ffcc;
  padding: 20px 40px;
  font-family: "Press Start 2P";
  cursor: pointer;
  backdrop-filter: blur(4px);
  transition: 0.3s;
}
.big-btn:hover {
  background: #00ffcc;
  color: #000;
  box-shadow: 0 0 25px #00ffcc;
}

.view-section {
  min-height: 80vh;
  animation: fadeIn 0.6s ease;
}
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero {
  padding: 50px 0;
  border-bottom: 1px solid #1a1a1a;
}
.hero h1 {
  color: #00ffcc;
  font-size: 1.5rem;
  text-shadow: 2px 2px 0 #ff0055;
  margin-bottom: 10px;
}
.hero p {
  color: #00ff00;
  font-size: 0.9rem;
}

.game-feed {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  padding: 40px 0;
}
.game-card {
  background: #11131a;
  border: 1px solid #333;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
  position: relative;
}

.game-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #333;
  transition: background 0.3s;
}
.game-card:hover {
  border-color: #00ffcc;
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 255, 204, 0.15);
}
.game-card:hover::before {
  background: #ff0055;
}

.game-card:hover .card-info h3 {
  color: #00ffcc;
  text-shadow: 0 0 10px #00ffcc;
}

.img-container {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-bottom: 1px solid #333;
}
.img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(80%) contrast(120%) sepia(20%) hue-rotate(130deg);
  transition: filter 0.3s;
}
.game-card:hover img {
  filter: grayscale(0%) contrast(100%);
}

.card-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.card-info h3 {
  font-size: 0.9rem;
  color: #fff;
  margin: 0 0 10px 0;
  line-height: 1.4;
  transition: 0.3s;
}
.card-info p {
  font-size: 0.85rem;
  margin-bottom: 20px;
  flex-grow: 1;
  color: #8899aa;
}

.genre-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}
.tag {
  color: #ffd700;
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid #ffd700;
  font-size: 0.65rem;
  padding: 3px 6px;
  font-family: "Press Start 2P", cursive;
  transition: 0.3s;
}
.tag:hover {
  background: rgba(255, 215, 0, 0.3);
}

.btn {
  display: block;
  text-align: center;
  color: #00ffcc;
  background: transparent;
  border: 1px solid #00ffcc;
  padding: 12px 15px;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: bold;
  margin-top: auto;
  transition: 0.3s;
}
.btn:hover {
  background: #00ffcc;
  color: #000;
  box-shadow: 0 0 15px #00ffcc;
}

.dev-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding: 40px 0;
}

.dev-card {
  background: #11131a;
  border-left: 2px solid #333;
  padding: 20px;
  transition: all 0.3s ease;
  position: relative;
}

.dev-card:hover {
  border-color: #00ffcc;
  background: rgba(0, 255, 204, 0.05);
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 255, 204, 0.15);
}

.dev-card h3 {
  font-family: "Press Start 2P", cursive;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: #8899aa;
  margin: 0 0 10px 0;
  line-height: 1.4;
  transition: all 0.3s ease;
}

.dev-card:hover h3 {
  color: #00ffcc;
  text-shadow: 0 0 8px #00ffcc;
}

.dev-card p {
  font-family: "Fira Code", monospace;
  font-size: 0.75rem;
  color: #889;
  margin: 0;
}

#dev-count-display {
  color: #ff0055;
  font-weight: bold;
  text-shadow: 0 0 10px rgba(255, 0, 85, 0.4);
}

.vertical-alpha-bar {
  position: fixed;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  z-index: 2000;
  background: transparent;
}

.alpha-link {
  color: #556677;
  text-decoration: none;
  font-family: 'Press Start 2P', cursive;
  font-size: 0.55rem;
  padding: 2px 5px;
  transition: all 0.2s ease;
  cursor: crosshair;
}

.alpha-link:not(.disabled):hover {
  color: #00ffcc;
  transform: scale(1.6) translateX(-3px);
  text-shadow: 0 0 8px #00ffcc;
}

.alpha-link.disabled {
  color: #1a1a1a;
  pointer-events: none;
}

.alpha-link.active-alpha {
  color: #ff0055 !important;
  transform: scale(1.8) translateX(-5px) !important;
  text-shadow: 0 0 12px #ff0055 !important;
  font-weight: bold;
}

.dev-letter-header {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 30px;
  margin-bottom: 10px;
}
.dev-letter-header h2 {
  color: #fff;
  font-size: 1.2rem;
  margin: 0;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}
.dev-letter-header .line {
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(90deg, #ff0055, transparent);
}

.dev-card.valve-card {
  border-left: 2px solid #ff0055 !important;
  cursor: pointer;
  display: block;
}

.dev-card.valve-card h3 {
  color: #ff0055 !important;
}

.dev-card.valve-card:hover {
  border-color: #ff0055 !important;
  background: rgba(255, 0, 85, 0.08) !important;
  box-shadow: 0 5px 25px rgba(255, 0, 85, 0.2) !important;
  transform: translateY(-5px);
}

.dev-card.valve-card:hover h3 {
  color: #ff0055 !important;
  text-shadow: 0 0 10px #ff0055 !important;
}

.card-title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center; 
  margin-bottom: 10px;
}

.card-title-wrapper h3 {
  margin: 0 !important; 
}

.link-arrow {
  width: 24px;
  height: 24px;
  color: #ff0055;
  transition: all 0.3s ease;
}

.dev-card.valve-card:hover .link-arrow {
  transform: translate(4px, -4px) scale(1.1);
  filter: drop-shadow(0 0 10px #ff0055);
}

#info-view .btn {
  border-color: #ff0055;
  color: #ff0055;
}
#info-view .btn:hover {
  background: #ff0055;
  color: #000;
  box-shadow: 0 0 20px #ff0055;
}

.footer-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, #333, transparent);
  margin-top: 50px;
}
.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0 60px;
  font-size: 0.8rem;
}
.ins-link {
  color: #00ffcc;
  text-decoration: none;
  transition: 0.3s;
}
.ins-link::before {
  content: "[ INS ] ";
  font-size: 0.6rem;
  opacity: 0.5;
}
.ins-link:hover {
  color: #ff0055;
  text-shadow: 0 0 10px #ff0055;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    gap: 20px;
  }
}
