/* =========================
   TINY ROOM ONLINE
   PURPLE GLITTER Y2K HOME
   ========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 28px 10px;

  color: #2f1d3f;
  font-family: Verdana, Arial, sans-serif;
  line-height: 1.7;

  background-color: #16071f;
  background-image: url("homebg.jpg");

  /* smaller so the collage design stays visible */
  background-size: 560px auto;
  background-repeat: repeat;
  background-position: center top;
  background-attachment: fixed;
}


/* =========================
   MAIN PAGE
   ========================= */

.page {
  width: 92%;
  max-width: 950px;

  margin: 0 auto;

  background: rgba(248, 238, 255, 0.95);

  border: 4px solid #5c2d7a;
  border-radius: 16px;

  overflow: hidden;

  box-shadow:
    0 0 0 5px rgba(196, 143, 255, 0.45),
    0 0 28px rgba(0, 0, 0, 0.55),
    inset 0 0 18px rgba(255, 255, 255, 0.45);
}


/* =========================
   TOP STRIP
   ========================= */

.top-strip {
  padding: 8px;

  text-align: center;

  color: #fff4ff;

  font-size: 10px;
  font-weight: bold;
  letter-spacing: 3px;

  background:
    linear-gradient(
      to bottom,
      #8f4db8,
      #54256c
    );

  border-bottom: 2px solid #2e103f;

  text-shadow:
    0 0 5px #d5a1ff;
}


/* =========================
   HEADER
   ========================= */

header {
  padding: 38px 20px 34px;

  text-align: center;

  background:
    linear-gradient(
      135deg,
      rgba(248, 229, 255, 0.98),
      rgba(202, 155, 235, 0.97),
      rgba(125, 72, 160, 0.96)
    );

  border-bottom: 3px solid #64377f;

  box-shadow:
    inset 0 2px 0 rgba(255, 255, 255, 0.85);
}

header h1 {
  margin: 6px 0;

  color: #4a245f;

  font-family: Georgia, serif;
  font-size: 56px;
  letter-spacing: 2px;

  text-shadow:
    2px 2px #fff5ff,
    0 0 8px #f1c5ff,
    0 0 16px rgba(107, 55, 141, 0.38);
}

.mini-title {
  margin: 0;

  color: #654374;

  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.subtitle {
  margin-bottom: 0;

  color: #fff3ff;

  font-family: Georgia, serif;
  font-style: italic;

  text-shadow:
    1px 1px #5b2c70;
}


/* =========================
   NAVIGATION
   ========================= */

nav {
  padding: 12px;

  text-align: center;

  background: rgba(41, 18, 53, 0.98);

  border-bottom: 3px solid #8c53ab;
}

nav a {
  display: inline-block;

  margin: 4px;
  padding: 8px 13px;

  color: #fff7ff;

  text-decoration: none;
  font-size: 12px;
  font-weight: bold;

  background:
    linear-gradient(
      to bottom,
      #af74d2,
      #6d3d8b
    );

  border: 1px solid #d9a6ef;
  border-radius: 7px;

  box-shadow:
    inset 0 1px #f2d7ff,
    0 2px 4px rgba(0, 0, 0, 0.35);
}

nav a:hover {
  color: #3b1e4d;

  background:
    linear-gradient(
      to bottom,
      #ead0f8,
      #b888d3
    );
}


/* =========================
   MAIN CONTENT
   ========================= */

main {
  padding: 20px;
}


/* =========================
   GENERAL SECTIONS
   ========================= */

section {
  margin-bottom: 22px;
  padding: 18px;

  background:
    linear-gradient(
      135deg,
      rgba(255, 250, 255, 0.98),
      rgba(237, 218, 250, 0.97)
    );

  border: 2px solid #9f72b6;
  border-radius: 10px;

  box-shadow:
    4px 4px 0 rgba(113, 67, 137, 0.22),
    inset 0 0 10px rgba(255, 255, 255, 0.45);
}


/* =========================
   BOX TITLES
   ========================= */

.box-title {
  margin:
    -18px
    -18px
    15px
    -18px;

  padding: 8px 10px;

  color: #fff7ff;

  text-align: center;

  font-size: 10px;
  font-weight: bold;
  letter-spacing: 2px;

  background:
    linear-gradient(
      to bottom,
      #9459b5,
      #5f3277
    );

  border-bottom: 2px solid #351642;

  text-shadow:
    1px 1px #32123f,
    0 0 4px #d5a6ef;
}


/* =========================
   CURRENTLY BOX
   ========================= */

.status-box {
  background:
    linear-gradient(
      135deg,
      rgba(246, 228, 255, 0.97),
      rgba(219, 186, 241, 0.97)
    );
}

.status-grid {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 8px 16px;
}

.status-grid p {
  margin: 4px 0;

  font-size: 12px;
}


/* =========================
   WELCOME SECTION
   ========================= */

.welcome h2 {
  margin-top: 0;

  color: #6a3e7f;

  font-family: Georgia, serif;
  font-size: 27px;
}

.highlight {
  padding: 10px;

  text-align: center;

  color: #57316d;

  font-family: Georgia, serif;
  font-weight: bold;
  font-style: italic;

  background: #e9d5f4;

  border: 1px dashed #9d73b3;
}


/* =========================
   HOME GRID
   ========================= */

.home-grid {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 18px;
}


/* =========================
   TEXT
   ========================= */

p {
  font-size: 13px;
}

h2,
h3 {
  color: #633978;
}

h3 {
  font-family: Georgia, serif;
}


/* =========================
   MINI LIST
   ========================= */

.mini-list {
  padding-left: 22px;
}

.mini-list li {
  margin-bottom: 7px;

  font-size: 12px;
}


/* =========================
   CENTER LINKS
   ========================= */

a {
  color: #74428c;
}

.center-link {
  margin-top: 15px;

  text-align: center;
}

.center-link a {
  display: inline-block;

  padding: 6px 10px;

  color: #5a326d;

  text-decoration: none;
  font-size: 11px;
  font-weight: bold;

  background:
    linear-gradient(
      to bottom,
      #ffffff,
      #dfc8ef
    );

  border: 1px solid #956daf;
  border-radius: 5px;
}

.center-link a:hover {
  color: #ffffff;

  background:
    linear-gradient(
      to bottom,
      #9a63b7,
      #613a78
    );
}


/* =========================
   JOURNAL PREVIEW
   ========================= */

.journal-entry {
  margin-top: 12px;

  padding: 15px;

  background: #fffaff;

  border: 2px dashed #a47abe;
  border-radius: 8px;
}

.date {
  color: #8c65a0;

  font-size: 10px;
  font-weight: bold;
  letter-spacing: 1px;
}


/* =========================
   INTERNET THOUGHT BOX
   ========================= */

.internet-box {
  text-align: center;

  background:
    linear-gradient(
      135deg,
      rgba(248, 229, 255, 0.98),
      rgba(216, 184, 237, 0.97)
    );
}

.sparkles {
  color: #7a4693;

  font-size: 20px;
  letter-spacing: 7px;
}


/* =========================
   WARNING BOX
   ========================= */

.warning {
  margin: 0 20px 22px;
  padding: 13px;

  text-align: center;

  color: #fff7ff;

  font-family: "Courier New", monospace;
  font-size: 11px;
  line-height: 1.7;

  background:
    linear-gradient(
      to bottom,
      #62377a,
      #3e1f50
    );

  border: 2px dashed #d4a8e8;

  box-shadow:
    inset 0 0 8px rgba(255, 255, 255, 0.08);
}


/* =========================
   FOOTER
   ========================= */

footer {
  padding: 20px;

  text-align: center;

  color: #e7ccef;

  font-size: 10px;
  line-height: 1.8;

  background: rgba(45, 22, 58, 0.98);

  border-top: 3px solid #7a4691;
}


/* =========================
   TEXT SELECTION
   ========================= */

::selection {
  color: #2d1636;

  background: #d6afea;
}


/* =========================
   SCROLLBAR
   ========================= */

::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: #e7d2ef;
}

::-webkit-scrollbar-thumb {
  background: #8e5ca6;

  border: 2px solid #e7d2ef;
}

::-webkit-scrollbar-thumb:hover {
  background: #6b407e;
}


/* =========================
   MOBILE
   ========================= */

@media screen and (max-width: 700px) {

  body {
    padding: 16px 6px;
    background-size: 460px auto;
  }

  .page {
    width: 96%;
  }

  .home-grid {
    grid-template-columns: 1fr;
  }

  .status-grid {
    grid-template-columns: 1fr;
  }

  header h1 {
    font-size: 38px;
  }

  nav a {
    font-size: 11px;
  }

}