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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  font-family: 'Cinzel', serif;
  color: #f7e9c6;
  background-image: url('assets/images/background2.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow-x: hidden;
}

.page-overlay {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(44, 255, 183, 0.12), transparent 35%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.2), rgba(0, 10, 8, 0.65));
  z-index: -1;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    radial-gradient(#7dffd2 1px, transparent 1px),
    radial-gradient(#b8ffdd 1px, transparent 1px);
  background-size: 90px 90px, 130px 130px;
  background-position: 0 0, 40px 60px;
  opacity: 0.18;
  animation: floatingLights 18s linear infinite;
  pointer-events: none;
  z-index: 0;
}

@keyframes floatingLights {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-80px);
  }
}

/* NAVBAR */

.top-nav {
  width: calc(100% - 44px);
  margin: 22px auto 0;
  min-height: 80px;
  padding: 8px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(1, 13, 12, 0.78);
  border: 1px solid rgba(199, 159, 87, 0.8);
  box-shadow:
    0 0 22px rgba(83, 255, 194, 0.12),
    inset 0 0 30px rgba(0, 0, 0, 0.85);
  position: relative;
  z-index: 10;
}

.top-nav::before,
.top-nav::after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(199, 159, 87, 0.45);
  pointer-events: none;
}

.nav-logo img {
  width: 260px;
  height: auto;
  display: block;
  filter: drop-shadow(0 0 10px rgba(161, 255, 208, 0.25));
}

.nav-logo {
  display: flex;
  align-items: center;
}

nav ul {
  display: flex;
  align-items: center;
  gap: 52px;
  list-style: none;
}

nav a {
  position: relative;
  color: #f3dfb7;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 1px;
  transition: 0.3s ease;
}

nav a:hover,
nav a.active {
  color: #caffb7;
  text-shadow: 0 0 10px rgba(93, 255, 188, 0.8);
}

nav a.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -28px;
  width: 92px;
  height: 3px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, #57ffbd, transparent);
  box-shadow: 0 0 14px #57ffbd;
}
.play-button,
.main-button,
.small-button{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;

    text-decoration:none;
    text-transform:uppercase;

    color:#f6efc5;
    font-weight:700;
    letter-spacing:1.5px;

    background:
        linear-gradient(180deg,#13533e 0%,#0b3328 45%,#041914 100%);

    border:1px solid rgba(214,183,108,.9);

    border-radius:6px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.08),
        inset 0 -1px 0 rgba(0,0,0,.6),
        0 0 18px rgba(74,255,188,.18);

    overflow:hidden;

    transition:.35s;
}

.play-button::before,
.main-button::before,
.small-button::before{
    content:"";
    position:absolute;
    inset:4px;
    border:1px solid rgba(126,255,208,.18);
    border-radius:4px;
    pointer-events:none;
}

.play-button::after,
.main-button::after,
.small-button::after{
    content:"";
    position:absolute;
    left:-70%;
    top:0;
    width:50%;
    height:100%;

    background:
        linear-gradient(
            120deg,
            transparent,
            rgba(255,255,255,.35),
            transparent
        );

    transform:skewX(-25deg);
    transition:.7s;
}

.play-button:hover::after,
.main-button:hover::after,
.small-button:hover::after{
    left:130%;
}

.play-button:hover,
.main-button:hover,
.small-button:hover{

    transform:translateY(-2px);

    color:white;

    background:
        linear-gradient(180deg,#197356,#0d4d3a,#06261d);

    box-shadow:
        0 0 28px rgba(74,255,188,.45),
        inset 0 1px 0 rgba(255,255,255,.15);
}

.play-button{
    padding:12px 30px;
    font-size:1rem;
}

.main-button{
    margin-top:28px;
    padding:18px 58px;
    font-size:1.25rem;
    font-weight:800;
}

.small-button{
    padding:11px 26px;
    font-size:.82rem;
}

.play-button span{
    margin-left:12px;
    color:#76ffd1;
}

/* HERO */

main {
  position: relative;
  z-index: 1;
}

.hero {
  max-width: 900px;
  margin: 70px auto 30px;
  text-align: center;
  padding: 0 24px;
}

.hero-logo {
  width: 700px;
  max-width: 90%;
  filter:
    drop-shadow(0 0 18px rgba(104, 255, 190, 0.28))
    drop-shadow(0 8px 12px rgba(0, 0, 0, 0.8));
}

.hero h2 {
  margin-top: 24px;
  color: #f4e7c8;
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 9px;
  font-weight: 700;
  text-shadow: 0 0 12px rgba(0, 0, 0, 0.9);
}

.divider {
  width: 480px;
  max-width: 85%;
  margin: 18px auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  color: #5dffc0;
  text-shadow: 0 0 12px #5dffc0;
}

.divider span {
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(218, 176, 93, 0.75), transparent);
}

.hero p {
  max-width: 650px;
  margin: 0 auto;
  color: #f1dfc1;
  font-size: 1.12rem;
  line-height: 1.8;
  text-shadow: 0 2px 4px #000;
}

.main-button {
  display: inline-block;
  margin-top: 28px;
  padding: 18px 52px;
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: 1px;
  clip-path: polygon(7% 0, 93% 0, 100% 28%, 100% 72%, 93% 100%, 7% 100%, 0 72%, 0 28%);
}

.main-button span {
  margin-left: 16px;
}

/* INFO PANEL */

.info-panel {
  max-width: 1160px;
  margin: 55px auto 0;
  padding: 28px 34px;
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 30px;
  background: rgba(1, 13, 12, 0.78);
  border: 1px solid rgba(199, 159, 87, 0.85);
  box-shadow:
    0 0 25px rgba(0, 0, 0, 0.75),
    inset 0 0 35px rgba(0, 0, 0, 0.75);
  position: relative;
}

.info-panel::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(199, 159, 87, 0.35);
  pointer-events: none;
}

.panel-column {
  position: relative;
  z-index: 2;
}

.panel-column h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 24px;
  color: #f6e2ba;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 1.05rem;
}

.panel-column h3 span {
  width: 90px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #5dffc0, transparent);
  box-shadow: 0 0 10px #5dffc0;
}

.featured-content,
.news-content {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 24px;
  align-items: center;
}

.news-content {
  grid-template-columns: 0.8fr 1fr;
}

.featured-content img,
.news-content img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  border: 1px solid rgba(199, 159, 87, 0.55);
  box-shadow: 0 0 18px rgba(0, 0, 0, 0.8);
}

.featured-content h4,
.news-content h4 {
  color: #ffe3a5;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 1rem;
  margin-bottom: 14px;
}

.featured-content p,
.news-content p {
  color: #f1dfc1;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

.small-button {
  display: inline-block;
  padding: 11px 28px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 1px;
  clip-path: polygon(9% 0, 91% 0, 100% 25%, 100% 75%, 91% 100%, 9% 100%, 0 75%, 0 25%);
}

.vertical-line {
  background: linear-gradient(to bottom, transparent, rgba(199, 159, 87, 0.45), transparent);
}

/* SCROLL */

.scroll-text {
  margin: 22px auto 30px;
  text-align: center;
  color: #f1dfc1;
  text-transform: uppercase;
  letter-spacing: 6px;
}

.scroll-text p {
  font-size: 0.95rem;
}

.scroll-text span {
  display: block;
  margin-top: 6px;
  color: #61ffc4;
  font-size: 2.4rem;
  line-height: 1;
  text-shadow: 0 0 18px #61ffc4;
  animation: bounce 1.8s infinite;
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

/* RESPONSIVE */

@media (max-width: 1050px) {
  .top-nav {
    height: auto;
    padding: 24px;
    flex-direction: column;
    gap: 22px;
  }

  nav ul {
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
  }

  nav a.active::after {
    bottom: -10px;
  }

  .info-panel {
    grid-template-columns: 1fr;
  }

  .vertical-line {
    height: 1px;
  }
}

@media (max-width: 700px) {
  .nav-logo img {
    width: 190px;
  }

  nav ul {
    gap: 16px;
  }

  nav a {
    font-size: 0.85rem;
  }

  .hero {
    margin-top: 45px;
  }

  .hero h2 {
    font-size: 0.9rem;
    letter-spacing: 4px;
  }

  .hero p {
    font-size: 1rem;
  }

  .featured-content,
  .news-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .info-panel {
    width: calc(100% - 28px);
    padding: 24px 18px;
  }

  .play-button,
  .main-button {
    font-size: 1rem;
  }
}
/* CHARACTER SELECTION PAGE */

.characters-page {
  background-image: url('assets/images/characters-background.png');
}

.character-select {
  min-height: calc(100vh - 120px);
  padding: 45px 24px 60px;
}

.character-title {
  text-align: center;
  margin-bottom: 25px;
}

.character-title h1 {
  font-size: 3.2rem;
  color: #ffe3a5;
  text-transform: uppercase;
  letter-spacing: 6px;
  text-shadow: 0 0 18px rgba(93, 255, 188, 0.6);
}

.character-title p {
  margin-top: 8px;
  color: #7dffd2;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.character-screen {
  width: 1200px;
  max-width: 95%;
  min-height: 560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 70px 1fr 70px 260px;
  align-items: center;
  gap: 20px;
  position: relative;
}

.power-panel,
.equipment-panel,
.story-panel {
  background: rgba(1, 13, 12, 0.82);
  border: 1px solid rgba(199, 159, 87, 0.75);
  box-shadow:
    0 0 24px rgba(0, 0, 0, 0.8),
    inset 0 0 24px rgba(0, 0, 0, 0.75);
}

.power-panel {
  padding: 24px;
}

.power-panel h2,
.story-panel h2,
.info-box h3 {
  color: #ffe3a5;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 18px;
}

.stat {
  margin-bottom: 20px;
}

.stat p {
  display: flex;
  justify-content: space-between;
  color: #f7e9c6;
  margin-bottom: 7px;
  font-size: 0.95rem;
}

.bar {
  width: 100%;
  height: 12px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: 20px;
  overflow: hidden;
}

.bar span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #56ffbc, #ffe3a5);
  box-shadow: 0 0 14px rgba(86, 255, 188, 0.9);
  transition: width 0.5s ease;
}

.character-center {
  height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.character-center img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  filter:
    drop-shadow(0 0 25px rgba(93, 255, 188, 0.35))
    drop-shadow(0 18px 18px rgba(0, 0, 0, 0.9));
  animation: characterFloat 3.5s ease-in-out infinite;
}

@keyframes characterFloat {
  0%, 100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

.arrow-btn {
  width: 64px;
  height: 86px;
  border: 1px solid rgba(125, 255, 210, 0.8);
  background: rgba(0, 30, 25, 0.72);
  color: #dfffaa;
  font-size: 4rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(83, 255, 184, 0.35);
  transition: 0.3s ease;
}

.arrow-btn:hover {
  transform: scale(1.08);
  background: rgba(20, 70, 55, 0.9);
  box-shadow: 0 0 28px rgba(83, 255, 184, 0.7);
}

.equipment-panel {
  display: grid;
  gap: 22px;
  padding: 20px;
}

.info-box {
  text-align: center;
  padding: 16px;
  border: 1px solid rgba(125, 255, 210, 0.35);
  background: rgba(0, 0, 0, 0.28);
}

.info-box img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  margin: 10px auto;
  display: block;
  filter: drop-shadow(0 0 14px rgba(93, 255, 188, 0.45));
}

.info-box p {
  color: #f7e9c6;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

.story-panel {
  width: 900px;
  max-width: 92%;
  margin: 35px auto 0;
  padding: 26px 34px;
  text-align: center;
}

.story-panel p {
  color: #f1dfc1;
  line-height: 1.8;
  font-size: 1.05rem;
}

@media (max-width: 1050px) {
  .character-screen {
    grid-template-columns: 1fr;
  }

  .arrow-btn {
    margin: 0 auto;
  }

  .left {
    order: 2;
  }

  .character-center {
    order: 1;
    height: 430px;
  }

  .right {
    order: 3;
  }

  .power-panel {
    order: 4;
  }

  .equipment-panel {
    order: 5;
  }
}

@media (max-width: 600px) {
  .character-title h1 {
    font-size: 2.1rem;
    letter-spacing: 3px;
  }

  .character-center {
    height: 360px;
  }

  .story-panel {
    padding: 22px;
  }
}

.character-center img {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.character-center img:hover {
  transform: scale(1.05);
  filter:
    drop-shadow(0 0 35px rgba(93, 255, 188, 0.6))
    drop-shadow(0 18px 25px rgba(0, 0, 0, 1));
}

/* ABOUT PAGE */

.about-page {
  background-image: url('assets/images/about-background.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.about-container {
  min-height: calc(100vh - 110px);
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 35px 0 70px 90px;
}

.about-text-box {
  width: 750px;
  max-height: 380px;
  padding: 28px;
  background: rgba(1, 13, 12, 0.78);
  border: 1px solid rgba(199, 159, 87, 0.85);
  box-shadow:
    0 0 25px rgba(0, 0, 0, 0.8),
    inset 0 0 28px rgba(0, 0, 0, 0.75);
}

.about-text-box h1 {
  color: #ffe3a5;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 18px;
  font-size: 2rem;
}

.about-scroll {
  max-height: 270px;
  overflow-y: auto;
  padding-right: 14px;
}

.about-scroll h2 {
  color: #7dffd2;
  margin: 22px 0 10px;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 1.1rem;
}

.about-scroll p {
  color: #f1dfc1;
  line-height: 1.7;
  margin-bottom: 14px;
  font-size: 0.95rem;
}

/* Scrollbar */
.about-scroll::-webkit-scrollbar {
  width: 8px;
}

.about-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.08);
}

.about-scroll::-webkit-scrollbar-thumb {
  background: linear-gradient(#56ffbc, #ffe3a5);
  border-radius: 10px;
}

/* Responsive */
@media (max-width: 800px) {
  .about-container {
    padding: 40px 24px;
    justify-content: center;
  }

  .about-text-box {
    width: 100%;
    max-height: 560px;
  }
}

/* WORLD PAGE */

.world-page {
  background-image: url("assets/images/background2.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.world-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px;
}

.world-slider {
  position: relative;
  width: 1100px;
  max-width: 95%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.world-image-box {
  width: 100%;
  height: 520px;
  overflow: hidden;
  border: 1px solid rgba(199, 159, 87, 0.9);
  box-shadow: 
    0 0 30px rgba(0,0,0,0.8),
    inset 0 0 30px rgba(0,0,0,0.7);
}

.world-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

/* título */
.world-title {
  margin-top: 20px;
}

.world-title h2 {
  color: #ffe3a5;
  font-size: 2rem;
  letter-spacing: 3px;
  text-transform: uppercase;
}

/* setas */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(1, 13, 12, 0.8);
  border: 1px solid rgba(199, 159, 87, 0.8);
  color: #ffe3a5;
  font-size: 28px;
  padding: 14px 18px;
  cursor: pointer;
  transition: 0.3s;
}

.arrow:hover {
  background: rgba(20, 50, 40, 0.9);
  box-shadow: 0 0 15px rgba(125,255,210,0.6);
}

.arrow.left {
  left: -70px;
}

.arrow.right {
  right: -70px;
}

/* mobile */
@media (max-width: 900px) {
  .arrow.left {
    left: 10px;
  }

  .arrow.right {
    right: 10px;
  }

  .world-image-box {
    height: 350px;
  }
}

/* COMMUNITY PAGE */

.community-page {
  background-image: url('assets/images/background2.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.community-container {
  padding: 45px 24px 70px;
}

.community-header {
  text-align: center;
  margin-bottom: 35px;
}

.community-header h1 {
  color: #ffe3a5;
  font-size: 3rem;
  text-transform: uppercase;
  letter-spacing: 6px;
  text-shadow: 0 0 18px rgba(93, 255, 188, 0.6);
}

.community-header p {
  margin-top: 14px;
  color: #f1dfc1;
  font-size: 1.05rem;
}

.community-layout {
  width: 1200px;
  max-width: 95%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 270px 1fr;
  gap: 28px;
}

.community-sidebar,
.news-panel {
  background: rgba(1, 13, 12, 0.82);
  border: 1px solid rgba(199, 159, 87, 0.85);
  box-shadow:
    0 0 25px rgba(0, 0, 0, 0.8),
    inset 0 0 28px rgba(0, 0, 0, 0.75);
}

.community-sidebar {
  padding: 24px;
  height: fit-content;
}

.community-sidebar h2 {
  color: #ffe3a5;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.community-sidebar p {
  color: #f1dfc1;
  line-height: 1.7;
  font-size: 0.95rem;
}

.community-badge {
  margin-top: 24px;
  padding: 16px;
  text-align: center;
  color: #7dffd2;
  border: 1px solid rgba(125, 255, 210, 0.6);
  background: rgba(0, 30, 25, 0.65);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.news-panel {
  padding: 24px;
}

.news-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(199, 159, 87, 0.45);
}

.news-tabs span {
  color: #f7e9c6;
  text-transform: uppercase;
  font-size: 0.85rem;
  letter-spacing: 1px;
}

.news-tabs .active-tab {
  color: #7dffd2;
  text-shadow: 0 0 12px rgba(125, 255, 210, 0.8);
}

.news-item {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 22px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(199, 159, 87, 0.35);
}

.news-item:last-child {
  border-bottom: none;
}

.news-item img {
  width: 170px;
  height: 110px;
  object-fit: cover;
  border: 1px solid rgba(199, 159, 87, 0.75);
  box-shadow: 0 0 14px rgba(0, 0, 0, 0.8);
}

.news-item h2 {
  color: #ffe3a5;
  text-transform: uppercase;
  font-size: 1.25rem;
  margin-bottom: 6px;
}

.news-date {
  color: #7dffd2;
  font-size: 0.85rem;
  margin-bottom: 10px;
}

.news-item p {
  color: #f1dfc1;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .community-layout {
    grid-template-columns: 1fr;
  }

  .news-item {
    grid-template-columns: 1fr;
  }

  .news-item img {
    width: 100%;
    height: 220px;
  }
}

/* FINAL BUTTON STYLE FIX */

.play-button,
.main-button,
.small-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  text-transform: uppercase;

  color: #f6efc5;
  font-weight: 800;
  letter-spacing: 1.4px;

  background: linear-gradient(180deg, #14543f, #082c23 55%, #031512);
  border: 1px solid rgba(214, 183, 108, 0.95);
  border-radius: 8px;

  clip-path: none !important;

  box-shadow:
    inset 0 0 0 1px rgba(125, 255, 210, 0.22),
    inset 0 0 18px rgba(88, 255, 187, 0.12),
    0 0 18px rgba(74, 255, 188, 0.22);

  overflow: hidden;
  transition: 0.35s ease;
}

.play-button::after,
.main-button::after,
.small-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: -80%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    120deg,
    transparent,
    rgba(255, 255, 255, 0.28),
    transparent
  );
  transform: skewX(-25deg);
  transition: 0.7s ease;
}

.play-button:hover::after,
.main-button:hover::after,
.small-button:hover::after {
  left: 130%;
}

.play-button:hover,
.main-button:hover,
.small-button:hover {
  transform: translateY(-3px);
  color: #ffffff;
  border-color: #7dffd2;
  box-shadow:
    0 0 28px rgba(83, 255, 184, 0.55),
    inset 0 0 22px rgba(88, 255, 187, 0.22);
}

.play-button {
  padding: 12px 32px;
  font-size: 1rem;
}

.main-button {
  padding: 18px 58px;
  font-size: 1.25rem;
}

.small-button {
  padding: 11px 30px;
  font-size: 0.8rem;
}

.play-button span {
  margin-left: 12px;
  color: #7dffd2;
}

/* GLOBAL BACKGROUND FIX */

body {
  background-image: none !important;
  background-color: #03110e;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -3;
  background-image: url("assets/images/background2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* Page-specific backgrounds */

body.characters-page::after {
  background-image: url("assets/images/characters-background.png");
}

body.about-page::after {
  background-image: url("assets/images/about-background.jpg");
}

body.world-page::after,
body.community-page::after {
  background-image: url("assets/images/background2.jpg");
}

/* Keep overlay above background */

.page-overlay {
  z-index: -1;
}

/* Keep floating lights visible */

body::before {
  z-index: 0;
}

/* GAME MODAL */
.game-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 8, 6, 0.85);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.game-modal.active {
  display: flex;
}

.game-modal-box {
  width: 460px;
  max-width: 90%;
  padding: 36px;
  text-align: center;
  background: rgba(1, 13, 12, 0.96);
  border: 1px solid rgba(199, 159, 87, 0.9);
  box-shadow: 0 0 35px rgba(83, 255, 184, 0.35);
  position: relative;
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  background: none;
  border: none;
  color: #ffe3a5;
  font-size: 2rem;
  cursor: pointer;
}

.notify-form {
  display: flex;
  gap: 10px;
  margin-top: 22px;
}

.notify-form input {
  flex: 1;
  padding: 13px;
}

.notify-form button {
  padding: 13px 18px;
}

/* ALGOMON QUIZ */

.algomon-quiz {
  width: 900px;
  max-width: 92%;
  margin: 80px auto 40px;
  text-align: center;
  padding: 34px;
  background: rgba(1, 13, 12, 0.82);
  border: 1px solid rgba(199, 159, 87, 0.85);
  box-shadow:
    0 0 25px rgba(0, 0, 0, 0.8),
    inset 0 0 28px rgba(0, 0, 0, 0.75);
}

.algomon-quiz h2 {
  color: #ffe3a5;
  text-transform: uppercase;
  letter-spacing: 4px;
  font-size: 2rem;
  margin-bottom: 12px;
}

.algomon-quiz > p {
  color: #f1dfc1;
  font-size: 1.15rem;
  margin-bottom: 28px;
}

.quiz-box {
  max-width: 650px;
  margin: 0 auto;
}

#quizCounter {
  display: inline-block;
  margin-bottom: 18px;
  color: #7dffd2;
  letter-spacing: 2px;
  text-transform: uppercase;
}

#quizQuestion {
  color: #ffe3a5;
  font-size: 1.4rem;
  margin-bottom: 24px;
}

.quiz-options {
  display: grid;
  gap: 14px;
  margin-bottom: 26px;
}

.quiz-option {
  padding: 15px;
  background: rgba(0, 30, 25, 0.7);
  border: 1px solid rgba(125, 255, 210, 0.35);
  color: #f1dfc1;
  cursor: pointer;
  transition: 0.3s ease;

  font-size: 1.2 rem;      
  font-weight: 600;         
  line-height: 1.6;         
}

.quiz-option:hover,
.quiz-option.selected {
  border-color: #7dffd2;
  color: #ffffff;
  box-shadow: 0 0 18px rgba(83, 255, 184, 0.35);
}

.quiz-result {
  margin-top: 28px;
}

.quiz-result img {
  max-width: 280px;
  width: 80%;
  margin: 18px auto;
  display: block;
  filter: drop-shadow(0 0 25px rgba(93, 255, 188, 0.45));
}

.quiz-result h3 {
  color: #ffe3a5;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 3px;
}

.quiz-result p {
  color: #f1dfc1;
  font-size: 1.15rem;
  line-height: 1.8;
}