.calendar-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: visible;
}

#calendar-img {
  width: 100%;
  height: auto;
  display: block;
  filter: blur(0px);
  transition: filter 0.3s ease;
}

/* Calendar image blur/blend effect */
.calendar-wrapper {
  position: relative;
  overflow: hidden;
}

.calendar-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: -20px;
  right: -20px;
  bottom: 0;
  background: inherit;
  filter: blur(15px);
  opacity: 0.3;
  z-index: -1;
  pointer-events: none;
}

/* Mobile portrait calendar optimization - REMOVED to prevent CSS conflicts */
/* Let JavaScript handle all responsive behavior */

/* General Styles */
body {
  margin: 0;
  background: #111;
  font-family: 'Orbitron', Arial, sans-serif;
  color: white;
}

/* Header */
header {
  background-color: #222;
  padding: 10px 15px;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap;
}

.site-logo {
  max-height: 60px;
  width: auto;
}

header h1 {
  font-size: 1.6em;
  margin: 0;
  color: #00f5ff;
}

header .tagline {
  font-size: 1em;
  color: #ccc;
  font-weight: normal;
}

/* Footer */
footer {
  background-color: #222;
  text-align: center;
  padding: 10px;
  font-size: 1em;
}

/* New: Inline footer row for contact and signup */
.footer-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
  width: 100%;
}

.footer-contact {
  font-family: 'Orbitron', Arial, sans-serif;
  color: #fff;
  font-size: 1em;
  margin-right: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

footer a {
  color: #ff3333;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Calendar Container */
.calendar-container {
  position: relative;
  width: 100%;
  background-color: black;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate; /* keep pseudo elements contained */
}

/* === Calendar bleed/blur background (portrait + landscape) === */
/* blurred full-bleed bg pulled from the same calendar image */
.calendar-container::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--calendar-bg, none);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(28px);
  transform: scale(1.08); /* push blur beyond edges */
  z-index: 0;
  pointer-events: none;
}

/* subtle games-theme vignette/tint so edges blend nicely */
.calendar-container::after {
  content: "";
  position: absolute;
  inset: -2px; /* hide blur edge */
  background: radial-gradient(ellipse at center,
              rgba(0, 245, 255, 0.15) 0%,
              rgba(0, 0, 0, 0.45) 55%,
              rgba(0, 0, 0, 0.80) 100%);
  z-index: 1;
  pointer-events: none;
}

/* make sure the actual image & hotspots sit above the blur */
.calendar-wrapper { 
  position: relative; 
  z-index: 2; 
}

/* Clickable Boxes */
.clickable-box, .split-box {
  position: absolute;
  width: 10.16%;
  aspect-ratio: 1 / 1;
  z-index: 10;
}

.half-box {
  display: block;
  width: 100%;
  height: 50%;
  overflow: visible;
}

/* Zoom effect */
.clickable-box img, .half-box img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 12px;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease, box-shadow 0.3s ease;
  pointer-events: none;
}

/* --- REMOVED ZOOM ON HOVER FOR CLICKABLE-BOX AND HALF-BOX --- */
/*
.clickable-box:hover img, .half-box:hover img {
  transform: translate(-50%, -50%) scale(1.6);
  opacity: 1;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.9);
  z-index: 999;
}
*/

/* Portrait-specific boost for zoom */
.zoom-boost:hover img {
  transform: translate(-50%, -50%) scale(1.6);
  opacity: 1;
  z-index: 999;
}

.zoom-boost img {
  max-height: 100%;
  max-width: 100%;
  width: auto;
  height: auto;
}

/* Orientation visibility toggles */
@media screen and (orientation: portrait) {
  .landscape-only {
    display: none;
  }
  .portrait-only {
    display: block;
  }

  .calendar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 0; /* Allow container to shrink if needed */
  }

  .calendar-wrapper {
    width: auto !important;
    display: inline-block !important;
  }

  #calendar-img {
    height: auto; /* Changed from 100% to auto */
    width: 100%;   /* Changed from auto to 100% */
    max-height: calc(100vh - var(--hfpx, 120px)); /* Ensure image fits in viewport minus header/footer */
    max-width: 100%;
    object-fit: contain;
    display: block;
    margin: 0 auto;
  }
}

/* Portrait centering fix: shrink wrapper to image width and center */
@media screen and (orientation: portrait) {
  .calendar-container {
    justify-content: center;
    align-items: center;
  }
  .calendar-wrapper {
    width: auto !important;
    display: inline-block !important;
  }
  #calendar-img {
    display: block;
    margin: 0 auto;
  }
}

@media screen and (orientation: landscape) {
  .portrait-only {
    display: none;
  }
  .landscape-only {
    display: block;
  }
}

/* --- REMOVED UNIFIED ZOOM FIX FOR CLICKABLE-BOX AND HALF-BOX --- */
/*
.clickable-box:hover img,
.half-box:hover img,
.zoom-a:hover img,
.zoom-boost:hover img {
  transform: translate(-50%, -50%) scale(3.8) !important;
  opacity: 1 !important;
  box-shadow: 0 0 15px rgba(255, 0, 0, 0.9) !important;
  z-index: 999 !important;
}
*/

.zoom-a:hover img {
  transform: translate(-50%, -50%) scale(2);
}

.zoom-a img {
  width: 100%;
  height: auto;
}

.zoom-a:hover img {
  transform: translate(-50%, -50%) scale(2.5);
}

.zoom-a {
  display: inline-block;
}

.zoom-a img {
  width: auto;
  height: auto;
  max-width: 100%;
}

.page-header h1 {
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.page-header h2 {
  font-size: 1.2rem;
  font-weight: 400;
  color: #ccc;
}

.archive-month {
  color: #fff;
  font-weight: bold;
  text-align: center;
  font-size: 1.2rem;
  margin-top: 0.5rem;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
  transition: color 0.3s;
}

.archive-item a:hover .archive-month {
  color: #00ccff;
}

/* Landscape orientation styles - REMOVED to prevent calendar clipping */
/* Let JavaScript handle all responsive behavior */

header {
  background-color: #222;
  padding: 10px 15px;
  text-align: center;
}

header h1 {
  font-family: 'Orbitron', Arial, sans-serif;
  font-size: 1.6em;
  margin: 0;
  color: #00f5ff;
}

header .tagline, header h2 {
  font-size: 1em;
  color: #ccc;
  font-weight: normal;
  margin: 0.5em 0 0 0;
}

.header-links {
  margin-top: 10px;
  text-align: center;
}

.header-links a {
  color: #ff3333;
  font-size: 1em;
  text-decoration: none;
  font-weight: bold;
}

.header-links a:hover {
  text-decoration: underline;
}

/* Orbitron font */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500&display=swap');

/* One-line responsive header */
.one-line-header {
  background: #222;
  padding: 10px 15px;
  font-family: 'Orbitron', sans-serif;
}

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  text-align: center;
}

.site-logo {
  height: 40px;
  width: auto;
}

.title-text {
  font-family: 'Orbitron', sans-serif;
  color: #00f5ff;
  font-size: 1rem;
  flex-grow: 1;
  text-align: center;
}

.past-link {
  color: #ff3333;
  text-decoration: none;
  font-weight: bold;
}

.past-link:hover {
  text-decoration: underline;
}

@media screen and (max-width: 600px) {
  .header-bar {
    flex-direction: column;
    align-items: center;
  }

  .title-text {
    font-family: 'Orbitron', sans-serif;
    color: #00f5ff;
    font-size: 1rem;
    flex-grow: 1;
    text-align: center;
  }
}

/* --- HIDE ORIGINAL IMAGE ON HOVER FOR CLICKABLE-BOX AND HALF-BOX --- */
.clickable-box:hover img,
.half-box:hover img {
  opacity: 0 !important;
  transform: translate(-50%, -50%) scale(1) !important;
  box-shadow: none !important;
  z-index: 10 !important;
}

.hover-zoom-img {
  will-change: transform, opacity, left, top, width, height;
  background: #111;
  transition: transform 0.3s cubic-bezier(.4,2,.6,1), opacity 0.3s cubic-bezier(.4,2,.6,1);
  opacity: 0;
  transform: scale(0.8);
}

.social-icons-inline i {
  color: #ccc;
  font-size: 1.2em;
  margin-right: 10px;
  transition: color 0.3s ease;
  text-decoration: none;
}

.social-icons-inline i:hover {
  color: #fff;
}

.social-icon {
  height: 20px;
  width: auto;
  filter: grayscale(100%);
  vertical-align: middle;
  margin-right: 10px;
  margin-top: -2px; /* aligns better with font icons */
  transition: filter 0.3s ease;
}

.social-icon:hover {
  filter: grayscale(0%);
  text-decoration: none;
}

/* Footer signup inline and minimal */
.footer-signup {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 0;
}

.footer-signup input[type="email"] {
  padding: 4px 8px;
  border-radius: 4px;
  border: 1px solid #00f5ff;
  background-color: #000;
  color: #fff;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  width: 160px;
}

.footer-signup button {
  background: #ff3333;
  border: none;
  color: white;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-family: 'Orbitron', sans-serif;
}

.footer-signup button:hover {
  background-color: #cc0000;
}


/* === Kebab menu + brand group (Games) === */
.one-line-header{ 
  position: relative; 
  z-index: 2000; 
  overflow: hidden; /* Prevent horizontal overflow */
}
.one-line-header .header-bar{ 
  position: relative; 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  width: 100%; /* Ensure full width */
  min-height: 56px; /* Default height for desktop */
}

.brand-group{ 
  display: inline-flex; 
  align-items: center; 
  gap: 10px; 
  flex-shrink: 0; /* Prevent shrinking */
  white-space: nowrap; /* Prevent text wrapping */
  overflow: visible; /* Ensure text isn't clipped */
}

.brand-group .site-logo{ 
  position: static !important; 
  width: 28px; 
  height: auto; 
  flex-shrink: 0; /* Prevent logo from shrinking */
}

.brand-text {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Orbitron', sans-serif;
  font-size: 1rem;
  line-height: 1;
  color: #ff3333; /* Red for "Month Games -" */
}

.brand-accent {
  color: #00f5ff !important;
  font-weight: 500;
}

.kebab-btn{
  position:absolute;
  top:50%;
  transform:translateY(-50%);
  left: var(--kebab-left-px, 12px);
  display:inline-flex; align-items:center; justify-content:center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(0,245,255,0.35); /* games accent */
  box-shadow: 0 0 10px rgba(0,245,255,0.25);
  cursor: pointer;
}
.kebab-btn i{ font-size: 18px; line-height:1; color: #00f5ff; }
.kebab-btn:hover{ box-shadow: 0 0 14px rgba(0,245,255,0.45); }

.kebab-panel{
  position: fixed;
  top: var(--kebab-panel-top, 56px);
  left: var(--kebab-panel-left, 12px);
  width: 220px;
  background: rgba(15,15,15,0.94);
  border: 1px solid rgba(0,245,255,0.35);
  border-radius: 12px;
  padding: 6px;
  z-index: 2200;
  backdrop-filter: blur(6px);
}
.kebab-panel[hidden]{ display:none !important; }
.kebab-panel ul{ list-style:none; margin:0; padding:0; }
.kebab-panel li{ margin:0; }
.kebab-panel .divider{ height:1px; margin:6px 4px; background: rgba(255,255,255,0.08); }
.kebab-panel a, .kebab-panel a:visited{
  display:flex; align-items:center; gap:10px;
  padding:9px 8px; color:#e6f9ff; text-decoration:none; border-radius:8px;
  font-family:'Orbitron', sans-serif; font-size:0.95rem;
}
.kebab-panel a:hover{ background: rgba(0,245,255,0.08); }
.kebab-panel i{ width:18px; text-align:center; }
@media (max-width: 520px){
  .kebab-btn{ 
    width: 32px; 
    height: 32px; 
    left: 8px !important; /* Force left position on mobile */
  }
  .kebab-btn i{ font-size: 14px; }
  
  /* Better mobile layout - use padding instead of margin */
  .one-line-header .header-bar{ 
    padding: 0 8px 0 40px; /* Reduced padding for smaller header */
    min-height: 44px !important; /* Smaller header height on mobile */
    height: 44px !important; /* Force height override */
    justify-content: center; /* Center content for better mobile alignment */
    align-items: center; /* Ensure vertical centering */
  }
}

/* Mobile landscape and tablets - wider breakpoint */
@media (max-width: 768px) {
  .one-line-header .header-bar{ 
    min-height: 44px !important;
    height: 44px !important;
  }
  
  .kebab-btn{ 
    width: 32px; 
    height: 32px; 
  }
  
  .kebab-btn i{ font-size: 14px; }
  
  .brand-group .site-logo {
    width: 24px;
  }
  
  .brand-text {
    font-size: 0.9rem;
  }
}

/* Super wide breakpoint to catch any mobile device and landscape mode */
@media (max-width: 1024px) {
  .one-line-header .header-bar{ 
    min-height: 48px !important;
    height: 48px !important;
  }
}
  
  .brand-group{ 
    margin-left: 0; /* Remove margin, use header padding instead */
    max-width: 100%; /* Allow full width */
    align-items: center; /* Ensure perfect alignment */
    flex-shrink: 0; /* Prevent shrinking on mobile */
    gap: 8px; /* Smaller gap between logo and text */
  }
  
  .brand-text {
    font-size: 0.9rem; /* Smaller font on mobile - BOTH orientations */
    line-height: 1.1; /* Better mobile line height */
    white-space: nowrap; /* Force single line */
  }
  
  /* Ensure logo and text stay aligned */
  .brand-group .site-logo {
    flex-shrink: 0;
    align-self: center;
    width: 24px; /* Smaller logo on mobile - BOTH orientations */
  }

/* Extra small mobile devices */
@media (max-width: 360px){
  .kebab-btn{ 
    left: 4px !important; /* Even smaller left margin */
    width: 28px; 
    height: 28px; 
  }
  
  .kebab-btn i{ 
    font-size: 12px; 
  }
  
  /* Use header padding instead of brand group margin */
  .one-line-header .header-bar{ 
    padding: 0 6px 0 32px; /* Even smaller padding */
    min-height: 40px !important; /* Even smaller header height */
    height: 40px !important; /* Force height override */
  }
  
  .brand-group .site-logo{ 
    width: 20px; /* Even smaller logo on very small screens */
  }
  
  .brand-text {
    font-size: 0.85rem; /* Even smaller on very small screens */
  }
  
  .brand-group {
    gap: 6px; /* Smaller gap for very small screens */
  }
}

/* --- Footer social icons: hover blue (Games) --- */
.social-icons-inline i { color: #e5e7eb; transition: color 0.18s ease, text-shadow 0.18s ease; }
.footer-social a:hover i,
.social-icons-inline a:hover i { color: #00ccff; text-shadow: 0 0 8px rgba(0,204,255,0.6); }

/* Bluesky PNG tint on hover */
.social-icons-inline a:hover .social-icon {
  filter: brightness(0) saturate(100%) invert(62%) sepia(38%) saturate(3136%) hue-rotate(160deg) brightness(103%) contrast(102%);
  transition: filter 0.25s ease;
}

/* === Footer subscribe (scoped) === */
footer .social-icons-inline .footer-subscribe i{ position:relative; display:inline-block; }
footer .social-icons-inline .footer-subscribe i::after{
  content:"+"; position:absolute; right:-3px; top:-3px; width:12px; height:12px;
  border-radius:50%; display:grid; place-items:center;
  background:var(--accent, #3da5ff); color:#000; font-weight:700; font-size:9px;
  box-shadow:0 0 6px var(--accent, #3da5ff);
}
/* Modal styles */
.nm-modal{ border:0; border-radius:16px; padding:18px; background:#111; color:#fff; max-width:400px; width:min(92vw, 400px); }
.nm-modal::backdrop{ background:rgba(0,0,0,.6); }
.nm-modal h3{ margin:0 0 10px; font-size:18px; }
.nm-modal input{ width:100%; padding:10px 12px; border-radius:10px; border:1px solid #444; background:#000; color:#fff; }
.nm-modal__actions{ display:flex; gap:10px; justify-content:flex-end; margin-top:10px; }
.nm-modal__actions button{ border:0; border-radius:10px; padding:8px 12px; cursor:pointer; }
.nm-modal__actions button[type="submit"]{ background:var(--accent, #3da5ff); color:#000; font-weight:600; }
.nm-modal__x{ position:absolute; top:8px; right:10px; background:transparent; border:0; color:#fff; font-size:20px; cursor:pointer; }
.nm-modal__note{ opacity:.8; font-size:12px; margin-top:8px; }
.nm-modal__msg{ margin-top:6px; font-size:13px; color:#9fffcb; }

/* Subscribe form specific styling */
.subscribe-form input[type="email"] {
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 15px;
}

.subscribe-form .nm-modal__actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 15px;
}

.subscribe-form .nm-modal__actions button[type="button"] {
  background: #666;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 8px 16px;
  cursor: pointer;
  font-weight: 500;
}

.subscribe-form .nm-modal__actions button[type="button"]:hover {
  background: #777;
}

/* === Teaser Modal Styles === */
.teaser-modal {
  border: 0;
  border-radius: 20px;
  padding: 0;
  background: #111;
  color: #fff;
  max-width: 600px;
  width: min(95vw, 600px);
  max-height: 90vh;
  overflow-y: auto;
}

.teaser-modal::backdrop {
  background: rgba(0, 0, 0, 0.8);
}

.teaser-content {
  padding: 20px;
}

.teaser-content h3 {
  margin: 0 0 20px 0;
  text-align: center;
  color: #00f5ff;
  font-size: 1.5em;
}

.teaser-image-container {
  position: relative;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
}

#teaser-image {
  width: 100%;
  height: auto;
  display: block;
}

.teaser-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 30%, transparent 100%);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 20px;
}

.teaser-hint {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
  background: rgba(0,0,0,0.6);
  padding: 10px 20px;
  border-radius: 20px;
  backdrop-filter: blur(4px);
}

.comments-section {
  margin-top: 20px;
}

.comments-section h4 {
  margin: 0 0 15px 0;
  color: #00f5ff;
}

.comment-form {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

#comment-input {
  flex: 1;
  padding: 10px 12px;
  border: 1px solid #444;
  border-radius: 8px;
  background: #000;
  color: #fff;
  font-family: inherit;
}

#submit-comment {
  padding: 10px 20px;
  background: #00f5ff;
  color: #000;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  font-family: inherit;
}

#submit-comment:hover {
  background: #00ccff;
}

.guess-status {
  background: rgba(0, 255, 0, 0.1);
  border: 1px solid #00ff00;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
  text-align: center;
}

.guess-status p {
  margin: 0 0 10px 0;
  color: #00ff00;
}

#view-my-guess {
  background: #00ff00;
  color: #000;
  border: none;
  border-radius: 6px;
  padding: 8px 16px;
  cursor: pointer;
  font-family: inherit;
}

/* Admin Code Input */
.admin-code-input {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.admin-code-content {
  background: #1a1a1a;
  border: 2px solid #00f5ff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  max-width: 400px;
  width: 90%;
}

.admin-code-content h4 {
  margin: 0 0 10px 0;
  color: #00f5ff;
  font-size: 1.3em;
}

.admin-code-content p {
  margin: 0 0 20px 0;
  color: #ccc;
  font-size: 0.9em;
}

.admin-code-content input {
  width: 100%;
  padding: 12px;
  border: 1px solid #333;
  border-radius: 6px;
  background: #2a2a2a;
  color: #fff;
  font-size: 1em;
  margin-bottom: 20px;
}

.admin-code-content input:focus {
  outline: none;
  border-color: #00f5ff;
  box-shadow: 0 0 10px rgba(0, 245, 255, 0.3);
}

.admin-code-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.admin-code-actions button {
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1em;
  transition: all 0.3s ease;
}

.admin-code-actions button:first-child {
  background: #00f5ff;
  color: #000;
}

.admin-code-actions button:first-child:hover {
  background: #00d4dd;
  transform: translateY(-1px);
}

.admin-code-actions button:last-child {
  background: #333;
  color: #fff;
}

.admin-code-actions button:last-child:hover {
  background: #444;
}

.admin-hint {
  background: rgba(0, 245, 255, 0.1);
  border: 1px solid rgba(0, 245, 255, 0.3);
  border-radius: 8px;
  padding: 15px;
}

.admin-hint kbd {
  background: #333;
  border: 1px solid #555;
  border-radius: 4px;
  padding: 2px 6px;
  font-family: monospace;
  font-size: 0.9em;
}

.logout-btn {
  background: rgba(255, 0, 0, 0.1);
  border: 1px solid rgba(255, 0, 0, 0.3);
  color: #ff6b6b;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9em;
  margin-top: 10px;
  transition: all 0.3s ease;
}

.logout-btn:hover {
  background: rgba(255, 0, 0, 0.2);
  border-color: #ff6b6b;
  transform: translateY(-1px);
}

/* Mod Tools */
.mod-tools {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid #00f5ff;
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 20px;
}

.mod-tools h5 {
  margin: 0 0 15px 0;
  color: #00f5ff;
  text-align: center;
}

.mod-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.mod-btn {
  padding: 8px 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9em;
  background: #333;
  color: #fff;
  border: 1px solid #555;
}

.mod-btn:hover {
  background: #444;
}

.mod-btn.danger {
  background: #d32f2f;
  border-color: #f44336;
}

.mod-btn.danger:hover {
  background: #b71c1c;
}

.comments-list {
  margin-bottom: 20px;
  max-height: 300px;
  overflow-y: auto;
}

.comment-item {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 10px;
  border-left: 3px solid #00f5ff;
}

.comment-text {
  margin: 0 0 8px 0;
  color: #fff;
}

.comment-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9em;
  color: #ccc;
}

/* Comment Controls */
.comment-controls {
  display: flex;
  gap: 15px;
  margin-bottom: 20px;
  align-items: center;
}

.comment-search {
  flex: 1;
}

.comment-search input {
  width: 100%;
  padding: 8px 12px;
  border: 1px solid #444;
  border-radius: 6px;
  background: #000;
  color: #fff;
  font-family: inherit;
}

.comment-sort select {
  padding: 8px 12px;
  border: 1px solid #444;
  border-radius: 6px;
  background: #000;
  color: #fff;
  font-family: inherit;
  cursor: pointer;
}

/* Comment Reactions */
.comment-reactions {
  display: flex;
  gap: 10px;
  margin: 10px 0;
}

.reaction-btn {
  background: transparent;
  border: 1px solid #555;
  border-radius: 20px;
  padding: 5px 12px;
  color: #ccc;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 5px;
}

.reaction-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #777;
}

.reaction-btn.liked {
  background: rgba(76, 175, 80, 0.2);
  border-color: #4caf50;
  color: #4caf50;
}

.reaction-btn.disliked {
  background: rgba(244, 67, 54, 0.2);
  border-color: #f44336;
  color: #f44336;
}

.reaction-count {
  font-size: 0.9em;
  font-weight: 600;
}

/* Comment Actions (Admin) */
.comment-actions {
  display: flex;
  gap: 5px;
  margin-top: 10px;
  justify-content: flex-end;
}

.comment-action-btn {
  background: transparent;
  border: 1px solid #555;
  border-radius: 4px;
  padding: 4px 8px;
  color: #ccc;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.9em;
  transition: all 0.2s ease;
}

.comment-action-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.comment-action-btn.edit:hover {
  border-color: #ff9800;
  color: #ff9800;
}

.comment-action-btn.delete:hover {
  border-color: #f44336;
  color: #f44336;
}

/* User Comment Highlight */
.comment-item.user-comment {
  border-left-color: #4caf50;
  background: rgba(76, 175, 80, 0.05);
}

.teaser-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.teaser-actions button {
  padding: 10px 20px;
  background: #333;
  color: #fff;
  border: 1px solid #555;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
}

.teaser-actions button:hover {
  background: #444;
}

.teaser-modal__x {
  position: absolute;
  top: 15px;
  right: 15px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}

.teaser-modal__x:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .teaser-hint {
    font-size: 14px;
    padding: 8px 16px;
  }
  
  .comment-form {
    flex-direction: column;
  }
  
  .teaser-actions {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .teaser-hint {
    font-size: 12px;
    padding: 6px 12px;
  }
}

/* Cross-site navigation icons */
.site-links {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-left: 12px;
}

.site-link {
  display: inline-block;
  line-height: 1;
}

.site-logo {
  height: 26px;
  width: auto;
  vertical-align: middle;
  border-radius: 6px;
  filter: none !important;
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.site-link:hover .site-logo,
.site-link:focus-visible .site-logo {
  transform: translateY(-1px);
  box-shadow: 0 0 10px var(--accent, #00f5ff);
  outline: none;
}

@media (max-width: 600px) {
  .site-links {
    gap: 10px;
    margin-left: 8px;
  }
  
  .site-logo {
    height: 24px;
  }
}

/* Hide the current site's own icon automatically (works on all sites) */
.site-link[style*="display: none"] {
  display: none !important;
}

/* Hide Games icon on Games site */
.site-link--games {
  display: none !important;
}

/* Floating preview (desktop only) */
#nm-footer-preview {
  position: fixed;
  display: none;
  pointer-events: auto;
  z-index: 9999;
  width: 280px;
  height: 158px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
  border: 2px solid #00f5ff;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

/* Mobile preview adjustments */
@media (max-width: 768px) {
  #nm-footer-preview {
    pointer-events: auto; /* Allow clicking on mobile */
    background: rgba(0, 0, 0, 0.95); /* More visible background */
  }
}

/* About page specific footer styling */
.about-footer .site-links {
  margin-left: 12px;
  margin-top: 0;
  justify-content: flex-start;
  display: inline-flex;
  gap: 12px;
}

.about-footer .site-links .site-logo {
  height: 26px;
}

/* Ensure about page footer has proper structure */
.about-footer {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

/* Make about page footer social row inline with site links */
.about-footer .footer-row {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* === Teaser Social Prompt Styles === */
.teaser-social-prompt {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  margin: 20px 0;
}

.teaser-social-prompt h4 {
  margin: 0 0 10px 0;
  color: #00f5ff;
  font-size: 1.3em;
}

.teaser-social-prompt p {
  margin: 0 0 20px 0;
  color: #ccc;
  font-size: 1em;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 15px 20px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #00f5ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 245, 255, 0.3);
}

.social-link i,
.social-link .social-icon {
  font-size: 24px;
  margin-bottom: 8px;
  color: #00f5ff;
}

.social-link .social-icon {
  width: 24px;
  height: 24px;
  filter: brightness(0) saturate(100%) invert(62%) sepia(38%) saturate(3136%) hue-rotate(160deg) brightness(103%) contrast(102%);
}

.social-link span {
  font-size: 0.9em;
  font-weight: 500;
}

/* Social link specific colors */
.social-link.twitter:hover {
  border-color: #1da1f2;
  box-shadow: 0 4px 15px rgba(29, 161, 242, 0.3);
}

.social-link.twitter:hover i {
  color: #1da1f2;
}

.social-link.instagram:hover {
  border-color: #e4405f;
  box-shadow: 0 4px 15px rgba(228, 64, 95, 0.3);
}

.social-link.instagram:hover i {
  color: #e4405f;
}

.social-link.bluesky:hover {
  border-color: #0085ff;
  box-shadow: 0 4px 15px rgba(0, 133, 255, 0.3);
}

.social-link.bluesky:hover .social-icon {
  filter: brightness(0) saturate(100%) invert(48%) sepia(79%) saturate(2476%) hue-rotate(199deg) brightness(118%) contrast(119%);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .social-links {
    gap: 12px;
    flex-wrap: nowrap;
  }
  
  .social-link {
    padding: 10px 12px;
    min-width: 80px;
  }
  
  .social-link i,
  .social-link .social-icon {
    font-size: 18px;
    width: 18px;
    height: 18px;
    margin-bottom: 6px;
  }
  
  .social-link span {
    font-size: 0.75em;
  }
}

/* === Indie Game Spotlight Styles === */
.indie-game-showcase {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0;
}

.game-image-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

#indie-game-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.game-image-container:hover #indie-game-image {
  transform: scale(1.02);
}

.game-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  padding: 20px;
  color: #fff;
}

.game-title {
  font-size: 1.5em;
  font-weight: bold;
  color: #00f5ff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.game-info {
  padding: 0 10px;
}

.game-name {
  font-size: 1.8em;
  color: #00f5ff;
  margin: 0 0 15px 0;
  text-align: center;
}

.game-description {
  color: #ccc;
  line-height: 1.6;
  margin: 0 0 20px 0;
  text-align: center;
  font-size: 1em;
}

.game-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.game-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.game-meta span {
  background: rgba(0, 245, 255, 0.1);
  color: #00f5ff;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9em;
  border: 1px solid rgba(0, 245, 255, 0.3);
}

.game-highlights {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.highlight {
  color: #fff;
  font-size: 0.9em;
  background: rgba(255, 255, 255, 0.1);
  padding: 6px 12px;
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* === Indie Social Prompt Styles === */
.indie-social-prompt {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  margin: 20px 0;
}

.indie-social-prompt h4 {
  margin: 0 0 10px 0;
  color: #00f5ff;
  font-size: 1.3em;
}

.indie-social-prompt p {
  margin: 0 0 20px 0;
  color: #ccc;
  font-size: 1em;
}

/* Facebook social link styling */
.social-link.facebook:hover {
  border-color: #1877f2;
  box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3);
}

.social-link.facebook:hover i {
  color: #1877f2;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .game-meta {
    gap: 15px;
  }
  
  .game-meta span {
    padding: 6px 12px;
    font-size: 0.8em;
  }
  
  .highlight {
    font-size: 0.8em;
    padding: 5px 10px;
  }
  
  .game-name {
    font-size: 1.5em;
  }
  
  .game-description {
    font-size: 0.9em;
  }
}

/* === Content Toggle Styles === */
.content-toggle {
  position: absolute;
  top: 20px;
  right: 20px;
}

.toggle-btn {
  background: rgba(0, 245, 255, 0.1);
  border: 2px solid rgba(0, 245, 255, 0.3);
  color: #00f5ff;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.toggle-btn:hover {
  background: rgba(0, 245, 255, 0.2);
  border-color: #00f5ff;
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(0, 245, 255, 0.3);
}

.toggle-icon {
  font-size: 1.1em;
}

/* === Teaser Content Styles === */
.teaser-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0;
}

.teaser-image-container {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

#teaser-image {
  width: 100%;
  height: auto;
  display: block;
}

.teaser-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.7), transparent);
  padding: 20px;
  color: #fff;
  text-align: center;
}

.teaser-hint {
  font-size: 1.3em;
  font-weight: bold;
  color: #00f5ff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.teaser-social-prompt {
  text-align: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  margin: 20px 0;
}

.teaser-social-prompt h4 {
  margin: 0 0 10px 0;
  color: #00f5ff;
  font-size: 1.3em;
}

.teaser-social-prompt p {
  margin: 0 0 20px 0;
  color: #ccc;
  font-size: 1em;
}

/* Instagram social link styling */
.social-link.instagram:hover {
  border-color: #e4405f;
  box-shadow: 0 4px 15px rgba(228, 64, 95, 0.3);
}

.social-link.instagram:hover i {
  color: #e4405f;
}

/* Mobile responsive adjustments for toggle */
@media (max-width: 768px) {
  .content-toggle {
    position: relative;
    top: auto;
    right: auto;
    margin-bottom: 15px;
    text-align: center;
  }
  
  .toggle-btn {
    padding: 10px 20px;
    font-size: 1em;
  }
}

.teaser-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
  padding-right: 120px; /* Make room for toggle button */
}

.teaser-modal__header h3 {
  margin: 0;
  color: #00f5ff;
  font-size: 1.5em;
}

