:root {
  --cyber-bg: #0a0a14;
  --cyber-cyan: #00f0ff;
  --cyber-cyan-dark: #00aabb;
  --cyber-glow: #00f0ff88;
  --text-light: #e0e6f1;
  --text-muted: #7f8ea1;
  --accent-color: #ff66cc;
}

/* Base Reset and Font */
body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: 'Share Tech Mono', monospace;
  background-color: var(--cyber-bg);
  color: var(--text-light);
  font-size: 2rem;
  text-align: center;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

::-webkit-scrollbar-track {
  background: #121212;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: var(--cyber-cyan-dark);
  border-radius: 10px;
  border: 4px solid #121212;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--cyber-cyan);
}

/* Headings */
h3 {
  font-size: 2.8rem;
  color: var(--cyber-cyan);
  text-shadow: 0 0 6px var(--cyber-cyan);
}

/* Paragraphs */
p {
  color: var(--text-light);
  text-align: center;
}

/* Links */
a {
  color: var(--cyber-cyan);
  font-size: 2rem;
  text-decoration: none;
  border-bottom: 1px dashed var(--cyber-cyan);
}
a:hover, a:focus {
  color: var(--accent-color);
  border-color: var(--accent-color);
}
a:visited {
  color: var(--accent-color);
}

/* Page Container */
.page.dashboard {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  padding: 1rem 3rem 1% 3rem;
  background: linear-gradient(145deg, #0a0a14, #050510);
  border-radius: 24px;
  box-shadow: 0 0 20px var(--cyber-glow);
}

/* Header */
.header {
  font-size: 3.2rem;
  font-weight: 600;
  color: var(--accent-color);
  background-color:  rgba(0, 240, 255, 0.05);
  padding: 1rem;
  border-radius: 10%;
  box-shadow: 0 0 20px var(--cyber-glow);
}

/* Layout */
.dashboard-columns {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem;
  height: 100%;
}

.column, .columnmiddle, .column.poet-info {
  flex: 1;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Containers */
.containercolumn {
  background-color: rgba(0, 240, 255, 0.05);
  padding: 3rem;
  margin-bottom: 1rem;
  box-shadow: 0 0 10px var(--cyber-glow);
}

.containercolumn:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 20px var(--cyber-cyan);
}

.column h3, .column p {
  color: var(--accent-color);
}

.column p {
  font-size: 1.9rem;
  line-height: 1.6;
}

/* Sub-columns */
.sub-column {
  background-color:  rgba(0, 240, 255, 0.05);
  padding: 1.5rem;
  border-radius: 16px;
  margin-bottom: 1rem;
  box-shadow: 0 0 12px var(--cyber-glow);
  transition: transform 0.2s ease;
}

.sub-column:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 20px var(--cyber-cyan);
}

.sub-column h3 {
  font-size: 2.2rem;
  color: var(--accent-color);
  border-bottom: 2px solid var(--accent-color);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}

.sub-column img {
  width: 50%;
  max-width: 400px;
  height: auto;
  border-radius: 8px;
  margin-top: -2%;
}

/* Poet Image */
.poet-photo-container {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}

.poet-photo {
  width: 100%;
  max-width: 350px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--accent-color);
  box-shadow: 0 0 10px var(--cyber-glow);
}

/* Extra Info */
.extra-info {
  margin-top: 3rem;
  background-color: #1a1a2a;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 0 12px var(--cyber-glow);
  color: var(--text-light);
  font-size: 1.9rem;
  height: 100%;
}

/* SVG Icons */
.svg-text-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin: 2rem auto;
}

.icon {
  width: 1em;
  height: 1em;
  fill: var(--cyber-cyan);
}

.icon-text {
  font-size: 2rem;
  color: var(--accent-color);
}

/* Tooltip */
.tooltip-wrapper {
  position: relative;
  display: inline-block;
}

.tooltip-text {
  visibility: hidden;
  width: 300px;
  background-color: #111;
  color: var(--text-light);
  text-align: left;
  padding: 0.8rem;
  border-radius: 0.5rem;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  box-shadow: 0 0 10px var(--cyber-glow);
  font-size: 1.4rem;
}

.tooltip-wrapper:hover .tooltip-text {
  visibility: visible;
  opacity: 1;
}

/* Button */
.large-button {
  display: block;
  width: 100%;
  text-align: center;
  padding: 16px;
  background-color: var(--accent-color);
  color: var(--cyber-bg);
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  border-radius: 10px;
  box-shadow: 0 0 12px var(--cyber-glow);
  transition: background 0.3s ease, transform 0.2s ease;
}

.large-button:hover {
  background-color: #ff99dd;
  transform: translateY(-3px);
}

/* Animated Text */
@keyframes colour-cycle {
  0% { color: #00f0ff; }
  20% { color: #00aabb; }
  40% { color: #7f8ea1; }
  60% { color: #e0e6f1; }
  80% { color: #ff66cc; }
  100% { color: #00f0ff; }
}

.animated-text {
  animation: colour-cycle 7s infinite;
  text-shadow: 0 0 8px var(--cyber-glow);
}

body {
  transform: scale(0.45);
  transform-origin: top left;
  /* Adjust viewport to avoid scrollbars caused by scaling */
  width: 222.22%; /* 1 / 0.45 ≈ 2.222 */
  height: 222.22%;
}

/* Mobile overrides, nothing else changed for desktop */
body.mobile {
  transform: none !important; /* disable scaling on mobile */
  width: 100% !important;
  height: auto !important;
  font-size: 1.2rem; /* maybe smaller font for mobile */
}

body.mobile {
  transform: none !important;
  width: 100% !important;
  height: auto !important;
  font-size: 1.4rem;  /* comfortable mobile font size */
  padding: 1rem;
  overflow-x: hidden;
  background-color: var(--cyber-bg);
}

body.mobile .page.dashboard {
  flex-direction: column;
  padding: 1rem 1.5rem;
  gap: 1.5rem;
  box-shadow: none; /* subtle on mobile */
  border-radius: 12px;
}

body.mobile .dashboard-columns {
  flex-direction: column;
  padding: 0;
  gap: 1rem;
  height: auto;
}

body.mobile .column, 
body.mobile .columnmiddle, 
body.mobile .column.poet-info {
  min-width: 100%;
  height: auto;
  padding: 0;
}

body.mobile .containercolumn {
  padding: 1.5rem;
  margin-bottom: 1rem;
  box-shadow: 0 0 8px var(--cyber-glow);
}

body.mobile .containercolumn:hover {
  transform: none; /* remove hover translate */
  box-shadow: 0 0 12px var(--cyber-cyan);
}

body.mobile h3 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
  text-shadow: none; /* simpler text */
}

body.mobile p, 
body.mobile small {
  font-size: 1.3rem;
  line-height: 1.5;
}

body.mobile a {
  font-size: 1.6rem;
  border-bottom: none;
  padding: 0.2rem 0;
}

body.mobile a:hover, 
body.mobile a:focus {
  color: var(--accent-color);
  border-bottom: none;
}

body.mobile .poet-photo-container {
  margin: 1.5rem 0;
}

body.mobile .poet-photo {
  max-width: 80vw;
  height: auto;
  border-width: 3px;
}

body.mobile .large-button {
  font-size: 1.6rem;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 0 8px var(--cyber-glow);
}

body.mobile .svg-text-container {
  flex-direction: column;
  gap: 0.5rem;
  margin: 1rem auto;
}

body.mobile .tooltip-text {
  width: 90vw;
  font-size: 1.1rem;
  bottom: auto;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
}

body.mobile ::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
