/* ————————— Minimal Modern Reset ————————— */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

ol, ul {
  list-style: none;
}

blockquote, q {
  quotes: none;
}

blockquote::before,
blockquote::after,
q::before,
q::after {
  content: '';
}

a {
  text-decoration-skip-ink: auto;
}

/* ===== Universal Layout & Background ===== */
html {
  background: url('/background-pattern.png') repeat-y center top;
  background-attachment: scroll;
  background-size: 100% auto;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.35);
  z-index: -1;
}

html, body {
  font-family: sans-serif;
  color: #000;
  font-weight: 540;
  margin: 0;
  padding: 0;
}

.container {
  display: flex;
  flex-direction: row;
  width: 1000px;
  margin: 3rem auto;
  padding: 0 2rem;
  gap: 4rem;
  align-items: flex-start;
}

/* ===== Sidebar Styling ===== */
.sidebar {
  width: 250px;
  text-align: center;
  padding-top: 1.5rem;
}

.sidebar-inner a:not(.avatar-link):not(.tagline-link) {
  display: block;
  background: #000;
  color: #fff;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  border-radius: 4px;
  width: 180px;
  margin: 0.5rem auto 1.25rem auto;
  text-align: center;
  font-size: 1rem;
  line-height: 1.2;
}

.sidebar img {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
}

.sidebar p {
  margin: 0 auto;
  margin-bottom: 0.75rem;
}

.avatar-link {
  display: block;
  width: fit-content;
  margin: 0 auto;
}

.tagline-link {
  background: none !important;
  color: #000 !important;
  text-decoration: none !important;
  font-style: italic !important;
  font-size: 1.25rem !important;
  display: block !important;
  width: fit-content !important;
  margin-bottom: 2rem;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Main Content Area ===== */
.main-content {
  flex: 1;
  padding-top: 5.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 575;
  letter-spacing: 0.02em;
}

.main-content h1,
.main-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.main-content p {
  margin-bottom: 1rem;
}

.main-content a {
  color: #000;
  text-decoration: none;
}

.main-content a:hover {
  text-decoration: underline;
}

/* ===== Easter Egg ===== */
.hidden-easter-egg {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: transparent;
  border: none;
  text-indent: -9999px;
  overflow: hidden;
  cursor: pointer;
  z-index: 1000;
}

/* 📱 Mobile Styles */
@media (max-width: 1000px) {
  html, body {
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
    
  html {
    background-size: 190% auto;
  }

  .container {
    flex-direction: column;
    width: 100% !important;
    padding: 1rem 1rem;
    gap: 2rem;
  }

  .sidebar {
    display: flex;
    justify-content: center;
    width: 100%;
    padding-top: 0.5rem;
  }

  .sidebar-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    max-width: 400px;
    width: 100%;
  }

  .sidebar-inner-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    margin-top: 1rem;
  }

  .sidebar-inner-right {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.075rem 1rem;
    width: 100%;
    padding: 0 1rem;
    max-width: 400px;
  }

  .sidebar-inner-right a {
    width: 100% !important;
    margin: 0;
    text-align: center;
    white-space: nowrap;
    background: #000;
    color: #fff;
    padding: 0.6rem 1.2rem;
    text-decoration: none;
    border-radius: 4px;
    font-size: 1rem;
    line-height: 1.2;
    display: block;
  }

  .sidebar img {
    width: 180px;
    height: 180px;
  }

  .tagline-link {
    font-size: 1.4rem !important;
    font-weight: 420 !important;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }

  .main-content {
    padding-top: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
  }

  .main-content h1,
  .main-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
  }
}
