@font-face {
  font-family: 'Fredoka One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(./fonts/k3kUo8kEI-tA1RRcTZGmTmHB.ttf) format('truetype');
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  background: linear-gradient(to right, #f3e4f7, #ede0f3, #f3e4f7);
  min-height: 100vh;
}

body {
  font-family: sans-serif;
  max-width: 1400px;
  margin: 24px auto;
  padding: 2em 2.5em;
  background: #faf8fd;
  color: #4a3f5c;
  line-height: 1.5;
  border-radius: 20px;
  border: 5px solid #c9b3e2;
  box-shadow:
    inset 0 2px 6px rgba(255, 255, 255, 1),
    inset 0 -2px 4px rgba(160, 130, 200, 0.1),
    0 0 15px 3px rgba(180, 140, 230, 0.35),
    0 0 40px 8px rgba(180, 140, 230, 0.15);
}

/* --- Headings --- */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Fredoka One', sans-serif;
  font-weight: normal;
  color: #7c5cbf;
  letter-spacing: 0.5px;
}

h1 {
  font-size: 2.5em;
  font-weight: bold;
  color: #e05297;
  text-shadow: 2px 2px 0px rgba(163, 105, 220, 0.25);
  margin: 0 0 0.2em 0;
  text-align: center;
}

h2 {
  font-size: 1.3em;
  font-weight: bold;
  color: #7c5cbf;
  background: linear-gradient(90deg, rgba(201, 179, 226, 0.15) 0%, rgba(201, 179, 226, 0.05) 100%);
  padding: 0.35em 1.2em;
  border-radius: 10px;
  border: 2px solid #c9b3e2;
  margin-top: 1.4em;
  text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.8);
}

/* --- Links --- */
a {
  color: #d35db1;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px dashed #f0b6e2;
  transition: color 0.2s ease, border-color 0.2s ease;
}

a:hover {
  color: #f06292;
  border-bottom: 2px solid #f06292;
}

/* --- Paragraphs --- */
p {
  margin: 0.4em 0;
}

/* --- Lists --- */


/* --- Horizontal Rules --- */
hr {
  border: none;
  height: 4px;
  background: linear-gradient(90deg, #fbc2eb, #a6c1ee, #c2e9fb, #a6c1ee, #fbc2eb);
  background-size: 200% 100%;
  border-radius: 4px;
  margin: 1em 0;
}

/* --- Download Buttons --- */
/* Reset all layout-affecting properties across all states */
a.dl,
a.dl:hover,
a.dl:active {
  padding: 12px 36px !important;
  margin: 6px 0 !important;
  border: none !important;
  border-radius: 50px !important;
  background: linear-gradient(135deg, #b794f4 0%, #9f7aea 50%, #805ad5 100%) !important;
}

a.dl {
  display: inline-block;
  color: white;
  text-decoration: none;
  font-weight: 700;
  font-family: 'Quicksand', sans-serif;
  font-size: 1.2em;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
  box-shadow: 0 4px 15px rgba(128, 90, 213, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
  position: relative;
  overflow: hidden;
}

a.dl::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -75%;
  width: 65%;
  height: 200%;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 35%,
    rgba(255, 255, 255, 0.15) 40%,
    rgba(255, 255, 255, 0.25) 50%,
    rgba(255, 255, 255, 0.15) 60%,
    transparent 65%,
    transparent 100%
  );
  transform: skewX(-20deg);
  transition: none;
  pointer-events: none;
}

a.dl:hover::after {
  animation: shimmer 0.8s ease-in-out;
}

@keyframes shimmer {
  0%   { left: -75%; }
  100% { left: 125%; }
}

a.dl:hover {
  transform: scale(1.08);
  filter: hue-rotate(20deg) brightness(1.1);
  box-shadow: 0 6px 22px rgba(128, 90, 213, 0.5);
}

a.dl:active {
  transform: scale(1.02);
  filter: hue-rotate(20deg) brightness(1.05);
  box-shadow: 0 2px 8px rgba(128, 90, 213, 0.3);
}

a.dlinactive {
  pointer-events: none;
  color: #999;
  background: linear-gradient(135deg, #e0e0e0, #c0c0c0);
  box-shadow: none;
  text-shadow: none;
}

/* --- Hash Display --- */
.md5 {
  display: inline-block;
}

.sha256 {
  display: inline-block;
  max-width: 40ex;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 0.9em;
}

.sha256:hover {
  max-width: auto;
}

/* --- Download Grid --- */
.download-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1em;
  margin: 0.8em 0 1.4em 0;
}

/* --- Download Boxes --- */
.dbox {
  padding: 1em;
  border-radius: 20px;
  background: linear-gradient(145deg, #f5f0fc, #eee8f8);
  box-sizing: border-box;
  font-size: 90%;
  border: 2px solid #b8a0d8;
  box-shadow:
    0 2px 8px rgba(163, 105, 220, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.dbox {
  position: relative;
}

.dbox > .os-icon {
  position: absolute;
  top: 20px;
  right: 15px;
  opacity: 0.8;
}

.dbox:hover {
  box-shadow:
    0 4px 14px rgba(163, 105, 220, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.dbox p {
  margin: 0;
}

.dbox h3 {
  font-size: 1.5em;
  margin-top: 0.3em;
  margin-bottom: 0.3em;
  color: #7c5cbf;
  text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.8);
  text-align: center;
  max-width: calc(100% - 45px);
}

.dbox > p:last-child {
  text-align: center;
  margin-top: 0.5em;
}

/* --- Feature Boxes --- */
.fbox {
  padding: 0.5em 1em;
  border-radius: 16px;
  border: 3px solid transparent;
  background: linear-gradient(145deg, rgba(255,255,255,0.95), rgba(230, 225, 245, 0.5));
  box-sizing: border-box;
  font-size: 90%;
  min-height: 8em;
  border-image: linear-gradient(135deg, #fbc2eb, #a6c1ee) 1;
  border-image-slice: 1;
  box-shadow: 0 4px 15px rgba(166, 193, 238, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.fbox:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(166, 193, 238, 0.4);
}

.fbox h3 {
  font-size: 125%;
  font-weight: 400;
  text-align: center;
  border-width: 0 0 2px 0;
  white-space: nowrap;
  margin: 0.5em 0;
  color: #e05297;
  text-shadow: 1px 1px 0px rgba(255, 255, 255, 0.8);
}

/* --- Notice Box --- */
.notice-box {
  background: linear-gradient(135deg, #fff5f5, #ffe0e6);
  border: 3px solid #ff6b8a;
  border-radius: 20px;
  padding: 0.6em;
  margin: 1em auto;
  width: 55%;
  min-width: 300px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(255, 107, 138, 0.5);
  position: relative;
}

.notice-box p {
  color: #bf5c7c;
  font-weight: 600;
}

.notice-img {
  width: 250px;
  height: 200px;
  border-radius: 50px;
}

/* --- OS Icons --- */
.os-icon {
  width: 43px;
  height: 40px;
  vertical-align: middle;
}

.os-icon--linux {
  padding: 0 6px 0 5px;
}

/* --- Download Box Layout --- */
.dbox-info {
  display: flex;
  align-items: center;
}

.dbox-logo {
  padding: 4px 4px 0 4px;
  width: 128px;
  height: 124px;
  margin-right: 20px;
  background: linear-gradient(to bottom, #eae0f3, #f0e4f7);
  box-shadow: #b8a0d840 0 0 4px;
  /*border: solid #b8a0d840 2px;*/
  border-radius: 10px;
}

/* --- Feature Grid --- */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1em;
  margin-bottom: 1.4em;
}

.muted {
  opacity: 0.8;
}

/* --- Code / Monospace --- */
tt {
  background: linear-gradient(135deg, #f5effc, #f0eaf5);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.95em;
  border: 1px solid rgba(163, 105, 220, 0.15);
}

pre {
  background: linear-gradient(145deg, #2d2040, #1a1528);
  color: #e0d4f5;
  padding: 1.2em;
  border-radius: 16px;
  border: 2px solid rgba(163, 105, 220, 0.3);
  overflow-x: auto;
}

/* --- Small text --- */
small {
  color: #8e7ba8;
}

/* --- Selection --- */
::selection {
  background: rgba(240, 147, 251, 0.3);
}

/* --- Scrollbar (webkit) --- */
/*
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f0ecf5;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #fbc2eb, #a6c1ee);
  border-radius: 10px;
  border: 2px solid #f0ecf5;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #f093fb, #8fa4d9);
}
*/
/* --- Animations --- */
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-8px); }
}

.cute {
  float: right;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .download-grid {
    grid-template-columns: 1fr;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .gorl {
    float: none;
    display: block;
    margin: 1em auto;
    height: auto;
  }

  body {
    padding: 1.2em;
    margin: 10px;
  }

  h2 {
    font-size: 1.2em;
    text-align: center;
  }
}


@media (max-width: 700px) {
  .cute {
    float: none;
  }

  .notcute {
    max-width: 100% !important;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }
}