/* ==== Cypher Studios Main Style ==== */

/* Reset + Fonts */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&family=Roboto:wght@300;400;500&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  background: radial-gradient(circle at top, #0b0b0d 0%, #050505 100%);
  color: #e4e4e4;
  font-family: 'Courier New', monospace;
  scroll-behavior: smooth;
}

/* ==== Header ==== */
header {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  background: rgba(10, 10, 15, 0.9);
  padding: 1.2rem;
  border-bottom: 1px solid rgba(0, 255, 255, 0.2);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(6px);
}

header a {
  text-decoration: none;
  font-family: 'Orbitron', sans-serif;
  font-weight: 600;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

header a.active {
  color: #00ffff;
  text-shadow: 0 0 10px #00ffff;
}

header a.inactive {
  color: #888;
}

header a:hover {
  color: #00ffff;
  text-shadow: 0 0 8px #00ffff;
}

/* ==== Title ==== */
h1 {
  font-family: 'Orbitron', sans-serif;
  text-align: center;
  font-size: 3rem;
  margin: 3rem 0 2rem;
  color: #00ffff;
  text-shadow: 0 0 20px #00ffff;
}

/* ==== Section Layouts ==== */
div {
  text-align: center;
  margin-bottom: 3rem;
  padding: 0 2rem;
}

h2, h3 {
  font-family: 'Orbitron', sans-serif;
  margin-bottom: 0.8rem;
  color: #00ffff;
}

p {
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
  color: #ccc;
}

/* ==== Links ==== */
a {
  color: #00ffff;
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: #00ccff;
}

.blue {
  color: #00ccff
}

/* ==== News Section ==== */
div > div {
  margin: 2rem auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(0, 255, 255, 0.1);
  border-radius: 10px;
  padding: 1.5rem;
  max-width: 800px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

div > div:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.2);
}

/* ==== Stats (“By the Numbers”) ==== */
.stats-section {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  margin: 4rem auto;
  max-width: 800px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 15px;
  width: 200px;
  padding: 1.8rem 1rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  border-color: #00ffff;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.stat-card h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.8rem;
  color: #00ffff;
  margin-bottom: 0.3rem;
  text-shadow: 0 0 10px #00ffff;
}

.stat-card p {
  font-size: 1rem;
  color: #ccc;
  margin: 0;
}

/* ==== Footer ==== */
footer {
  background: rgba(10, 10, 15, 0.9);
  padding: 1rem;
  text-align: center;
  color: #999;
  font-size: 0.9rem;
  border-top: 1px solid rgba(0, 255, 255, 0.2);
}

/* ==== Game Card ==== */
.game-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 15px;
  max-width: 700px;
  margin: 3rem auto;
  padding: 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.game-card:hover {
  transform: translateY(-5px);
  border-color: #00ffff;
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
}

.game-card h2 a {
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  color: #00ffff;
  text-shadow: 0 0 10px #00ffff;
  text-decoration: none;
}

.game-card p {
  color: #ccc;
  margin: 1rem auto;
  max-width: 600px;
}

.game-image {
  margin-top: 1rem;
  border-radius: 10px;
  border: 1px solid rgba(0, 255, 255, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-image:hover {
  transform: scale(1.02);
  box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

/* --- News Article Styling --- */
.article-container {
  max-width: 800px;
  margin: 4rem auto;
  padding: 2.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.1);
  text-align: left;
  line-height: 1.8;
}

.article-container h1 {
  color: #00ffff;
  font-family: 'Orbitron', sans-serif;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 1rem;
}

.article-meta {
  text-align: center;
  color: #888;
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

.article-container p {
  color: #ddd;
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  text-align: center;
}

.article-container h2 {
  text-align: center;
}

.article-container a {
  color: #00ffff;
  text-decoration: none;
  transition: color 0.2s ease;
}

.article-container a:hover {
  color: #00ccff;
  text-decoration: underline;
}

.article-container footer {
  text-align: center;
  margin-top: 3rem;
  font-size: 0.9rem;
  color: #888;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
}

/* Optional glowing animation for title */
@keyframes glow {
  0%, 100% { text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff; }
  50% { text-shadow: 0 0 20px #00ccff, 0 0 30px #00ccff; }
}

.article-container h1 {
  animation: glow 2s infinite alternate;
}

.login-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 15px;
  padding: 3rem 2.5rem;
  width: 350px;
  box-shadow: 0 0 25px rgba(0, 255, 255, 0.1);
  text-align: center;
  align-items: center;
}

.login-box h1 {
  color: #00ffff;
  font-size: 1.8rem;
  margin-bottom: 2rem;
  font-family: 'Orbitron', sans-serif;
  animation: glow 2s infinite alternate;
}

.login-box label {
  display: block;
  text-align: left;
  font-size: 0.9rem;
  margin: 0.6rem 0 0.2rem 0.1rem;
  color: #bbb;
}

.login-box input {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid rgba(0, 255, 255, 0.2);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  outline: none;
  transition: all 0.2s ease;
  font-size: 1rem;
}

.login-box input:focus {
  border-color: #00ffff;
  box-shadow: 0 0 8px #00ffff80;
}

.login-box button {
  width: 100%;
  margin-top: 1.8rem;
  padding: 0.9rem;
  background: #00ffff;
  color: #000;
  font-weight: 700;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-size: 1rem;
}

.login-box button:hover {
  background: #00ccff;
  transform: scale(1.02);
  box-shadow: 0 0 10px #00ffff80;
}

.login-box p {
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: #aaa;
}

.login-box a {
  color: #00ffff;
  text-decoration: none;
  font-weight: 600;
}

.login-box a:hover {
  text-decoration: underline;
}

.content-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 100px); /* subtract header height */
}

@keyframes glow {
  0%, 100% { text-shadow: 0 0 10px #00ffff, 0 0 20px #00ffff; }
  50% { text-shadow: 0 0 20px #00ccff, 0 0 30px #00ccff; }
}