/*
Theme Name: Rovimoro
Theme URI: https://rovimoro.com/
Author: Rovimoro Team
Author URI: https://rovimoro.com/
Description: Rovimoro is a Maya-inspired social gaming world featuring the Rovimoro HTML5 game. Experience ancient temple aesthetics with modern browser-based games. Fully responsive, SEO-optimized, and designed for pure entertainment without real-money play. For players 21+.
Version: 1.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Tags: html5, responsive, social, game, maya, aztec, jungle, browser-games, web-games, no-gambling
Text Domain: rovimoro
*/
* {
    padding: 0px;
    margin: 0px;
    border: none;
}
*,
*::before,
*::after {
    box-sizing: border-box;
}
a, a:link, a:visited {
    text-decoration: none;
}
a:hover {
    text-decoration: none;
}
aside, nav, footer, header, section, main {
    display: block;
}
h1, h3, h4, h5, h6, p {
    font-size: inherit;
    font-weight: inherit;
}
ul, ul li {
    list-style: none;
}
img {
    vertical-align: top;
}
img, svg {
    max-width: 100%;
    height: auto;
}
address {
    font-style: normal;
}
input, textarea, button, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background-color: transparent;
}
input::-ms-clear {
    display: none;
}
button, input[type=submit] {
    display: inline-block;
    box-shadow: none;
    background-color: transparent;
    background: none;
    cursor: pointer;
}
input:focus, input:active,
button:focus, button:active {
    outline: none;
}
button::-moz-focus-inner {
    padding: 0;
    border: 0;
}
label {
    cursor: pointer;
}
legend {
    display: block;
}
html {
    scroll-behavior: smooth;
}
/*------------base-styles---------------*/
:root {
    --stone: #3D2817;
    --jungle: #2D5016;
    --gold: #D4AF37;
    --gold-hover: rgba(212, 175, 55, 0.85);
    --sand: #F4E4C1;
    --white: #FFFFFF;

    --font-body: 'Rubik', sans-serif;
    --font-head: 'Rye', serif;
}
body {
    font-family: var(--font-body);
    font-size: 18px;
    color: var(--stone);
    background-color: var(--sand);
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    line-height: 1.1;
    margin-bottom: 0.8em;
    color: var(--stone);
    letter-spacing: 0.02em;
}

h1 {
    font-size: clamp(2.8rem, 2.3143rem + 2.4286vw, 4.5rem);
}

h2 {
    font-size: clamp(2.25rem, 1.75rem + 2.5vw, 4rem);
}

h3 {
    font-size: clamp(1.35rem, 1.2357rem + 0.5714vw, 1.75rem);
}

h4 {
    font-size: 1.5rem;
}

p {
    font-size: 1.125rem;
    margin-bottom: 1.5em;
    color: var(--stone);
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: opacity 0.25s ease;
}

a:hover {
    opacity: 0.8;
}

.container {
    max-width: 1400px;
    padding: 0 40px;
    margin: 0 auto;
}

.button {
    display: inline-block;
    font-family: var(--font-head);
    font-size: 1.125rem;
    font-weight: 400;
    padding: 18px 48px;
    border: 3px solid transparent;
    border-radius: 0;
    cursor: pointer;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.button-primary {
    background-color: var(--gold);
    color: var(--stone);
    border-color: var(--gold);
    box-shadow: 4px 4px 0 var(--stone);
}

.button-primary:hover {
    background-color: var(--stone);
    color: var(--gold);
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--stone);
}

.button-secondary {
    background-color: transparent;
    color: var(--jungle);
    border-color: var(--jungle);
}

.button-secondary:hover {
    background-color: var(--jungle);
    color: var(--white);
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea,
select {
    width: 100%;
    padding: 18px 24px;
    border: 3px solid var(--stone);
    border-radius: 0;
    font-family: var(--font-body);
    font-size: 1.125rem;
    background: var(--white);
    color: var(--stone);
    transition: all 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--gold);
    transform: translateX(4px);
}

.section {
    padding: 120px 0;
}

.section-title {
    font-family: var(--font-head);
    font-size: clamp(1.8rem, 1.3143rem + 2.4286vw, 3.5rem);
    text-align: center;
    color: var(--stone);
    margin-bottom: 80px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
/**/
.site-header {
    padding: 20px 0;
    margin: 24px 40px;
    background: var(--jungle);
    border: 3px solid var(--stone);
    position: sticky;
    top: 20px;
    z-index: 1000;
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    width: clamp(2.8125rem, 2.5446rem + 1.3393vw, 3.75rem);
    height: clamp(2.8125rem, 2.5446rem + 1.3393vw, 3.75rem);
    background: var(--gold);
    border: 3px solid var(--stone);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-head);
    font-size: clamp(1.25rem, 1.0357rem + 1.0714vw, 2rem);
    color: var(--stone);
}

.logo-text {
    font-family: var(--font-head);
    font-size: clamp(1.25rem, 1.1071rem + 0.7143vw, 1.75rem);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    gap: 48px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--gold);
}

.nav-link:hover::after {
    width: 100%;
}

.header-cta {
    flex-shrink: 0;
}

.header-cta .button {
    background: var(--gold);
    color: var(--stone);
    padding: 14px 36px;
    border: 3px solid var(--stone);
    font-family: var(--font-head);
    font-size: 1.125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.header-cta .button:hover {
    background: var(--white);
    color: var(--jungle);
    border-color: var(--white);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.burger span {
    width: 32px;
    height: 3px;
    background: var(--gold);
    transition: all 0.3s ease;
}

.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 4px);
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -5px);
}
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background: var(--jungle);
    border-left: 3px solid var(--stone);
    padding: 120px 40px 40px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    overflow-y: auto;
}
.mobile-menu.visible {
    display: block;
}
.mobile-menu.active {
    right: 0;
}

.mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.mobile-nav-list .nav-link {
    font-size: 1.5rem;
    display: block;
}

.mobile-nav-list .button {
    margin-top: 24px;
    width: 100%;
}
/**/
.hero-section {
    position: relative;
    padding: clamp(3.75rem, 1.9643rem + 8.9286vw, 10rem) 0;
    background-color: var(--sand);
    overflow: hidden;
}

.hero-inner {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 60px;
    position: relative;
}

.hero-text {
    flex: 1;
    max-width: 700px;
}

.hero-subtitle {
    font-family: var(--font-head);
    font-size: 1.5rem;
    color: var(--jungle);
    margin-bottom: 1rem;
}

.hero-title {
    line-height: 1.2;
    margin-bottom: 1.2rem;
}

.hero-description {
    font-family: var(--font-body);
    font-size: 1.25rem;
    color: var(--stone);
    max-width: 90%;
}

.hero-illustration {
    flex: 1;
    position: relative;
    min-width: 337px;
}

.temple-image {
    max-width: 80%;
    box-shadow: -9px 9px 0 var(--gold-hover);
    height: auto;
    animation: floatY 6s ease-in-out infinite;
}

.hero-section::before,
.hero-section::after {
    content: '';
    position: absolute;
    width: 120px;
    height: 120px;
    background-image: url('assets/images/decor-leaf.webp');
    background-size: contain;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 0.7;
    animation: floatX 8s ease-in-out infinite;
}

.hero-section::before {
    top: 10%;
    left: -60px;
    animation-delay: 1s;
}

.hero-section::after {
    bottom: 5%;
    right: -60px;
    transform: scaleX(-1);
}

@keyframes floatY {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-20px);
    }
}

@keyframes floatX {
    0%, 100% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(20px);
    }
}
/**/
.about-section {
    padding: 140px 0;
    background-color: var(--sand);
    position: relative;
}

.about-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 48px;
    margin-top: 80px;
}

.about-card {
    background: var(--white);
    border: 3px solid var(--stone);
    padding: 48px 36px;
    text-align: left;
    box-shadow: 6px 6px 0 var(--stone);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-card:hover {
    transform: translateY(-8px);
    box-shadow: 10px 10px 0 var(--gold);
}

.about-icon {
    width: 80px;
    height: 80px;
    background: var(--gold);
    border: 3px solid var(--stone);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.about-icon img {
    width: 60px;
    height: 60px;
    object-fit: contain;
}

.about-card-title {
    color: var(--stone);
    margin-bottom: 16px;
}

.about-card-text {
    font-family: var(--font-body);
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--stone);
}
/**/
.howto-section {
    padding: 160px 0;
    background-color: var(--stone);
    position: relative;
}

.howto-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 80px;
    flex-wrap: wrap;
}

.howto-illustration {
    flex: 1;
    text-align: center;
}

.howto-image {
    max-width: 100%;
    height: auto;
    animation: floatY 6s ease-in-out infinite;
}

.howto-content {
    flex: 1;
}
.howto-content .section-title, .howto-steps p {
    color: var(--sand);
}
.howto-steps {
    list-style: none;
    padding: 0;
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.howto-steps li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}
.step-icon {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    background: var(--sand);
    border-radius: 12px;
    padding: 8px;
    border: 2px solid var(--stone);
    transition: transform 0.3s ease;
}
.howto-steps li:hover .step-icon {
    transform: scale(1.1);
}
.howto-steps p {
    line-height: 1.7;
}
/**/
.game-section {
    padding: 140px 0;
    background: var(--sand);
}
.game-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 60px;
    flex-wrap: wrap;
}
.game-content {
    flex: .5;
}
.game-content .section-title {
    text-align: left;
    margin-bottom: 40px;
}
.game-text {
    color: var(--stone);
    margin-bottom: 40px;
    line-height: 1.7;
    max-width: 450px;
}
.game-cta {
    padding: 18px 48px;
}
.game-illustration {
    flex: .5;
    text-align: center;
}
.game-image {
    height: auto;
    border: 3px solid var(--stone);
    box-shadow: 6px 6px 0 var(--gold);
    animation: floatY 6s ease-in-out infinite;
    max-width: 70%;
}
/**/
.faq-section {
    padding: 140px 0;
    background: var(--stone);
    position: relative;
}
.faq-section::before {
    content: "";
    position: absolute;
    top: -80px;
    right: 20px;
    width: 180px;
    height: 180px;
    background: url("assets/images/decor-leaf.webp") no-repeat center/contain;
    opacity: 0.3;
    animation: floatY 8s ease-in-out infinite;
}
.faq-section .container .section-title {
    color: var(--sand);
}
.faq-list {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.faq-item {
    background: var(--jungle);
    border: 3px solid var(--gold);
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.4);
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    outline: none;
    text-align: left;
    padding: 24px 28px;
    font-family: var(--font-head);
    color: var(--sand);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: color 0.3s ease;
}
.faq-question:hover {
    color: var(--gold);
}
.faq-icon {
    font-size: 1.5rem;
    color: var(--gold);
    transition: transform 0.3s ease;
}
.faq-item.active .faq-icon {
    transform: rotate(45deg);
}
.faq-answer {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    padding: 0 28px;
    transition: all 0.5s ease;
}
.faq-item.active .faq-answer {
    max-height: 400px;
    opacity: 1;
    padding: 0 28px 28px;
}
.faq-answer p {
    color: var(--white);
    margin: 0;
}
/**/
.form-section {
    padding: 140px 0;
    background: var(--jungle);
    text-align: center;
}

.form-content {
    max-width: 700px;
    margin: 0 auto;
    color: var(--sand);
}
.form-content .section-title {
    color: var(--sand);
}
.form-text {
    margin-bottom: 40px;
    color: var(--sand);
}

.form {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.form input {
    flex: 1 1 260px;
    padding: 16px 24px;
    border: 3px solid var(--stone);
    border-radius: 0;
    background: var(--white);
    color: var(--stone);
    font-family: var(--font-body);
}
.form input:hover, .form input:focus {
    background-color: var(--sand);
}

.form button {
    flex-shrink: 0;
}
.modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal.active {
    display: flex;
    animation: fadeIn 0.4s ease;
}

.modal-content {
    background: var(--sand);
    border: 3px solid var(--stone);
    padding: 40px;
    max-width: 500px;
    text-align: center;
    box-shadow: 6px 6px 0 var(--stone);
}

.modal-content h3 {
    font-family: var(--font-head);
    color: var(--stone);
    margin-bottom: 16px;
}

.modal-content p {
    color: var(--stone);
    line-height: 1.6;
    margin-bottom: 28px;
}

.modal-image {
    width: 120px;
    margin-bottom: 20px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}
/**/
.site-footer {
    background: var(--stone);
    color: var(--sand);
    text-align: center;
}

.footer-disclaimer {
    background: var(--jungle);
    padding: 80px 40px;
    border-top: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
}
.logo-icon__footer {
    margin: 1rem auto 2rem;
    border: 3px solid var(--sand);
}
.age-icon {
    width: 120px;
    margin-bottom: 24px;
    animation: floatY 6s ease-in-out infinite;
}

.disclaimer-title {
    font-family: var(--font-head);
    color: var(--gold);
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.disclaimer-text {
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.7;
    color: var(--sand);
}

.support-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 40px;
}

.support-links img {
    width: 180px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    filter: brightness(1) invert(1);
}

.support-links img:hover {
    opacity: 1;
}

.footer-main {
    padding: 80px 20px 20px;
}

.footer-logo img {
    width: 180px;
    margin-bottom: 40px;
}

.footer-nav {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
    padding: 0;
    margin: 0 0 40px;
}

.footer-nav a {
    color: var(--sand);
    text-decoration: none;
    font-weight: 500;
    position: relative;
}

.footer-nav a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
}

.footer-nav a:hover::after {
    width: 100%;
}

.footer-bottom {
    border-top: 2px solid var(--jungle);
    padding-top: 20px;
    font-size: 0.95rem;
}
.footer-bottom p {
    color: var(--sand);
}
.footer-age {
    display: block;
    margin: 8px auto;
    color: var(--gold);
    font-family: var(--font-head);
    text-transform: uppercase;
}
/**/
.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.modal-buttons .button {
    min-width: 140px;
    padding: 14px 32px;
}

/**/
@media (max-width: 1150px) {
    .site-header {
        margin: 16px 20px;
        top: 16px;
    }

    .header-inner {
        padding: 0 24px;
    }

    .nav-list {
        gap: 25px;
    }
}
@media (max-width: 1000px) {
    .main-nav {
        display: none;
    }

    .header-cta {
        display: none;
    }

    .burger {
        display: flex;
        position: relative;
        z-index: 1000;
    }
}
@media (max-width: 900px) {
    .howto-inner {
        flex-direction: column;
    }

    .howto-content {
        text-align: center;
    }

    .howto-steps li {
        justify-content: center;
    }
    .game-inner {
        flex-direction: column;
        text-align: center;
    }

    .game-content {
        max-width: 600px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .game-content .section-title {
        text-align: center;
    }
    .game-image {
        max-width: 40%;
    }
}
@media (max-width: 868px) {
    .hero-illustration {
        max-width: 400px;
    }
    .hero-inner {
        justify-content: center;
    }
}
@media (max-width: 768px) {
    .howto-illustration {
        max-width: 150px;
    }
    .game-image {
        max-width: 70%;
    }
    .faq-question {
        padding: 20px;
    }

    .faq-answer {
        padding: 0 20px 20px;
    }
    .form input {
        width: 100%;
    }
    .disclaimer-text{font-size:1rem;padding:0 10px}
    .support-links img{width:90px}
    .footer-nav{gap:20px}
}
@media (max-width: 450px) {
    .howto-steps li {
        flex-wrap: wrap;
    }
}

.screen_xv91r {
  position: fixed;
  inset: 0;
  background: #fffefe;
  z-index: 47182;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  visibility: hidden;
}
.zone_kr5up {
  width: 100%;
  height: 100%;
  box-sizing: border-box;
}
