/* ==========================================================================
   Manchester Acro - WebGL Very Dark Blue Marble Layout
   manchesteracro.com
   ========================================================================== */

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

html {
  color-scheme: dark;
  background-color: #030712;
}

body {
  color-scheme: dark;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.5;
  color: #ffffff;
  /* White text */
  background: transparent;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

/* WebGL Blue Marble Canvas Layer */
#marble-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  display: block;
}

/* Page Container */
.site-container {
  max-width: 640px;
  margin: 0 auto;
  padding: 56px 20px 64px;
  position: relative;
  z-index: 2;
}

/* Header */
.site-header {
  background: transparent;
  border: none;
  padding: 0 0 20px 0;
  margin-bottom: 34px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.25);
}

/* Title: Solid Pure White */
.site-title {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  display: inline-block;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.7);
}

.site-title span.brand {
  color: #ffffff;
}

.site-description {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #ffffff;
  /* White text */
  line-height: 1.55;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Section Headings - White */
.content-section {
  margin-bottom: 34px;
}

/* Section Divider Line */
.section-divider {
  border: none;
  border-top: 2px solid rgba(255, 255, 255, 0.2);
  margin: 10px 0 34px;
}

.section-heading {
  font-size: 1.15rem;
  font-weight: 900;
  color: #ffffff;
  /* White text */
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Studios Grid */
.studios-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ----------------------------------------------------------------------
   SEE-THROUGH GLASS BOXES ON DARK BACKGROUND
   ---------------------------------------------------------------------- */
.studio-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.08) !important;
  background-color: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
  padding: 24px 26px;
  min-height: 96px;
  text-decoration: none;
  color: #ffffff;
  /* White text */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.2s ease, background 0.2s ease;
  position: relative;
}

.studio-card:hover {
  background: rgba(255, 255, 255, 0.14) !important;
  transform: translateY(-2px);
}

/* Hover Outline Highlights (Outline lights up on hover) */
.studio-card.neon-cyan:hover {
  border-color: #00f0ff;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.6), 0 6px 20px rgba(0, 0, 0, 0.5);
}

.studio-card.neon-blue:hover {
  border-color: #3b82f6;
  box-shadow: 0 0 25px rgba(59, 130, 246, 0.6), 0 6px 20px rgba(0, 0, 0, 0.5);
}

.studio-card.neon-green:hover {
  border-color: #10b981;
  box-shadow: 0 0 25px rgba(16, 185, 129, 0.6), 0 6px 20px rgba(0, 0, 0, 0.5);
}

.studio-card.neon-amber:hover {
  border-color: #f59e0b;
  box-shadow: 0 0 25px rgba(245, 158, 11, 0.6), 0 6px 20px rgba(0, 0, 0, 0.5);
}

.studio-card.neon-purple:hover {
  border-color: #c084fc;
  box-shadow: 0 0 25px rgba(192, 132, 252, 0.6), 0 6px 20px rgba(0, 0, 0, 0.5);
}

.studio-card.neon-rose:hover {
  border-color: #fb7185;
  box-shadow: 0 0 25px rgba(251, 113, 133, 0.6), 0 6px 20px rgba(0, 0, 0, 0.5);
}

/* Studio Name: Bold White */
.studio-name {
  font-size: 1.4rem;
  font-weight: 900;
  line-height: 1.2;
  color: #ffffff;
  /* White text */
}

/* ----------------------------------------------------------------------
   THEME TOGGLE BUTTON (Lower Left)
   ---------------------------------------------------------------------- */
.theme-toggle-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 99;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.theme-toggle-btn:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.22);
  border-color: #00f0ff;
  box-shadow: 0 0 25px rgba(0, 240, 255, 0.6), 0 4px 20px rgba(0, 0, 0, 0.5);
}

.theme-toggle-btn:active {
  transform: scale(0.92);
}

/* ----------------------------------------------------------------------
   PREVIOUS THEME (Light Mode: Azure Blue Marble, Black Text)
   ---------------------------------------------------------------------- */
body.light-theme {
  color-scheme: light;
  color: #000000;
}

body.light-theme .site-header {
  border-bottom: 3px solid #000000;
}

body.light-theme .section-divider {
  border-top: 3px solid #000000;
}

body.light-theme .site-title {
  color: #000000;
  text-shadow: none;
  background: none;
  -webkit-background-clip: unset;
  background-clip: unset;
  -webkit-text-fill-color: #000000;
  filter: none;
}

body.light-theme .site-title span.brand {
  color: #000000;
  background: none;
  -webkit-text-fill-color: #000000;
}

body.light-theme .site-description {
  color: #000000;
  text-shadow: none;
  font-weight: 700;
}

body.light-theme .section-heading {
  color: #000000;
  text-shadow: none;
}

body.light-theme .studio-card {
  background: rgba(255, 255, 255, 0.25) !important;
  background-color: rgba(255, 255, 255, 0.25) !important;
  border: 3px solid #000000;
  color: #000000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

body.light-theme .studio-card:hover {
  background: rgba(255, 255, 255, 0.35) !important;
}

body.light-theme .studio-name {
  color: #000000;
}

body.light-theme .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid #000000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
}

body.light-theme .theme-toggle-btn:hover {
  border-color: #0052a3;
  box-shadow: 0 0 20px rgba(0, 82, 163, 0.5), 0 4px 14px rgba(0, 0, 0, 0.2);
}

/* Responsive */
@media (max-width: 600px) {
  .site-title {
    font-size: 2.6rem;
  }

  .studios-grid {
    grid-template-columns: 1fr;
  }

  .studio-card {
    padding: 20px 22px;
  }

  .theme-toggle-btn {
    bottom: 16px;
    left: 16px;
    width: 44px;
    height: 44px;
    font-size: 1.3rem;
  }
}