body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #000;
  color: #f5f5f5;
  min-height: 100vh;
}

/* Story Container */
.story-root {
  position: fixed;
  inset: 0;
  width: 100vw; height: 100vh;
  z-index: 200;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #000;
}

/* Progress Bar */
.story-progressbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 5px;
  z-index: 50;
}
.story-progress {
  height: 100%;
  background: linear-gradient(90deg, #ffe066 0%, #d4af37 100%);
  border-radius: 7px;
  transition: width 0.35s cubic-bezier(.5,.2,.6,1.2);
  width: 20%;
  box-shadow: 0 1px 4px #d4af3722;
}

/* Header */
.story-header {
  position: fixed;
  top: 12px;
  left: 0;
  width: 100vw;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 32px;
  background: transparent;
  z-index: 100;
}
.story-logo {
  height: 56px;
  width: auto;
  border-radius: 10px;
  object-fit: contain;
  background: none;
  margin-right: 28px;
}
.story-lang-toggle {
  display: flex;
  gap: 10px;
  align-items: center;
}
.story-lang-toggle button {
  padding: 7px 18px;
  font-size: 1em;
  background: #111d;
  color: #ffe066;
  border: 1.5px solid #ffe066;
  border-radius: 8px;
  cursor: pointer;
  font-family: inherit;
  outline: none;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 10px #d4af3722;
  transition: background 0.2s, color 0.2s, border 0.2s;
}
.story-lang-toggle button.active,
.story-lang-toggle button:hover {
  background: #ffe066cc;
  color: #222;
  border-color: #d4af37;
  font-weight: bold;
}
.flag {
  width: 20px; height: 20px;
  border-radius: 5px;
  box-shadow: 0 0 3px #bdbdbd44;
}

/* Main Slides */
.story-main {
  flex: 1;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: center;
  position: relative;
  z-index: 10;
  margin-top: 82px;
}

/* Glassmorphism for slides/cards */
.glass {
  background: linear-gradient(90deg, #212121bb 80%, #d4af3722 100%);
  backdrop-filter: blur(18px) brightness(1.02);
  -webkit-backdrop-filter: blur(18px) brightness(1.02);
  box-shadow: 0 4px 24px #d4af3722, 0 1px 12px #0002;
  border-radius: 18px;
  border: 1.5px solid #fff2;
}

.story-slide {
  min-width: 100vw;
  height: calc(100vh - 120px);
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: absolute;
  left: 0; top: 0;
  background: none;
  animation: fadeIn 0.44s;
  z-index: 2;
  border-radius: 22px;
  box-shadow: 0 4px 32px #d4af3730;
}
.story-slide.active {
  display: flex;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.97);}
  to { opacity: 1; transform: scale(1);}
}

/* Slide Images */
.story-imgbox {
  width: 100vw;
  max-width: 480px;
  height: 48vh;
  max-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.story-img {
  width: auto;
  max-width: 92vw;
  max-height: 100%;
  border-radius: 18px;
  box-shadow: 0 6px 32px #d4af3733;
  background: #222;
  object-fit: contain;
}

/* Slide Text */
.story-text {
  color: #f5f5f5;
  text-align: center;
  padding: 0 22px;
  max-width: 370px;
  margin: 0 auto;
  font-size: 1.17em;
}
.story-text h2 {
  margin-top: 0;
  font-size: 1.32em;
  color: #ffe066;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.story-text p {
  margin: 14px 0 0 0;
  line-height: 1.5;
}

.story-warning {
  display: inline-block;
  background: #ffe066cc;
  color: #222;
  font-weight: bold;
  padding: 3px 10px;
  border-radius: 6px;
  margin-top: 4px;
  font-size: 0.96em;
}
.story-note {
  color: #ffe066;
  font-weight: 500;
  font-size: 0.97em;
}

/* Link e Hyperlink */
.story-linkbox {
  margin: 18px 0 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.story-hyperlink {
  display: flex;
  align-items: center;
  gap: 7px;
  background: linear-gradient(90deg, #ffe06650 50%, #d4af3722 100%);
  border-radius: 11px;
  padding: 9px 18px;
  font-size: 1.05em;
  font-weight: bold;
  color: #ffe066;
  text-decoration: none;
  box-shadow: 0 2px 12px #d4af3711;
  border: 1.5px solid #d4af37;
  transition: box-shadow 0.2s, background 0.2s;
}
.story-hyperlink:hover,
.story-hyperlink:focus {
  box-shadow: 0 4px 20px #d4af3733;
  background: linear-gradient(90deg, #ffe066 60%, #d4af37 100%);
  color: #222;
}
.story-linkicon {
  font-size: 1.3em;
}
.story-linktext {
  font-size: 1.05em;
  font-weight: bold;
  letter-spacing: 0.3px;
}
.story-linkdesc {
  color: #ffe066;
  font-size: 0.99em;
  margin-top: 3px;
}

/* Dica Global */
.story-global {
  margin: 18px 0 0 0;
  background: #fffbe6cc;
  border-radius: 11px;
  color: #a87c00;
  font-size: 1em;
  font-weight: 500;
  padding: 9px 16px;
  box-shadow: 0 2px 18px #d4af3722;
  display: flex;
  align-items: center;
  gap: 7px;
  justify-content: center;
}
.story-tipicon {
  font-size: 1.3em;
  margin-right: 2px;
}

/* Suporte */
.story-support {
  margin: 14px 0 0 0;
  background: #111d;
  border: 1.5px solid #ffe06699;
  color: #ffe066;
  border-radius: 12px;
  font-weight: bold;
  padding: 9px 16px;
  box-shadow: 0 2px 8px #d4af3722;
  display: flex;
  align-items: center;
  gap: 10px;
  justify-content: center;
}
.story-supporticon {
  font-size: 1.16em;
  margin-right: 2px;
}
.story-btn {
  margin-left: 6px;
  background: linear-gradient(90deg, #ffe066 40%, #d4af37 100%);
  color: #222;
  font-weight: bold;
  padding: 7px 18px;
  border-radius: 7px;
  text-decoration: none;
  box-shadow: 0 2px 8px #d4af3722;
  transition: background 0.2s, box-shadow 0.2s, color 0.2s;
  font-size: 1em;
  border: none;
}
.story-btn:hover,
.story-btn:focus {
  background: linear-gradient(90deg, #d4af37 80%, #ffe066 100%);
  color: #222;
  box-shadow: 0 4px 16px #d4af3755;
}

/* Navegação (setas) */
.story-nav {
  position: fixed;
  top: 50%;
  left: 0;
  width: 100vw;
  height: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  z-index: 99;
}
.story-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(34,34,34,0.7);
  color: #ffe066;
  border-radius: 50%;
  font-size: 2.2em;
  width: 48px; height: 48px;
  pointer-events: all;
  border: none;
  left: 22px;
  right: auto;
}
.story-arrow-right {
  left: auto;
  right: 22px;
}
.story-arrow:hover,
.story-arrow:focus {
  background: #ffe066;
  color: #222;
}
.story-arrow:disabled {
  opacity: 0.2;
  pointer-events: none;
}

/* Responsivo */
@media (max-width: 600px) {
  .story-header { height: 42px; padding-left: 12px; }
  .story-logo { height: 26px; margin-right: 10px; }
  .story-lang-toggle button { padding: 5px 12px; font-size: 0.95em; }
  .story-progressbar { height: 3px;}
  .story-imgbox { height: 22vh; max-height: 120px; }
  .story-main { margin-top: 50px; }
  .story-text { font-size: 1em; max-width: 96vw;}
  .story-arrow { font-size: 1.2em; width: 32px; height: 32px;}
  .story-arrow-left { left: 4px; }
  .story-arrow-right { right: 4px;}
}

/* Esconde scrollbar dos stories */
.story-root, .story-main, .story-slide {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.story-root::-webkit-scrollbar,
.story-main::-webkit-scrollbar,
.story-slide::-webkit-scrollbar {
  display: none;
}