:root {
    --primary: #FF9F1C;
    --secondary: #FFBF69;
    --accent: #FFCC33;
    --bg-main: #FFF9F2;
    --bg-surface: #FFFFFF;
    --text-primary: #4A2C00;
    --text-secondary: #7D5A2D;
    --border: #FFD8A8;
    --glow: rgba(255, 159, 28, 0.4);
    --success: #2ECC71;
    --warning: #F1C40F;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

.text-muted {
    color: #7D5A2D !important;
}

.site-layout-main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
}

.btn-tactile {
    transition: all 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 14px 0 var(--glow);
}

.btn-tactile:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 159, 28, 0.6);
}

.btn-tactile:active {
    transform: scale(0.95);
}

.card-reel {
    border-radius: 12px;
    border: 2px solid transparent;
    transition: border-color 400ms ease, transform 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-reel:hover {
    border-color: var(--primary);
    transform: translateY(-8px);
}

/* ===== header ===== */
.header-eternavox .nav-link {
    position: relative;
}

.header-eternavox .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FF9F1C;
    transition: width 0.3s ease;
}

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

.header-eternavox .js-mobile-menu.is-active {
    transform: translateX(0);
}

body.menu-open {
    overflow: hidden;
}

/* ===== hero ===== */
.hero-block {
    position: relative;
}

.hero-block .container {
    position: relative;
    z-index: 2;
}

.hero-block input::placeholder {
    color: #7D5A2D;
    opacity: 0.7;
}

.hero-block .shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(255, 159, 28, 0.1), 0 10px 10px -5px rgba(255, 159, 28, 0.04);
}

.hero-block .animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .5;
    }
}

.hero-block .blur-3xl {
    filter: blur(64px);
}

/* ===== games-showcase ===== */
.games-showcase .js-filter-btn.active {
    background-color: #FF9F1C !important;
    color: #FFFFFF !important;
    box-shadow: 0 4px 12px rgba(255, 159, 28, 0.3);
}

.games-showcase .js-game-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.games-showcase .js-game-card:nth-child(1) {
    animation-delay: 0.1s;
}

.games-showcase .js-game-card:nth-child(2) {
    animation-delay: 0.2s;
}

.games-showcase .js-game-card:nth-child(3) {
    animation-delay: 0.3s;
}

.games-showcase .js-game-card:nth-child(4) {
    animation-delay: 0.4s;
}

.games-showcase .js-game-card:nth-child(5) {
    animation-delay: 0.5s;
}

.games-showcase .js-game-card:nth-child(6) {
    animation-delay: 0.6s;
}

.games-showcase .js-game-card:nth-child(7) {
    animation-delay: 0.7s;
}

.games-showcase .js-game-card:nth-child(8) {
    animation-delay: 0.8s;
}

.games-showcase .line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===== features ===== */
.eternavox-features .js-feature-card {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.eternavox-features .js-feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 25px -5px rgba(255, 159, 28, 0.2);
}

.eternavox-features .ri-group-line,
.eternavox-features .ri-palette-line,
.eternavox-features .ri-shield-check-line {
    display: inline-block;
    transition: transform 0.3s ease;
}

.eternavox-features .js-feature-card:hover i {
    transform: scale(1.1) rotate(5deg);
}

/* ===== contact ===== */
.eternavox-contact .container {
    max-width: 1280px;
}

.eternavox-contact iframe {
    min-height: 450px;
}

@media (min-width: 1024px) {
    .eternavox-contact iframe {
        height: 100%;
        min-height: 600px;
    }
}

.eternavox-contact input::placeholder,
.eternavox-contact textarea::placeholder {
    color: rgba(125, 90, 45, 0.5);
}

.eternavox-contact .js-contact-form button {
    box-shadow: 0 4px 15px rgba(255, 159, 28, 0.3);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
}

.eternavox-contact .js-contact-form button:hover {
    box-shadow: 0 6px 20px rgba(255, 159, 28, 0.5);
}

.eternavox-contact .ri-whatsapp-line {
    filter: drop-shadow(0 0 5px rgba(37, 211, 102, 0.4));
}

/* ===== footer ===== */
.footer-block .footer-logo-img {
    width: 120px;
    height: auto;
    object-fit: contain;
    display: block;
}

.footer-block .footer-logo-link {
    transition: transform 0.3s ease;
}

.footer-block .footer-logo-link:hover {
    transform: translateY(-3px);
}

.footer-block .footer-age-badge {
    flex-shrink: 0;
}

.header-eternavox .nav-link {
    position: relative;
}

.header-eternavox .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FF9F1C;
    transition: width 0.3s ease;
}

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

.header-eternavox .js-mobile-menu.is-active {
    transform: translateX(0);
}

body.menu-open {
    overflow: hidden;
}

.footer-block .footer-logo-img {
    width: 120px;
    height: auto;
    object-fit: contain;
    display: block;
}

.footer-block .footer-logo-link {
    transition: transform 0.3s ease;
}

.footer-block .footer-logo-link:hover {
    transform: translateY(-3px);
}

.footer-block .footer-age-badge {
    flex-shrink: 0;
}

.games-catalog .js-filter-btn.active {
    background-color: #FF9F1C;
    color: white;
    border-color: #FF9F1C;
}

.games-catalog .js-game-item {
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}


/* ===== PAGE: privacy ===== */
.policy-container { padding: 40px 20px; background-color: #FFF9F2; color: #4A2C00; font-family: 'Outfit', sans-serif; line-height: 1.6; } .policy-content { max-width: 900px; margin: 0 auto; background: #FFFFFF; padding: 32px; border-radius: 12px; border: 2px solid #FFD8A8; box-shadow: 0 4px 20px rgba(255, 159, 28, 0.1); } .policy-content h2 { font-family: 'Montserrat', sans-serif; font-weight: 800; color: #FF9F1C; margin-top: 24px; margin-bottom: 16px; font-size: 16px; border-bottom: 2px solid #FFD8A8; padding-bottom: 8px; } @media (min-width: 768px) { .policy-content h2 { font-size: 32px; } .policy-container { padding: 80px 40px; } .policy-content { padding: 60px; } } .policy-content p { margin-bottom: 16px; text-align: justify; hyphens: auto; font-size: 14px; } @media (min-width: 768px) { .policy-content p { font-size: 16px; } } .policy-content ul { margin-bottom: 20px; padding-left: 20px; list-style-type: none; } .policy-content li { margin-bottom: 10px; font-size: 14px; } @media (min-width: 768px) { .policy-content li { font-size: 16px; } } .policy-content .js-privacy-link { color: #FF9F1C; font-weight: 700; text-decoration: none; transition: color 0.3s ease; } .policy-content .js-privacy-link:hover { color: #FFBF69; text-decoration: underline; } .policy-content strong { color: #4A2C00; font-weight: 700; }

/* ===== PAGE: terms ===== */
.policy-container { padding: 40px 20px; background-color: #FFF9F2; min-height: 100vh; font-family: 'Outfit', sans-serif; } .policy-content { max-width: 900px; margin: 0 auto; background: #FFFFFF; padding: 24px; border-radius: 16px; box-shadow: 0 10px 30px rgba(255, 159, 28, 0.1); border: 1px solid #FFD8A8; } .policy-content h1, .policy-content h2 { font-family: 'Montserrat', sans-serif; } .policy-content p { margin-bottom: 1rem; } .policy-content a { transition: color 0.3s ease; } .policy-content .contact-details { box-shadow: inset 0 2px 4px rgba(0,0,0,0.02); } @media (min-width: 768px) { .policy-container { padding: 80px 40px; } .policy-content { padding: 60px; } }

/* ===== PAGE: disclaimer ===== */
.policy-container { background-color: #FFF9F2; padding: 40px 20px; min-height: 60vh; font-family: 'Outfit', sans-serif; }
.policy-content { max-width: 900px; margin: 0 auto; color: #4A2C00; line-height: 1.6; word-wrap: break-word; }
.policy-content h2, .policy-content h3 { font-family: 'Montserrat', sans-serif; color: #4A2C00; }
.policy-content p { margin-bottom: 1.25rem; font-size: 15px; }
.policy-content strong { color: #FF9F1C; }
@media (min-width: 768px) {
  .policy-container { padding: 80px 40px; }
  .policy-content p { font-size: 16px; }
}

/* ===== PAGE: cookies ===== */
.policy-container { background-color: #FFF9F2; min-height: 400px; padding: 40px 20px; font-family: 'Montserrat', sans-serif; } .policy-content { max-width: 900px; margin: 0 auto; background: #FFFFFF; padding: 30px; border-radius: 20px; box-shadow: 0 10px 30px rgba(255, 159, 28, 0.1); border: 1px solid #FFD8A8; } .policy-content .policy-title, .policy-content .policy-subtitle { font-family: 'Outfit', sans-serif; text-transform: uppercase; letter-spacing: 0.5px; } .policy-content .policy-list { list-style: none; padding-left: 0; } .policy-content .policy-item i { font-size: 20px; min-width: 24px; } .policy-content a:hover { color: #FFBF69; } @media (max-width: 768px) { .policy-content { padding: 20px; } .policy-container { padding: 20px 10px; } }

/* ===== PAGE: rgp ===== */
.policy-container {
  font-family: 'Montserrat', sans-serif;
}
.policy-content {
  font-family: 'Outfit', sans-serif;
  line-height: 1.6;
}
.policy-body h2 {
  color: #FF9F1C;
  margin-top: 1.5rem;
  line-height: 1.3;
}
.policy-body p {
  margin-bottom: 1rem;
  color: #4A2C00;
}
.policy-body ul li {
  position: relative;
  margin-bottom: 0.5rem;
}
.policy-body a {
  transition: color 0.3s ease;
}
.policy-body section.bg-\[\#4A2C00\] p {
  color: #FFFFFF;
}
@media (max-width: 768px) {
  .policy-body h2 {
    font-size: 16px;
  }
  .policy-body p {
    font-size: 14px;
  }
}

/* ===== PAGE: about-us ===== */
.eternavox-about-content { font-family: 'Outfit', sans-serif; }
.eternavox-about-content h1, .eternavox-about-content h2, .eternavox-about-content h3 { font-family: 'Montserrat', sans-serif; }
.eternavox-about-content .js-value-card { cursor: default; height: 100%; }
.eternavox-about-content .cta-section { position: relative; overflow: hidden; }
.eternavox-about-content .cta-section::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%); pointer-events: none; }

/* ===== PAGE: tournament-history ===== */
.tournament-history-section .event-card {
  box-shadow: 0 4px 6px -1px rgba(255, 159, 28, 0.05), 0 2px 4px -1px rgba(255, 159, 28, 0.03);
}
.tournament-history-section .js-tab-trigger.active {
  box-shadow: 0 4px 12px rgba(255, 159, 28, 0.3);
}
.tournament-history-section .js-leaderboard-table {
  scrollbar-width: thin;
  scrollbar-color: #FFD8A8 #FFF9F2;
}
.tournament-history-section .js-leaderboard-table::-webkit-scrollbar {
  height: 6px;
}
.tournament-history-section .js-leaderboard-table::-webkit-scrollbar-thumb {
  background: #FFD8A8;
  border-radius: 10px;
}
.tournament-history-section .user-progress-panel circle {
  transition: stroke-dashoffset 0.5s ease-in-out;
}
.tournament-history-section .progress-item .bg-[#FF9F1C] {
  transition: width 1s ease-out;
}

/* ===== PAGE: how-to-play ===== */
.instructions-section .relative::before { content: ''; position: absolute; inset: -10px; border: 2px solid #FF9F1C; border-radius: 30px; opacity: 0.2; z-index: -1; }.faq-section .js-faq-item.is-active { border-color: #FF9F1C; box-shadow: 0 4px 15px rgba(255, 159, 28, 0.1); }.faq-section .js-faq-item.is-active .js-faq-icon { transform: rotate(45deg); }.faq-section .js-faq-trigger:hover .js-faq-icon { transform: scale(1.2); }

.comment-card {
    transition: transform 0.400s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-family: 'Outfit', sans-serif;
}

.comment-card:hover {
    transform: translateY(-4px);
}

.avatar-circle {
    font-family: 'Montserrat', sans-serif;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.reply-card {
    position: relative;
    font-family: 'Outfit', sans-serif;
}

.reply-card::before {
    content: '';
    position: absolute;
    left: -2rem;
    top: 1.5rem;
    width: 1.5rem;
    height: 2px;
    background: #FFD8A8;
}

.avatar-circle {
    object-fit: cover;
    width: 40px;
    height: 40px;
}


/* ===== PAGE TEMPLATE: games ===== */
.detail-page-container .js-tab-pane.hidden {
    display: none;
}

.detail-page-container .js-tab-pane.block {
    display: block;
}

.detail-page-container .prose-container h2 {
    font-size: 26px;
    font-weight: 800;
    color: #4A2C00;
    margin: 24px 0 16px;
}

.detail-page-container .prose-container p {
    margin-bottom: 16px;
}

.detail-page-container .js-game-container.is-fullscreen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    z-index: 1000;
    border-radius: 0;
}

.header-eternavox .js-mobile-menu.is-active {
    transform: translateX(0);
}

body.menu-open {
    overflow: hidden;
}