
/* ==========================================
   SMARTOVAL // HEAVEN.EXE
   DIGITAL HEAVEN - FRUTIGER AERO GLASS
   ========================================== */

/* CUSTOM FONTS */

@font-face {
  font-family: "Chitani";
  src: url("fonts/ChitaniBT-Roman.ttf") format("truetype");
  font-display: swap;
}

/* ==========================================
   COLOR PALETTE
   ========================================== */

:root {
  --ink: #335e80;
  --deep: #275178;
  --blue: #5c9ec8;
  --edge: #87b7d5;

  /* Main profile: more opaque for readability */
  --main-glass: rgba(233, 247, 255, 0.72);

  /* Floating windows: more transparent */
  --float-glass: rgba(227, 244, 255, 0.48);

  --shadow: rgba(43, 99, 142, 0.20);
}

/* ==========================================
   GENERAL
   ========================================== */

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;

  color: var(--ink);
  background: #b8dcf3;

  font: 14px/1.65 "Trebuchet MS", Verdana, sans-serif;
}

button {
  font: inherit;
  cursor: pointer;
}

a {
  color: var(--deep);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid #285d92;
  outline-offset: 3px;
}

/* ==========================================
   CLOUD BACKGROUND
   ========================================== */

.sky {
  position: fixed;
  inset: 0;
  z-index: -1;

  background-image:
    linear-gradient(
      180deg,
      rgba(235, 249, 255, 0.12),
      rgba(190, 222, 244, 0.12)
    ),
    url("assets/heaven-clouds.gif"),
    linear-gradient(
      155deg,
      #f6fcff 0%,
      #c9eafa 38%,
      #94c9ed 100%
    );

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

.sky::after {
  content: "";
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      ellipse at 75% 18%,
      rgba(255,255,255,0.35),
      transparent 40%
    ),
    radial-gradient(
      ellipse at 10% 85%,
      rgba(255,255,255,0.28),
      transparent 50%
    );
}

/* ==========================================
   ACCESSIBILITY
   ========================================== */

.skip {
  position: absolute;
  top: -80px;
  left: 15px;
  z-index: 100;

  padding: 8px;
  background: white;
}

.skip:focus {
  top: 10px;
}

/* ==========================================
   TOP NAVIGATION
   ========================================== */

.topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;

  padding: 10px 4%;

  background: rgba(244, 252, 255, 0.30);
  border-bottom: 1px solid rgba(255,255,255,0.85);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  font: 11px "Courier New", monospace;
  letter-spacing: 0.1em;
}

.status {
  color: #4e9b9d;
}

/* DARK WIRED RETURN BUTTON */

.wired-return {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;

  padding: 7px 14px;

  color: #a3e875;
  background: #050a09;
  border: 1px solid #587b4c;

  font: 11px "Chitani", "Courier New", monospace;
  letter-spacing: 0.06em;
  text-decoration: none;

  box-shadow:
    inset 0 0 8px rgba(163,232,117,0.08),
    0 2px 5px rgba(0,0,0,0.15);

  transition: background 0.2s, box-shadow 0.2s;
}

.wired-return:hover {
  color: #c6ff9c;
  background: #102012;
  box-shadow: 0 0 12px rgba(163,232,117,0.25);
}

/* ==========================================
   PAGE LAYOUT
   ========================================== */

.scene {
  position: relative;
  max-width: 1360px;
  min-height: 1040px;

  margin: 0 auto;
  padding: 1px 20px 130px;
}

/* ==========================================
   SKEUOMORPHIC GLASS WINDOWS
   ========================================== */

/* Shared glass window */

.glass {
  position: relative;
  isolation: isolate;
  overflow: hidden;

  border-radius: 10px;

  border: 1px solid rgba(255,255,255,0.92);

  outline: 1px solid rgba(91,151,194,0.35);

  backdrop-filter: blur(16px) saturate(135%);
  -webkit-backdrop-filter: blur(16px) saturate(135%);

  box-shadow:
    inset 0 2px 1px rgba(255,255,255,0.95),
    inset 2px 0 2px rgba(255,255,255,0.55),
    inset -2px 0 4px rgba(65,130,180,0.12),
    inset 0 -5px 10px rgba(72,145,200,0.12),
    0 8px 16px rgba(41,92,143,0.14),
    0 22px 48px rgba(41,92,143,0.16);
}

/* MAIN PROFILE GLASS */

.main-profile {
  position: relative;
  z-index: 5;

  width: min(830px, 78%);
  margin: 150px auto 0;

  background: var(--main-glass);
}

/* SMALLER FLOATING GLASS WINDOWS */

.float {
  position: absolute;
  z-index: 7;

  width: 270px;

  background: var(--float-glass);
}

/* Glass reflection layer */

.heaven-window::before {
  content: "";
  position: absolute;
  inset: 2px 2px auto;
  height: 36%;

  border-radius: 8px 8px 45% 45% / 8px 8px 18% 18%;

  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.32),
    rgba(255,255,255,0.12) 35%,
    rgba(255,255,255,0)
  );

  pointer-events: none;
  z-index: 0;
}

/* Inner bevel along glass edges */

.heaven-window::after {
  content: "";
  position: absolute;
  inset: 3px;

  border-radius: 7px;
  border: 1px solid rgba(255,255,255,0.35);

  box-shadow:
    inset 0 1px 2px rgba(255,255,255,0.45),
    inset 0 -1px 2px rgba(65,130,180,0.10);

  pointer-events: none;
  z-index: 0;
}

/* Keep content above reflections */

.heaven-window .bar,
.heaven-window .profile-grid,
.heaven-window .profile-footer,
.heaven-window .content {
  position: relative;
  z-index: 1;
}

/* ==========================================
   GLOSSY AERO TITLE BARS
   ========================================== */

.bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;

  padding: 8px 13px;

  color: #3e789e;

  font: 11px "Courier New", monospace;
  letter-spacing: 0.045em;

  border-bottom: 1px solid rgba(84,145,194,0.45);

  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.93) 0%,
    rgba(235,250,255,0.82) 44%,
    rgba(135,198,236,0.76) 48%,
    rgba(185,226,249,0.72) 100%
  );

  box-shadow:
    inset 0 1px rgba(255,255,255,0.95),
    0 2px 4px rgba(67,125,176,0.12);
}

.bar button {
  border: 1px solid #8bb6d1;
  border-radius: 4px;

  padding: 0 7px;

  color: var(--deep);
  background: linear-gradient(
    to bottom,
    #ffffff,
    #d3edff
  );

  font-size: 18px;
  line-height: 22px;

  box-shadow:
    inset 0 1px 1px white,
    0 1px 3px rgba(50,100,150,0.2);
}

.bar button:hover {
  background: #ffffff;
}

.drag {
  cursor: grab;
  touch-action: none;
  user-select: none;
}

.drag:active {
  cursor: grabbing;
}

/* ==========================================
   MAIN PROFILE CONTENT
   ========================================== */

.profile-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: 25px;
  padding: 34px;

  /* Subtle frosted inner surface */
  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.15),
    rgba(180,224,250,0.06)
  );
}

.eyebrow,
.micro {
  color: #588caf;
  font: 11px "Courier New", monospace;
  letter-spacing: 0.09em;
}

.profile-copy h1 {
  margin: 14px 0;

  color: #3b759c;

  font: normal clamp(34px,4vw,60px)/1.05 Georgia,serif;
  letter-spacing: -0.04em;
}

.profile-copy h1 em {
  font-weight: normal;
  color: #699fc1;
}

.lead {
  font-size: 16px;
  color: #467ca2;
}

.profile-copy p {
  max-width: 42ch;
}

.soft,
.muted {
  color: #547b99;
  font-size: 12px;
}

/* ==========================================
   PROFILE BUTTONS
   ========================================== */

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 25px;
}

.quick-links button,
.dock button {
  padding: 7px 9px;

  border: 1px solid #8dbad6;
  border-radius: 5px;

  color: #356e97;

  background: linear-gradient(
    to bottom,
    #ffffff,
    #d0eafb
  );

  font: 11px "Courier New", monospace;

  box-shadow:
    inset 0 1px 1px white,
    0 2px 4px rgba(50,110,160,0.12);
}

.quick-links button:hover,
.dock button:hover {
  background: white;
  box-shadow: 0 0 10px rgba(255,255,255,0.9);
}

/* ==========================================
   PORTRAIT FRAME
   ========================================== */

.portrait {
  margin: 0;
  align-self: center;
  min-width: 0;
}

.portrait-frame {
  display: flex;
  align-items: center;
  justify-content: center;

  padding: 10px;

  background: rgba(255,255,255,0.40);
  border: 1px solid rgba(255,255,255,0.90);

  box-shadow:
    inset 0 0 18px rgba(112,174,214,0.20),
    0 3px 12px rgba(54,119,167,0.13);
}

/* YOUR PORTRAIT GIF */

.profile-art {
  display: block;

  width: 100%;
  max-height: 320px;
  height: auto;

  object-fit: contain;
  object-position: center;
}

.portrait figcaption {
  margin-top: 9px;

  color: #739bb7;
  text-align: center;

  font: 10px "Courier New", monospace;
}

/* ==========================================
   PROFILE FOOTER
   ========================================== */

.profile-footer {
  display: flex;
  justify-content: space-between;
  gap: 8px;

  padding: 9px 16px;

  border-top: 1px solid rgba(255,255,255,0.65);

  color: #5a86a5;

  background: rgba(174,218,245,0.22);

  font: 10px "Courier New", monospace;
}

/* ==========================================
   FLOATING WINDOW POSITIONS
   ========================================== */

.interests {
  top: 75px;
  left: 3%;
  transform: rotate(-2deg);
}

.favorites {
  top: 610px;
  right: 2%;
  transform: rotate(2deg);
}

.notes {
  top: 770px;
  left: 7%;
  transform: rotate(-1deg);
}

/* ==========================================
   FLOATING WINDOW CONTENT
   ========================================== */

.content {
  padding: 17px 18px;

  background: linear-gradient(
    145deg,
    rgba(255,255,255,0.12),
    rgba(160,215,248,0.05)
  );
}

.content p {
  margin: 7px 0;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

.tags span {
  padding: 3px 7px;

  background: rgba(180,218,240,0.35);
  border: 1px solid rgba(170,207,229,0.75);
  border-radius: 10px;

  font: 10px "Courier New", monospace;
}

.hidden {
  display: none !important;
}

/* ==========================================
   DIGITAL HEAVEN DECORATIONS
   ========================================== */

.orbit {
  position: absolute;
  pointer-events: none;

  display: grid;
  place-items: center;

  border: 1px solid rgba(255,255,255,0.8);
  border-radius: 50%;

  color: white;
  text-shadow: 0 0 15px #7cb9e3;
}

.orbit-one {
  width: 175px;
  height: 175px;

  right: 8%;
  top: 65px;

  font-size: 64px;

  box-shadow:
    0 0 0 12px rgba(255,255,255,0.10),
    inset 0 0 40px rgba(255,255,255,0.22);
}

.orbit-two {
  width: 80px;
  height: 80px;

  left: 16%;
  top: 680px;

  font-size: 30px;
}

.ambient-text {
  position: absolute;
  top: 100px;
  left: 43%;

  color: #233640;

  font: 10px "Courier New", monospace;
  letter-spacing: 0.2em;
}

.side-glyph {
  position: absolute;
  top: 805px;
  right: 14%;

  color: #5989aa;
  text-align: center;

  font: 10px "Courier New", monospace;
  letter-spacing: 0.1em;
}

.ring {
  display: grid;
  place-items: center;

  width: 125px;
  height: 125px;

  margin: 0 auto 10px;

  border: 3px double rgba(255,255,255,0.85);
  border-radius: 50%;

  color: white;
  font-size: 50px;

  box-shadow: 0 0 25px rgba(255,255,255,0.65);
}

/* ==========================================
   BOTTOM DOCK
   ========================================== */

.dock {
  position: fixed;
  z-index: 50;

  bottom: 0;
  left: 0;
  right: 0;

  display: flex;
  align-items: center;
  gap: 8px;

  padding: 9px 15px;

  background: rgba(237,249,255,0.70);

  border-top: 1px solid rgba(255,255,255,0.85);

  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  overflow-x: auto;
  white-space: nowrap;

  box-shadow: 0 -3px 15px rgba(75,140,190,0.10);
}

.dock a {
  padding: 5px 10px;
  text-decoration: none;
  font: 11px "Courier New", monospace;
}

.dock span {
  margin-left: auto;

  color: #7399b1;
  font: 10px "Courier New", monospace;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 900px) {

  .scene {
    min-height: 0;

    display: flex;
    flex-direction: column;
    gap: 20px;

    padding: 30px 15px 95px;
  }

  .main-profile {
    width: 100%;
    margin: 0;
    order: 0;
  }

  .float {
    position: relative !important;

    top: auto !important;
    left: auto !important;
    right: auto !important;

    width: 100%;
    transform: none !important;

    order: 1;
  }

  .orbit,
  .ambient-text,
  .side-glyph {
    display: none;
  }

  .topline {
    font-size: 9px;
  }

  .topline .status {
    display: none;
  }
}

@media (max-width: 590px) {

  .profile-grid {
    grid-template-columns: 1fr;
    padding: 20px;
  }

  .portrait {
    width: 100%;
  }

  .profile-art {
    max-height: 260px;
  }

  .profile-footer {
    font-size: 9px;
    flex-wrap: wrap;
  }

  .topline {
    padding: 12px;
  }

  .dock span {
    display: none;
  }
}

/* ==========================================
   REDUCED MOTION
   ========================================== */

@media (prefers-reduced-motion: reduce) {
  .sky {
    background-image: linear-gradient(
      160deg,
      #f5fcff,
      #b9e1f7
    );
  }

  html {
    scroll-behavior: auto;
  }

  .wired-return {
    transition: none;
  }
}
/* ==========================================
   REALISTIC GLASS TRANSPARENCY FIX
   ========================================== */

/* Floating windows: clearer glass */

.glass.float {
  background: rgba(220, 240, 255, 0.18);

  backdrop-filter: blur(3px) saturate(120%);
  -webkit-backdrop-filter: blur(3px) saturate(120%);
}

/* Main profile: frosted glass */

.glass.main-profile {
  background: rgba(235, 248, 255, 0.48);

  backdrop-filter: blur(7px) saturate(125%);
  -webkit-backdrop-filter: blur(7px) saturate(125%);
}

/* Reduce the strength of the reflection */

.heaven-window::before {
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.18),
    rgba(255,255,255,0.04) 35%,
    transparent 75%
  );
}

/* Make floating window interiors transparent */

.glass.float .content {
  background: transparent;
}

/* Preserve the glossy title bars */

.glass.float .bar {
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0.75),
    rgba(170,220,250,0.35)
  );
}
/* FROSTED GLASS INTERIOR */

.glass.float .content {
  background: rgba(240, 250, 255, 0.72);

  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);

  border-top: 1px solid rgba(255, 255, 255, 0.5);
}
/* IMPROVED TEXT READABILITY */

.glass.float .content {
  color: #244d70;
}

.glass.float .content .micro {
  color: #35678e;
}

.glass.float .content .muted {
  color: #52718b;
}

/* Blinking cursor on hover */

.return-cursor {
  display: inline-block;
  opacity: 1;
}

/* Blink when hovered or keyboard-focused */

.wired-return:hover .return-cursor,
.wired-return:focus-visible .return-cursor {
  animation: cursor-blink 1s steps(1, end) infinite;
}

@keyframes cursor-blink {
  0%, 49% {
    opacity: 1;
  }

  50%, 100% {
    opacity: 0;
  }
}

/* Respect reduced-motion preferences */

@media (prefers-reduced-motion: reduce) {
  .wired-return .return-cursor {
    animation: none;
  }
}
/* INVERTED TEXT HIGHLIGHT */

.inverted-text {
  background: #000000;
  color: #F52585;

  padding: 2px 5px;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
/* ==========================================
   DIGITAL HEAVEN - LAYOUT SCALING
   ========================================== */

@media (min-width: 901px) {
  .scene {
    zoom: 1;
  }
}