@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

:root {
  --blue: 110, 140, 184;
  --navy: 15, 15, 45;
  --purple: 166, 76, 170;
}

* {
  box-sizing: border-box;
}

button, input {
  font-family: inherit;
}

body {
  margin: 0;
  font-family: 'Press Start 2P', Verdana, sans-serif;
  color: #222;
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto auto;
  gap: 8px;
  padding: 8px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: start;
  background-color: rgb(var(--navy));
  background-image: url('space-bg.png');
  background-size: cover;
  background-attachment: scroll;
  background-position: center;
  image-rendering: pixelated;
  line-height: 1.6;
  font-size: 0.7em;
}

h1, h2, h3 {
  font-family: 'Press Start 2P', cursive;
}

img, video {
  image-rendering: pixelated;
}

header {
  grid-column: 1 / 3;
  text-align: center;
  border: 1px solid rgba(var(--navy), 0.5);
  background: rgba(var(--navy), 0.7);
}

header h1 {
  margin: 8px 0;
  font-size: 3em;
}

header .names {
  font-size: 0.5em;
  display: block;
  color:#3B031D
}

header .description {
  background: rgba(var(--blue), 0.55);
  margin: 0;
  padding: 8px;
}

.main-section {
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(var(--navy), 0.4);
  padding: 8px;
}

.tab-nav {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}

.tab-nav a {
  flex: 1;
  text-decoration: none;
}

.tab-nav button {
  width: 100%;
  padding: 6px;
  cursor: pointer;
  background: rgba(var(--blue), 0.45);
  border: 1px solid rgba(var(--navy), 0.4);
}

article {
  background: rgba(255, 255, 255, 0.3);
  padding: 8px;
}

article > header {
  background: rgba(var(--navy), 0.75);
  color: #CCE9FF;
  font-size: 1.5em;
  text-align: center;
  margin-bottom: 8px;
  font-family: "Times New Roman";
}

.couple-goals {
  background: rgba(var(--purple), 0.45);
  padding: 12px;
  margin-bottom: 8px;
  display: flex;
  gap: 10px;
}

.goals-window {
  flex: 1;
  background: #B387F5;
  border: 3px solid #5a3a8f;
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.25);
  display: flex;
  flex-direction: column;
}

.goals-titlebar {
  background: linear-gradient(to bottom, #c9a8f7, #a67ef0);
  border-bottom: 2px solid #5a3a8f;
  color: #33205c;
  font-weight: bold;
  font-size: 0.75em;
  padding: 6px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.goals-win-icons {
  display: flex;
  gap: 3px;
}

.goals-win-icons span {
  width: 14px;
  height: 12px;
  background: #eee0fc;
  border: 1px solid #5a3a8f;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7em;
  line-height: 1;
}

.goals-content {
  background: #fff;
  color: #000;
  flex: 1;
  min-height: 120px;
  padding: 10px;
  text-align: left;
  font-size: 0.85em;
}

.weekly-row {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.weekly-window {
  flex: 1;
  background: rgba(var(--navy), 0.65);
  border: 3px solid rgba(var(--navy), 0.9);
  border-radius: 2px;
  overflow: hidden;
  box-shadow: 2px 2px 0 rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
}

.weekly-titlebar {
  background: linear-gradient(to bottom, rgba(var(--blue), 0.6), rgba(var(--navy), 0.8));
  border-bottom: 2px solid rgba(var(--navy), 0.9);
  color: #cfe0f5;
  font-weight: bold;
  font-size: 0.75em;
  padding: 6px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.weekly-content {
  background: rgba(var(--navy), 0.35);
  color: #cfe0f5;
  flex: 1;
  padding: 10px;
  text-align: left;
  font-size: 0.7em;
}

.weekly-titlebar .goals-win-icons span {
  background: #cfe0f5;
  color: #10182a;
  border: 1px solid #0a1220;
}

.weekly-content p {
  margin: 4px 0;
}

.weekly-label {
  font-weight: bold;
  margin-bottom: 6px !important;
  color: #fff;
}

.weekly-photo {
  width: 100%;
  border-radius: 3px;
  margin-bottom: 6px;
}

.weekly-caption {
  font-size: 0.9em;
  color: #8fa3c0;
  font-style: italic;
}

.weekly-updated {
  margin-top: 10px !important;
  padding-top: 6px;
  border-top: 1px dashed #3a5a85;
  font-size: 0.75em;
  color: #7a8ba8;
}

.currently-split {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.currently-column {
  flex: 1;
}

.currently-column:first-child {
  padding-bottom: 10px;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

.currently-name {
  font-weight: bold;
  color: #fff;
  margin-bottom: 6px !important;
  border-bottom: 1px solid #3a5a85;
  padding-bottom: 4px;
}

.currently-column p:not(.currently-name) {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 4px 8px;
  margin: 4px 0 !important;
}

.gallery-row {
  display: flex;
  gap: 8px;
}

.image-box {
  background: rgba(var(--blue), 0.4);
  flex: 1;
  min-width: 0;
  min-height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.image-box img,
.image-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.music-box {
  background: rgba(var(--purple), 0.3);
  flex: 1;
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.music-title {
  background: rgba(255, 255, 255, 0.6);
  border-bottom: 10px solid rgba(var(--navy), 0.5);
  padding: 10px 8px;
  color: #c62828;
  font-weight: bold;
  font-size: 1em;
}

.spotify-embeds {
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.spotify-embed {
  border-radius: 10px;
  border: none;
}

.song-slot {
  text-align: left;
}

.song-label {
  margin: 0 0 3px 2px;
  font-size: 1em;
  font-weight: bold;
  color: #0421D9;
}

.section-footer {
  background: rgba(255, 255, 255, 0.3);
  text-align: center;
  padding: 8px;
  margin-top: 8px;
  border-top: 2px dashed rgba(var(--navy), 0.4);
}

.side-section {
  background: rgba(255, 255, 255, 0.3);
  border: 1px solid rgba(var(--navy), 0.4);
  padding: 8px;
}

.status-box {
  background: rgba(var(--navy), 0.7);
  color: #fff;
  padding: 10px;
  margin-bottom: 8px;
}

.status-box h3 {
  margin: 0 0 8px;
  text-align: center;
}

.status-row {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 4px 8px;
  margin-bottom: 6px;
}

.status-name {
  font-weight: bold;
  min-width: 50px;
}

.status-emoji {
  width: 22px;
  height: 22px;
}

.side-nav .image-box {
  background: rgba(var(--purple), 0.35);
  min-height: 300px;
}

.page-footer {
  grid-column: 1 / 3;
  background: rgba(var(--navy), 0.75);
  color: #fff;
  text-align: center;
  padding: 10px;
  border: 1px solid rgba(var(--navy), 0.5);
}

.comments-widget {
  margin-top: 8px;
  background: rgba(255, 255, 255, 0.3);
  border: 3px solid rgba(var(--navy), 0.9);
  border-radius: 0;
  overflow: hidden;
  box-shadow: 2px 2px 6px rgba(0,0,0,0.3);
}

.comments-titlebar {
  background: linear-gradient(to right, rgb(var(--navy)), rgb(var(--blue)));
  color: #fff;
  font-family: 'Press Start 2P', cursive;
  font-size: 0.7em;
  padding: 6px 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid rgba(var(--navy), 0.9);
}

.comments-title {
  letter-spacing: 1px;
}

.win-icons {
  display: flex;
  gap: 4px;
}

.win-icon {
  width: 20px;
  height: 18px;
  background: rgba(255, 255, 255, 0.95);
  color: #1b2a5e;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9em;
  font-family: Verdana, sans-serif;
  border: 1px solid rgba(0,0,0,0.4);
  border-radius: 2px;
  cursor: pointer;
  line-height: 1;
}

.win-close:hover {
  background: #e05a5a;
  color: #fff;
}

.comments-list {
  height: 180px;
  overflow-y: scroll;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.65);
  border-bottom: 3px solid rgba(var(--navy), 0.9);
}

.comments-list::-webkit-scrollbar {
  width: 12px;
}

.comments-list::-webkit-scrollbar-track {
  background: rgba(var(--blue), 0.25);
}

.comments-list::-webkit-scrollbar-thumb {
  background: rgba(var(--navy), 0.8);
  border-radius: 0;
  border: 1px solid rgba(0,0,0,0.4);
}

.comment-msg {
  background: rgba(var(--purple), 0.3);
  border: 1px solid rgba(var(--navy), 0.4);
  border-radius: 4px;
  padding: 6px 10px;
  margin-bottom: 8px;
}

.comment-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 2px;
}

.comment-name {
  font-weight: bold;
  color: #1b2a5e;
  font-size: 0.85em;
}

.comment-time {
  font-size: 0.6em;
  color: #444;
}

.comment-text {
  font-size: 0.85em;
  color: #222;
  word-wrap: break-word;
}

.comments-empty {
  font-size: 0.7em;
  color: #555;
  text-align: center;
  padding-top: 20px;
}

.comments-footer {
  display: flex;
  align-items: stretch;
  gap: 0;
  background: rgba(var(--blue), 0.3);
}

.emoji-box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  border-right: 3px solid rgba(var(--navy), 0.9);
  background: rgba(255, 255, 255, 0.3);
}

.emoji-toggle {
  width: 34px;
  height: 34px;
  min-width: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(var(--navy), 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1em;
  cursor: pointer;
}

.comments-fields {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.comments-field-row {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
}

.comments-field-row:first-child {
  border-bottom: 2px solid rgba(var(--navy), 0.5);
}

.comments-field-row label {
  font-size: 0.55em;
  font-family: 'Press Start 2P', cursive;
  color: #1b2a5e;
  min-width: 60px;
}

.comments-field-row input[type="text"] {
  flex: 1;
  border: 1px solid rgba(var(--navy), 0.5);
  border-radius: 2px;
  padding: 4px 6px;
  font-size: 0.7em;
  background: rgba(255, 255, 255, 0.9);
}

.comments-field-row button {
  border: 1px solid rgba(var(--navy), 0.6);
  border-radius: 2px;
  background: rgba(var(--navy), 0.8);
  color: #fff;
  padding: 4px 8px;
  cursor: pointer;
  font-size: 0.7em;
}

.comments-widget.minimized .comments-list,
.comments-widget.minimized .comments-footer,
.comments-widget.minimized .emoji-picker {
  display: none;
}

.emoji-picker {
  padding: 6px 10px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 1.2em;
  background: rgba(var(--blue), 0.2);
  border-top: 3px solid rgba(var(--navy), 0.9);
}

.emoji-picker span {
  cursor: pointer;
}

@keyframes blink {
  0%, 49% { opacity: 1; }
  50%, 100% { opacity: 0; }
}

.blink-text {
  animation: blink 1s step-start infinite;
}

@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% { opacity: 1; }
  20%, 24%, 55% { opacity: 0.4; }
}

.flicker-text {
  animation: flicker 3s infinite;
}

@keyframes rainbow {
  0% { color: red; }
  17% { color: orange; }
  34% { color: gold; }
  51% { color: green; }
  68% { color: blue; }
  85% { color: purple; }
  100% { color: red; }
}
.rainbow-text {
  animation: rainbow 4s linear infinite;
}

.glow-text {
  color: #fff;
  text-shadow: 0 0 5px #ff00de, 0 0 10px #ff00de, 0 0 20px #ff00de;
}

