body {
    font-family: "Inter", sans-serif;
    background-color: #0f172a;
    color: #e2e8f0;
}
.font-cinzel {
    font-family: "Cinzel", serif;
}
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1e293b;
}
::-webkit-scrollbar-thumb {
    background: #475569;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #64748b;
}
.paragon-text {
    background: linear-gradient(45deg, #e2e8f0, #38bdf8, #e2e8f0);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 800;
    text-shadow: 0 0 2px rgba(56, 189, 248, 0.5);
}
.paragon-border {
    border-color: #38bdf8;
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.3);
}
.star-glow {
    text-shadow: 0 0 4px #fbbf24;
    filter: drop-shadow(0 0 1px rgba(251, 191, 36, 0.8));
}

/* Tier Colors */
.tier-elite {
    color: #60a5fa;
} /* Blue */
.tier-epic {
    color: #c084fc;
} /* Purple */
.tier-leg {
    color: #fb923c;
} /* Orange */
.tier-myth {
    color: #f87171;
} /* Red */
.tier-sup {
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

/* Custom Grid Layout Classes */
.crown-frame {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /* w-29 equivalent: 29 * 0.25rem = 7.25rem = 116px */
    width: 116px;
    /* Aspect ratio from reference or estimated height */
    height: 160px;
}
.card-frame {
    position: absolute;
    width: 6rem; /* w-24 = 6rem = 96px */
    height: 8rem; /* h-32 = 8rem = 128px */
    overflow: hidden;
    border-radius: 0.5rem; /* rounded-lg */
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    background-color: #1e293b; /* bg-slate-800 */
    /* border: 1px solid rgba(255, 255, 255, 0.1); -- Removed to allow dynamic coloring */
}
.hero-portrait {
    position: absolute;
    bottom: -1.5rem; /* -bottom-6 */
    width: 140px; /* w-35 equivalent */
    height: 140px;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}
.card-ex-weapon {
    position: absolute;
    top: 0.125rem; /* top-0.5 */
    width: 100%;
    display: flex;
    justify-content: center;
    pointer-events: none;
    z-index: 20;
}
.w-29 {
    width: 116px;
}
.w-35 {
    width: 140px;
}

header {
    transition: transform 0.3s ease-in-out;
}

.header-hidden {
    transform: translateY(-100%);
}
