/* ==== GLOBAL / PAGE LOOK ==== */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 40px 0;
  background-color: #020306;
  /* background image for the site */
  background-image: url('../website/images/bg.gif');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  color: #e5e5e5;
  font-family: "JetBrains Mono", "MS UI Gothic", monospace;
}
/* center */
.page-center {
  margin: 0 auto;
  width: 960px;
  max-width: 100%;
  position: relative;
  padding: 0 40px;
}

/* subtle scanline / CRT effect */
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255,255,255,0.06) 0,
    rgba(255,255,255,0.06) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: soft-light;
  opacity: 0.2;
}

/* glow vignette */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 120px #000;
}

/* ==== HEADER ==== */

.wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
}

.xio_wave {
  width: 96px;
  height: auto;
  border-radius: 4px;
  border: 1px solid #ffffff40;
}

pre {
  margin: 0;
  font-size: 11px;
  line-height: 1.1;
}

.logo-text {
  transform: translateY(4px); 
}

/* ==== LAYOUT: LEFT COLUMN + RIGHT BOX ==== */

.content-row {
  display: flex;
  gap: 32px;
}

/* left side with 2 stacked boxes */
.left-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ==== BOX STYLING (all boxes) ==== */

.box {
  border: 1px solid #ffffff80;
  background: radial-gradient(circle at top left, #111319, #050609 70%);
  padding: 18px 20px;
  line-height: 1.5;
  box-shadow:
    0 0 0 1px #0ff0ff10,
    0 0 18px #0ff0ff20;
}

/* small boxes on the left */
.small-box {
  width: 600px;
  height: 350px;
}

/* tall box on the right */
.big-box {
  width: 300px;
  height: 360px;
}

/* taller right-side box used on some pages */
.big-box-tall {
  height: 725px; /* roughly two stacked big-box heights + gap */
}

/* ==== TEXT INSIDE BOXES ==== */

.section-title {
  margin: 10px 0 4px;
  font-weight: 400;
  color: #f4f4f4;
}

.section-body {
  margin: 0 0 10px 14px;
  color: #cccccc;
  font-size: 0.9rem;
}

.list {
  margin: 4px 0 0 20px;
  padding: 0;
}

.list li {
  margin: 2px 0;
}


a {
  color: #7bf7ff;
  text-decoration: none;
}

a:hover {
  filter: brightness(1.4);
  text-shadow: 0 0 6px #7bf7ff;
}
.right-col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.scroll-text {
  width: 100%;
  overflow: hidden;
  white-space: nowrap;

  border-top: 1px solid #ffffff30;
  padding: 10px 0;
  margin-top: 50px;
  text-align: center;

  font-family: "JetBrains Mono", monospace;
  font-size: 14px;
  color: #aaa;
}

.scroll-text span {
  display: inline-block;
  padding-left: 100%;
  animation: scroll-left 12s linear infinite;
}

@keyframes scroll-left {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
.box p {
  margin: 4px 0;
}

.box ul {
  margin: 6px 0 0 18px; /* gap between top box and text */
  padding: 0;
}

.box li {
  margin: 2px 0;
}
.box {
  border: 1px solid #ffffff80;
  background: radial-gradient(circle at top left, #111319, #050609 70%);
  padding: 14px 18px;
  line-height: 1.5;
  box-shadow:
    0 0 0 1px #0ff0ff10,
    0 0 18px #0ff0ff20;
}
.big-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}


/* === PROJECTS PAGE === */

.project-box {
  
  width: 100%;
  min-height: 600px;
  padding: 24px;
  margin-top: 24px;
}

/* Art gallery: scrollbar */
.project-box.art-gallery {
  max-height: 640px;
  overflow-y: auto;
  padding-right: 12px; 
}

.project-box.art-gallery::-webkit-scrollbar {
  width: 10px;
}
.project-box.art-gallery::-webkit-scrollbar-track {
  background: transparent;
}
.project-box.art-gallery::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
}

/* Each project entry */
.project-entry {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin: 24px 0;
}

/* project image */
.project-img {
  width: 120px;
  height: auto;
  border-radius: 4px;
  border: 1px solid #ffffff50;
}

/* description text */
.project-desc {
  font-size: 14px;
  line-height: 1.4;
  color: #ccc;
}
.nav {
  margin: 10px 0 20px 0;
  font-size: 14px;
  text-align: left;
}

.nav a {
  color: #7bf7ff;
  text-decoration: none;
  margin: 0 6px;
}

.nav a:hover {
  filter: brightness(1.4);
  text-shadow: 0 0 6px #7bf7ff;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 10px 0;
}

.social-links a {
  color: #7bf7ff;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.social-links a:hover {
  filter: brightness(1.4);
  text-shadow: 0 0 6px #7bf7ff;
}

.social-icon {
  width: 16px;
  height: 16px;
  filter: brightness(0.9);
}

/* === ART GALLERY GRID === */


.art-grid {
  display: grid;
  /* increase minimum tile size so images appear larger across the row */
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.art-square {
  display: flex;
  flex-direction: column;
  aspect-ratio: 1;
  border: 1px solid #ffffff80;
  background: radial-gradient(circle at top left, #111319, #050609 70%);
  /* slightly reduce internal padding so the image can occupy more space */
  padding: 6px;
  box-shadow:
    0 0 0 1px #0ff0ff10,
    0 0 18px #0ff0ff20;
  overflow: hidden;
  cursor: pointer;
}

.art-img {
  width: 100%;
  /* expand the image area inside the square for a larger visual */
  height: 92%;
  object-fit: cover;
  border-radius: 2px;
  border: 1px solid #ffffff40;
}

.art-title {
  /* reduce title area so the image can be bigger */
  height: 8%;
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #ccc;
  padding: 4px 8px;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* === PROJECT LINKS === */

.project-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.project-entry {
  transition: none;
}