#community{
  color: white;
}
#code *:focus{
  outline: none;
}

/* upper part */

#code{
  height: 95vh;
  width: 95%;
  border-radius: 1.6rem;
  background: #1e1e1e;
  box-shadow: 0 2.5rem 6rem rgba(0,0,0,.4);
}
@media (orientation: portrait){
  #code{
    height: auto;
  }
}
.title-bar{
  border-radius: 1.6rem 1.6rem 0 0;
  width: 100%;
  height: 3.8rem;
  background: #2a2a2a;
  padding: 0 2rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
} 
.title{
  font-size: 1.6rem;
}
.btn{
  transition: all .15s ease;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  position: relative;
}
.btn:hover {
  filter: brightness(.85);
  box-shadow:
    inset 0 0 0 1px rgba(0, 0, 0, .18),
    inset 0 1px 2px rgba(255, 255, 255, .2);
}
.red{background: #ff5f57;}
.yellow{background: #febc2e;}
.green{background: #28c840;}
.btn::after {
  position: absolute;
  content: "";
  inset: 0;
  opacity: 0;
  line-height: 1;
  font-size: 1.2rem;
  transition: opacity .15s ease;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.7);
}
.red::after {
  content: "✕";
}
.yellow::after {
  content: "−";
}
.green::after {
  content: "⤢";
}
.btn:hover::after {
  opacity: 1;
}

/* mid part */

.editor{
  overflow: auto;
  color: #fff;
  background:
    radial-gradient(circle at 15% 20%, #243b55, transparent 35%),
    radial-gradient(circle at 85% 80%, #182848, transparent 35%),
    #080808;
  background-attachment: fixed;
}
a {
  color: inherit;
}
#nav {
  width: 100%;
  padding: 22px 7%;
}
.logo {
  font-size: 25px;
  font-weight: 800;
  letter-spacing: -1px;
}
.logo span {
  color: #6cff8d;
}
#nav > a {
  color: #aaa;
  text-decoration: none;
  transition: 0.2s;
}
#nav > a:hover {
  color: #fff;
}
#main {
  width: min(1100px, 90%);
  margin: auto;
}
#main section {
  padding: 90px 0;
}
/* HERO */
.hero {
  min-height: 72vh;
  gap: 70px;
}
#gif {
  width: min(100%, 430px);
  height: auto;
  filter: drop-shadow(0 0 35px #6cff8d20);
}
.hero-content {
  max-width: 540px;
}
h1 {
  font-size: clamp(48px, 6vw, 76px);
  line-height: 0.98;
  letter-spacing: -3px;
  margin-bottom: 25px;
}
h1 span {
  color: #6cff8d;
}
.hero-content p {
  color: #aaa;
  font-size: 18px;
  line-height: 1.7;
  max-width: 520px;
}
/* ACTIONS */
.hero-actions {
  gap: 12px;
  margin-top: 30px;
}
.btn-new {
  height: 52px;
  padding: 0 22px;
  border-radius: 10px;
  background: #6cff8d;
  color: #071009;
  text-decoration: none;
  font-weight: 700;
  transition: 0.2s;
  white-space: nowrap;
}
.btn-new:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px #6cff8d25;
}
.community-link {
  width: 52px;
  height: 52px;
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #ffffff15;
  transition: 0.25s ease;
  flex-shrink: 0;
}
.community-link svg {
  width: 100%;
  height: 100%;
  display: block;
}
.github {
  background: #181717;
}
.discord {
  background: #5865f2;
}
.community-link:hover {
  transform: translateY(-3px);
}
.github:hover {
  box-shadow: 0 8px 25px #ffffff20;
}
.discord:hover {
  box-shadow: 0 8px 25px #5865f250;
}
/* COMMUNITY */
.section-title {
  text-align: center;
  font-size: 38px;
  margin-bottom: 45px;
  letter-spacing: -1px;
}
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  padding: 28px;
  border: 1px solid #ffffff12;
  border-radius: 18px;
  background: #ffffff07;
  backdrop-filter: blur(15px);
  transition: 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: #6cff8d40;
}
.card h3 {
  margin-bottom: 12px;
  font-size: 21px;
}
.card p {
  color: #999;
  line-height: 1.6;
}
/* CTA */
.cta {
  margin: 20px 0 80px;
  padding: 70px 20px;
  text-align: center;
  border: 1px solid #ffffff12;
  border-radius: 25px;
  background:
    linear-gradient(
      135deg,
      #ffffff0a,
      #6cff8d08
    );
}
.cta h2 {
  font-size: 40px;
  margin-bottom: 15px;
  letter-spacing: -1px;
}
.cta p {
  color: #999;
  max-width: 550px;
  margin: auto;
  line-height: 1.6;
}
/* MOBILE */
@media (max-width: 700px) {
  #nav {
    padding: 20px 5%;
  }
  #main {
    width: 90%;
  }
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 35px;
    padding-top: 50px;
    text-align: center;
  }
  .hero-gif {
    order: 1;
  }
  .hero-content {
    order: 2;
    max-width: 100%;
  }
  #gif {
    width: 280px;
  }
  h1 {
    font-size: 48px;
    letter-spacing: -2px;
  }
  .hero-content p {
    margin: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .cards {
    grid-template-columns: 1fr;
  }
  section {
    padding: 65px 0;
  }
  .section-title {
    font-size: 32px;
  }
  .cta {
    padding: 55px 20px;
  }
  .cta h2 {
    font-size: 30px;
  }
}

/* bottom part */

.status-bar {
  height: 3.8rem;
  gap: 1.5rem;
  padding: 0 2rem;
  background: #252526;
  color: #b3b3b3;
  font-size: 1.6rem;
  border-radius: 0 0 1.6rem 1.6rem;
  border-top: 1px solid rgba(255, 255, 255, .08);
}
.status-bar a{
  text-decoration: none;
  color: #fff;
}
