:root {
    --primary: #4CAF50;
    --primary-gradient: linear-gradient(135deg, #4CAF50 0%, #81C784 100%);
    --secondary: #2E7D32;
    --accent: #C8E6C9;
    --background-primary: #F8FAF7;
    --background-secondary: #EBF2E9;
    --text-primary: #1B2E1B;
    --text-secondary: #4A5D4A;
    --border: #DCE7D8;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background-primary);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
}

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

.hero-gradient {
    background: var(--primary-gradient);
}

.card-shadow {
    box-shadow: 0 4px 20px -2px rgba(74, 93, 74, 0.08);
}

.pill-button {
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.pill-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.25);
}

.category-card {
    border: 1px solid var(--border);
    background: white;
    transition: border-color 0.3s ease;
}

.category-card:hover {
    border-color: var(--primary);
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }
}

/* ===== header ===== */
.jungloranos-header .js-mobile-menu.active {
    transform: translateX(0);
}

.jungloranos-header a {
    font-family: 'Outfit', sans-serif;
}

.jungloranos-header span {
    font-family: 'Outfit', sans-serif;
}

.jungloranos-header .js-mobile-menu a {
    transition: padding-left 0.2s ease;
}

.jungloranos-header .js-mobile-menu a:active {
    padding-left: 8px;
    color: #4CAF50;
}

/* ===== hero ===== */
.jungloranos-hero {
    font-family: 'Outfit', sans-serif;
}

.jungloranos-hero h1 {
    color: #1B2E1B;
}

.jungloranos-hero p {
    font-family: 'Inter', sans-serif;
    color: #4A5D4A;
}

.jungloranos-hero .js-hero-cta-main {
    box-shadow: 0 4px 14px 0 rgba(76, 175, 80, 0.39);
}

@media (max-width: 767px) {
    .jungloranos-hero h1 {
        hyphens: auto;
    }
}

/* ===== categories_grid ===== */
.categories-grid-block {
    font-family: 'Outfit', sans-serif;
}

.categories-grid-block h2,
.categories-grid-block h3 {
    color: #1B2E1B;
}

.categories-grid-card {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    z-index: 1;
}

.categories-grid-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.08);
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
    z-index: -1;
}

.categories-grid-card:hover::before {
    opacity: 1;
}

.categories-grid-card a img {
    backface-visibility: hidden;
}

.categories-grid-card p {
    line-height: 1.6;
}

@media (max-width: 767px) {
    .categories-grid-block {
        padding-left: 16px;
        padding-right: 16px;
    }

    .categories-grid-header h2 {
        font-size: 18px;
    }

    .categories-grid-header p {
        font-size: 14px;
    }
}

/* ===== reviews_grid ===== */
.reviews-grid-section .review-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.reviews-grid-section .review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
    border-color: #4CAF50;
}

.reviews-grid-section .ph-star {
    font-size: 16px;
}

/* ===== achievements_list ===== */
.achievements-section .js-filter-btn.active {
    background-color: #4CAF50;
    color: white;
    border-color: #4CAF50;
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}

.achievements-section .js-achievement-card {
    display: flex;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.achievements-section .js-achievement-card:hover {
    border-color: #4CAF50;
    box-shadow: 0 10px 30px -10px rgba(74, 93, 74, 0.15);
}

@media (max-width: 767px) {
    .achievements-section .js-filter-container {
        justify-content: center;
    }
}

/* ===== progression_rewards ===== */
.progression-rewards .js-tab-trigger {
    color: #4A5D4A;
    background: transparent;
}

.progression-rewards .js-tab-trigger.active {
    background: #4CAF50;
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(76, 175, 80, 0.3);
}

.progression-rewards .js-tab-content.hidden {
    display: none;
}

.progression-rewards .js-tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* ===== bug_report ===== */
.jungloranos-bug-report {
    position: relative;
    overflow: hidden;
    font-family: 'Outfit', sans-serif;
}

.jungloranos-bug-report .jungloranos-bug-report__icon-box {
    transition: transform 0.3s ease;
}

.jungloranos-bug-report .js-bug-card:hover .jungloranos-bug-report__icon-box {
    transform: rotate(15deg) scale(1.1);
}

.jungloranos-bug-report p {
    font-family: 'Inter', sans-serif;
}

/* ===== footer ===== */
.jungloranos-footer .footer-link:hover {
    color: #4CAF50;
}

.jungloranos-footer .logo-img {
    display: block;
    max-width: 48px;
    height: auto;
}

.jungloranos-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jungloranos-footer .footer-column h3 {
    color: #1B2E1B;
}

.jungloranos-footer-disclaimer {
    box-shadow: 0 4px 12px rgba(74, 93, 74, 0.05);
}

.jungloranos-footer a {
    text-decoration: none;
    color: inherit;
}

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

.jungloranos-header a,
.jungloranos-header span {
    font-family: 'Outfit', sans-serif;
}

.jungloranos-header .js-mobile-menu a {
    transition: padding-left 0.2s ease;
}

.jungloranos-header .js-mobile-menu a:active {
    padding-left: 8px;
    color: #4CAF50;
}

.jungloranos-hero {
    font-family: 'Outfit', sans-serif;
}

.jungloranos-hero h1 {
    color: #1B2E1B;
}

.jungloranos-hero p {
    font-family: 'Inter', sans-serif;
    color: #4A5D4A;
}

.jungloranos-hero .js-hero-cta-main {
    box-shadow: 0 4px 14px 0 rgba(76, 175, 80, 0.39);
}

.jungloranos-category-grid h2,
.jungloranos-category-grid h3 {
    font-family: 'Outfit', sans-serif;
    line-height: 1.2;
}

.jungloranos-category-grid p {
    font-family: 'Inter', sans-serif;
}

.jungloranos-game-teaser h2 {
    font-family: 'Outfit', sans-serif;
}

.jungloranos-footer .footer-link:hover {
    color: #4CAF50;
}

.jungloranos-footer .logo-img {
    display: block;
    max-width: 48px;
    height: auto;
}

.jungloranos-footer .footer-column h3 {
    color: #1B2E1B;
}

.jungloranos-footer-disclaimer {
    box-shadow: 0 4px 12px rgba(74, 93, 74, 0.05);
}

@media (max-width: 767px) {

    .jungloranos-hero h1,
    .jungloranos-category-grid h2 {
        hyphens: auto;
    }
}


/* ===== PAGE: privacy ===== */
.policy-document-content-area { font-family: 'Inter', sans-serif; background-color: #F8FAF7; }
.policy-document-content-area h2, .policy-document-content-area h3 { font-family: 'Outfit', sans-serif; }
.policy-content-card { position: relative; overflow: hidden; }
.policy-content-card::before { content: ''; position: absolute; top: 0; right: 0; width: 150px; height: 150px; background: radial-gradient(circle at top right, rgba(76, 175, 80, 0.05), transparent); pointer-events: none; }
.policy-body section { border-bottom: 1px solid #F0F7EE; padding-bottom: 2rem; }
.policy-body section:last-of-type { border-bottom: none; }
@media (max-width: 767px) {
  .policy-document-content-area h2 { font-size: 18px !important; }
  .policy-document-content-area h3 { font-size: 16px !important; }
  .policy-body { line-height: 1.6; }
}

/* ===== PAGE: terms ===== */
.policy-document-content-area {
  font-family: 'Inter', sans-serif;
  color: #1B2E1B;
  line-height: 1.6;
}

.policy-document-content-area h2 {
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.02em;
}

.policy-document-content-area p {
  margin-bottom: 1.5rem;
}

.policy-document-content-area .terms-container {
  transition: box-shadow 0.3s ease;
}

.policy-document-content-area .contact-card:hover {
  border-color: #4CAF50;
  background-color: #EBF2E9;
}

.policy-document-content-area i {
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .policy-document-content-area h2 {
    font-size: 18px;
  }
  .policy-document-content-area p {
    font-size: 15px;
  }
}

/* ===== PAGE: disclaimer ===== */
.policy-document-content-area { font-family: 'Inter', sans-serif; background-color: #F8FAF7; }.policy-container { background-color: #FFFFFF; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03); border-radius: 12px; margin-top: 2rem; margin-bottom: 4rem; }.policy-section h3 { font-family: 'Outfit', sans-serif; }.policy-section p { color: #4A5D4A; text-align: justify; hyphens: auto; }.policy-section ul li span { color: #1B2E1B; font-size: 15px; }@media (max-width: 768px) { .policy-section p { text-align: left; } .policy-container { border-radius: 0; box-shadow: none; margin-top: 0; } }

/* ===== PAGE: cookies ===== */
.policy-document-content-area { color: #1B2E1B; font-family: 'Outfit', sans-serif; }
.policy-document-content-area .js-filter-btn.active {
  background-color: #4CAF50;
  color: #FFFFFF;
  border-color: #4CAF50;
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.2);
}
.policy-document-content-area .cookie-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.policy-document-content-area .cookie-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(27, 46, 27, 0.05);
}
.policy-document-content-area .cookie-card[style*="display: none"] {
  display: none !important;
}

/* ===== PAGE: about ===== */
.about-section .js-accordion-trigger.active i {
  transform: rotate(180deg);
}
.about-section .js-accordion-content {
  transition: all 0.3s ease-in-out;
}
.about-section .js-accordion-trigger.active {
  background-color: #F0F7EE;
}

.comment-avatar {
    width: 64px;
    height: 64px;
    border-radius: 9999px;
    object-fit: cover;
    background-color: #EBF2E9;
}

.main-comment-wrapper {
    position: relative;
    overflow: hidden;
}

/* ===== Comment avatar: fixed round shape, no stretch ===== */
.main-comment-wrapper .avatar-container {
    width: 56px;
    height: 56px;
    flex: 0 0 56px;
    max-width: 56px;
    border-radius: 9999px;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.main-comment-wrapper .avatar-container img {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px;
    border-radius: 9999px;
    object-fit: cover;
    display: block;
    flex-shrink: 0;
}

.main-comment-wrapper > .flex {
    align-items: flex-start;
}

@media (max-width: 767px) {
    .main-comment-wrapper .avatar-container {
        margin: 0 16px 0 0;
    }

    .main-comment-wrapper > .flex {
        align-items: flex-start;
    }
}

.main-comment-wrapper::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #4CAF50 0%, #81C784 100%);
    opacity: 0.8;
}

.user-info h4 {
    letter-spacing: -0.01em;
}

.comment-body p {
    word-break: break-word;
}

.reply-avatar {
    width: 40px;
    height: 40px;
    border-radius: 9999px;
    object-fit: cover;
    border: 2px solid #FFFFFF;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.reply-comment-wrapper {
    backdrop-filter: blur(4px);
}

.reply-content p {
    color: #4A5D4A;
}

.reply-actions button {
    text-transform: uppercase;
    letter-spacing: 0.05em;
}


/* ===== PAGE TEMPLATE: locations ===== */
.js-rich-text h2 {
    color: #1B2E1B;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
}

.js-rich-text h3 {
    color: #1B2E1B;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-family: 'Outfit', sans-serif;
}

.js-rich-text p {
    margin-bottom: 1.25rem;
    font-family: 'Inter', sans-serif;
    color: #4A5D4A;
}

.js-rich-text ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.25rem;
}

.js-rich-text ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.js-rich-text ul li:not(:has(i))::before {
    content: '•';
    color: #4CAF50;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.js-rich-text strong {
    color: #1B2E1B;
    font-weight: 600;
}

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

.jungloranos-header a,
.jungloranos-header span {
    font-family: 'Outfit', sans-serif;
}

.jungloranos-footer .footer-link:hover {
    color: #4CAF50;
}

.jungloranos-footer .logo-img {
    display: block;
    max-width: 48px;
    height: auto;
}

.jungloranos-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jungloranos-footer-disclaimer {
    box-shadow: 0 4px 12px rgba(74, 93, 74, 0.05);
}

.avatar-container img {
    object-fit: cover;
    width: 50px;
    height: 50px;
}

.reply-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

@media (max-width: 767px) {
    .detail-hero h1 {
        font-size: 18px;
        hyphens: auto;
    }

    .detail-content h3 {
        font-size: 14px;
    }
}

/* ===== PAGE TEMPLATE: creatures ===== */
.js-rich-text h2 {
    color: #1B2E1B;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
}

.js-rich-text h3 {
    color: #1B2E1B;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-family: 'Outfit', sans-serif;
}

.js-rich-text p {
    margin-bottom: 1.25rem;
    font-family: 'Inter', sans-serif;
    color: #4A5D4A;
}

.js-rich-text ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.25rem;
}

.js-rich-text ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.js-rich-text ul li:not(:has(i))::before {
    content: '•';
    color: #4CAF50;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.js-rich-text strong {
    color: #1B2E1B;
    font-weight: 600;
}

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

.jungloranos-header a,
.jungloranos-header span {
    font-family: 'Outfit', sans-serif;
}

.jungloranos-footer .footer-link:hover {
    color: #4CAF50;
}

.jungloranos-footer .logo-img {
    display: block;
    max-width: 48px;
    height: auto;
}

.jungloranos-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jungloranos-footer-disclaimer {
    box-shadow: 0 4px 12px rgba(74, 93, 74, 0.05);
}

.avatar-container img {
    object-fit: cover;
    width: 50px;
    height: 50px;
}

.reply-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

@media (max-width: 767px) {
    .detail-hero h1 {
        font-size: 18px;
        hyphens: auto;
    }

    .detail-content h3 {
        font-size: 14px;
    }
}

/* ===== PAGE TEMPLATE: guides ===== */
.js-rich-text h2 {
    color: #1B2E1B;
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-family: 'Outfit', sans-serif;
}

.js-rich-text h3 {
    color: #1B2E1B;
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    font-family: 'Outfit', sans-serif;
}

.js-rich-text p {
    margin-bottom: 1.25rem;
    font-family: 'Inter', sans-serif;
    color: #4A5D4A;
}

.js-rich-text ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.25rem;
}

.js-rich-text ul li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
}

.js-rich-text ul li:not(:has(i))::before {
    content: '•';
    color: #4CAF50;
    position: absolute;
    left: 0;
    font-weight: bold;
}

.js-rich-text strong {
    color: #1B2E1B;
    font-weight: 600;
}

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

.jungloranos-header a,
.jungloranos-header span {
    font-family: 'Outfit', sans-serif;
}

.jungloranos-footer .footer-link:hover {
    color: #4CAF50;
}

.jungloranos-footer .logo-img {
    display: block;
    max-width: 48px;
    height: auto;
}

.jungloranos-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jungloranos-footer-disclaimer {
    box-shadow: 0 4px 12px rgba(74, 93, 74, 0.05);
}

.avatar-container img {
    object-fit: cover;
    width: 50px;
    height: 50px;
}

.reply-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

@media (max-width: 767px) {
    .detail-hero h1 {
        font-size: 18px;
        hyphens: auto;
    }

    .detail-content h3 {
        font-size: 14px;
    }
}

/* ===== PAGE TEMPLATE: game-single ===== */
.jungloranos-header .js-mobile-menu.active {
    transform: translateX(0);
}

.jungloranos-header a,
.jungloranos-header span {
    font-family: 'Outfit', sans-serif;
}

.jungloranos-footer .footer-link:hover {
    color: #4CAF50;
}

.jungloranos-footer .logo-img {
    display: block;
    max-width: 48px;
    height: auto;
}

.jungloranos-footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.jungloranos-footer-disclaimer {
    box-shadow: 0 4px 12px rgba(74, 93, 74, 0.05);
}

.comment-avatar,
.reply-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.reply-avatar {
    width: 36px;
    height: 36px;
}

#js-game-wrapper:fullscreen {
    width: 100vw !important;
    height: 100vh !important;
    border: 0 !important;
    border-radius: 0 !important;
}

#js-game-wrapper:-webkit-full-screen {
    width: 100vw !important;
    height: 100vh !important;
    border: 0 !important;
    border-radius: 0 !important;
}