* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}
a {
  text-decoration: none;
}

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 999px; }

html {
  scroll-behavior: smooth;
}

body {
  background-color: #141414;
  color: white;
}


.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.glow {
  color: rgb(196,196,246);
}


#intro {
  background-image: linear-gradient(
    to bottom,
    #000000, 
    rgba(20, 20, 20, 0)
);
  height: 100dvh;
}

#bg {
  position: absolute;
  mask-image: linear-gradient(to bottom, black 70%, transparent 100%);
}

#intro .container {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding-bottom: 8dvh;
}

h1 {
  font-size: clamp(2.2rem, 12vw, 5rem);
  font-weight: 700;
  text-shadow: 0 0 3px rgba(255,255,255,0.6), 0 0 6px rgba(255,255,255,0.3);
}

#intro p {
  font-size: 1.4rem;
  margin-top: 0.5rem;
  color: rgb(192,189,189);
}

.cycle {
  display: inline-block;
  min-width: 4.5em;
  text-align: left;
  transition: transform 0.4s ease, opacity 0.2s ease;
  color: rgb(196,196,246);
}

.buttons {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.3rem;
  flex-wrap: wrap;
  justify-content: center;
}

.button {
  padding: 0.75rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: white;
  background: transparent;
  border: 1.5px solid rgba(255,255,255,0.6);
  border-radius: 40px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}


.button:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  box-shadow: 0 0 20px rgba(255,255,255,0.2);
}


#demo, #faq {
  max-width: 1100px;
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
}

.widget-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.widget {
  flex: 1 1 420px;
  min-width: 0;
  background:
    radial-gradient(120% 140% at 50% 100%, rgba(255,255,255,0.02) 0%, rgba(255,255,255,0.01) 100%),
    linear-gradient(160deg, rgb(25,25,25) 0%, #0d0d0d 100%);
  border: 1px solid rgba(255, 255, 255, 0.038);
  border-radius: 2rem;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
  box-shadow:
    1.9px 1.77px 8px 0 rgba(255,255,255,0.02) inset,
    1px 0.94px 4px 0 rgba(255,255,255,0.02) inset;
}


.widget h3 {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
}

.widget p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

#download-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 1000px;
  width: 90%;
  max-height: 500px;
  height: 90dvh;
  background: #0a0a0a;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 2rem;
  overflow: hidden;
  color: white;
}

#download-dialog::backdrop {
  background: rgba(0,0,0,0.7);
  animation: backdropIn 0.3s ease forwards;
}

#download-dialog[open] { animation: modalIn 0.3s ease forwards; }

@keyframes modalIn {
  from { opacity: 0; transform: translate(-50%, -48%) scale(0.97); }
  to   { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

@keyframes backdropIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

#download-dialog h2 {
  all: revert;
  color: white;
  font-size: 1.3rem;
  font-weight: 700;
}


.dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  min-width: 60px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.2s ease;
}

.dialog-close:hover { color: white; }

.download-options {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  height: 100%;
  align-items: stretch;
}


.download-option {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  height: 100%;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  color: white;
  cursor: pointer;
  font-family: inherit;
  font-size: inherit;
  transition: background, border-color 0.2s ease;
  font-size: 1.1rem; 
  font-weight: 600;
}
.download-option:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.3);
}
.download-option img  { width: 50%; }

@media (max-width: 500px) {
  #download-dialog {
    width: 95%;
    height: min(90dvh, 480px);
    padding: 1.25rem;
    border-radius: 12px;
    overflow-y: auto;
  }
  .download-options {
    flex-direction: column;
    height: 90%;
    padding: 0.5rem;
    gap: 0.75rem;
  }
  .download-option {
    height: 50%;
    flex-direction: row;
    justify-content: flex-start;
    padding: 0 1.25rem;
    gap: 1rem;
    font-size: 1.4rem;
  }
  .download-option img  { width: 100px; flex-shrink: 0; }
}

.bubble {
  padding: 10px 14px;
  border-radius: 18px;
  font-size: 13px;
  line-height: 1.4;
  max-width: 80%;
}

.them {
  background: #28282a;
  color: rgba(255,255,255,0.9);
  border-bottom-left-radius: 5px;
  align-self: flex-start;
}

.me {
  align-self: flex-end;
  background: #218AFF;
  border: 1px solid #1368c9a6;
  color: white;
  border-bottom-right-radius: 5px;
}


.send {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.send.show, .block-message.show {
  opacity: 1;
  transform: translateY(0);
}
.blur { filter: blur(4px); }

.blocked-row {
  display: flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  max-width: 90%;
}

#block-icon {
  color: rgba(226,75,74,0.8);
  flex-shrink: 0;
}
#block-icon svg { width: 16px; height: 16px; }

.block-message {
  margin-left: 34px;
  font-size: 11px;
  color: rgba(226,75,74,0.9);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.empty-bubble {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-top: auto;
  align-self: stretch;
  height: 50px;
  padding: 10px 10px 10px 14px;
  background: #1c1c1e;
  border-radius: 18px;
}

.send-bubble {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #0a84ff;
  border: none;
  cursor: default;
  flex-shrink: 0;
}

.question {
  width: 100%;
  background: none;
  border: none;
  color: white;
  font-family: inherit;
  font-size: 1rem;
  text-align: left;
  padding-top: 1rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.question::after {
  content: "✕";
  transform: rotate(45deg);
  color: rgba(255,255,255,0.5);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}
.faq-item.open .question::after {
  transform: rotate(90deg);
}

.answer {
  display: grid;
  grid-template-rows: 0fr;
  transition:
  grid-template-rows 0.35s ease,
  opacity 0.25s ease;
  opacity: 0;
}

.answer p {
  overflow: hidden;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  padding-bottom: 1rem;
}
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.faq-item.open .answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

 footer {
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.3);
  border-top: 1px solid rgba(255,255,255,0.07);
}

#nav-download {
  position: fixed;
  top: 1rem;
  right: 1.5rem;
  z-index: 10;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#nav-download.visible {
  opacity: 1;
  pointer-events: auto;
}
.folder-demo {
  display: flex;
  flex-direction: column;
  flex: 1;
  width: 100%;
  background: #1e1e1e;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
}

.finder-toolbar {
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;

  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  background: #2c2c2c;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot.red    { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green  { background: #28c840; }

.finder-body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex: 1;
  padding: 1.5rem;
  color: rgba(255,255,255,0.7);
}
.icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  flex: 1;
  font-size: 1rem;
  
}

.icon img {
  width: 60%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.folder-demo  i {
  flex-shrink: 0;
  width: 15%;
  height: auto;
}

#jar {
  scale: 0.8;
  border-radius: 4px;
}
#discord {
  scale:0.8;
}

.screen.hidden {
  display: none;
}
.screen {
  height: 100%;
  display: flex;
  flex-direction: column;
}

#screen-minecraft .download-options {
  flex-direction: column;
  height: auto;
  flex: 1;
}

#screen-minecraft .download-option {
  flex: 1;
  max-height: 80px;
  flex-direction: row;
  justify-content: center;
}

@media (max-width: 500px) {

  .question {
    padding-bottom: 0.75rem;
  }
}