/* Arcade Glow Fonts */
@import url('https://fonts.googleapis.com/css2?family=VT323&family=Silkscreen:wght@400;700&display=swap');

/* Reset and base */
* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  height: 100%;
  background: #0F172A;
  color: #E0E7FF;
  font-family: 'VT323', monospace;
  font-size: 20px;
}

/* Links */
a { color: #EC4899; text-decoration: none; transition: color 0.2s ease; }
a:hover { color: #84CC16; }

/* Header / nav */
.site-header {
  background: #1E1B4B;
  color: #fff;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid #8B5CF6;
}

.site-header h1 {
  font-family: 'Silkscreen', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 2px;
  color: #06B6D4;
  text-shadow: 0 0 10px #06B6D4, 0 0 20px #06B6D4;
}

.nav-list { list-style: none; display: flex; gap: 10px; align-items: center; }

.nav-list li a {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 6px;
  background: #1E1B4B;
  color: #EC4899;
  font-family: 'Silkscreen', sans-serif;
  box-shadow: 0 0 6px #EC4899;
  transition: all 0.2s ease;
}

.nav-list li a:hover {
  background: #06B6D4;
  color: #0F172A;
  box-shadow: 0 0 14px #06B6D4;
}

/* Hero */
.hero {
  display: flex;
  gap: 16px;
  padding: 32px;
  align-items: center;
  background: linear-gradient(135deg, #8B5CF6, #06B6D4);
  border-radius: 12px;
  box-shadow: 0 0 20px #8B5CF6;
}

.hero-img {
  width: 240px;
  height: auto;
  float: left;
  margin-right: 16px;
  border: 4px solid #EC4899;
  border-radius: 12px;
  box-shadow: 0 0 12px #EC4899;
}

.hero-text h2 {
  margin-bottom: 12px;
  color: #fff;
  font-family: 'Silkscreen', sans-serif;
  text-shadow: 0 0 10px #EC4899;
}

.hero-text p {
  margin-bottom: 12px;
  color: #fff;
  text-shadow: 0 0 8px #06B6D4;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 8px;
  background: #8B5CF6;
  color: #fff;
  font-family: 'Silkscreen', sans-serif;
  font-weight: bold;
  text-decoration: none;
  box-shadow: 0 0 10px #8B5CF6;
  transition: transform .15s ease, box-shadow .15s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 20px #EC4899, 0 0 14px #06B6D4;
  background: #06B6D4;
}

.btn.outline {
  background: transparent;
  border: 2px solid #EC4899;
  color: #EC4899;
  box-shadow: 0 0 8px #EC4899;
}

.btn.outline:hover {
  background: #EC4899;
  color: #0F172A;
  box-shadow: 0 0 16px #EC4899;
}

/* Cards and grid */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
  gap: 16px;
  padding: 16px;
}

.card {
  background: #1E1B4B;
  border: 2px solid #06B6D4;
  padding: 14px;
  border-radius: 12px;
  box-shadow: 0 0 10px #8B5CF6;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 0 20px #EC4899, 0 0 12px #06B6D4;
}

.card img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin-bottom: 8px;
}

/* Sidebar */
.sidebar {
  float: right;
  width: 240px;
  margin: 16px;
  background: #1E1B4B;
  padding: 12px;
  border-radius: 12px;
  border: 2px solid #EC4899;
  box-shadow: 0 0 10px #EC4899;
}

.content {
  margin-right: 260px;
  padding: 16px;
}

/* clearfix usage */
.clearfix::after { content: ""; display: table; clear: both; }

/* Form styles */
form {
  background: #1E1B4B;
  padding: 16px;
  border: 2px solid #06B6D4;
  border-radius: 12px;
  max-width: 720px;
  color: #fff;
  box-shadow: 0 0 12px #8B5CF6;
}

input[type="text"],
input[type="email"],
input[type="url"],
textarea,
input[type="file"] {
  width: 100%;
  padding: 10px;
  margin: 6px 0 12px 0;
  border: 2px solid #06B6D4;
  border-radius: 6px;
  background: #0F172A;
  color: #fff;
  box-shadow: 0 0 6px #06B6D4;
}

input.error, textarea.error {
  border-color: #EC4899;
  box-shadow: 0 0 12px #EC4899;
}

/* small link style */
.small-link {
  font-size: 0.9rem;
  color: #84CC16;
  font-weight: bold;
  text-shadow: 0 0 6px #84CC16;
}

/* footer */
footer {
  padding: 16px;
  text-align: center;
  color: #EC4899;
  font-size: 1rem;
  border-top: 3px solid #8B5CF6;
  background: #1E1B4B;
  box-shadow: 0 0 10px #8B5CF6;
  font-family: 'Silkscreen', sans-serif;
}

/* Responsive adjustments */
@media (max-width: 700px) {
  .hero { flex-direction: column; align-items: flex-start; }
  .hero-img { width: 100%; height: auto; float: none; margin: 0 0 12px 0; }
  .sidebar { float: none; width: auto; margin: 16px 0; }
  .content { margin-right: 0; }
  .nav-list { flex-wrap: wrap; }
}

/* Table styling */
table { width: 100%; border-collapse: collapse; margin: 12px 0; }
th, td {
  padding: 8px;
  border: 1px solid #06B6D4;
  text-align: left;
  color: #E0E7FF;
  font-family: 'VT323', monospace;
}

#brand, .site-header h1 {
  font-weight: 700;
  letter-spacing: 2px;
  color: #06B6D4;
  text-shadow: 0 0 12px #8B5CF6, 0 0 20px #06B6D4;
}

/* ------------------------------------------------ */
/*       NEW ARCADE CARD-UPGRADES (MERGED)          */
/* ------------------------------------------------ */

/* Bigger card titles + descriptions */
.card h4 {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 6px;
  text-shadow: 0 0 8px #06B6D4;
}

.card p {
  font-size: 1.1rem;
  line-height: 1.3;
  color: #E0E7FF;
}

/* SAME-SIZE IMAGES */
.card img {
  width: 100%;
  height: 800px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 0 10px #06B6D4;
}

/* Glow Pulse Animation */
@keyframes neonPulse {
  0% { box-shadow: 0 0 8px #06B6D4; }
  50% { box-shadow: 0 0 18px #06B6D4; }
  100% { box-shadow: 0 0 8px #06B6D4; }
}

/* Neon Border + Pulse */
.card {
  animation: neonPulse 2.4s infinite ease-in-out;
  border: 2px solid #06B6D4;
}

/* Header arcade style */
.featured h3 {
  font-family: 'Silkscreen', sans-serif;
  text-align: center;
  color: #06B6D4;
  font-size: 1.8rem;
  margin-bottom: 16px;
  text-shadow: 0 0 14px #06B6D4, 0 0 20px #8B5CF6;
}

/* About Section GIF */
.about-section {
  padding: 32px;
  background: #0F172A;
  color: #E0E7FF;
  font-family: 'VT323', monospace;
}

.about-gif {
  width: 100%;
  max-width: 400px;
  display: block;
  margin: 16px auto;
  border: 3px solid #06B6D4;
  border-radius: 12px;
  box-shadow: 0 0 12px #06B6D4, 0 0 20px #8B5CF6;
  animation: glowPulse 2s infinite alternate;
}

/* Float box */
.float-box {
  float: left;
  width: 180px;
  margin: 16px;
  padding: 12px;
  background: #1E1B4B;
  border: 2px solid #EC4899;
  border-radius: 12px;
  box-shadow: 0 0 10px #EC4899;
  color: #EC4899;
}

/* Clearfix usage */
.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* Arcade table style */
.arcade-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 16px;
  text-align: left;
  font-family: 'VT323', monospace;
}

.arcade-table th,
.arcade-table td {
  border: 2px solid #06B6D4;
  padding: 8px;
  color: #E0E7FF;
  text-shadow: 0 0 6px #06B6D4;
}

/* Glow pulse animation for GIF */
@keyframes glowPulse {
  0% { box-shadow: 0 0 8px #06B6D4, 0 0 12px #8B5CF6; }
  100% { box-shadow: 0 0 20px #06B6D4, 0 0 28px #8B5CF6; }
}
