* {
  box-sizing: border-box;
}

:root {
  --bg: #090b10;
  --bg-soft: #0f1218;

  --panel: #141821;
  --panel-2: #181d27;
  --panel-3: #1d2330;

  --border-dark: #000000;
  --border-mid: #2a3240;
  --border-light: #394355;

  --text: #e7ecf5;
  --text-soft: #9ea8bb;

  --link: #8fb6ff;
  --link-hover: #c2dcff;

  --accent: #4e6f9c;
  --accent-2: #2e4f7d;

  --danger: #ff6a7a;

  --terminal: #8df5a6;
}

html,
body {
  margin: 0;
  min-height: 100%;
  font-family: Tahoma, Verdana, sans-serif;
  color: var(--text);
}

body {
  background-color: var(--bg);
  background-image: url("/images/bg_m.jpg");
  background-repeat: repeat;
  background-position: top left;
  background-size: 13%;
}

a {
  color: var(--link);
  text-decoration: underline;
}

a:hover {
  color: var(--link-hover);
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.banner {
  width: 100%;
  text-align: center;
  padding: 10px 0;
}

.banner img {
  max-width: 100%;
  height: auto;
  display: inline-block;
}

.content-wrap {
  flex: 1;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 36px 16px;
}

.main-column {
  width: 100%;
  max-width: 980px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.ie-window {
  width: 100%;
  max-width: 980px;
  background: var(--panel);
  border: 2px solid var(--border-dark);
  box-shadow:
          0 0 0 1px var(--border-mid),
          0 0 0 3px rgba(7, 9, 12, 0.55),
          10px 10px 0 rgba(5, 6, 8, 0.4);
}

.title-bar {
  background: linear-gradient(to right, var(--accent-2), var(--accent));
  color: #f6f8fc;
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 0.2px;
}

.window-buttons {
  display: flex;
  gap: 4px;
}

.window-buttons span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border: 1px solid #0f1217;
  background: #b8bfca;
  color: #111;
  font-size: 12px;
  line-height: 1;
}

.menu-bar,
.toolbar,
.address-bar {
  background: var(--panel-2);
  color: var(--text-soft);
  padding: 7px 10px;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-dark);
  font-size: 14px;
}

.menu-bar,
.toolbar {
  white-space: nowrap;
  overflow-x: auto;
}

.address-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.address-input {
  flex: 1;
  min-width: 220px;
  background: #12151b;
  color: var(--terminal);
  border: 2px inset #38404d;
  padding: 4px 6px;
  font-family: monospace;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.window-body {
  background: var(--bg-soft);
  color: var(--text);
  padding: 38px 42px;
  border-top: 1px solid var(--border-light);
}

.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 28px;
}

.profile-photo {
  width: 280px;
  max-width: 100%;
  border: 2px solid var(--border-dark);
  background: var(--panel-3);
  padding: 5px;
  margin-bottom: 18px;
  display: block;
  box-shadow: 0 0 0 1px var(--border-mid);
}

.hero-section h1 {
  margin: 0 0 12px;
  color: #d9e6f7;
  font-size: 2rem;
  font-weight: bold;
}

.intro {
  margin: 0;
  font-size: 1.05rem;
  color: var(--text-soft);
}

.about-section {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-section p {
  line-height: 1.7;
  margin: 0 0 16px;
}

.blink {
  color: var(--danger);
  font-weight: bold;
  animation: blink 1s steps(2, start) infinite;
}

.footer-note {
  margin-top: 28px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-light);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.footer-note img {
  height: 31px;
  width: auto;
  display: block;
}

.music-player {
  width: fit-content;
  max-width: 100%;
  background: var(--panel);
  border: 2px solid var(--border-dark);
  box-shadow:
          0 0 0 1px var(--border-mid),
          0 0 0 3px rgba(7, 9, 12, 0.55),
          10px 10px 0 rgba(5, 6, 8, 0.4);
  padding: 14px 18px;
  text-align: center;
}

.music-player p {
  margin: 0 0 10px;
  color: var(--text-soft);
  font-size: 0.95rem;
}

.music-player audio {
  width: 320px;
  max-width: 100%;
  display: block;
}

@keyframes blink {
  to {
    visibility: hidden;
  }
}

@media (max-width: 700px) {
  .content-wrap {
    padding: 20px 10px;
  }

  .window-body {
    padding: 24px 18px;
  }

  .hero-section h1 {
    font-size: 1.6rem;
  }

  .profile-photo {
    width: 220px;
  }

  .menu-bar,
  .toolbar,
  .address-bar {
    font-size: 13px;
  }

  .address-input {
    min-width: 160px;
  }

  .music-player {
    width: 100%;
  }

  .music-player audio {
    width: 100%;
  }
}

.site-credit {
  width: 100%;
  margin: 12px auto 6px auto;
  text-align: center;
}

.subsite-bar {
  background: var(--panel-2);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-dark);

  padding: 6px 10px;

  font-size: 13px;
  color: var(--text-soft);

  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.subsite-bar span {
  color: var(--text-soft);
}

.subsite-bar a {
  color: var(--link);
  text-decoration: none;
}

.subsite-bar a:hover {
  color: var(--link-hover);
  text-decoration: underline;
}