:root {
    --color-bg: #0d0d0d;
    --color-sidebar: #0f0f0f;
    --color-border: rgba(255, 255, 255, 0.15);
    --color-border-hover: rgba(255, 255, 255, 0.5);
    --color-gold: #c9a45e;
    --color-red: #9b1515;
    --color-text: #e0e0e0;
    --color-text-dim: #e2e2e2;
    --font-mainXXX: 'Inter', sans-serif;
    --font-main: 'Cinzel', sans-serif;
    --font-header: 'Cinzel', serif;
    --gold-dark: #c9a45e;
    --gold-light: #d4af37;
}

.explorer-section {
    margin: 0 auto;
    width: 100%;
    border: none;
    background: transparent;
}


.explorer-section::-webkit-scrollbar {
    width: 16px;
}

.explorer-section::-webkit-scrollbar-track {
    background: #050505;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
}

.explorer-section::-webkit-scrollbar-thumb {
    background: #3a2e1d;
    border: 2px solid #050505;
    border-radius: 10px;
}

.explorer-section::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}


.explorer-section {
    scrollbar-width: auto;
    scrollbar-color: #3a2e1d #050505;
}

html {
    box-sizing: border-box;
}

*,
*:before,
*:after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}

img {
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: auto;

}

body {
    background-color: var(--color-bg) !important;
    color: var(--color-text);
    font-family: var(--font-main);
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

#slot-primary {
    aspect-ratio: 32.8 / 10;
    text-align: center;
    width: 100%;
}

#slot-primary img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px #000);
}

.vignette-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 30%, rgba(0, 0, 0, 0.25) 100%);
    pointer-events: none;
    z-index: 999;
}

.explorer-wrapper.page-kda {
    grid-template-columns: 1fr !important;
    flex: 1;
    display: grid;
    padding: 2rem 3rem 0;
    gap: 4rem;
    margin-bottom: 6rem;
}

.explorer-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 800px;
    background: #050505;
    padding-bottom: 14px;
}


.toolbar-v3 {
    display: flex;
    flex-direction: column;
    background: #0a0a0a;
    border-bottom: 1px solid var(--color-border);
    flex: 0 0 auto;
    z-index: 50;
}

.toolbar-main {
    height: 70px;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    border: 2px solid #000000;
}

.filter-drawer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.02);
}

.filter-drawer.open {
    max-height: 500px;
    opacity: 1;
    padding: 2rem;
    border-bottom: 3px solid var(--color-gold);
    background: #0a0a0a;
}

.filter-row {
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: center;
    margin-bottom: 1.5rem;
}

.filter-row:last-child {
    margin-bottom: 0;
}

.filter-label {
    font-family: var(--font-header);
    color: #e1e1e1;
    font-size: 0.75rem;
    letter-spacing: 2px;
}


.explorer-section {
    flex: 1;
    overflow-y: auto;

    padding: 0 15px;
    position: relative;
    background: transparent;
    padding-top: 15px;
}

#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background-color: var(--color-bg);
    position: relative;
    z-index: 10;
}


.app-header {
    height: 80px;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    background: rgba(0, 0, 0, 0.9);
    border-bottom: 1px solid var(--color-border);
    justify-content: space-between;
    position: relative;
    z-index: 1000;
}

.nav-left {
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-logo {
    height: 65px;
    width: auto;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
    transition: transform 0.2s;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.brand-text {
    font-family: var(--font-header);
    color: var(--color-gold);
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: lowercase;
    opacity: 0.9;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.nav-tabs {
    display: flex;
    gap: 10px;
    height: 100%;
    align-items: center;
}

.nav-btn-hunt {
    text-decoration: none;
    height: 45px;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    color: var(--color-text-dim);
    font-family: var(--font-header);
    font-size: 0.85rem;
    letter-spacing: 2px;
    transition: all 0.2s;
    position: relative;
    cursor: pointer;
}

.nav-btn-hunt:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.3);
}

.nav-btn-hunt.active {
    background: rgba(201, 164, 94, 0.1);
    border-color: var(--color-gold);
    color: var(--color-gold);
    border-bottom-width: 3px;
}




html body .app-layout.app-generator {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 2rem;
    padding: 2.5rem;
    margin-bottom: 4rem;
}

html body .app-layout.app-generator .category-filters .filter-btn:nth-of-type(2) {
    cursor: not-allowed;
}

html body .app-layout.page-arsenal {
    display: grid;
    grid-template-columns: 250px 450px 1fr;
    gap: 2rem;
    padding: 2.5rem;

}

html body .app-layout.page-arsenal .explorer-wrapper {
    padding: 0 !important;
}


.lang-dropdown {
    position: relative;
    pointer-events: all;
    z-index: 1000;
}

.lang-current {
    display: flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.2s;
}

.lang-arrow {
    display: none;
}

.info-wrapper {
    position: relative;
    margin-left: auto;
    display: flex;
    align-items: center;
    float: right;
}

.info-icon {
    font-size: 1.5rem;
    color: var(--color-gold);
    opacity: 0.7;
    cursor: help;
    transition: opacity 0.2s;
    padding: 2px 8px;
}

.info-wrapper:hover .info-icon {
    opacity: 1;
}

.check-icons-container {
    display: none;
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    background: #100f0c;
    border: 1px solid var(--color-gold);
    padding: 10px;
    gap: 12px;
    align-items: center;
    z-index: 1000;
    white-space: nowrap;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.8);
}

.info-wrapper:hover .check-icons-container {
    display: flex;
}

.check-icon {
    width: 32px;
    height: auto;
    filter: none;

    opacity: 1;
}

.lang-options {
    position: absolute;
    top: 100%;
    right: 0;
    width: auto;
    background: #111;
    border: 1px solid var(--color-border);
    display: none;
    flex-direction: column;
    padding: 5px 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.lang-dropdown:hover .lang-options {
    display: flex;
}

.lang-options .flag-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 15px;
    text-decoration: none;
    color: var(--color-text-dim);
    font-family: var(--font-header);
    font-size: 0.75rem;
    opacity: 0.8;
}

.lang-options .flag-link:hover {
    background: rgba(255, 255, 255, 0.05);
    opacity: 1;
    color: var(--color-gold);
}

.lang-options .flag-link.active {
    background: rgba(201, 164, 94, 0.05);
    color: var(--color-gold);
}

.shabby-flag {
    width: 45px;
    height: auto;
    display: block;
    filter: grayscale(0.4) sepia(0.1) contrast(0.9) brightness(0.9);
    transition: filter 0.2s;
}

.lang-current .shabby-flag {
    padding: 0;
    margin: 0;
}

.flag-link:hover .shabby-flag,
.flag-link.active .shabby-flag,
.lang-current:hover .shabby-flag {
    filter: grayscale(0) sepia(0) contrast(1.1) brightness(1);
}

.nav-currency {
    color: var(--color-gold);
    font-family: var(--font-header);
    font-size: 1.1rem;
    min-width: 100px;
    text-align: right;
}


.app-layout {
    flex: 1;
    display: grid;
    grid-template-columns: 450px 1fr;
    padding: 2rem 3rem 0;
    gap: 4rem;
}

.app-layout-single {
    grid-template-columns: 1fr !important;
}

.nav-account-btn {
    text-decoration: none;
}

.explorer-wrapper {
    display: flex;
    flex-direction: column;
    padding: 2rem;
}

.min-h-main {
    min-height: calc(100vh - 200px);
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.full-width {
    width: 100%;
}

.account-container {
    max-width: 450px;
    width: 100%;
}

.account-info-box {
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 1rem;
}

.account-label-tiny {
    font-size: 0.7rem;
    color: var(--color-gold);
    text-transform: uppercase;
}

.user-email-display {
    font-size: 0.9rem;
    margin-top: 5px;
    color: var(--color-text);
}

.account-section-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    color: var(--color-gold);
    margin-bottom: 1rem;
    font-family: var(--font-header);
}

.status-box {
    display: none;
    margin-top: 1rem;
    padding: 10px;
    font-size: 0.8rem;
    text-align: center;
    border: 1px solid transparent;
}

.status-box.error {
    color: var(--color-red);
    border-color: var(--color-red);
    background: rgba(139, 18, 18, 0.1);
}

.status-box.success {
    color: #4CAF50;
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

.txt-uppercase {
    text-transform: uppercase;
}


.title-link-wrapper {
    text-decoration: none;
    color: inherit;
}


.stats-sidebar {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding-bottom: 2rem;
}

.sidebar-header .item-type {
    color: var(--color-gold);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.sidebar-header h2 {
    font-family: var(--font-header);
    font-size: 1.8rem;
    margin: 0.5rem 0;
    color: #c6c6c6;
    font-weight: 600;
    text-transform: uppercase;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.stat-item {
    margin-bottom: 1.5rem;
}

.stat-label-group {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    margin-bottom: 0.5rem;
    color: var(--color-text-dim);
    text-transform: uppercase;
}

.stat-bar-bg {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    width: 100%;
    border-radius: 1px;
}

.stat-bar-fill {
    height: 100%;
    background: #c09c40;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}



.explorer-section {
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.page-kda .explorer-section {
    padding: 2rem 0 !important;
    max-width: 100%;
}

.toolbar {
    min-height: 60px;
    border: 1px solid var(--color-border);
    margin-bottom: 0;
    display: flex;
    align-items: center;
    padding: 0 1rem;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.03);
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.filter-divider {
    width: 1px;
    height: 30px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 10px;
}

.category-filters,
.slot-filters {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.category-filters .filter-btn:nth-of-type(2) {
    cursor: not-allowed;
}

.generator-controls .category-filters .filter-btn {
    cursor: pointer;
}

.filter-btn {
    background: none;
    border: 1px solid transparent;
    color: var(--color-text-dim);
    font-family: var(--font-header);
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    letter-spacing: 1px;
    transition: all 0.2s;
}

.filter-btn.active {
    color: var(--color-gold);
    border: 1px solid var(--color-gold);
    background: rgba(201, 164, 94, 0.05);
}

.filter-btn-square {
    width: auto;
    height: 40px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    color: var(--color-text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s;
    padding: 0 1em;
}

.filter-btn-square .label {
    margin-top: 4px;
}

.filter-btn-square.active {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

/* Active Filter Breadcrumbs */
.active-filters-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 2px solid var(--color-gold);
    min-height: 50px;
}

.active-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.filter-tag {
    background: rgba(201, 164, 94, 0.1);
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.2s;
    font-family: var(--font-header);
    letter-spacing: 1px;
}

.filter-tag:hover {
    background: rgba(201, 164, 94, 0.2);
    border-color: #fff;
    color: #fff;
}

.tag-close {
    font-size: 1rem;
    font-style: normal;
    opacity: 0.6;
}

.reset-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    padding: 6px 15px;
    font-size: 0.75rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-header);
    letter-spacing: 1.5px;
    margin-left: auto;
}

.reset-btn:hover {
    background: rgba(139, 18, 18, 0.2);
    border-color: var(--color-red);
    color: #fff;
}

.toolbar-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
}

.sort-select {
    background: #111;
    border: 1px solid var(--color-border);
    color: var(--color-text-dim);
    padding: 0.6rem 0.9rem;
    font-size: 0.75rem;
    font-family: var(--font-header);
    cursor: pointer;
    text-transform: uppercase;
}

.search-box {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-dim);
    border-left: 1px solid var(--color-border);
    padding-left: 1.5rem;
}

.search-box-container {
    flex: 1;
}

.toolbar-spacer {
    margin-left: 20px;
}

.h-40 {
    height: 40px;
}

.h-45 {
    height: 45px;
}

.w-30 {
    width: 30px;
}

.mr-15 {
    margin-right: 15px;
}

.flex-center {
    display: flex;
    align-items: center;
}

.flex-inline-center {
    display: inline-flex;
    align-items: center;
}

.gap-8 {
    gap: 8px;
}

.gap-10 {
    gap: 10px;
}

.gap-15 {
    gap: 15px;
}

.gap-20 {
    gap: 20px;
}

.gap-1rem {
    gap: 1rem;
}

.account-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    width: 100%;
    max-width: 1400px;
    margin: 2rem auto;
    padding: 0 3rem;
}

.account-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.account-nav-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    color: var(--color-text-dim);
    text-decoration: none;
    font-family: var(--font-header);
    font-size: 0.85rem;
    letter-spacing: 1px;
    transition: all 0.2s;
}

.account-nav-item:hover,
.account-nav-item.active {
    background: rgba(201, 164, 94, 0.1);
    border-color: var(--color-gold);
    color: var(--color-gold);
    transform: translateX(0);
}

.account-dashboard {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--color-gold);
}

.stat-value {
    font-size: 2rem;
    font-family: var(--font-header);
    color: var(--color-gold);
}

.stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-dim);
}

.collectibles-section {
    margin-top: 3rem;
}

.collectibles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.collectible-card {
    aspect-ratio: 2/3;
    background: #1a1a1a;
    border: 1px solid var(--color-border);
    position: relative;
    padding: 5px;
    transition: transform 0.3s, border-color 0.3s;
    cursor: pointer;
}

.collectible-card:hover {
    transform: translateY(-10px) rotate(2deg);
    border-color: var(--color-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.collectible-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.5) contrast(1.1);
}

.collectible-card.locked {
    filter: grayscale(1) brightness(0.5);
    opacity: 0.6;
}

.collectible-card.locked::after {
    content: '🔒';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 2rem;
}

.collectible-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 15px 10px 10px;
}

.collectible-name {
    font-size: 0.75rem;
    font-family: var(--font-header);
    color: var(--color-gold);
    text-transform: uppercase;
    text-align: center;
}

.balance-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-gold);
    font-weight: bold;
}

.blood-bond-icon {
    width: 16px;
    height: 16px;
    background: var(--color-gold);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 5px var(--color-gold);
}

.nav-account-btn {
    text-decoration: none;
}

.txt-none {
    text-decoration: none;
}

.txt-uppercase {
    text-transform: uppercase;
}

.px-12 {
    padding-left: 12px;
    padding-right: 12px;
}

.px-15 {
    padding-left: 15px;
    padding-right: 15px;
}

.font-06 {
    font-size: 12px;
}

.font-07 {
    font-size: 17px;
}

.font-075 {
    font-size: 16px;
}

.font-08 {
    font-size: 0.8rem;
}

.font-09 {
    font-size: 0.9rem;
}

.font-12 {
    font-size: 1.2rem;
}

.font-15 {
    font-size: 1.5rem;
}

.font-18 {
    font-size: 1.8rem;
}

.color-dim {
    color: var(--color-text-dim);
}

.color-gold {
    color: var(--color-gold);
}

.color-888 {
    color: #888;
}

.color-666 {
    color: #666;
}

.text-white {
    color: #fff;
}

.text-center {
    text-align: center;
}

.w-100 {
    width: 100%;
}

.h-100 {
    height: 100%;
}

.h-4 {
    height: 4px;
}

.h-120 {
    height: 120px;
}

.h-auto {
    height: auto;
}

.max-w-80 {
    max-width: 80%;
}

.max-h-80 {
    max-height: 80%;
}

.max-w-100 {
    max-width: 100%;
}

.flex-1 {
    flex: 1;
}

.flex-15 {
    flex: 1.5;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.flex-col {
    flex-direction: column;
}

.flex-stretch {
    align-items: stretch;
}

.flex-between {
    justify-content: space-between;
}

.flex-center-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

.mt-5 {
    margin-top: 5px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-15rem {
    margin-top: 1.5rem;
}

.mt-2rem {
    margin-top: 2rem;
}

.mb-12 {
    margin-bottom: 12px;
}

.mb-15rem {
    margin-bottom: 1.5rem;
}

.mb-2rem {
    margin-bottom: 2rem;
}

.mr-15 {
    margin-right: 15px;
}

.pr-5 {
    padding-right: 5px;
}

.pr-1rem {
    padding-right: 1rem;
}

.pr-2rem {
    padding-right: 2rem;
}

.p-10 {
    padding: 10px;
}

.p-15 {
    padding: 15px;
}

.p-2rem {
    padding: 2rem;
}

.p-12rem {
    padding: 1.2rem;
}

.border-dim {
    border: 1px solid #444;
}

.border-gold {
    border: 1px solid var(--color-gold);
}

.border-right-dim {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
}

.bg-dark-02 {
    background: rgba(0, 0, 0, 0.2);
}

.bg-white-01 {
    background: rgba(255, 255, 255, 0.1);
}

.bg-white-005 {
    background: rgba(255, 255, 255, 0.05);
}

.ls-1 {
    letter-spacing: 1px;
}

.lh-15 {
    line-height: 1.5;
}

.lh-16 {
    line-height: 1.6;
}

.grid-1-col {
    display: grid;
    grid-template-columns: 1fr;
}

.pos-relative {
    position: relative;
}

.bottom-5 {
    bottom: 5px;
}

.left-0 {
    left: 0;
}

.right-0 {
    right: 0;
}

.d-none {
    display: none !important;
}

.d-flex {
    display: flex !important;
}

.shadow-dark {
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
}

.cursor-pointer {
    cursor: pointer;
}

.br-5 {
    border-radius: 5px;
}

.trans-border {
    transition: border-color 0.2s;
}

.trans-transform-01 {
    transition: transform 0.1s;
}

.border-l-gold {
    border-left: 2px solid var(--color-gold);
}

.bg-gold-005 {
    background: rgba(255, 184, 76, 0.05);
}

.opacity-08 {
    opacity: 0.8;
}

.hover-border-gold:hover {
    border-color: var(--color-gold) !important;
}

.hover-border-transparent:hover {
    border-color: transparent !important;
}

.active-gold {
    border-color: var(--color-gold) !important;
}

.active-border {
    border-color: var(--color-border) !important;
}

.scale-09 {
    transform: scale(0.9);
}

.scale-1 {
    transform: scale(1);
}

.font-20 {
    font-size: 2rem;
}

.font-40 {
    font-size: 4rem;
}

.font-085 {
    font-size: 16px;
}

.font-065 {
    font-size: 0.65rem;
}

.fw-bold {
    font-weight: bold;
}

.h-350 {
    height: 350px;
}

.h-100vh {
    height: 100vh;
}

.max-w-400 {
    max-width: 400px;
}

.max-h-350 {
    max-height: 350px;
}

.min-h-400 {
    min-height: 400px;
}

.min-w-200 {
    min-width: 200px;
}

.mt-4 {
    margin-top: 4px;
}

.mb-1rem {
    margin-bottom: 1rem;
}

.border-dashed {
    border-style: dashed;
}

.bg-dark-04 {
    background: rgba(0, 0, 0, 0.4);
}

.grid-kda-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-kda-split {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
}

.overflow-y-auto {
    overflow-y: auto;
}

.flex-end {
    justify-content: flex-end;
}

.text-right {
    text-align: right;
}

.search-box input {
    background: transparent;
    border: none;
    color: white;
    outline: none;
    font-size: 0.9rem;
}

.weapon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(295px, 1fr));
    gap: 1rem;
    padding-bottom: 5rem;
}

.weapon-card {
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.03);
    position: relative;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
    padding: 1rem;
}

.weapon-card img {
    max-width: 95% !important;
    max-height: 95% !important;
}

.weapon-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}

.weapon-card.active {
    border: 2px solid #fff;
    background: rgba(255, 255, 255, 0.06);
}

.app-generator .weapon-card {
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.03);
    position: relative;
    cursor: pointer;
    padding: 0;
    transition: all 0.2s ease;
    width: 50%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-generator .weapon-card img {
    max-width: 100% !important;
    max-height: 80% !important;
    max-height: 100px !important;
}

.app-generator .weapon-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.05);
}


.slot-target {
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid var(--color-border);
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slot-target.active {
    border-color: var(--color-gold) !important;
    box-shadow: inset 0 0 15px rgba(224, 180, 107, 0.2);
}

.slot-target.active-item {
    background: rgba(255, 255, 255, 0.03);
}

.app-creator .weapon-card {
    cursor: pointer;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.app-creator .weapon-card:hover {
    transform: translateY(-3px);
    border-color: var(--color-gold);
}



.card-top .name {
    font-family: var(--font-header);
    color: var(--color-gold);
    font-size: 1rem;
    text-transform: uppercase;
}

.card-img-container {
    width: 100%;
    height: 55%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.card-name-muted {
    color: #e9e9e9;
}

.ammo-indicator-list {
    display: flex;
    gap: 4px;
}

.ammo-mini-tag {
    font-size: 0.55rem;
    border: 1px solid #444;
    padding: 0 2px;
    text-transform: uppercase;
}

.sidebar-ammo-list {
    margin-top: 10px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.sidebar-desc-text {
    margin-top: 20px;
    font-size: 1rem;
    color: #999;
    line-height: 1.6;
}

.card-image {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.5));
}

.card-bottom {
    position: absolute;
    bottom: 1.2rem;
    left: 1.2rem;
    right: 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-progress {
    display: flex;
    gap: 3px;
    display: none;
}

.ammo-indicator {
    display: none !important;
}

.progress-dot {
    width: 12px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
}

.progress-dot.active {
    background: #fff;
}

.card-price {
    color: var(--color-gold);
    font-weight: bold;
    font-size: 0.9rem;
}


.app-footer {
    height: 70px;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 3rem;
    border-top: 1px solid var(--color-border);
    z-index: 200;
}

.sidebar-item-preview {
    width: 100%;
    display: flex;
    justify-content: center;
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.sidebar-item-preview img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(0, 0, 0, 0.8));
    transition: transform 0.3s ease;
}

.sidebar-item-preview img:hover {
    transform: scale(1.05);
}

.btn-red {
    background: #8b1212;
    color: #fff;
    border: none;
    padding: 0.5rem 1.2rem;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 0.8rem;
}

.hint {
    font-size: 0.75rem;
    color: var(--color-text-dim);
    margin-left: 2rem;
    text-transform: uppercase;
}









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

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #444;
}

.description {
    margin-top: 20px;
    font-size: 1rem;
    color: #999;
    line-height: 1.6;
    margin-bottom: 2em;
}


.equip-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.row-label {
    font-size: 0.7rem;
    color: #cccccc;
    text-transform: uppercase;
    font-family: var(--font-header);
    letter-spacing: 1px;
}

.row-grid-weapons {
    display: flex;
    gap: 10px;
    height: 120px;
}

.ammo-slots-col {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 60px;
}

.ammo-card-mini {
    flex: 1;
    border: 1px solid var(--color-border);
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    font-size: 0.6rem;
    color: var(--color-gold);
    transition: all 0.2s;
    overflow: hidden;
    cursor: default;
}

.ammo-card-mini img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.5));
}

.grid-4-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
}

.slot-square-v2 {
    aspect-ratio: 1/1;
    border: 1px solid var(--color-border);
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
}

.slot-square-v2 img {
    max-width: 60%;
    max-height: 60%;
    margin-left: 10px;
    margin-bottom: 26px;
}

.slot-square-v2:hover {
    background: rgba(255, 255, 255, 0.05);
}

.empty-plus {
    color: rgba(255, 255, 255, 0.05);
    font-size: 2.5rem;
    transition: color 0.2s;
}

.weapon-card:hover .empty-plus {
    color: rgba(255, 255, 255, 0.1);
}


.check-container {
    display: block;
    position: relative;
    padding-left: 3px;
    margin-bottom: 0;
    cursor: pointer;
    font-size: 1.1rem;
    color: #ccc;
    font-family: var(--font-header);
    min-height: 24px;
    transition: opacity 0.3s;
    line-height: 33px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.check-container:has(input:disabled) {
    opacity: 0.3;
    pointer-events: none;
    cursor: not-allowed;
}

.check-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: relative;
    top: 0;
    left: 0;
    height: 22px;
    width: 22px;
    background-color: #111;
    border: 1px solid #444;
}

.check-container:hover .check-icon {
    opacity: 1;
    filter: grayscale(0) contrast(1.1) brightness(1);
}

.check-container:hover input~.checkmark {
    background-color: #222;
}

.check-container input:checked~.check-icons-container .check-icon {
    opacity: 1;
    filter: grayscale(0) contrast(1.1) brightness(1);
}

.check-container input:checked~.checkmark {
    background-color: var(--color-red);
    border-color: var(--color-red);
}

.roll-big-btn {
    width: 100%;
    padding: 1.5rem;
    background: var(--color-red);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-family: var(--font-header);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.2s;
}

.roll-big-btn:hover {
    background: #580707;
    transform: translateY(-2px);
}

#weapon-details {
    background: rgba(0, 0, 0, 0.2);
    height: auto;
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    overflow-y: auto;
}

.baseAmmo,
.customAmmo,
.ammo-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 2px 10px;
    border-radius: 3px;
    font-size: 0.65rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.baseAmmo {
    border-color: var(--color-gold);
    color: var(--color-gold);
}

.customAmmo,
.ammo-badge {
    border-color: #444;
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.ammo-badge {
    cursor: pointer;
    height: 34px;
    white-space: nowrap;
}

.ammo-badge img {
    height: 18px;
    width: auto;
    filter: brightness(0.7);
}

.ammo-badge:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.ammo-badge.active {
    border-color: var(--color-gold);
    background: rgba(201, 164, 94, 0.15);
    color: var(--color-gold);
}

.ammo-badge.active img {
    filter: brightness(1) drop-shadow(0 0 5px var(--color-gold));
}

#slot-primary .baseAmmo,
#slot-secondary-1 .baseAmmo,
#slot-secondary-2 .baseAmmo {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

#slot-primary .itemName,
#slot-secondary-1 .itemName,
#slot-secondary-2 .itemName {
    position: absolute;
    bottom: 8px;
    left: 12px;
    font-size: 0.85rem;
    color: var(--color-gold);
    font-family: var(--font-header);
    text-transform: uppercase;
}

.equip-row .itemName {
    position: absolute;
    bottom: 8px;
    left: 12px;
    font-size: 0.85rem;
    color: var(--color-gold);
    font-family: var(--font-header);
    text-transform: uppercase;
}

@keyframes itemEntryPoint {
    0% {
        transform: translateY(-50px) scale(0.5) rotate(-3deg);
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    70% {
        transform: translateY(15px) scale(1.1) rotate(2deg);
    }

    100% {
        transform: translateY(0) scale(1) rotate(0);
        opacity: 1;
    }
}


.shabby-card {
    background: #121212;
    border: 1px solid var(--color-border);
    padding: 1.5rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.2s, border-color 0.2s;
}

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

.card-label {
    font-family: var(--font-header);
    font-size: 0.75rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.5rem;
    display: block;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--color-border);
    margin: -1.5rem -1.5rem 1.5rem -1.5rem;
}

.auth-tab {
    flex: 1;
    padding: 1rem;
    background: none;
    border: none;
    color: var(--color-text-dim);
    font-family: var(--font-header);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.2s;
    opacity: 0.6;
}

.auth-tab:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.05);
}

.auth-tab.active {
    opacity: 1;
    color: var(--color-gold);
    border-bottom: 2px solid var(--color-gold);
    background: rgba(201, 164, 94, 0.05);
}
}

.kda-value {
    font-family: var(--font-header);
    font-size: 3rem;
    color: #fff;
    line-height: 1;
}

.kda-details {
    margin-top: 10px;
    font-size: 0.8rem;
    color: var(--color-text-dim);
    letter-spacing: 1px;
}


.hunt-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.auth-wrapper {
    align-items: center;
    justify-content: center;
}

.auth-card {
    max-width: 450px;
    width: 100%;
    margin: 2rem;
    padding: 1.5rem;
}

.auth-hint {
    margin-top: 1.5rem;
    font-size: 0.8rem;
    text-align: center;
    opacity: 0.6;
}

.auth-link {
    color: var(--color-gold);
    text-decoration: none;
}

.auth-success-box {
    text-align: center;
    padding: 2rem 0;
}

.auth-success-icon {
    font-size: 3rem;
    color: var(--color-gold);
    margin-bottom: 1rem;
    text-shadow: 0 0 20px rgba(201, 164, 94, 0.4);
}

.auth-success-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.auth-success-text {
    font-size: 0.9rem;
    color: var(--color-text-dim);
    line-height: 1.5;
}

.auth-success-spam {
    font-size: 17px;
    color: var(--color-red);
    margin-top: 1rem;
    opacity: 0.8;
}

.auth-error-box {
    display: none;
    color: var(--color-red);
    margin-top: 1rem;
    font-size: 0.8rem;
    text-align: center;
    border: 1px solid var(--color-red);
    padding: 12px;
    background: rgba(139, 18, 18, 0.1);
    border-radius: 2px;
}

/* Utilities */
.hidden {
    display: none !important;
}

.no-border {
    border: none !important;
}

.no-padding {
    padding: 0 !important;
}

.mt-5 {
    margin-top: 5px !important;
}

.font-08 {
    font-size: 0.8rem !important;
}

.max-w-500 {
    max-width: 500px !important;
}

/* Legal Pages */
.legal-layout {
    display: block;
    padding: 4rem;
    max-width: 800px;
    margin: 0 auto;
    overflow-y: auto;
}

.legal-card {
    padding: 3rem;
}

.legal-title {
    font-family: var(--font-header);
    color: var(--color-gold);
    margin-bottom: 2rem;
}

.legal-body {
    line-height: 1.8;
    color: #ccc;
}

.shabby-input {
    width: 100%;
    background: #0a0a0a;
    border: 1px solid var(--color-border);
    color: #fff;
    padding: 10px;
    font-family: var(--font-main);
    margin-top: 5px;
    outline: none;
}

.shabby-input:focus {
    border-color: var(--color-gold);
}

.form-group {
    margin-bottom: 1.2rem;
}

.form-group label {
    font-size: 0.65rem;
    text-transform: uppercase;
    color: var(--color-text-dim);
    letter-spacing: 1px;
}


.shabby-table-wrapper {
    overflow-x: auto;
}

.shabby-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 1rem;
    font-size: 0.9rem;
}

.shabby-table th {
    text-align: left;
    padding: 12px;
    border-bottom: 2px solid var(--color-border);
    color: var(--color-text-dim);
    text-transform: uppercase;
    font-size: 0.7rem;
    letter-spacing: 1px;
}

.shabby-table td {
    padding: 12px;
    border-bottom: 1px solid var(--color-border);
    color: var(--color-text);
}

.shabby-table tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.btn-delete {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    font-size: 0.8rem;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.btn-delete:hover {
    opacity: 1;
}


.apexcharts-canvas {
    background: transparent !important;
}

.apexcharts-tooltip {
    background: #111 !important;
    border: 1px solid var(--color-gold) !important;
    color: #fff !important;
}

.page-kda .toolbar-v3 {
    padding: 1em 2.3rem;
}


/* Portal Hero Styles moved and cleaned up */

.portal-hero-content {
    background: rgba(0, 0, 0, 0.6);
    padding: 1rem 2rem;
    border-left: 4px solid var(--color-red);
}

.portal-hero-link {
    color: var(--color-red);
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-decoration: none;
    font-weight: bold;
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: 100%;
    margin-bottom: 5rem;
}

.portal-header-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (max-width: 1024px) {
    .portal-header-grid {
        grid-template-columns: 1fr;
    }
}

.portal-card {
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.portal-card:hover {
    transform: translateY(-5px);
}

.portal-card-img {
    height: 328px;
    position: relative;
    overflow: hidden;
}

.portal-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
    transition: transform 0.5s ease;
}

.portal-card:hover .portal-card-img img {
    transform: scale(1.05);
    filter: brightness(1);
}

.portal-card-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    font-size: 3.5rem;
    color: white;
    text-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    pointer-events: none;
    letter-spacing: 5px;
    opacity: 0.9;
}

.portal-card-content {
    padding: 2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.portal-card-meta {
    font-size: 0.75rem;
    color: var(--color-text-dim);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.portal-card-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--color-text-bright);
    color: #fff;
}

.portal-card-desc {
    color: var(--color-text-dim);
    line-height: 1.6;
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.portal-card-link {
    margin-top: auto;
    color: var(--color-red);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}

.portal-card-link:hover {
    text-decoration: underline;
}

.item-animate {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: itemEntryPoint 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}


@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

#creator-item-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 3px;
    padding-top: 3px;
    height: 725px;
    overflow: auto;
}

#creator-item-list .weapon-card {
    height: auto;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: auto;
    flex-shrink: 0;
}

#creator-item-list .weapon-card img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

#creator-item-list .weapon-card div {
    font-size: 0.65rem;
    color: var(--color-gold);
    text-transform: uppercase;
    font-family: var(--font-header);
    font-weight: 500;
    text-align: center;
    margin-top: 5px;
}


.generator-controls {
    display: flex;
    flex-direction: column;
}

.generator-controls .toolbar {
    margin-bottom: 1rem;
    flex-shrink: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
}

.generator-controls .toolbar .search-box {
    border: none;
    padding: 0;
    width: 100%;
}

.generator-controls .toolbar .search-box input {
    width: 100%;
}


#creator-item-list::-webkit-scrollbar {
    width: 30px;
}

#creator-item-list::-webkit-scrollbar-track {
    background: #050505;
    border-left: 1px solid #1a1a1a;
}

#creator-item-list::-webkit-scrollbar-thumb {
    background: #3a2e1d;
    border: 10px solid #050505;
    border-radius: 15px;
}

#creator-item-list::-webkit-scrollbar-thumb:hover {
    background: var(--color-gold);
}

#hunter-image-container {
    height: 655px;
    overflow: hidden;
}


.search-box-v2 {
    display: flex;
    align-items: center;
    gap: 15px;
    width: 100%;
    margin-bottom: 15px;
}

.search-box-v2 .input-wrapper {
    position: relative;
    flex: 1;
}

.search-box-v2 .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--color-gold);
    opacity: 0.6;
    pointer-events: none;
}

.search-box-v2 input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    padding: 10px 15px 10px 40px;
    font-size: 0.85rem;
    font-family: var(--font-primary);
    outline: none;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.search-box-v2 input:focus {
    border-color: var(--color-gold);
    background: rgba(255, 184, 76, 0.05);
    box-shadow: 0 0 10px rgba(255, 184, 76, 0.1);
}

.clear-link-btn {
    background: transparent;
    border: none;
    color: var(--color-gold);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    padding: 5px 0;
    opacity: 0.7;
    transition: all 0.2s;
    white-space: nowrap;
    border-bottom: 1px solid transparent;
}

.clear-link-btn:hover {
    opacity: 1;
    border-bottom-color: var(--color-gold);
}




.lobby-header-layout {
    display: flex;
    gap: 20px;
    margin: 0 0 2.5rem 0;
    width: auto;
}

.disclaimer-box {
    flex: 1;
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
}

.disclaimer-box p {
    color: #ff3c3c;
    font-size: 24px;
    line-height: 1.4;
    margin: 0;
    font-weight: 500;
}

.player-count-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 15px;
    min-width: 260px;
}

.count-value {
    font-family: var(--font-header);
    font-size: 2.8rem;
    color: #fff;
    opacity: 0.9;
    letter-spacing: 1px;
}

.count-label {
    font-family: var(--font-header);
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--color-text-dim);
    line-height: 1.2;
    letter-spacing: 1.5px;
}





.portal-hero {
    display: flex;
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin: 0 0 3rem 0;
    height: 520px;
    overflow: hidden;
    position: relative;
    padding: 0;
    width: auto;
}

.portal-hero-img {
    flex: 0 0 35%;
    position: relative;
    overflow: hidden;
}

.portal-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.portal-hero:hover .portal-hero-img img {
    transform: scale(1.05);
}

.portal-hero-content {
    flex: 1;
    padding: 3.5rem 5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: #0f1012;
    position: relative;
}

.portal-hero-meta {
    font-size: 0.8rem;
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 2rem;
    font-family: var(--font-header);
    opacity: 0.7;
}

.portal-hero-title {
    font-family: var(--font-header);
    font-size: 4rem;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 2rem;
    text-transform: capitalize;
}

/* Adjustments for 2-column header grid */
.portal-header-grid .portal-hero {
    height: 400px;
    /* Slightly shorter for side-by-side */
}

.portal-header-grid .portal-hero-title {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.portal-header-grid .portal-hero-content {
    padding: 2rem 3rem;
}

.portal-header-grid .portal-hero-desc {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.portal-hero-desc {
    color: #ccc;
    font-size: 1.3rem;
    line-height: 1.6;
    margin-bottom: 3rem;
    max-width: 90%;
}

.portal-hero-link {
    color: #ff3c3c;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 2px;
    transition: all 0.2s;
    border-bottom: 1px solid transparent;
    width: fit-content;
    padding-bottom: 4px;
}

.portal-hero-link:hover {
    color: #fff;
    border-bottom-color: #ff3c3c;
}

/* Music Page */
.music-page {
    padding: 0 !important;
}

.music-hero {
    position: sticky;
    top: 0;
    height: 600px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 1px solid var(--gold-dark);
    border-radius: 3px;
    width: 600px;
    align-self: start;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
}

.py-5rem {
    padding-top: 5rem;
    padding-bottom: 5rem;
}

.mt-4rem {
    margin-top: 4rem;
}

/* Music Grid & Track List */
.track-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.track-card {
    background: rgba(26, 26, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 2rem;
    position: relative;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.track-card:hover {
    background: rgba(30, 30, 30, 1);
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateX(5px);
}

.track-number {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.2);
    font-size: 0.9rem;
    min-width: 25px;
}

.track-controls {
    display: flex;
    gap: 10px;
}

.track-controls button {
    cursor: crosshair !important;
}

.play-btn-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.track-card:hover .play-btn-circle,
.track-card.active .play-btn-circle {
    background: var(--gold-dark);
    border-color: var(--gold-dark);
    color: #000;
}

.track-info {
    flex: 1;
}

.track-name {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.track-meta {
    font-size: 0.75rem;
    color: var(--gold-dark);
}

.track-meta span {
    color: rgba(255, 255, 255, 0.4);
    margin: 0 5px;
}

.track-visualizer {
    flex: 1;
    max-width: 500px;
    height: 40px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 3px;
    margin: 0 20px;
}

.viz-bar {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    height: 50%;
    border-radius: 2px;
    transition: background 0.3s, height 0.3s;
}

.track-card.active .viz-bar {
    background: var(--gold-dark);
}

@keyframes viz-bounce {

    0%,
    100% {
        height: 10%;
    }

    50% {
        height: 80%;
    }
}

/* Stagger animation */
.viz-bar:nth-child(2n) {
    animation-delay: 0.1s;
}

.viz-bar:nth-child(3n) {
    animation-delay: 0.2s;
}

.viz-bar:nth-child(4n) {
    animation-delay: 0.3s;
}

.viz-bar:nth-child(5n) {
    animation-delay: 0.4s;
}


.track-stats {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Outfit', sans-serif;
}

.track-actions {
    display: flex;
    gap: 15px;
}

.action-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: color 0.2s ease;
}

.action-btn:hover {
    color: #fff;
}

.bpm-label {
    letter-spacing: 1px;
}

/* Music Grid & Track List Updates */
.track-card.active {
    background: rgba(40, 40, 40, 1);
    border-color: var(--gold-dark);
}

/* Player Bar */
.player-bar {
    position: fixed;
    bottom: -120px;
    left: 0;
    right: 0;
    background: #080808;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 15px 30px;
    z-index: 1000;
    transition: bottom 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.9);
}

.player-bar.active {
    bottom: 0;
}

.player-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 350px 1fr 300px;
    align-items: center;
    gap: 30px;
}

.player-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.player-cover-wrap {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    overflow: hidden;
    background: #222;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.player-cover-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.player-title {
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    margin-bottom: 4px;
}

.player-artist {
    font-size: 0.8rem;
    color: #888;
}

.player-center {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 30px;
}

.ctrl-btn {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    transition: color 0.2s;
}

.ctrl-btn:hover {
    color: #fff;
}

.play-btn-main {
    width: 44px;
    height: 44px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.play-btn-main:hover {
    transform: scale(1.05);
}

.player-progress-area {
    width: 100%;
    max-width: 700px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.time-label {
    font-size: 0.75rem;
    color: #888;
    min-width: 40px;
    font-family: 'Outfit', sans-serif;
}

.progress-bar-container {
    flex: 1;
    height: 6px;
    background: #222;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.progress-bar-fill {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    background: var(--gold-dark);
    border-radius: 3px;
    width: 0%;
}

.player-right {
    display: flex;
    justify-content: flex-end;
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 15px;
    color: #888;
}

.volume-control input {
    width: 120px;
    accent-color: var(--gold-dark);
}

.pb-10rem {
    padding-bottom: 12rem !important;
}

@media (max-width: 1024px) {
    .player-inner {
        grid-template-columns: 1fr 1fr;
    }

    .player-right {
        display: none;
    }
}

@media (max-width: 768px) {
    .player-inner {
        grid-template-columns: 1fr;
    }

    .player-left {
        display: none;
    }
}

/* Preloader */
.preloader-overlay {
    position: absolute;
    inset: 0;
    background: #0d0d0d;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.8s ease, visibility 0.8s;
    grid-column: 1 / -1;
    max-height: 100vh;
}

.preloader-overlay.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.hunt-loader-circle {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(212, 175, 55, 0.1);
    border-top-color: #d4af37;
    border-radius: 50%;
    animation: spin-loader 1s linear infinite;
    margin: 0 auto 20px;
}

@keyframes spin-loader {
    to {
        transform: rotate(360deg);
    }
}

.preloader-text {
    font-size: 0.8rem;
    color: #d4af37;
    text-align: center;
    font-weight: 500;
}

.preloader-progress-wrap {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.05);
    margin: 15px auto 0;
    border-radius: 2px;
    overflow: hidden;
}

.preloader-bar {
    width: 0%;
    height: 100%;
    background: #d4af37;
    transition: width 0.3s;
}

.app-layout.music-page {
    grid-template-columns: 600px 1fr;
    padding: 2rem !important;
    position: relative;
}

.spotify-link-btn svg path {
    fill: #38da72;
}

.yt-link-btn svg path {
    fill: #ff0033;
}

/* Danger Zone */
.border-red {
    border-color: rgba(255, 0, 0, 0.3) !important
}

.bg-red-dim {
    background: rgba(255, 0, 0, 0.1) !important
}

.color-red {
    color: #ff4d4d !important
}