
@media screen and (orientation: portrait) {
    .n2-ss-slide {
        flex-direction: column;
    }
}
@media screen and (orientation: landscape) {
    .n2-ss-slide {
        flex-direction: row;
    }
}

.responsive-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease-in-out;
}
@media screen and (orientation: portrait) {
    .responsive-container {
        flex-direction: column;
    }
}
@media screen and (orientation: landscape) {
    .responsive-container {
        flex-direction: row;
    }
}
.item {
    background-color: #f8c42d;
    padding: 15px;
    margin: 5px;
    border-radius: 6px;
    text-align: center;
    min-width: 100px;
}

.smartslider-cta .cta-button {
    display: inline-block;
    min-width: 180px;
    text-align: center;
    padding: 12px 20px;
    font-size: 16px;
    border-radius: 6px;
    transition: all 0.3s ease-in-out;
}

/* ========== Character Badge Base ========== */
.char-badge {
    width: 250px;
    height: 250px;
    margin-bottom: 55px;
    padding: 20px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ccc;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-sizing: border-box;
}
.char-badge.align-left { margin-right: auto; }
.char-badge.align-center { margin-left: auto; margin-right: auto; }
.char-badge.align-right { margin-left: auto; }

.char-badge.friends { background-color: #4CAF50; }
.char-badge.foes { background-color: #E53935; }
.char-badge.ghosts { background-color: #90A4AE; }
.char-badge.fire { background-color: #FF6F00; }

.char-badge img {
    width: 70%;
    height: auto;
    filter: invert(100%);
}

.char-badge:hover {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.04); }
    100% { transform: scale(1); }
}
.char-badge.pulse {
    animation: pulse 2.5s infinite ease-in-out;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
.char-badge.float {
    animation: float 3s ease-in-out infinite;
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    45% { opacity: 0.4; }
    55% { opacity: 0.8; }
    70% { opacity: 0.5; }
}
.char-badge.ghosts {
    animation: flicker 2.5s infinite ease-in-out;
}

@keyframes burn {
    0% { transform: scale(1); }
    30% { transform: scale(1.05); }
    60% { transform: scale(0.95); }
    90% { transform: scale(1.08); }
    100% { transform: scale(1); }
}
.char-badge.fire {
    animation: burn 3s infinite ease-in-out;
}

.char-badge.shifters {
    background: linear-gradient(135deg, #7E57C2, #BA68C8);
    animation: swirl 4s infinite ease-in-out;
}
@keyframes swirl {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(2deg) scale(1.04); }
    100% { transform: rotate(0deg) scale(1); }
}

/* ===========================
   Custom UIkit Tooltip Styles
   =========================== */
.uk-tooltip {
    background: white !important;
    color: black !important;
    border: 2px solid black !important;
    border-radius: 12px !important;
    padding: 10px 15px !important;
    font-size: 14px !important;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.2) !important;
    max-width: 250px !important;
    text-align: center !important;
    line-height: 1.4 !important;
}

/* Responsive Title Styles */
.responsive-title { font-size: 42px; }
@media (max-width: 1024px) {
    .responsive-title { font-size: 36px; }
}
@media (max-width: 768px) {
    .responsive-title { font-size: 28px; }
}
@media (max-width: 480px) {
    .responsive-title { font-size: 24px; }
}

/* Read More Widget Styles */
.readmore-widget .toggle-btn {
    padding: 8px 24px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'PT Serif', serif !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    border: none !important;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5), inset 0 2px 2px rgba(255, 255, 255, 0.4);
    transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out, transform 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-decoration: none;
}
.readmore-widget .toggle-btn:hover {
    background-color: rgba(0, 0, 0, 0.85) !important;
    color: #ffffff !important;
    transform: translateY(2px) scale(1.03);
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.7), inset 0 3px 3px rgba(0, 0, 0, 0.3);
}
.toggle-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}
.toggle-content.is-open {
    max-height: 500px;
}
@media (max-width: 768px) {
    .readmore-widget .toggle-btn {
        font-size: 14px;
        padding: 6px 20px;
    }
    .toggle-content.is-open {
        max-height: 100%;
    }
}


/* Primary Button Style */

.uk-button-primary {
    padding: 8px 24px;
    font-size: 16px;
    font-weight: 700;
    font-family: 'PT Serif', serif !important;
    background-color: #ffffff !important;
    color: #000000 !important;
    border: none !important;
    border-radius: 25px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5), inset 0 2px 2px rgba(255, 255, 255, 0.4);
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out, transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    cursor: pointer;
    display: inline-block;
    text-align: center;
    text-decoration: none;
}

.uk-button-primary:hover {
    background-color: #f0f0f0;
    color: #000;
    transform: scale(1.03);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.6), inset 0 2px 2px rgba(255, 255, 255, 0.4);
}


/* Remove verticall section names on the left side of the screen */

.tm-section-title.uk-position-top-left {
    display: none !important;
}

.page-character .tm-section-title.uk-position-top-left {
    display: none !important;
}

.uk-button-disabled {
    opacity: 0.4;
    cursor: default !important;
    pointer-events: none;
    box-shadow: none !important;
    transform: none !important;
}

/* TOC sidebar base styles */
.firecurl-toc {
  font-size: 16px;
  line-height: 1.6;
  padding-left: 10px;
  list-style: none;
  font-family: inherit;
}

.firecurl-toc li {
  margin-bottom: 6px;
}

/* Default link appearance */
.firecurl-toc a {
  color: #333;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Hover effect */
.firecurl-toc a:hover {
  color: #000;
  border-left: 3px solid #f9d94c;
  padding-left: 6px;
}

/* Highlight current page */
.firecurl-toc a.active {
  font-weight: bold;
  color: #000;
  border-left: 4px solid #d6b741;
  background-color: rgba(255, 255, 200, 0.15);
  padding-left: 8px;
}

.uk-nav.firecurl-toc a.active {
  font-weight: bold !important;
  color: #000 !important;
  border-left: 4px solid #d6b741 !important;
  background-color: rgba(255, 255, 200, 0.15) !important;
  padding-left: 8px !important;
}

.uk-nav-default a.active {
  background-color: #fff;
  color: #000;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 4px;
}






.firecurl-toc-wrapper {
  position: sticky !important;
  top: 80px !important;
  max-height: 100vh !important;
  overflow: hidden !important;
  background: white;
  padding: 0 1rem 2rem 0;
}

.firecurl-toc-wrapper::-webkit-scrollbar {
  display: none;
} 


/* === Sticky Download Button === */
.firecurl-download-button {
  position: fixed !important;
  bottom: 24px !important;
  right: 24px !important;
  z-index: 99999 !important;
  display: block !important;
  background: none !important;
}

.firecurl-download-button .uk-button {
  border-radius: 50% !important;
  padding: 8px !important;
  width: 36px !important;
  height: 36px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
  background-color: #fff !important;
  color: #000 !important;
}

.firecurl-download-button .uk-icon {
  font-size: 24px !important;
}

.firecurl-download-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 9999;
}

footer, .tm-footer {
  position: relative;
  z-index: 1;
}

.firecurl-download-button .uk-dropdown {
  min-width: 240px !important;  /* was around 200 by default */
}

.firecurl-download-button .uk-button {
  background-color: #fff;
  border: none;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  padding: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.firecurl-download-button {
  margin: 0;
  padding: 0;
}

/* === Firecurl Reflection Dividers (Responsive) === */
.desktop-divider {
  display: block;
}
.mobile-divider {
  display: none;
}
@media (max-width: 640px) {
  .desktop-divider {
    display: none;
  }
  .mobile-divider {
    display: block;
  }
}


.uk-accordion-content .el-content.uk-panel {
  font-family: 'PT Serif', serif;
  font-size: 1.15rem;
  color: #2a2a2a;
  line-height: 1.5;
  text-align: left;
}
