:root {
    --primary: #FF00E5;
    --secondary: #00F0FF;
    --accent: #BF00FF;
    --bg-main: #050505;
    --bg-surface: #0D0D0D;
    --glass: rgba(255, 255, 255, 0.05);
    --flow-gradient: linear-gradient(135deg, #FF00E5 0%, #00F0FF 100%);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: #FFFFFF;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

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

.glitch-text {
    text-shadow: 2px 2px 0px var(--primary), -2px -2px 0px var(--secondary);
}

.glass-card {
    background: var(--glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.glass-card:hover {
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(255, 0, 229, 0.3);
}

* {
    box-sizing: border-box;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-main);
}

::-webkit-scrollbar-thumb {
    background: var(--flow-gradient);
    border-radius: 4px;
}

@keyframes pulse-glow {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}

.glow-pulse {
    animation: pulse-glow 3s infinite ease-in-out;
}

/* ===== header ===== */
.frostrellaenac-header {
    font-family: 'Inter', sans-serif;
}

.frostrellaenac-header .logo-text {
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 8px rgba(255, 0, 229, 0.4);
}

.frostrellaenac-header .glitch-text {
    position: relative;
    animation: frostrellaenac-glitch-pulse 4s infinite ease-in-out;
}

@keyframes frostrellaenac-glitch-pulse {

    0%,
    100% {
        text-shadow: 1px 0 #FF00E5, -1px 0 #00F0FF;
    }

    50% {
        text-shadow: -1px 0 #FF00E5, 1px 0 #00F0FF;
    }
}

.frostrellaenac-header .js-dropdown-menu {
    backdrop-filter: blur(10px);
    background: rgba(13, 13, 13, 0.98);
}

.frostrellaenac-header .js-mobile-menu {
    background: #0D0D0D;
}

.frostrellaenac-header .js-dropdown-icon.rotate-180 {
    transform: rotate(180deg);
}

@media (max-width: 767px) {
    .frostrellaenac-header .logo-text {
        letter-spacing: 0.05em;
    }
}

/* ===== hero ===== */
.frostrella-hero {
    font-family: 'Inter', sans-serif;
    position: relative;
}

.frostrella-hero__title {
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 15px rgba(255, 0, 229, 0.3);
}

.frostrella-hero__glitch-text {
    position: relative;
    display: inline-block;
}

.frostrella-hero__glitch-text::before,
.frostrella-hero__glitch-text::after {
    content: 'Frostrellaenacin';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.frostrella-hero__glitch-text::before {
    color: #00F0FF;
    z-index: -1;
    animation: frostrella-glitch 3s infinite linear alternate-reverse;
}

.frostrella-hero__glitch-text::after {
    color: #BF00FF;
    z-index: -2;
    animation: frostrella-glitch 2s infinite linear alternate;
}

@keyframes frostrella-glitch {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

.frostrella-hero__btn {
    box-shadow: 4px 4px 0px #BF00FF;
}

.frostrella-hero__btn:hover {
    box-shadow: 0px 0px 20px rgba(255, 0, 229, 0.6);
}

.frostrella-hero__glitch-layer {
    background: repeating-linear-gradient(0deg,
            rgba(0, 0, 0, 0.15),
            rgba(0, 0, 0, 0.15) 1px,
            transparent 1px,
            transparent 2px);
    background-size: 100% 2px;
}

.frostrella-hero__bg img {
    background-position: center;
    background-size: cover;
}

/* ===== knowledge-base ===== */
.knowledge-base-section .active-filter {
    background-color: #FF00E5;
    color: #FFFFFF;
    box-shadow: 0 0 15px rgba(255, 0, 229, 0.4);
}

.knowledge-base-section .js-knowledge-card {
    backdrop-filter: blur(5px);
}

.knowledge-base-section .line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@keyframes glitch-text {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

.knowledge-base-section h2:hover {
    animation: glitch-text 0.3s infinite;
    text-shadow: 2px 2px #00F0FF, -2px -2px #BF00FF;
}

/* ===== maps-locations ===== */
.maps-locations-section {
    position: relative;
    width: 100%;
}

.maps-locations-section .container {
    width: 100%;
    max-width: 1280px;
}

.maps-locations-section .js-location-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.maps-locations-section .js-location-card:hover {
    border-color: #FF00E5;
    box-shadow: 0 0 30px rgba(255, 0, 229, 0.2);
}

.maps-locations-section .js-location-card img {
    filter: grayscale(20%) brightness(0.8);
    transition: all 0.7s ease;
}

.maps-locations-section .js-location-card:hover img {
    filter: grayscale(0%) brightness(1.1);
}

/* ===== universal image no-crop fix for content/cards ===== */
/* Ensure images inside common content/card sections are fully visible without cropping */
.world-sub-page .aspect-video img,
.world-sub-page .world-sub-body img,
.world-of-winter-section .js-item-card img,
.category-grid-block .js-skill-card img,
.survival-mechanics-block .survival-card img,
.updates-section .js-update-card img,
.gallery-block .js-gallery-item img,
.maps-locations-section .js-location-card img,
[class*="aspect-"] img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center;
}

/* Prevent hover zoom from causing perceived cropping in these sections */
.world-sub-page .aspect-video img:hover,
.world-of-winter-section .js-item-card img:hover,
.category-grid-block .js-skill-card img:hover,
.survival-mechanics-block .survival-card img:hover,
.updates-section .js-update-card img:hover,
.gallery-block .js-gallery-item img:hover,
.maps-locations-section .js-location-card img:hover {
  transform: none !important;
}

@keyframes glitch-border {
    0% {
        border-color: #FF00E5;
    }

    50% {
        border-color: #00F0FF;
    }

    100% {
        border-color: #BF00FF;
    }
}

.maps-locations-section .js-location-card:hover {
    animation: glitch-border 2s infinite linear;
}

.maps-locations-section h2,
.maps-locations-section h3 {
    hyphens: auto;
    word-wrap: break-word;
}

.maps-locations-section .bg-gradient-to-r {
    background-size: 200% auto;
    transition: 0.5s;
}

.maps-locations-section .bg-gradient-to-r:hover {
    background-position: right center;
}

/* ===== core-mechanics ===== */
.core-skills-section {
    position: relative;
    z-index: 1;
}

.core-skills-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(255, 0, 229, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 0, 229, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.core-skills-section .js-mechanic-card {
    will-change: transform, opacity, filter;
}

.core-skills-section .js-mechanic-card:hover h3 {
    animation: glitch-text 0.3s infinite;
}

@keyframes glitch-text {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-1px, 1px);
    }

    40% {
        transform: translate(-1px, -1px);
    }

    60% {
        transform: translate(1px, 1px);
    }

    80% {
        transform: translate(1px, -1px);
    }

    100% {
        transform: translate(0);
    }
}

.core-skills-section .bg-radial-gradient {
    background: radial-gradient(circle, var(--tw-gradient-from) 0%, var(--tw-gradient-to) 70%);
}

/* ===== play-now ===== */
.play-now-block .js-glitch-title {
    position: relative;
    display: inline-block;
}

.play-now-block .js-glitch-title::before,
.play-now-block .js-glitch-title::after {
    content: 'Frozen Winter Blizzard';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.8;
}

.play-now-block .js-glitch-title::before {
    color: #FF00E5;
    z-index: -1;
    animation: glitch-offset-1 4s infinite linear alternate-reverse;
}

.play-now-block .js-glitch-title::after {
    color: #00F0FF;
    z-index: -2;
    animation: glitch-offset-2 4s infinite linear alternate-reverse;
}

@keyframes glitch-offset-1 {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, 2px);
    }

    80% {
        transform: translate(2px, -2px);
    }

    100% {
        transform: translate(0);
    }
}

@keyframes glitch-offset-2 {
    0% {
        transform: translate(0);
    }

    20% {
        transform: translate(2px, -2px);
    }

    40% {
        transform: translate(2px, 2px);
    }

    60% {
        transform: translate(-2px, -2px);
    }

    80% {
        transform: translate(-2px, 2px);
    }

    100% {
        transform: translate(0);
    }
}

.play-now-block .js-play-btn:hover {
    box-shadow: 0 0 30px rgba(255, 0, 229, 0.6), 0 0 60px rgba(0, 240, 255, 0.3);
}

@media (max-width: 767px) {

    .play-now-block .js-glitch-title::before,
    .play-now-block .js-glitch-title::after {
        display: none;
    }
}

/* ===== gallery ===== */
.gallery-block .js-filter-btn.active {
    background-color: #FF00E5;
    box-shadow: 0 0 15px rgba(255, 0, 229, 0.5);
}

.gallery-block .js-gallery-item {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-block .js-gallery-item.hidden {
    display: none;
    opacity: 0;
    transform: scale(0.95);
}

.gallery-block .js-gallery-item a {
    display: block;
    position: relative;
}

.gallery-block .js-gallery-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid transparent;
    background: linear-gradient(135deg, #FF00E5, #00F0FF) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 20;
}

.gallery-block .js-gallery-item:hover::before {
    opacity: 0.5;
}

@media (max-width: 767px) {
    .gallery-block h2 {
        hyphens: auto;
    }
}

/* ===== footer ===== */
.frostrellaenac-footer {
    font-family: 'Inter', sans-serif;
}

.frostrellaenac-footer .pulse-text {
    animation: frostrellaenac-pulse 4s infinite ease-in-out;
}

@keyframes frostrellaenac-pulse {

    0%,
    100% {
        opacity: 0.7;
        text-shadow: 0 0 5px rgba(255, 0, 229, 0);
    }

    50% {
        opacity: 1;
        text-shadow: 0 0 10px rgba(255, 0, 229, 0.5);
    }
}

.frostrellaenac-footer .js-footer-link {
    position: relative;
    display: inline-block;
}

.frostrellaenac-footer .js-footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #FF00E5;
    transition: width 0.3s ease;
}

.frostrellaenac-footer .js-footer-link:hover::after {
    width: 100%;
}

.frostrellaenac-footer .js-footer-link:hover {
    transform: translateX(4px);
    transition: transform 0.3s ease, color 0.3s ease;
}

/* ===== PAGE: privacy ===== */
.policy-wrapper-block {
    background-color: #050505;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    padding: 2rem 1rem;
}

#policy-content-root {
    max-width: 900px;
    margin: 0 auto;
}

.policy-container {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 0 30px rgba(5, 5, 5, 0.5);
}

.policy-header {
    border-bottom: 2px solid #FF00E5;
    margin-bottom: 30px;
    padding-bottom: 20px;
    position: relative;
}

.policy-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: #00F0FF;
    box-shadow: 0 0 10px #00F0FF;
}

.policy-title {
    font-family: 'Orbitron', sans-serif;
    color: #FF00E5;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 8px;
    text-shadow: 0 0 10px rgba(255, 0, 229, 0.4);
}

@media (min-width: 768px) {
    .policy-title {
        font-size: 42px;
    }
    .policy-container {
        padding: 60px;
    }
}

.policy-update {
    color: #A0E9FF;
    font-size: 12px;
    font-weight: 600;
}

.policy-section {
    margin-bottom: 32px;
}

.policy-subtitle {
    font-family: 'Orbitron', sans-serif;
    color: #00F0FF;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (min-width: 768px) {
    .policy-subtitle {
        font-size: 26px;
    }
}

.policy-body p {
    font-size: 14px;
    line-height: 1.8;
    color: #E5E7EB;
    margin-bottom: 16px;
    hyphens: auto;
}

@media (min-width: 768px) {
    .policy-body p {
        font-size: 16px;
    }
}

.policy-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 20px;
}

.policy-list li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    font-size: 14px;
    line-height: 1.6;
    color: #D1D5DB;
}

.policy-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 10px;
    height: 2px;
    background: #FF00E5;
    box-shadow: 0 0 5px #FF00E5;
}

@media (min-width: 768px) {
    .policy-list li {
        font-size: 16px;
    }
}

.policy-link {
    color: #00F0FF;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    word-break: break-all;
}

.policy-link:hover {
    color: #FF00E5;
    border-bottom-color: #FF00E5;
    text-shadow: 0 0 8px rgba(255, 0, 229, 0.5);
}

.policy-body strong {
    color: #FFFFFF;
    font-weight: 600;
}

/* ===== PAGE: terms ===== */
.terms-policy-root { background-color: #050505; color: #FFFFFF; font-family: 'Inter', sans-serif; padding: 40px 20px; min-height: 100vh; } .terms-inner-container { max-width: 1000px; margin: 0 auto; background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 0, 229, 0.2); border-radius: 12px; padding: 24px; position: relative; overflow: hidden; } .terms-inner-container::before { content: ''; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle at center, rgba(0, 240, 255, 0.05) 0%, transparent 70%); pointer-events: none; } .terms-main-title { font-family: 'Orbitron', sans-serif; font-size: 18px; color: #FF00E5; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; border-left: 4px solid #00F0FF; padding-left: 12px; } @media (min-width: 768px) { .terms-main-title { font-size: 42px; } } .terms-update-date { font-size: 12px; color: #6B7280; margin-bottom: 32px; font-style: italic; } .terms-content-section { margin-bottom: 24px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 24px; } .terms-content-section:last-child { border-bottom: none; } .terms-section-heading { font-family: 'Orbitron', sans-serif; font-size: 16px; color: #00F0FF; margin-bottom: 16px; text-shadow: 0 0 10px rgba(0, 240, 255, 0.3); } @media (min-width: 768px) { .terms-section-heading { font-size: 32px; } } .terms-text-block { line-height: 1.6; color: #A0E9FF; font-size: 14px; margin-bottom: 16px; } .terms-list { list-style: none; padding-left: 0; } .terms-list-item { position: relative; padding-left: 24px; margin-bottom: 12px; font-size: 14px; color: #A0E9FF; } .terms-list-item::before { content: '>'; position: absolute; left: 0; color: #FF00E5; font-weight: bold; } .terms-contact-card { background: rgba(0, 0, 0, 0.3); border: 1px solid rgba(0, 240, 255, 0.2); padding: 20px; border-radius: 8px; margin-top: 16px; } .terms-contact-item { margin-bottom: 8px; font-size: 14px; color: #FFFFFF; } .terms-link { color: #FF00E5; text-decoration: none; transition: color 0.3s ease; word-break: break-all; } .terms-link:hover { color: #00F0FF; text-decoration: underline; }

/* ===== PAGE: disclaimer ===== */
.policy-wrapper-block { background-color: #050505; color: #FFFFFF; font-family: 'Inter', sans-serif; line-height: 1.6; padding: 60px 20px; }
.policy-wrapper-block .disclaimer-container { max-width: 900px; margin: 0 auto; background: rgba(255, 255, 255, 0.05); padding: 40px; border-radius: 8px; border: 1px solid rgba(0, 240, 255, 0.2); box-shadow: 0 0 20px rgba(0, 240, 255, 0.1); position: relative; overflow: hidden; }
.policy-wrapper-block .disclaimer-container::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, #FF00E5, #00F0FF, #BF00FF); }
.policy-wrapper-block h1.disclaimer-title { font-family: 'Orbitron', sans-serif; color: #FF00E5; text-transform: uppercase; letter-spacing: 0.1em; text-shadow: 0 0 10px rgba(255, 0, 229, 0.5); font-size: 18px; margin-bottom: 10px; }
@media (min-width: 768px) { .policy-wrapper-block h1.disclaimer-title { font-size: 42px; } }
.policy-wrapper-block .disclaimer-date { color: #6B7280; font-size: 14px; margin-bottom: 30px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 10px; }
.policy-wrapper-block h2 { font-family: 'Orbitron', sans-serif; color: #00F0FF; margin-top: 30px; margin-bottom: 15px; font-size: 16px; border-left: 3px solid #FF00E5; padding-left: 15px; }
@media (min-width: 768px) { .policy-wrapper-block h2 { font-size: 32px; } }
.policy-wrapper-block h3 { font-family: 'Orbitron', sans-serif; color: #BF00FF; margin-top: 25px; margin-bottom: 12px; font-size: 14px; }
@media (min-width: 768px) { .policy-wrapper-block h3 { font-size: 26px; } }
.policy-wrapper-block p { margin-bottom: 1.5rem; color: #A0E9FF; text-align: justify; hyphens: auto; }
.policy-wrapper-block ul { margin-bottom: 1.5rem; padding-left: 20px; list-style-type: none; }
.policy-wrapper-block ul li { position: relative; margin-bottom: 10px; color: #A0E9FF; padding-left: 25px; }
.policy-wrapper-block ul li::before { content: '>'; position: absolute; left: 0; color: #FF00E5; font-weight: bold; }
.policy-wrapper-block a.js-contact-link { color: #00F0FF; text-decoration: none; transition: all 0.3s ease; border-bottom: 1px solid transparent; }
.policy-wrapper-block a.js-contact-link:hover { color: #FF00E5; border-bottom: 1px solid #FF00E5; text-shadow: 0 0 8px rgba(255, 0, 229, 0.4); }
.policy-wrapper-block .disclaimer-section { margin-bottom: 40px; }

/* ===== PAGE: cookies ===== */
.policy-wrapper-block { background-color: #050505; padding: 4rem 1rem; min-height: 80vh; display: flex; justify-content: center; align-items: flex-start; }
.policy-wrapper-block #policy-content-root { max-width: 900px; width: 100%; background: rgba(13, 13, 13, 0.8); backdrop-filter: blur(15px); border: 1px solid rgba(0, 240, 255, 0.2); padding: 2.5rem; border-radius: 12px; box-shadow: 0 0 30px rgba(255, 0, 229, 0.1); color: #FFFFFF; position: relative; overflow: hidden; }
.policy-wrapper-block #policy-content-root::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 2px; background: linear-gradient(90deg, #FF00E5, #00F0FF); }
.policy-wrapper-block h1 { font-family: 'Orbitron', sans-serif; color: #FF00E5; text-transform: uppercase; letter-spacing: 0.15em; margin-bottom: 2rem; border-bottom: 1px solid rgba(255, 255, 255, 0.1); padding-bottom: 1rem; line-height: 1.2; text-shadow: 2px 2px 0px rgba(0, 240, 255, 0.3); }
.policy-wrapper-block h2 { font-family: 'Orbitron', sans-serif; color: #00F0FF; margin-top: 2.5rem; margin-bottom: 1.2rem; letter-spacing: 0.05em; line-height: 1.3; }
.policy-wrapper-block p { font-family: 'Inter', sans-serif; color: #A0E9FF; line-height: 1.8; margin-bottom: 1.5rem; font-weight: 300; }
.policy-wrapper-block ul { margin-bottom: 1.5rem; padding-left: 1.5rem; }
.policy-wrapper-block li { color: #FFFFFF; margin-bottom: 0.8rem; list-style-type: none; }
.policy-wrapper-block li strong { color: #FF00E5; font-weight: 600; }
.policy-wrapper-block a { color: #00F0FF; text-decoration: none; border-bottom: 1px solid transparent; transition: all 0.3s ease; word-break: break-all; }
.policy-wrapper-block a:hover { color: #FF00E5; border-bottom-color: #FF00E5; }

/* ===== PAGE: world-of-winter ===== */
.world-of-winter-section .glitch-text {
  text-shadow: 2px 2px #FF00E5, -2px -2px #00F0FF;
  position: relative;
  animation: section-glitch 5s infinite linear alternate-reverse;
}

@keyframes section-glitch {
  0% { transform: skew(0deg); }
  2% { transform: skew(3deg); }
  4% { transform: skew(0deg); }
  98% { transform: skew(0deg); }
  100% { transform: skew(-3deg); }
}

.world-of-winter-section .js-filter-btn.active {
  background: #00F0FF;
  color: #000000;
  border-color: #00F0FF;
}

.world-of-winter-section .js-item-card {
  box-shadow: inset 0 0 20px rgba(0, 240, 255, 0.05);
}

.world-of-winter-section .js-btn-glitch:hover {
  box-shadow: 4px 4px 0px #FF00E5, -4px -4px 0px #00F0FF;
  transform: translate(2px, 2px);
}

@media (max-width: 767px) {
  .world-of-winter-section h1 {
    hyphens: auto;
  }
}

/* ===== PAGE: wanderers-and-skills ===== */
.category-grid-block .js-filter-btn.active {
  background-color: #FF00E5;
  color: white;
}
.category-grid-block__bg img {
  filter: contrast(1.2) brightness(0.5) hue-rotate(45deg);
}
.category-grid-block .js-skill-card {
  transform: translateZ(0);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}
.category-grid-block .js-skill-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 10px 40px -10px rgba(255, 0, 229, 0.3);
}
@keyframes glitch-text {
  0% { text-shadow: 2px 0 0 #FF00E5, -2px 0 0 #00F0FF; }
  25% { text-shadow: -2px 0 0 #FF00E5, 2px 0 0 #00F0FF; }
  50% { text-shadow: 2px 2px 0 #FF00E5, -2px -2px 0 #00F0FF; }
  75% { text-shadow: -2px -2px 0 #FF00E5, 2px 2px 0 #00F0FF; }
  100% { text-shadow: 2px 0 0 #FF00E5, -2px 0 0 #00F0FF; }
}
.category-grid-block h2:hover {
  animation: glitch-text 0.3s infinite linear;
}
.category-grid-block .js-skill-card[style*="display: none"] {
  display: none !important;
}

/* ===== PAGE: survival-mechanics ===== */
.survival-mechanics-block .survival-card {
  background: rgba(13, 13, 13, 0.7);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.survival-mechanics-block .survival-card:hover {
  box-shadow: 0 0 30px rgba(255, 0, 229, 0.2);
  transform: translateY(-5px);
}

.survival-mechanics-block .Orbitron {
  font-family: 'Orbitron', sans-serif;
}

.survival-mechanics-block .Inter {
  font-family: 'Inter', sans-serif;
}

.survival-mechanics-block .js-filter-btn.active {
  background-color: #FF00E5 !important;
  color: #FFFFFF !important;
  border-color: #FF00E5 !important;
}

@keyframes chromaticAberration {
  0% { transform: translate(0); text-shadow: none; }
  20% { transform: translate(-2px, 2px); text-shadow: 2px 0 #FF00E5, -2px 0 #00F0FF; }
  40% { transform: translate(-2px, -2px); text-shadow: 2px 0 #FF00E5, -2px 0 #00F0FF; }
  60% { transform: translate(2px, 2px); text-shadow: -2px 0 #FF00E5, 2px 0 #00F0FF; }
  80% { transform: translate(2px, -2px); text-shadow: -2px 0 #FF00E5, 2px 0 #00F0FF; }
  100% { transform: translate(0); text-shadow: none; }
}

.survival-mechanics-block .survival-card:hover h2 {
  animation: chromaticAberration 0.3s infinite;
}

/* ===== PAGE: updates-and-events ===== */
.updates-section .js-filter-btn.active {
  background-color: #FF00E5;
  color: #FFFFFF;
  border-color: #FF00E5;
}
.updates-section .js-update-card {
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}
.updates-section .js-update-card:hover {
  box-shadow: 0 0 25px rgba(255, 0, 229, 0.15);
  transform: translateY(-5px);
}
.updates-section h1, .updates-section h2 {
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.1);
}
@media (max-width: 768px) {
  .updates-section .js-filter-btn {
    font-size: 12px;
    padding: 8px 16px;
  }
}

.font-headings {
    font-family: 'Orbitron', sans-serif;
}

.font-body {
    font-family: 'Inter', sans-serif;
}

.font-ui {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

.comment-avatar {
    width: 64px;
    height: 64px;
    object-fit: cover;
    filter: contrast(1.1) brightness(0.9);
}

.main-comment-container {
    background: linear-gradient(135deg, rgba(13, 13, 13, 0.95) 0%, rgba(5, 5, 5, 1) 100%);
    backdrop-filter: blur(10px);
}

.main-comment-container:hover {
    box-shadow: 0 0 25px rgba(255, 0, 229, 0.3);
    transform: translateX(4px);
    transition: all 0.3s ease-in-out;
}

.reply-avatar {
    width: 44px;
    height: 44px;
    object-fit: cover;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.reply-comment-container {
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid rgba(0, 240, 255, 0.1);
}

.reply-comment-container:hover {
    background: rgba(255, 255, 255, 0.06);
    transition: background 0.2s ease;
}


/* ===== PAGE TEMPLATE: game-single ===== */
.frostrella-detail {
    background: radial-gradient(circle at 10% 10%, rgba(255, 0, 229, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, rgba(0, 240, 255, 0.05) 0%, transparent 40%);
}

.frostrella-detail__content h2,
.frostrella-detail__content h3 {
    text-shadow: 0 0 10px rgba(255, 0, 229, 0.3);
}

.frostrellaenac-header .logo-text {
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 8px rgba(255, 0, 229, 0.4);
}

.frostrellaenac-header .glitch-text {
    position: relative;
    animation: frostrellaenac-glitch-pulse 4s infinite ease-in-out;
}

@keyframes frostrellaenac-glitch-pulse {

    0%,
    100% {
        text-shadow: 1px 0 #FF00E5, -1px 0 #00F0FF;
    }

    50% {
        text-shadow: -1px 0 #FF00E5, 1px 0 #00F0FF;
    }
}

.frostrellaenac-footer .pulse-text {
    animation: frostrellaenac-pulse 4s infinite ease-in-out;
}

@keyframes frostrellaenac-pulse {

    0%,
    100% {
        opacity: 0.7;
        text-shadow: 0 0 5px rgba(255, 0, 229, 0);
    }

    50% {
        opacity: 1;
        text-shadow: 0 0 10px rgba(255, 0, 229, 0.5);
    }
}

.main-comment-container .comment-avatar {
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.main-comment-container:hover .comment-avatar {
    transform: rotate(5deg) scale(1.05);
}

.glitch-bg {
    background-size: 200% 200%;
    animation: flow-gradient 10s infinite linear;
}

@keyframes flow-gradient {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* ===== PAGE TEMPLATE: world-sub ===== */
.frostrellaenac-header .logo-text {
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 8px rgba(255, 0, 229, 0.4)
}

.frostrellaenac-header .glitch-text {
    position: relative;
    animation: frostrellaenac-glitch-pulse 4s infinite ease-in-out
}

@keyframes frostrellaenac-glitch-pulse {

    0%,
    100% {
        text-shadow: 1px 0 #FF00E5, -1px 0 #00F0FF
    }

    50% {
        text-shadow: -1px 0 #FF00E5, 1px 0 #00F0FF
    }
}

.frostrellaenac-header .js-dropdown-menu {
    backdrop-filter: blur(10px);
    background: rgba(13, 13, 13, 0.98)
}

.frostrellaenac-header .js-dropdown-icon.rotate-180 {
    transform: rotate(180deg)
}

.frostrella-hero__title {
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 15px rgba(255, 0, 229, 0.3)
}

.frostrellaenac-footer .pulse-text {
    animation: frostrellaenac-pulse 4s infinite ease-in-out
}

@keyframes frostrellaenac-pulse {

    0%,
    100% {
        opacity: 0.7;
        text-shadow: 0 0 5px rgba(255, 0, 229, 0)
    }

    50% {
        opacity: 1;
        text-shadow: 0 0 10px rgba(255, 0, 229, 0.5)
    }
}

.frostrellaenac-footer .js-footer-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #FF00E5;
    transition: width 0.3s ease
}

.frostrellaenac-footer .js-footer-link:hover::after {
    width: 100%
}

.world-sub-page .world-sub-body h2 {
    color: #FFFFFF;
    font-family: 'Orbitron', sans-serif;
    font-size: 16px;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em
}

@media (min-width:768px) {
    .world-sub-page .world-sub-body h2 {
        font-size: 26px
    }
}

.world-sub-page .world-sub-body p {
    margin-bottom: 1.5rem;
    line-height: 1.8
}

.world-sub-page .world-sub-body ul {
    margin-bottom: 1.5rem;
    list-style: none;
    padding-left: 1rem
}

.world-sub-page .world-sub-body li {
    position: relative;
    margin-bottom: 0.5rem;
    padding-left: 1.5rem
}

.world-sub-page .world-sub-body li::before {
    content: none
}

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

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

/* ===== PAGE TEMPLATE: wanderers-sub ===== */
.frostrellaenac-header {
    font-family: 'Inter', sans-serif;
}

.frostrellaenac-header .logo-text {
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 8px rgba(255, 0, 229, 0.4);
}

.frostrellaenac-header .glitch-text {
    position: relative;
    animation: frostrellaenac-glitch-pulse 4s infinite ease-in-out;
}

@keyframes frostrellaenac-glitch-pulse {

    0%,
    100% {
        text-shadow: 1px 0 #FF00E5, -1px 0 #00F0FF;
    }

    50% {
        text-shadow: -1px 0 #FF00E5, 1px 0 #00F0FF;
    }
}

.frostrellaenac-header .js-dropdown-menu {
    backdrop-filter: blur(10px);
    background: rgba(13, 13, 13, 0.98);
}

.frostrellaenac-header .js-dropdown-icon.rotate-180 {
    transform: rotate(180deg);
}

.wander-sub-hero__title {
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 15px rgba(255, 0, 229, 0.4);
}

.frostrellaenac-footer .pulse-text {
    animation: frostrellaenac-pulse 4s infinite ease-in-out;
}

@keyframes frostrellaenac-pulse {

    0%,
    100% {
        opacity: 0.7;
        text-shadow: 0 0 5px rgba(255, 0, 229, 0);
    }

    50% {
        opacity: 1;
        text-shadow: 0 0 10px rgba(255, 0, 229, 0.5);
    }
}

.wander-sub-content p {
    font-family: 'Inter', sans-serif;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.wander-sub-content h1,
.wander-sub-content h2,
.wander-sub-content h3 {
    font-family: 'Orbitron', sans-serif;
    color: #FF00E5;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.wander-sub-content ul {
    list-style: none;
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

.wander-sub-content li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.75rem;
}

.wander-sub-content li::before {
    content: none;
}

.js-tab-btn.active {
    color: #00F0FF;
    border-color: #00F0FF;
}

/* ===== PAGE TEMPLATE: survival-sub ===== */
.frostrellaenac-header .logo-text {
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 8px rgba(255, 0, 229, 0.4);
}

.frostrellaenac-header .glitch-text {
    position: relative;
    animation: frostrellaenac-glitch-pulse 4s infinite ease-in-out;
}

@keyframes frostrellaenac-glitch-pulse {

    0%,
    100% {
        text-shadow: 1px 0 #FF00E5, -1px 0 #00F0FF;
    }

    50% {
        text-shadow: -1px 0 #FF00E5, 1px 0 #00F0FF;
    }
}

.frostrellaenac-header .js-dropdown-menu {
    backdrop-filter: blur(10px);
    background: rgba(13, 13, 13, 0.98);
}

.frostrellaenac-header .js-dropdown-icon.rotate-180 {
    transform: rotate(180deg);
}

.frostrella-detail-hero img {
    object-position: center;
}

.frostrella-article-body h2 {
    color: #FF00E5;
    text-shadow: 0 0 10px rgba(255, 0, 229, 0.2);
}

.frostrella-article-body p {
    margin-bottom: 1.5rem;
}

.frostrella-article-body italic {
    display: block;
    padding: 1rem;
    border-left: 2px solid #00F0FF;
    background: rgba(0, 240, 255, 0.05);
}

.js-slider-wrapper {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-comment-container {
    transition: all 0.3s ease;
}

.main-comment-container:hover {
    border-color: #00F0FF;
}

.frostrellaenac-footer .pulse-text {
    animation: frostrellaenac-pulse 4s infinite ease-in-out;
}

@keyframes frostrellaenac-pulse {

    0%,
    100% {
        opacity: 0.7;
    }

    50% {
        opacity: 1;
        text-shadow: 0 0 10px rgba(255, 0, 229, 0.5);
    }
}

.js-footer-link:hover {
    transform: translateX(4px);
    transition: all 0.3s;
    color: #FF00E5;
}

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

    .frostrella-article-body h2 {
        font-size: 16px;
    }

    .frostrella-comments-section h3 {
        font-size: 14px;
    }
}

/* ===== PAGE TEMPLATE: updates-sub ===== */
.updates-detail-page {
    position: relative;
}

.detail-content-wrapper .rich-text-content h1,
.detail-content-wrapper .rich-text-content h2,
.detail-content-wrapper .rich-text-content h3 {
    font-family: 'Orbitron', sans-serif;
    color: #FFFFFF;
    text-transform: uppercase;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.detail-content-wrapper .rich-text-content p {
    margin-bottom: 1.5rem;
}

.detail-content-wrapper .rich-text-content ul {
    list-style: none;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.detail-content-wrapper .rich-text-content ul li {
    position: relative;
    padding-bottom: 0.5rem;
}

.detail-content-wrapper .rich-text-content ul li::before {
    content: none;
}

.neon-glow-text {
    text-shadow: 0 0 10px rgba(255, 0, 229, 0.5);
}

.glitch-bg {
    background-size: 200% 200%;
    animation: bg-move 10s infinite linear;
}

@keyframes bg-move {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.frostrellaenac-header .logo-text {
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 8px rgba(255, 0, 229, 0.4);
}

.frostrellaenac-header .js-dropdown-icon.rotate-180 {
    transform: rotate(180deg);
}