/* Responsive/mobile styles */
@media (max-width: 600px) {
  body {
    font-size: 0.85em;
    padding: 0 0.2em;
  }
  #arcade-header {
    flex-direction: column;
    align-items: stretch;
    gap: 0.7em;
    padding-top: 0.7em;
    max-width: 100vw;
  }
  #comments-container {
    margin-top: 1.5em;
    padding: 0 0.2em;
  }
  .comment, .profile {
    max-width: 98vw;
    padding: 1em 0.5em 1em 0.5em;
    margin: 1em auto 1em auto;
    font-size: 0.95em;
  }
  .comment-text {
    font-size: 1em;
    padding: 1em 0.5em 1em 0.5em;
    margin-bottom: 1em;
    margin-top: -1.2em;
  }
  .profile {
    min-width: 0;
    width: 100%;
    display: block;
    margin: 0.7em auto;
  }
  .profile-choice {
    min-width: 0;
    width: 100%;
    margin: 0.7em auto;
    font-size: 1em;
  }
  .article-info.arcade-card {
    max-width: 98vw;
    padding: 0.7em 0.5em;
    font-size: 0.98em;
  }
  .true-false-buttons button, .choose-profile {
    min-width: 120px;
    width: 90vw;
    font-size: 1em;
    padding: 0.7em 0.2em;
  }
  table {
    font-size: 0.95em;
    max-width: 98vw;
    overflow-x: auto;
    display: block;
  }
  th, td {
    padding: 0.5em 0.5em;
  }
  /* Stack the profile comparison vertically */
  .profile-comparison-row, .profile-comparison-row-mobile {
    flex-direction: column !important;
    gap: 0.5em !important;
    align-items: stretch !important;
    width: 100% !important;
  }
}
/* Arcade header layout */
#arcade-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 0 auto;
  padding-top: 1.5em;
  position: relative;
  z-index: 10;
}

#comments-container {
  margin-top: 4em;
}
#score-hearts {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
#header-center {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}
#header-right {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

@media (max-width: 700px) {
  #arcade-header {
    flex-direction: column;
    align-items: stretch;
    gap: 1em;
  }
  #score-hearts, #header-center, #header-right {
    justify-content: center;
  }
}
/* 80s Arcade Style CSS */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

body {
  background: #181028;
  color: #fff;
  font-family: 'Press Start 2P', monospace, Arial, sans-serif;
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(135deg, #181028 0%, #2a1a4d 100%);
}

#comments-container, .comment, .profile {
  font-family: 'Press Start 2P', monospace, Arial, sans-serif;
}

#session-score-display {
  background: rgba(20, 10, 40, 0.95);
  border: 2px solid #00ffe7;
  color: #00ffe7;
  box-shadow: 0 0 12px #00ffe7, 0 0 32px #ff00ea inset;
  border-radius: 12px;
  font-size: 1.1em;
  letter-spacing: 1px;
  text-shadow: 0 0 4px #00ffe7, 0 0 2px #ff00ea;
  display: inline-block;
  margin-right: 1em;
}

button, input[type="text"] {
  font-family: 'Press Start 2P', monospace, Arial, sans-serif;
  font-size: 1em;
  background: #181028;
  color: #00ffe7;
  border: 2px solid #ff00ea;
  border-radius: 8px;
  padding: 0.5em 1.2em;
  margin: 0.3em;
  box-shadow: 0 0 8px #ff00ea, 0 0 16px #00ffe7 inset;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  text-shadow: 0 0 2px #00ffe7, 0 0 2px #ff00ea;
}
button:hover, input[type="text"]:focus {
  background: #2a1a4d;
  color: #ff00ea;
  box-shadow: 0 0 16px #00ffe7, 0 0 32px #ff00ea inset;
  outline: none;
}



.comment, .profile {
  background: #12081f;
  border: 3px solid #ff00ea;
  border-radius: 14px;
  margin: 2em auto 1.5em auto;
  padding: 2em 1.5em 1.5em 1.5em;
  box-shadow: 0 0 24px #ff00ea, 0 0 48px #00ffe7 inset;
  color: #fff;
  max-width: 650px;
  position: relative;
}

.comment-text {
  background: #1a0033;
  color: #00ffe7;
  border: 3px solid #00ffe7;
  border-radius: 10px;
  padding: 1.5em 1.2em 1.2em 1.2em;
  margin-bottom: 2em;
  margin-top: -2.5em;
  font-size: 1.2em;
  text-align: center;
  box-shadow: 0 0 24px #00ffe7, 0 0 48px #ff00ea inset;
  font-family: 'Press Start 2P', monospace, Arial, sans-serif;
  letter-spacing: 2px;
  position: relative;
  z-index: 2;
}

.profile {
  display: inline-block;
  min-width: 220px;
  vertical-align: top;
  transition: box-shadow 0.2s, border-color 0.2s, background 0.2s;
}
.profile-choice {
  cursor: pointer;
  border: 3px solid #00ffe7;
  box-shadow: 0 0 16px #00ffe7, 0 0 32px #ff00ea inset;
}
.profile-choice:hover, .profile-choice:focus {
  background: #2a1a4d;
  border-color: #ff00ea;
  box-shadow: 0 0 32px #ff00ea, 0 0 48px #00ffe7 inset;
  outline: none;
}

.true-false-buttons button, .choose-profile {
  font-size: 1em;
  margin: 0.5em 1em;
  min-width: 200px;
}

#error-message {
  color: #ff00ea;
  font-size: 1em;
  text-align: center;
  margin: 1em 0;
  text-shadow: 0 0 4px #ff00ea;
}

table {
  background: rgba(20, 10, 40, 0.95);
  border: 2px solid #00ffe7;
  border-radius: 10px;
  box-shadow: 0 0 12px #00ffe7, 0 0 32px #ff00ea inset;
  color: #fff;
  margin: 2em auto;
  font-size: 1em;
}
th, td {
  padding: 0.7em 1.5em;
  border-bottom: 1px solid #ff00ea;
}
th {
  color: #00ffe7;
  text-shadow: 0 0 4px #00ffe7;
}
td {
  color: #fff;
}

::-webkit-scrollbar {
  width: 10px;
  background: #2a1a4d;
}
::-webkit-scrollbar-thumb {
  background: #ff00ea;
  border-radius: 5px;
}

input[type="text"] {
  background: #2a1a4d;
  color: #00ffe7;
  border: 2px solid #00ffe7;
  border-radius: 8px;
  box-shadow: 0 0 8px #00ffe7, 0 0 16px #ff00ea inset;
  padding: 0.5em 1em;
  margin: 0.3em;
  text-align: center;
}

/* Neon glow animation */
@keyframes neon-glow {
  0%, 100% { box-shadow: 0 0 8px #ff00ea, 0 0 16px #00ffe7 inset; }
  50% { box-shadow: 0 0 24px #00ffe7, 0 0 48px #ff00ea inset; }
}
button, #session-score-display, .comment, .profile, table {
  animation: neon-glow 2s infinite alternate;
}
