@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Cinzel:wght@400;500;600;700&display=swap');


/* =========================================================
   BLINKITA MULTIVERSE™
   INDEX / PUBLIC WORLD CSS
========================================================= */

:root {

  --gold: #d4af37;
  --gold-light: #f5df7a;

  --cream: #fffaf0;

  --green: #d0f0c0;

  --dark: #18221c;

  --glass: rgba(255,255,255,0.72);

  --shadow:
    0 12px 35px rgba(0,0,0,0.14);

  --red: #c1272d;
  --white: #eeeeee;
  --blue: #3c78d8;
  --yellow: #f1c232;

}


/* =========================================================
   RESET
========================================================= */

* {
  box-sizing: border-box;
}


html {
  scroll-behavior: smooth;
}


body {

  margin: 0;

  padding: 28px 24px 40px;

  font-family:
    'Segoe UI',
    Tahoma,
    Geneva,
    Verdana,
    sans-serif;

  color: var(--dark);

  background:

    radial-gradient(
      circle at 50% 8%,
      rgba(255,255,255,.82),
      transparent 28%
    ),

    linear-gradient(
      135deg,
      #d0f0c0 0%,
      #c6e9ef 45%,
      #eee1ad 100%
    );

  min-height: 100vh;

}


/* =========================================================
   MAIN PUBLIC WORLD
========================================================= */

#multiverseHome {

  width: 100%;

  max-width: 1380px;

  margin: 0 auto;

}


/* =========================================================
   HERO
========================================================= */

.hero {

  text-align: center;

  max-width: 1050px;

  margin:
    0 auto 30px;

}


.brand {

  font-family:
    'Cinzel',
    serif;

  font-size:
    clamp(18px, 2.5vw, 28px);

  letter-spacing: 5px;

  font-weight: 600;

  margin-bottom: 6px;

}


h1 {

  font-family:
    'Great Vibes',
    cursive;

  font-size:
    clamp(54px, 7vw, 88px);

  line-height: 1;

  margin: 0;

  color: #17231a;

  text-shadow:
    0 3px 10px rgba(255,255,255,.65);

}


.subtitle {

  font-family:
    'Cinzel',
    serif;

  font-size:
    clamp(12px, 1.5vw, 17px);

  letter-spacing: 3px;

  margin-top: 12px;

}


.tagline {

  margin-top: 9px;

  font-size: 14px;

  opacity: .68;

}


/* =========================================================
   GLOBAL STATISTICS
========================================================= */

.stats {

  width: min(
    100%,
    900px
  );

  margin:
    0 auto 26px;

  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 14px;

}


.stat {

  min-height: 82px;

  display: flex;

  flex-direction: column;

  justify-content: center;

  align-items: center;

  background:
    rgba(255,255,255,.64);

  backdrop-filter:
    blur(14px);

  border:
    1px solid
    rgba(255,255,255,.82);

  border-radius: 18px;

  padding: 14px 18px;

  text-align: center;

  box-shadow:
    0 8px 25px
    rgba(0,0,0,.09);

}


.stat-number {

  font-family:
    'Cinzel',
    serif;

  font-size: 25px;

  font-weight: 700;

}


.stat-label {

  margin-top: 3px;

  font-size: 10px;

  text-transform: uppercase;

  letter-spacing: 2px;

  opacity: .62;

}


/* =========================================================
   MAIN LAYOUT
========================================================= */

.main {

  width: 100%;

  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    315px;

  gap: 22px;

  align-items: start;

}


/* =========================================================
   MAIN BUTTERFLY PANEL
========================================================= */

.panel {

  width: 100%;

  min-width: 0;

  background:
    rgba(255,255,255,.42);

  backdrop-filter:
    blur(14px);

  border:
    1px solid
    rgba(255,255,255,.75);

  border-radius: 26px;

  padding: 24px;

  box-shadow:
    var(--shadow);

}


/* =========================================================
   GALACTIC BUTTERFLY TITLE
========================================================= */

.butterfly-title {

  text-align: center;

  margin-bottom: 8px;

}


.butterfly-title h2 {

  font-family:
    'Cinzel',
    serif;

  font-size: 18px;

  letter-spacing: 3px;

  margin: 0;

}


.butterfly-title p {

  font-size: 12px;

  opacity: .68;

  margin:
    7px 0 0;

}


/* =========================================================
   GALACTIC BUTTERFLY
========================================================= */

.butterfly {

  position: relative;

  display: grid;

  grid-template-columns:
    minmax(0,1fr)
    48px
    minmax(0,1fr);

  gap: 8px;

  width: 100%;

  max-width: 920px;

  margin: 0 auto;

  padding:
    26px 12px 18px;

}


/* =========================================================
   WINGS
========================================================= */

.wing {

  display: grid;

  grid-template-columns:
    repeat(
      7,
      minmax(18px, 1fr)
    );

  grid-template-rows:
    repeat(
      20,
      32px
    );

  grid-auto-flow: column;

  gap: 3px;

  min-width: 0;

  transition:
    transform .7s ease;

}


.left-wing {

  transform-origin:
    right center;

}


.right-wing {

  transform-origin:
    left center;

}


.butterfly:hover
.left-wing {

  transform:
    rotateY(3deg)
    rotateX(1deg);

}


.butterfly:hover
.right-wing {

  transform:
    rotateY(-3deg)
    rotateX(1deg);

}


/* =========================================================
   BUTTERFLY BODY
========================================================= */

.body {

  position: relative;

  display: flex;

  flex-direction: column;

  align-items: center;

  justify-content: center;

  z-index: 10;

}


.body-line {

  width: 7px;

  height: 270px;

  border-radius: 50%;

  background:

    linear-gradient(
      to bottom,
      #f8e89b,
      #c49a28,
      #f7dc72,
      #a97c18
    );

  box-shadow:

    0 0 8px
    rgba(212,175,55,.8),

    0 0 20px
    rgba(212,175,55,.35);

}


.body-symbol {

  position: absolute;

  font-size: 31px;

  background:
    rgba(255,250,230,.96);

  border:
    2px solid
    var(--gold);

  width: 48px;

  height: 48px;

  border-radius: 50%;

  display: flex;

  align-items: center;

  justify-content: center;

  box-shadow:
    0 5px 18px
    rgba(0,0,0,.18);

}


/* =========================================================
   PORTALS
========================================================= */

.portal {

  position: relative;

  display: flex;

  align-items: center;

  justify-content: center;

  border-radius: 5px;

  border:
    1px solid
    rgba(80,80,80,.35);

  font-size: 9px;

  font-weight: 600;

  cursor: pointer;

  transition:

    transform .2s ease,

    box-shadow .2s ease,

    filter .2s ease;

}


.portal:hover {

  transform:
    scale(1.22);

  z-index: 20;

  box-shadow:
    0 0 12px
    rgba(255,215,0,.75);

  filter:
    brightness(1.12);

}


/* =========================================================
   TZOLKIN COLORS
========================================================= */

.portal.red {

  background:
    #f28c82;

}


.portal.white {

  background:
    #ffffff;

}


.portal.blue {

  background:
    #aecbfa;

}


.portal.yellow {

  background:
    #fff475;

}


/* =========================================================
   AWAKENED PORTAL
========================================================= */

.portal.awakened {

  border:
    2px solid
    var(--gold);

  box-shadow:

    0 0 7px
    rgba(241,196,15,.85),

    0 0 15px
    rgba(241,196,15,.45);

  z-index: 5;

  animation:
    awakenedPulse
    2.5s
    ease-in-out
    infinite;

}


.portal.awakened.red {

  background:
    var(--red);

  color: white;

}


.portal.awakened.white {

  background:
    #cccccc;

}


.portal.awakened.blue {

  background:
    var(--blue);

  color: white;

}


.portal.awakened.yellow {

  background:
    var(--yellow);

}


@keyframes awakenedPulse {

  0% {

    box-shadow:
      0 0 5px
      rgba(241,196,15,.7);

  }

  50% {

    box-shadow:

      0 0 18px
      rgba(241,196,15,1),

      0 0 30px
      rgba(241,196,15,.35);

  }

  100% {

    box-shadow:
      0 0 5px
      rgba(241,196,15,.7);

  }

}


/* =========================================================
   PORTAL CREATOR COUNT
========================================================= */

.portal-count {

  position: absolute;

  right: -4px;

  bottom: -5px;

  width: 15px;

  height: 15px;

  border-radius: 50%;

  background:
    #222;

  color:
    white;

  font-size: 8px;

  display: flex;

  align-items: center;

  justify-content: center;

  border:
    1px solid
    white;

}


/* =========================================================
   WING LABELS
========================================================= */

.wing-label {

  position: absolute;

  top: 7px;

  font-family:
    'Cinzel',
    serif;

  font-size: 9px;

  letter-spacing: 2px;

  opacity: .48;

}


.left-label {

  left: 18px;

}


.right-label {

  right: 18px;

}


/* =========================================================
   RIGHT COLUMN
========================================================= */

#right-column {

  width: 100%;

  display: flex;

  flex-direction: column;

  gap: 16px;

}


/* =========================================================
   INFORMATION BOXES
========================================================= */

.info-box {

  width: 100%;

  background:
    rgba(255,255,255,.78);

  border:
    1px solid
    rgba(212,175,55,.42);

  border-radius: 20px;

  padding: 19px;

  box-shadow:
    0 8px 25px
    rgba(0,0,0,.09);

}


.info-box h3 {

  margin:
    0 0 10px;

  font-family:
    'Cinzel',
    serif;

  font-size: 15px;

  line-height: 1.3;

}


.info-box p {

  font-size: 12.5px;

  line-height: 1.55;

  margin:
    0 0 10px;

}


.info-box p:last-child {

  margin-bottom: 0;

}


/* =========================================================
   QUETZALCOATL IMAGE
========================================================= */

.image-box {

  padding: 0;

  overflow: hidden;

  display: flex;

  align-items: center;

  justify-content: center;

}


.image-box img {

  display: block;

  width: 100%;

  height: auto;

  max-height: 360px;

  object-fit: contain;

  object-position: center;

  background:
    rgba(255,255,255,.15);

  transition:
    transform .5s ease,
    filter .5s ease;

}


.image-box img:hover {

  transform:
    scale(1.025);

  filter:
    brightness(1.05);

}


/* =========================================================
   CREATOR SECTION
========================================================= */

.creator-form {

  width: min(
    100%,
    900px
  );

  margin:
    28px auto 0;

  background:
    rgba(255,255,255,.68);

  padding:
    25px;

  border-radius: 24px;

  border:
    1px solid
    rgba(255,255,255,.78);

  box-shadow:
    var(--shadow);

}


.creator-form h2 {

  text-align: center;

  font-family:
    'Cinzel',
    serif;

  font-size: 19px;

  letter-spacing: 1px;

  margin:
    0 0 6px;

}


/* =========================================================
   CREATOR ACCESS
========================================================= */

#creatorAccess {

  width: 100%;

  max-width: 680px;

  margin:
    18px auto 22px;

  padding:
    20px 22px;

  border-radius: 22px;

  background:

    radial-gradient(
      circle at 50% 0%,
      rgba(255,220,100,.18),
      transparent 50%
    ),

    rgba(255,255,255,.58);

  border:
    1px solid
    rgba(212,175,55,.35);

  box-shadow:
    0 8px 28px
    rgba(0,0,0,.08);

  text-align: center;

}


.creator-access-title {

  font-family:
    'Cinzel',
    serif;

  font-size: 17px;

  letter-spacing: 1px;

  font-weight: 600;

  margin-bottom: 5px;

}


.creator-access-subtitle {

  font-size: 12px;

  opacity: .62;

  margin-bottom: 17px;

}


/* =========================================================
   PREMIUM BUTTONS
========================================================= */

.creator-access-buttons {

  display: flex;

  justify-content: center;

  align-items: center;

  gap: 10px;

  flex-wrap: wrap;

}


.creator-access-button {

  min-width: 210px;

  padding:
    11px 19px;

  border-radius: 999px;

  cursor: pointer;

  font-weight: 700;

  font-size: 12px;

  letter-spacing: .4px;

  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease;

}


.creator-access-button:hover {

  transform:
    translateY(-2px);

}


.creator-access-primary {

  border:
    1px solid
    rgba(180,135,15,.4);

  background:

    linear-gradient(
      135deg,
      #f4d03f,
      #d4af37
    );

  color:
    #332600;

  box-shadow:
    0 5px 15px
    rgba(212,175,55,.22);

}


.creator-access-primary:hover {

  box-shadow:
    0 8px 22px
    rgba(212,175,55,.35);

}


.creator-access-secondary {

  background:
    rgba(255,255,255,.9);

  border:
    1px solid
    rgba(212,175,55,.4);

  color:
    #554500;

  box-shadow:
    0 4px 12px
    rgba(0,0,0,.06);

}


/* =========================================================
   RETURN AREA
========================================================= */

#creatorAccessReturn {

  display: none;

  margin-top: 18px;

  padding-top: 16px;

  border-top:
    1px solid
    rgba(212,175,55,.18);

}


#creatorAccessEmail {

  width:
    min(320px, 100%);

  box-sizing:
    border-box;

  padding:
    11px 14px;

  border-radius:
    12px;

  border:
    1px solid
    rgba(0,0,0,.14);

  font-size:
    14px;

  outline:
    none;

}


#creatorAccessEmail:focus {

  border-color:
    var(--gold);

  box-shadow:
    0 0 0 3px
    rgba(212,175,55,.12);

}


#creatorAccessMessage {

  margin-top:
    12px;

  font-size:
    13px;

  line-height:
    1.5;

}


.creator-access-success {

  color:
    #48703c;

}


.creator-access-error {

  color:
    #a33a3a;

}


/* =========================================================
   CREATOR FORM INPUTS
========================================================= */

#kinForm {

  display:
    flex;

  flex-wrap:
    wrap;

  justify-content:
    center;

  align-items:
    center;

  gap:
    10px;

}


#kinForm input[type="text"],
#kinForm input[type="email"],
#kinForm input[type="date"] {

  flex:
    1 1 180px;

  min-width:
    0;

  padding:
    11px 13px;

  border:
    1px solid
    rgba(0,0,0,.14);

  border-radius:
    11px;

  font-size:
    14px;

  background:
    rgba(255,255,255,.9);

  outline:
    none;

}


#kinForm input:focus {

  border-color:
    var(--gold);

  box-shadow:
    0 0 0 3px
    rgba(212,175,55,.12);

}


.consent {

  width:
    100%;

  text-align:
    center;

  font-size:
    11px;

  opacity:
    .68;

}


/* =========================================================
   PRIMARY FORM BUTTON
========================================================= */

button.primary {

  min-width:
    220px;

  padding:
    12px 22px;

  background:

    linear-gradient(
      135deg,
      #f4d03f,
      #d4af37
    );

  border:
    1px solid
    rgba(180,135,15,.4);

  border-radius:
    999px;

  font-weight:
    700;

  font-size:
    13px;

  cursor:
    pointer;

  color:
    #332600;

  box-shadow:
    0 5px 15px
    rgba(212,175,55,.22);

  transition:
    transform .2s ease,
    box-shadow .2s ease;

}


button.primary:hover {

  transform:
    translateY(-2px);

  box-shadow:
    0 8px 22px
    rgba(212,175,55,.35);

}


/* =========================================================
   RESULT
========================================================= */

#resultMessage {

  display:
    none;

  margin:
    15px auto 0;

  max-width:
    650px;

  text-align:
    center;

  background:
    rgba(255,250,220,.95);

  border:
    1px solid
    var(--gold);

  border-radius:
    15px;

  padding:
    14px;

  line-height:
    1.5;

}


/* =========================================================
   RECENT CREATORS
========================================================= */

.creator-list {

  width:
    min(100%, 650px);

  margin:
    25px auto 0;

  background:
    rgba(255,255,255,.68);

  border-radius:
    20px;

  padding:
    18px;

  border:
    1px solid
    rgba(255,255,255,.78);

  box-shadow:
    0 8px 25px
    rgba(0,0,0,.08);

}


.creator-list h3 {

  text-align:
    center;

  font-family:
    'Cinzel',
    serif;

  font-size:
    15px;

  margin:
    0 0 12px;

}


#userList {

  list-style:
    none;

  padding:
    0;

  margin:
    0;

  max-height:
    300px;

  overflow-y:
    auto;

}


#userList li {

  margin:
    5px 0;

  padding:
    8px 10px;

  border-radius:
    8px;

  background:
    rgba(255,255,255,.7);

  border:
    1px solid
    rgba(0,0,0,.06);

  text-align:
    center;

  cursor:
    pointer;

  font-size:
    12px;

  transition:
    transform .15s ease,
    background .15s ease;

}


#userList li:hover {

  transform:
    translateY(-1px);

  background:
    rgba(255,255,255,.95);

}


/* =========================================================
   MATRIX
========================================================= */

.matrix-toggle {

  text-align:
    center;

  margin:
    8px 0 12px;

}


.matrix-toggle button {

  padding:
    8px 16px;

  background:
    rgba(255,255,255,.8);

  border:
    1px solid
    var(--gold);

  border-radius:
    999px;

  cursor:
    pointer;

  font-size:
    11px;

  font-weight:
    600;

}


.matrix {

  display:
    none;

  grid-template-columns:
    160px
    repeat(13, 1fr);

  gap:
    3px;

  overflow-x:
    auto;

  padding:
    8px;

}


.matrix.visible {

  display:
    grid;

}


.matrix-sign {

  display:
    flex;

  align-items:
    center;

  font-size:
    11px;

  white-space:
    nowrap;

  padding-left:
    5px;

}


.matrix-cell {

  height:
    35px;

  display:
    flex;

  align-items:
    center;

  justify-content:
    center;

  border-radius:
    4px;

  font-size:
    9px;

  cursor:
    pointer;

}


/* =========================================================
   MODAL
========================================================= */

#modalOverlay {

  position:
    fixed;

  inset:
    0;

  background:
    rgba(0,0,0,.55);

  display:
    none;

  align-items:
    center;

  justify-content:
    center;

  z-index:
    1000;

  padding:
    20px;

}


#modal {

  background:

    linear-gradient(
      180deg,
      rgba(255,255,255,.98),
      rgba(255,250,230,.98)
    );

  border-radius:
    22px;

  padding:
    22px;

  max-width:
    470px;

  width:
    100%;

  max-height:
    85vh;

  overflow-y:
    auto;

  border:
    2px solid
    var(--gold);

  box-shadow:
    0 20px 60px
    rgba(0,0,0,.4);

}


#modal h3 {

  font-family:
    'Cinzel',
    serif;

  text-align:
    center;

  font-size:
    23px;

  margin-top:
    0;

}


.modal-portal {

  text-align:
    center;

  font-size:
    45px;

  margin:
    5px 0;

}


.modal-data {

  text-align:
    center;

  margin-bottom:
    15px;

}


.modal-data strong {

  font-family:
    'Cinzel',
    serif;

}


#modalNames {

  list-style:
    none;

  padding:
    0;

  max-height:
    220px;

  overflow-y:
    auto;

}


#modalNames li {

  padding:
    7px;

  margin:
    4px 0;

  background:
    #f9f4df;

  border-radius:
    8px;

  text-align:
    center;

}


#modalClose {

  width:
    100%;

  padding:
    10px;

  background:
    #f4d03f;

  border:
    none;

  border-radius:
    10px;

  cursor:
    pointer;

}


/* =========================================================
   FOOTER
========================================================= */

.footer {

  text-align:
    center;

  margin:
    30px 0 5px;

  opacity:
    .58;

  font-size:
    11px;

}


.footer strong {

  font-family:
    'Cinzel',
    serif;

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

  body {

    padding:
      22px 18px 35px;

  }


  .main {

    grid-template-columns:
      minmax(0, 1fr)
      285px;

    gap:
      16px;

  }


  .panel {

    padding:
      18px;

  }


  .butterfly {

    grid-template-columns:
      minmax(0,1fr)
      40px
      minmax(0,1fr);

    padding-left:
      5px;

    padding-right:
      5px;

  }


  .wing {

    grid-template-columns:
      repeat(
        7,
        minmax(15px,1fr)
      );

    grid-template-rows:
      repeat(
        20,
        29px
      );

  }


  .creator-access-button {

    min-width:
      195px;

  }

}


/* =========================================================
   TABLET / NARROW DESKTOP
========================================================= */

@media (max-width: 900px) {

  .main {

    grid-template-columns:
      1fr;

  }


  #right-column {

    display:
      grid;

    grid-template-columns:
      repeat(2, minmax(0,1fr));

    gap:
      14px;

  }


  .image-box {

    grid-column:
      1 / -1;

  }


  .image-box img {

    max-height:
      400px;

  }


  .creator-form {

    margin-top:
      22px;

  }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 650px) {

  body {

    padding:
      12px 10px 25px;

  }


  .hero {

    margin-bottom:
      20px;

  }


  .brand {

    letter-spacing:
      3px;

  }


  h1 {

    font-size:
      clamp(48px, 15vw, 68px);

  }


  .subtitle {

    letter-spacing:
      2px;

    line-height:
      1.5;

  }


  .stats {

    grid-template-columns:
      1fr;

    gap:
      8px;

    margin-bottom:
      18px;

  }


  .stat {

    min-height:
      68px;

  }


  .main {

    display:
      block;

  }


  .panel {

    padding:
      12px;

    border-radius:
      20px;

  }


  .butterfly {

    grid-template-columns:
      minmax(0,1fr)
      30px
      minmax(0,1fr);

    gap:
      4px;

    padding:
      20px 2px 12px;

  }


  .wing {

    grid-template-columns:
      repeat(
        7,
        minmax(10px,1fr)
      );

    grid-template-rows:
      repeat(
        20,
        25px
      );

    gap:
      2px;

  }


  .portal {

    font-size:
      7px;

    border-radius:
      4px;

  }


  .body-line {

    height:
      215px;

    width:
      5px;

  }


  .body-symbol {

    width:
      40px;

    height:
      40px;

    font-size:
      25px;

  }


  .wing-label {

    font-size:
      7px;

    letter-spacing:
      1px;

  }


  .left-label {

    left:
      5px;

  }


  .right-label {

    right:
      5px;

  }


  #right-column {

    display:
      flex;

    margin-top:
      14px;

  }


  .info-box {

    padding:
      16px;

  }


  .image-box img {

    max-height:
      330px;

    width:
      100%;

    object-fit:
      contain;

  }


  .creator-form {

    padding:
      18px 12px;

    border-radius:
      20px;

  }


  .creator-access-buttons {

    flex-direction:
      column;

    width:
      100%;

  }


  .creator-access-button {

    width:
      min(100%, 330px);

    min-width:
      0;

  }


  #creatorAccessEmail {

    width:
      100%;

    margin-bottom:
      9px;

  }


  #kinForm {

    flex-direction:
      column;

  }


  #kinForm input[type="text"],
  #kinForm input[type="email"],
  #kinForm input[type="date"] {

    width:
      100%;

    flex:
      none;

  }


  button.primary {

    width:
      min(100%, 330px);

  }


  .creator-list {

    margin-top:
      16px;

  }

}


/* =========================================================
   VERY SMALL MOBILE
========================================================= */

@media (max-width: 420px) {

  .butterfly {

    grid-template-columns:
      minmax(0,1fr)
      24px
      minmax(0,1fr);

  }


  .wing {

    grid-template-rows:
      repeat(
        20,
        22px
      );

  }


  .portal {

    font-size:
      6px;

  }


  .body-line {

    height:
      190px;

  }


  .body-symbol {

    width:
      34px;

    height:
      34px;

    font-size:
      21px;

  }

}


/* =========================================================
   IMPORTANT:
   EMPTY RIGHT-WING PORTALS
   MUST BE COMPLETELY INVISIBLE
========================================================= */

.portal-empty,
.right-wing .portal-empty,
#rightWing .portal-empty {

  border:
    none !important;

  background:
    transparent !important;

  box-shadow:
    none !important;

  outline:
    none !important;

  visibility:
    hidden !important;

  pointer-events:
    none !important;

}