body {
    font-family: 'Supreme', sans-serif;
    background-color: #f9f8f4;
    color: #494848;
}
.font-clash { font-family: 'Clash Display', sans-serif; }
.font-khand { font-family: 'Khand', sans-serif; }
html { scroll-behavior: smooth; }
.link-underline { position: relative; display: inline-block; }
.modal-open { overflow: hidden; }
.link-underline::after {
    content: ''; position: absolute; width: 100%; transform: scaleX(0); height: 1px; bottom: -2px; left: 0;
    background-color: #494848; transform-origin: bottom right; transition: transform 0.25s ease-out;
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: bottom left; }
.ticker-wrap {
    position: fixed; bottom: 0; top: auto; left: 0; width: 100%; overflow: hidden;
    background-color: #ff0200; color: #f9f8f4; padding: 1rem 0; border-top: 1px solid #494848; z-index: 40;
    transition: background-color 0.4s ease-in-out;
}
.ticker-item { display: inline-block; padding: 0 2rem; font-family: 'Khand', sans-serif; text-transform: uppercase; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-100%); } }
#background-canvas {
    position: fixed; top: 0; left: 0; width: 100vw; height: 100vh; z-index: 0; transition: opacity 0.4s ease-in-out;
}
.animated-word-container { display: inline-block; position: relative; height: 1.2em; width: 9em; }
.animated-word { position: absolute; top: 0; left: 0; opacity: 0; animation: change-font 8s infinite; }
.animated-word:nth-child(1) { animation-delay: 0s; font-weight: 500;}
.animated-word:nth-child(2) { animation-delay: 2s; font-family: 'Khand', sans-serif; }
.animated-word:nth-child(3) { animation-delay: 4s; font-family: 'Times New Roman', serif; font-style: italic; }
.animated-word:nth-child(4) { animation-delay: 6s; font-weight: 700; color: #646fec; }
@keyframes change-font {
    0%, 25%, 100% { opacity: 0; transform: translateY(10px); }
    5%, 20% { opacity: 1; transform: translateY(0); }
}
#refresh-button-container { width: 70px; height: 70px; cursor: pointer; transition: transform 0.3s ease-in-out; }
#refresh-button-container:hover { transform: rotate(15deg) scale(1.1); }
#refresh-button-svg path { transition: fill 0.4s ease-in-out; fill: #ff0200; }
#refresh-button-text {
    pointer-events: none; color: #f9f8f4; font-family: 'Khand', sans-serif; font-size: 11px;
    text-transform: uppercase; letter-spacing: -0.1px; text-align: center; line-height: 0.95; transform: scaleX(1);
}
#main-logo path { fill: #646fec; }
.logo-bg {
    background-color: rgba(249, 248, 244, 0.85); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
    padding: 0.5rem; border-radius: 0.5rem; border: 1px solid rgba(73, 72, 72, 0.1);
}
#dynamic-highlight { transition: background-color 0.4s ease-in-out, color 0.4s ease-in-out; }
.dynamic-accent-text { transition: color 0.4s ease-in-out; }
.strategy-logo path, .strategy-logo polygon, .strategy-logo g { transition: fill 0.4s ease-in-out; }
.strategy-logo-container:hover .campamento-path { fill: #1d4762 !important; }
.strategy-logo-container:hover .dialogos-path { fill: #575ea5 !important; }
.strategy-logo-container:hover .exploratorio-path { fill: #d9583f !important; }
#image-modal {
    display: none; position: fixed; z-index: 110; left: 0; top: 0; width: 100%; height: 100%;
    overflow: auto; background-color: rgba(25, 25, 25, 0.9); backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px); cursor: pointer; align-items: center; justify-content: center; padding: 2rem;
}
.dispositivo-card { transition: transform 0.3s ease, box-shadow 0.3s ease; background-color: rgba(249, 248, 244, 0.95); }
.dispositivo-card:hover { transform: translateY(-4px); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.filter-btn.active { background-color: #494848; color: #f9f8f4; }
.accordion-content {
    max-height: 0; overflow: hidden; transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1), padding 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.accordion-item.active .accordion-content { max-height: 1200px; }