/* Eyura Online - Premium Gaming Website Design */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Rajdhani:wght@300;400;600;700&display=swap');

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --primary-light: #818cf8;
    --accent-color: #f59e0b;
    --accent-gold: #fbbf24;
    --dark-bg: #0a0a0f;
    --dark-card: #111827;
    --dark-border: #1f2937;
    --dark-hover: #1e293b;
    --text-primary: #ffffff;
    --text-secondary: #d1d5db;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--dark-bg) !important;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 50%) !important;
    font-family: 'Rajdhani', sans-serif;
    color: #ffffff !important;
}

html {
    background: var(--dark-bg) !important;
}

body, body * {
    color: inherit;
}

h1, h2, h3, h4, h5, h6 {
    color: #ffffff !important;
}

p, span, div, a, li, td, th {
    color: inherit;
}

main {
    flex: 1;
    position: relative;
}

/* Animated background particles effect */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(99, 102, 241, 0.3), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(245, 158, 11, 0.2), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 0.1), transparent);
    background-size: 200% 200%;
    animation: particleMove 20s ease infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes particleMove {
    0%, 100% { background-position: 0% 0%, 100% 100%, 50% 50%; }
    50% { background-position: 100% 100%, 0% 0%, 50% 50%; }
}

main > * {
    position: relative;
    z-index: 1;
}


/* Navbar enhancements */
.navbar {
    background: rgba(17, 24, 39, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.2);
    z-index: 1000;
    position: relative;
}


.navbar-toggler {
    border: 2px solid var(--primary-color);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 0.25rem rgba(99, 102, 241, 0.25);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-brand {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
}

.nav-link {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
    border-radius: 2px 2px 0 0;
}

.nav-link:hover::after {
    width: 60%;
}

.nav-link.active::after {
    width: 80%;
    box-shadow: 0 -2px 10px rgba(99, 102, 241, 0.5);
}

.nav-link:hover {
    color: var(--primary-light) !important;
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--primary-light) !important;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.nav-link.active:hover {
    color: var(--accent-color) !important;
}

/* Interactive Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, 
        rgba(17, 24, 39, 0.95) 0%, 
        rgba(10, 10, 15, 0.98) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    padding: 0;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 50px rgba(99, 102, 241, 0.3);
    min-height: 500px;
}

.hero-banner-content {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 0;
    height: 100%;
    min-height: 500px;
}

.hero-left-panel {
    background: linear-gradient(180deg, 
        rgba(99, 102, 241, 0.1) 0%, 
        rgba(17, 24, 39, 0.9) 100%);
    border-right: 2px solid var(--primary-color);
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    gap: 1rem;
}

/* Hero Menu Items - Modern Design */
.hero-menu-item {
    background: rgba(10, 10, 15, 0.8);
    border: 2px solid var(--dark-border);
    border-radius: 12px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-height: 100px;
    display: flex;
    align-items: center;
}

.hero-menu-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
    z-index: 0;
}

.hero-menu-item:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.15);
}

.hero-menu-item.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(245, 158, 11, 0.3));
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
}

.hero-menu-item.active::before {
    width: 100%;
}

.hero-menu-arrow {
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    border-left: 30px solid transparent;
    transition: all 0.3s ease;
    z-index: 2;
    opacity: 0;
}

.hero-menu-item.active .hero-menu-arrow {
    opacity: 1;
    border-left-color: var(--primary-color);
    right: -30px;
    filter: drop-shadow(2px 0 5px rgba(99, 102, 241, 0.5));
}

.hero-menu-content {
    position: relative;
    z-index: 1;
    width: 100%;
}

.hero-menu-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.hero-menu-item .hero-menu-title {
    color: var(--text-secondary);
}

.hero-menu-item.active .hero-menu-title {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.hero-menu-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    transition: all 0.3s ease;
}

.hero-menu-item .hero-menu-subtitle {
    color: var(--text-secondary);
    opacity: 0.7;
}

.hero-menu-item.active .hero-menu-subtitle {
    color: rgba(255, 255, 255, 0.9);
    opacity: 1;
}

.updates-section {
    margin-top: 0.5rem;
    padding-top: 1rem;
    border-top: 1px solid var(--dark-border);
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.updates-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

#load-more-updates {
    margin-top: 1rem;
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: transparent;
    transition: all 0.3s ease;
}

#load-more-updates:hover {
    background: var(--primary-color);
    color: #ffffff;
    border-color: var(--accent-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

#load-more-updates:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Unique Kills Card Styles */
.unique-kills-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.unique-kill-item {
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.unique-kill-item:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--primary-color);
    transform: translateX(3px);
}

.unique-kill-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.unique-kill-character {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 0.9rem;
}

.unique-kill-time {
    color: var(--text-secondary);
    font-size: 0.75rem;
}

.unique-kill-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-primary);
    font-size: 0.85rem;
}

.kill-icon {
    font-size: 1rem;
}

/* Events & Media Card Styles */
.nav-tabs-dark {
    border-bottom: 2px solid var(--dark-border);
}

.nav-tabs-dark .nav-link {
    color: var(--text-secondary);
    border: none;
    border-bottom: 2px solid transparent;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    background: transparent;
}

.nav-tabs-dark .nav-link:hover {
    color: var(--text-primary);
    border-bottom-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.nav-tabs-dark .nav-link.active {
    color: var(--text-primary);
    border-bottom-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.15);
    font-weight: 700;
}

.event-icon {
    margin-right: 0.5rem;
    font-size: 1rem;
}

.events-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.event-item:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.event-icon-large {
    font-size: 2rem;
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.2);
    border-radius: 8px;
}

.event-content {
    flex: 1;
}

.event-content h6 {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.event-content p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: 0.25rem;
}

.event-content small {
    color: var(--text-secondary);
    font-size: 0.75rem;
    opacity: 0.7;
}

/* Guild Rank Card Styles */
.guild-rank-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.guild-rank-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem;
    background: rgba(17, 24, 39, 0.6);
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.guild-rank-item:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--primary-color);
    transform: translateX(3px);
}

.guild-rank-number {
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.2);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-weight: 900;
    font-size: 1rem;
    color: var(--text-primary);
    flex-shrink: 0;
}

.guild-rank-number.rank-gold {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(245, 158, 11, 0.2));
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    box-shadow: 0 0 15px rgba(251, 191, 36, 0.4);
}

.guild-rank-number.rank-silver {
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.3), rgba(107, 114, 128, 0.2));
    border-color: #9ca3af;
    color: #d1d5db;
    box-shadow: 0 0 10px rgba(156, 163, 175, 0.3);
}

.guild-rank-number.rank-bronze {
    background: linear-gradient(135deg, rgba(180, 83, 9, 0.3), rgba(154, 52, 18, 0.2));
    border-color: #b45309;
    color: #fbbf24;
    box-shadow: 0 0 10px rgba(180, 83, 9, 0.3);
}

.guild-rank-info {
    flex: 1;
    min-width: 0;
}

.guild-rank-name {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.guild-rank-details {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.guild-level {
    color: var(--accent-gold);
    font-weight: 600;
}

.guild-separator {
    color: var(--text-secondary);
    opacity: 0.5;
}

.guild-members {
    color: var(--text-secondary);
}

.update-item {
    background: rgba(17, 24, 39, 0.6);
    border: 2px solid var(--dark-border);
    border-radius: 10px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.update-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
}

.update-item:hover::before,
.update-item:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.update-item.active {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.4), rgba(245, 158, 11, 0.3));
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
    transform: translateX(5px);
}

.update-item.active::before {
    width: 4px;
    background: linear-gradient(180deg, var(--primary-color), var(--accent-color));
}

.update-item.active::after {
    content: '→';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--accent-gold);
    font-size: 1.5rem;
    font-weight: 900;
    animation: slideRight 0.5s ease;
    z-index: 1;
}

@keyframes slideRight {
    0% { transform: translateY(-50%) translateX(-10px); opacity: 0; }
    100% { transform: translateY(-50%) translateX(0); opacity: 1; }
}

.update-item-content h6 {
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 0.25rem;
}

.update-item.active .update-item-content h6 {
    color: #ffffff;
}

.update-item-content small {
    color: var(--text-secondary);
    font-size: 0.8rem;
}

.update-item.active .update-item-content small {
    color: rgba(255, 255, 255, 0.8);
}

.hero-right-panel {
    background: linear-gradient(135deg, 
        rgba(10, 10, 15, 0.95) 0%, 
        rgba(17, 24, 39, 0.9) 100%);
    padding: 2rem;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    overflow-y: auto;
    max-height: 100%;
}

.hero-right-panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(245, 158, 11, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-display-content {
    position: relative;
    z-index: 1;
    width: 100%;
    transition: all 0.3s ease;
}

/* Update Notice Style (Modern Dark Theme) */
.update-notice {
    background: linear-gradient(135deg, 
        rgba(17, 24, 39, 0.95) 0%, 
        rgba(10, 10, 15, 0.98) 100%);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 
                0 0 20px rgba(99, 102, 241, 0.3);
    overflow: hidden;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.update-notice:last-child {
    margin-bottom: 0;
}

.update-notice:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 
                0 0 30px rgba(99, 102, 241, 0.4);
}

.update-notice-header {
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.3) 0%, 
        rgba(17, 24, 39, 0.9) 100%);
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid var(--primary-color);
}

.update-notice-header-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.update-notice-icon {
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-weight: 900;
    font-size: 0.85rem;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.update-notice-title {
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    margin: 0;
    flex: 1;
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.update-notice-header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.update-notice-date {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
}

.update-notice-collapse {
    width: 28px;
    height: 28px;
    background: var(--primary-color);
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 1.1rem;
    font-weight: 900;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.update-notice-collapse:hover {
    background: var(--accent-color);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.6);
}

.update-notice-body {
    padding: 1.5rem;
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.8;
    background: rgba(10, 10, 15, 0.5);
}

.update-notice-body p {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.update-notice-body p:last-child {
    margin-bottom: 0;
}

.update-notice-body ul {
    margin: 1rem 0;
    padding-left: 1.5rem;
    color: var(--text-primary);
}

.update-notice-body li {
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.update-notice-body strong {
    color: var(--accent-gold);
    font-weight: 700;
}

.hero-display-title {
    margin-bottom: 2rem;
}

.hero-display-title h2 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

.hero-display-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.hero-display-body {
    margin-bottom: 2rem;
}

.hero-display-body p {
    color: var(--text-primary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.hero-display-cta {
    margin-top: 2rem;
}

.hero-display-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.hero-action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.hero-action-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(99, 102, 241, 0.2);
    border: 2px solid var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.hero-action-btn:hover {
    background: var(--primary-color);
    border-color: var(--accent-color);
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.6);
    color: #ffffff;
}

.hero-action-btn svg {
    width: 24px;
    height: 24px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-banner-content {
        grid-template-columns: 1fr;
    }
    
    .hero-left-panel {
        border-right: none;
        border-bottom: 2px solid var(--primary-color);
    }
    
    .updates-list {
        max-height: 200px;
    }
}

/* Hero section - Premium design (fallback) */
.hero-section {
    background: linear-gradient(135deg, 
        rgba(99, 102, 241, 0.15) 0%, 
        rgba(17, 24, 39, 0.9) 50%,
        rgba(245, 158, 11, 0.15) 100%);
    border: 2px solid transparent;
    border-radius: 20px;
    padding: 4rem 3rem;
    margin-bottom: 3rem;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 100px rgba(99, 102, 241, 0.1);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.hero-section h1 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 3.5rem;
    background: linear-gradient(135deg, #ffffff, var(--primary-light), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.8s ease;
}

.hero-section .lead {
    font-size: 1.3rem;
    color: #e5e7eb !important;
    font-weight: 400;
    position: relative;
    z-index: 1;
    animation: fadeInUp 1s ease;
}

.hero-section strong {
    color: var(--accent-gold);
    font-weight: 700;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Premium buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(99, 102, 241, 0.6);
}

.btn-outline-light {
    border: 2px solid var(--text-primary);
    color: var(--text-primary);
    background: transparent;
    padding: 0.75rem 2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: var(--text-primary);
    color: var(--dark-bg);
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 255, 255, 0.2);
}

/* Widget cards - Premium design */
.widget-card {
    background: linear-gradient(135deg, var(--dark-card), var(--dark-hover));
    border: 1px solid var(--dark-border);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.widget-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    transition: left 0.5s;
}

.widget-card:hover::before {
    left: 100%;
}

.widget-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.4),
        0 0 20px rgba(99, 102, 241, 0.3);
}

.widget-card h5 {
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-weight: 700;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.widget-card h5::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.widget-card .display-6 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-light), var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.5rem;
}

/* Server Rates Card */
.rates-card {
    padding: 1.5rem !important;
}

.rates-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: 1rem;
}

.rate-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.rate-item:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.rate-icon {
    font-size: 0.85rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    filter: drop-shadow(0 0 3px rgba(99, 102, 241, 0.5));
    flex-shrink: 0;
}

.rate-icon-img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 0 3px rgba(99, 102, 241, 0.5));
}

.rate-info {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rate-label {
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rate-value {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 0.9rem;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
}

/* Status indicators */
.status-online {
    color: var(--success);
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.status-online::before {
    content: '●';
    animation: pulse 2s infinite;
    filter: drop-shadow(0 0 5px var(--success));
}

.status-offline {
    color: var(--danger);
    font-weight: bold;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Character panel */
.character-panel {
    background: linear-gradient(135deg, var(--dark-card), var(--dark-hover));
    border: 1px solid var(--dark-border);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.equipment-slot {
    background: var(--dark-bg);
    border: 2px dashed var(--dark-border);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.equipment-slot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s;
}

.equipment-slot:hover::before {
    width: 200%;
    height: 200%;
}

.equipment-slot.filled {
    border-style: solid;
    border-color: var(--primary-color);
    background: linear-gradient(135deg, var(--dark-card), rgba(99, 102, 241, 0.1));
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.equipment-slot:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.equipment-slot img {
    max-width: 64px;
    max-height: 64px;
    filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.5));
    transition: transform 0.3s;
}

.equipment-slot:hover img {
    transform: scale(1.1);
}

/* Item icon with animation overlay */
.item-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0.5rem auto;
}

.item-icon-frame {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    overflow: hidden;
}

.item-icon-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.8;
    mix-blend-mode: screen;
    pointer-events: none;
    z-index: 2;
}

.equipment-item-name {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    line-height: 1.2;
    word-break: break-word;
    text-align: center;
}

.equipment-item-icon {
    margin: 0.5rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 64px;
}

.equipment-item-icon img {
    max-width: 64px;
    max-height: 64px;
    object-fit: contain;
}

.equipment-item-name {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    line-height: 1.3;
    word-break: break-word;
}

/* Character Inventory Grid */
.character-inventory-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr 1fr;
    grid-template-rows: auto 1fr;
    gap: 0.75rem;
    max-width: 900px;
    margin: 0 auto;
    padding: 1.5rem;
}

.inventory-slot-weapon {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.inventory-slot-item {
    position: relative;
    width: 64px;
    height: 64px;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.inventory-slot-item:hover {
    transform: scale(1.1);
    filter: brightness(1.2);
}

.slot-background {
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slot-background .item-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
    position: absolute;
    z-index: 2;
    filter: drop-shadow(0 0 3px rgba(99, 102, 241, 0.5));
}

.inventory-slot-left-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
}

.inventory-slot-right-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
    margin-left: -0.5rem;
}

.inventory-slot-character {
    grid-column: 2;
    grid-row: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(139, 92, 246, 0.1));
    border-radius: 10px;
    padding: 0.5rem;
    border: 1px solid var(--dark-border);
}

.inventory-slot-left-column {
    grid-column: 1;
    grid-row: 2;
}

.inventory-slot-right-column {
    grid-column: 3;
    grid-row: 2;
}

.character-inventory-avatar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.character-inventory-avatar .character-full-image {
    max-width: 120px;
    max-height: 140px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.3));
}

/* Character Viewer */
.character-viewer-container {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.character-viewer-canvas {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: grab;
    perspective: 1000px;
    overflow: hidden;
}

.character-viewer-canvas:active {
    cursor: grabbing;
}

.character-viewer-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.character-viewer-image {
    max-width: 120px;
    max-height: 160px;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(99, 102, 241, 0.3));
    transform-style: preserve-3d;
    backface-visibility: visible;
    transition: transform 0.3s ease;
}

.character-viewer-controls {
    display: flex;
    gap: 0.5rem;
    margin-top: 0.75rem;
    justify-content: center;
    align-items: center;
}

.character-rotate-btn,
.character-reset-btn {
    min-width: 32px;
    height: 32px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.character-rotate-btn:hover,
.character-reset-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.4);
}

.character-equipment-data {
    display: none;
}

.character-info-list {
    padding: 0.5rem 0;
}

.equipped-items-list {
    max-height: 300px;
    overflow-y: auto;
}

.equipped-item {
    padding: 0.5rem;
    background: rgba(99, 102, 241, 0.05);
    border-radius: 5px;
    border-left: 3px solid var(--primary-color);
}

/* Other Items Grid */
.other-item-card {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    height: 100%;
}

.other-item-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.3);
}

.other-item-name {
    font-size: 0.85rem;
    color: var(--text-primary);
    margin-top: 0.5rem;
    word-break: break-word;
}

/* Devil Items Grid */
.devil-items-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.devil-slot-item {
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border: 2px solid var(--dark-border);
    border-radius: 10px;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

.devil-slot-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.3);
    background: rgba(99, 102, 241, 0.2);
}

.devil-slot-item.empty-slot {
    opacity: 0.5;
    border-style: dashed;
}

.devil-item-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 0 5px rgba(99, 102, 241, 0.5));
}

.devil-item-name {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    text-align: center;
    word-break: break-word;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive Inventory Grid */
@media (max-width: 992px) {
    .character-inventory-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    
    .inventory-slot-weapon {
        grid-column: 1;
    }
    
    .inventory-slot-left-column,
    .inventory-slot-right-column {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .inventory-slot-character {
        min-height: 200px;
    }
}

/* Tables */
.table-dark {
    background-color: transparent;
}

.table-dark th {
    border-color: var(--dark-border);
    color: var(--text-primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--dark-card), var(--dark-hover));
}

.table-dark td {
    border-color: var(--dark-border);
    color: var(--text-secondary);
}

.table-dark tbody tr {
    transition: all 0.3s ease;
}

.table-dark tbody tr:hover {
    background: rgba(99, 102, 241, 0.1);
    transform: scale(1.01);
    color: var(--text-primary);
}

/* Rankings */
.ranking-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-weight: 900;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.ranking-badge:hover {
    transform: scale(1.1) rotate(5deg);
}

.ranking-badge.gold {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #000;
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.5);
}

.ranking-badge.silver {
    background: linear-gradient(135deg, #c0c0c0, #e8e8e8);
    color: #000;
    box-shadow: 0 4px 20px rgba(192, 192, 192, 0.5);
}

.ranking-badge.bronze {
    background: linear-gradient(135deg, #cd7f32, #e6a057);
    color: #fff;
    box-shadow: 0 4px 20px rgba(205, 127, 50, 0.5);
}

/* News items */
.news-item {
    background: linear-gradient(135deg, var(--dark-card), var(--dark-hover));
    border-left: 4px solid var(--primary-color);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.news-item:hover {
    transform: translateX(10px);
    border-left-color: var(--accent-color);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.news-item h6 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.news-item p {
    color: #e5e7eb !important;
    line-height: 1.6;
}

/* Forms */
.form-control, .form-select {
    background-color: var(--dark-card);
    border: 1px solid var(--dark-border);
    color: var(--text-primary);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    background-color: var(--dark-card);
    border-color: var(--primary-color);
    color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.2);
    outline: none;
}

.form-label {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

/* Authentication Pages */
.auth-card {
    background: linear-gradient(135deg, var(--dark-card), var(--dark-hover));
    border: 1px solid var(--dark-border);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        0 0 100px rgba(99, 102, 241, 0.1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease;
}

.auth-card-compact {
    padding: 2rem 1.5rem;
    border-radius: 15px;
}

.auth-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color), var(--primary-color));
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

.auth-header {
    margin-bottom: 2rem;
}

.auth-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    background: linear-gradient(135deg, var(--text-primary), var(--primary-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.auth-card-compact .auth-title {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.auth-form {
    margin-top: 2rem;
}

.auth-card-compact .auth-form {
    margin-top: 1rem;
}

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

.auth-card-compact .form-group {
    margin-bottom: 1rem;
}

.form-group .form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-icon {
    font-size: 1.2rem;
    filter: drop-shadow(0 0 3px rgba(99, 102, 241, 0.5));
}

.form-control-lg {
    padding: 1rem 1.25rem;
    font-size: 1rem;
    border-radius: 10px;
    background: var(--dark-bg);
    border: 2px solid var(--dark-border);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.form-control-lg:focus {
    background: var(--dark-bg);
    border-color: var(--primary-color);
    box-shadow: 
        0 0 0 3px rgba(99, 102, 241, 0.2),
        0 0 20px rgba(99, 102, 241, 0.3);
    transform: translateY(-2px);
}

.form-control::placeholder,
.form-control-lg::placeholder {
    color: #9ca3af !important;
    opacity: 0.8 !important;
}

.form-control:focus::placeholder,
.form-control-lg:focus::placeholder {
    opacity: 0.5 !important;
}

.form-text {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.auth-footer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--dark-border);
}

.auth-footer p {
    color: #d1d5db !important;
}

.auth-link {
    color: #a5b4fc !important;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.auth-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    transition: width 0.3s ease;
}

.auth-link:hover {
    color: var(--accent-color);
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.auth-link:hover::after {
    width: 100%;
}

/* Responsive auth cards */
@media (max-width: 768px) {
    .auth-card {
        padding: 2rem 1.5rem;
    }
    
    .auth-title {
        font-size: 1.5rem;
    }
}

/* Cards */
.card {
    background: linear-gradient(135deg, var(--dark-card), var(--dark-hover));
    border: 1px solid var(--dark-border);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.card-header {
    background: linear-gradient(135deg, var(--dark-card), var(--dark-hover));
    border-bottom: 2px solid var(--primary-color);
    padding: 1.25rem;
}

.card-header h5 {
    color: var(--text-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* Alerts */
.alert {
    border: none;
    border-radius: 10px;
    border-left: 4px solid;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.alert-info {
    border-left-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(99, 102, 241, 0.1)) !important;
    color: #c7d2fe !important;
}

.alert-info p,
.alert-info * {
    color: #c7d2fe !important;
}

.alert-success {
    background: rgba(16, 185, 129, 0.2) !important;
    border-left-color: var(--success) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
    color: #6ee7b7 !important;
}

.alert-success strong {
    color: var(--success) !important;
}

.alert-success * {
    color: #6ee7b7 !important;
}

.alert a {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
    transition: all 0.3s ease;
}

.alert-success a {
    color: var(--success) !important;
}

.alert-success a:hover {
    color: #34d399 !important;
    text-shadow: 0 0 5px rgba(16, 185, 129, 0.5);
}

.alert-success .btn {
    color: #ffffff !important;
    background: var(--success);
    border-color: var(--success);
}

.alert-success .btn:hover {
    background: #059669;
    border-color: #059669;
}

.alert-success .btn-outline-primary {
    color: var(--primary-color) !important;
    background: transparent;
    border-color: var(--primary-color);
}

.alert-success .btn-outline-primary:hover {
    color: #ffffff !important;
    background: var(--primary-color);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.25) !important;
    border-left-color: var(--danger) !important;
    border-color: rgba(239, 68, 68, 0.4) !important;
    color: #fca5a5 !important;
}

.alert-danger strong {
    color: #ef4444 !important;
}

.alert-danger * {
    color: #fca5a5 !important;
}

.alert-danger .btn-close {
    filter: brightness(0) invert(1);
}

/* Charts container */
.chart-container {
    position: relative;
    height: 300px;
    margin-bottom: 2rem;
}

/* Modern Double Circle Loader - Reusable across all pages */
.modern-loader {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: inline-block;
}

.loader-circle {
    position: absolute;
    border: 4px solid transparent;
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

.loader-circle-1 {
    width: 80px;
    height: 80px;
    border-top-color: var(--primary-color);
    border-right-color: var(--primary-color);
    animation-duration: 1s;
}

.loader-circle-2 {
    width: 60px;
    height: 60px;
    top: 10px;
    left: 10px;
    border-top-color: var(--accent-color);
    border-right-color: var(--accent-color);
    animation-duration: 0.8s;
    animation-direction: reverse;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* Page-level loader overlay */
#page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    pointer-events: all;
}

.page-loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 15, 0.98) !important;
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.15s ease;
}

.page-loader-content {
    text-align: center;
    color: var(--text-primary);
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Content loader styles */
.content-loader {
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

/* Dashboard Styles */
.dashboard-header {
    padding: 1.5rem 0;
    border-bottom: 2px solid var(--dark-border);
}

.dashboard-actions .btn {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.dashboard-actions .btn:hover {
    background: var(--primary-color);
    color: #ffffff;
}

/* Statistics Cards */
.stat-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.8), rgba(10, 10, 15, 0.9));
    border: 2px solid var(--dark-border);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(245, 158, 11, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.3);
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: 12px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.stat-icon-characters {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.3), rgba(99, 102, 241, 0.1));
    border: 2px solid var(--primary-color);
}

.stat-icon-level {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.3), rgba(245, 158, 11, 0.1));
    border: 2px solid var(--accent-gold);
}

.stat-icon-kills {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(239, 68, 68, 0.1));
    border: 2px solid var(--danger);
}

.stat-icon-guild {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(139, 92, 246, 0.1));
    border: 2px solid #8b5cf6;
}

.stat-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--text-primary);
    margin: 0;
    line-height: 1;
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin: 0.5rem 0 0 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Account Info List */
.account-info-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.account-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: rgba(17, 24, 39, 0.5);
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.info-label {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
}

.info-value {
    color: var(--text-primary);
    font-weight: 700;
}

/* Characters Grid */
.characters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.character-card {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.95), rgba(10, 10, 15, 0.98));
    border: 2px solid var(--dark-border);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.character-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(245, 158, 11, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.character-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(99, 102, 241, 0.4);
}

.character-card:hover::before {
    opacity: 1;
}

.character-card-header {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.character-avatar {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.character-avatar img,
.character-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

/* Character avatar with race/gender styling */
.character-avatar-eu.character-avatar-man {
    background: linear-gradient(135deg, #4a90e2, #357abd);
}

.character-avatar-eu.character-avatar-woman {
    background: linear-gradient(135deg, #e24a90, #bd357a);
}

.character-avatar-ch.character-avatar-man {
    background: linear-gradient(135deg, #e24a4a, #bd3535);
}

.character-avatar-ch.character-avatar-woman {
    background: linear-gradient(135deg, #e2e24a, #bdbd35);
}

.character-avatar-initial {
    font-size: 2.5rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
    z-index: 2;
    line-height: 1;
}

.character-avatar-level {
    position: absolute;
    top: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.85);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 8px;
    border-radius: 6px;
    z-index: 3;
    font-family: 'Orbitron', sans-serif;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    min-width: 28px;
    text-align: center;
}

.character-level {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.character-info {
    flex: 1;
    min-width: 0;
    padding-top: 0.25rem;
}

.character-name {
    margin: 0 0 0.5rem 0;
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.2;
}

.character-name a {
    color: var(--text-primary);
    transition: color 0.3s ease;
    text-decoration: none;
}

.character-name a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px rgba(99, 102, 241, 0.5);
}

.character-job {
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.character-job i {
    color: var(--primary-color);
    font-size: 0.85rem;
}

.character-guild-header {
    font-size: 0.85rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
}

.character-guild-header i {
    color: var(--primary-color);
    font-size: 0.8rem;
}

.character-guild-header span {
    color: var(--text-secondary);
}

.character-card-body {
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.character-card-body .d-flex {
    padding: 0.6rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background-color 0.2s ease;
}

.character-card-body .d-flex:hover {
    background-color: rgba(99, 102, 241, 0.05);
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    margin-left: -0.5rem;
    margin-right: -0.5rem;
    border-radius: 6px;
}

.character-card-body .d-flex:last-of-type {
    border-bottom: none;
}

.character-card-body small {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.character-card-body strong {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
}

.character-card-body .text-warning {
    color: var(--accent-gold) !important;
    font-weight: 800;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.4);
}

.character-card-body .text-primary {
    color: var(--primary-color) !important;
    font-weight: 800;
}

.character-guild {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    margin-top: 0.75rem;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.guild-icon {
    font-size: 1rem;
    color: var(--primary-color);
}

.character-card-footer {
    position: relative;
    z-index: 1;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.character-card-footer .btn {
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-size: 0.85rem;
    padding: 0.65rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.character-card-footer .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.5);
}

/* Empty State */
.empty-state-icon {
    font-size: 4rem;
    opacity: 0.5;
}

/* Modal Dark Theme */
.modal-content.bg-dark {
    background: var(--dark-card) !important;
    border-color: var(--dark-border) !important;
}

.modal-header.border-secondary {
    border-bottom-color: var(--dark-border) !important;
}

/* Donate Page Styles */
.donate-page {
    padding: 2rem 0;
}

.donate-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    color: var(--text-primary);
    text-shadow: 0 0 20px rgba(99, 102, 241, 0.5);
}

/* Donation Packages */
.donate-package {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.9), rgba(10, 10, 15, 0.95));
    border: 2px solid var(--dark-border);
    border-radius: 15px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.donate-package::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(245, 158, 11, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.donate-package:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.donate-package:hover::before {
    opacity: 1;
}

.donate-package.popular {
    border-color: var(--accent-gold);
    border-width: 3px;
}

.donate-package.popular::before {
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.2), rgba(245, 158, 11, 0.1));
    opacity: 1;
}

.popular-badge {
    position: absolute;
    top: 30px;
    right: -40px;
    background: linear-gradient(135deg, var(--accent-gold), #f59e0b);
    color: #000;
    padding: 5px 40px;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    transform: rotate(45deg);
    box-shadow: 0 2px 10px rgba(251, 191, 36, 0.5);
    z-index: 10;
}

.package-header {
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.package-amount {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-color);
    margin: 0 0 0.5rem 0;
    text-shadow: 0 0 15px rgba(99, 102, 241, 0.6);
}

.package-silk {
    margin: 0.5rem 0;
}

.silk-amount {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.silk-label {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-left: 0.5rem;
}

.package-bonus {
    margin: 0.5rem 0 0 0;
    color: var(--success);
    font-size: 0.9rem;
}

.bonus-icon {
    font-size: 1.2rem;
    margin-right: 0.25rem;
}

.package-body {
    flex: 1;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.package-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.package-features li {
    padding: 0.5rem 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.package-footer {
    position: relative;
    z-index: 1;
}

.package-select-btn {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.package-select-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 5px 20px rgba(99, 102, 241, 0.5);
}

/* Donation Modal */
.selected-package-info {
    border-left: 3px solid var(--primary-color);
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.payment-option {
    position: relative;
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.payment-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(17, 24, 39, 0.5);
    border: 2px solid var(--dark-border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option input[type="radio"]:checked + .payment-label {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.2);
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.3);
}

.payment-label:hover {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.payment-icon {
    font-size: 1.5rem;
}

.payment-label span:last-child {
    font-weight: 600;
    color: var(--text-primary);
}

/* Account Settings Modal */
.modal-lg .modal-content {
    max-width: 600px;
}

.nav-tabs {
    border-bottom: 2px solid var(--dark-border);
}

.nav-tabs .nav-link {
    color: var(--text-secondary);
    border: none;
    border-bottom: 3px solid transparent;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.1);
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    background: transparent;
    border-bottom-color: var(--primary-color);
    font-weight: 700;
}

.tab-content {
    padding: 1rem 0;
}

.tab-pane .form-label {
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.tab-pane .form-control {
    background: rgba(17, 24, 39, 0.5);
    border: 2px solid var(--dark-border);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.tab-pane .form-control:focus {
    background: rgba(17, 24, 39, 0.7);
    border-color: var(--primary-color);
    color: var(--text-primary);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
}

.tab-pane .form-control:disabled {
    background: rgba(17, 24, 39, 0.3);
    border-color: var(--dark-border);
    opacity: 0.6;
}

.tab-pane .form-text {
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-top: 0.25rem;
}

/* Donation History Styles */
.donation-stats .stat-item {
    padding: 0.5rem;
}

.donation-stats .stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.donation-stats .stat-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    line-height: 1;
}

.donation-stats .stat-value.text-success {
    text-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.donation-stats .stat-value.text-warning {
    text-shadow: 0 0 10px rgba(251, 191, 36, 0.5);
}

.tab-pane .table {
    margin-bottom: 0;
}

.tab-pane .table thead th {
    border-bottom: 2px solid var(--dark-border);
    color: var(--text-primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.tab-pane .table tbody td {
    border-color: var(--dark-border);
    color: var(--text-secondary);
    vertical-align: middle;
}

.tab-pane .table tbody tr:hover {
    background: rgba(99, 102, 241, 0.1);
}

.tab-pane .table .badge {
    font-weight: 600;
    padding: 0.35rem 0.65rem;
}

.tab-pane .table .font-monospace {
    font-size: 0.8rem;
}

/* Compact Filter Section */
.filter-section-compact {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.6), rgba(10, 10, 15, 0.8));
    border: 1px solid var(--dark-border);
    border-radius: 10px;
    padding: 1rem;
}

.filter-section-compact .form-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
    color: var(--text-secondary);
}

.filter-section-compact .form-select-sm,
.filter-section-compact .form-control-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
    background: rgba(17, 24, 39, 0.5);
    border: 1px solid var(--dark-border);
    color: var(--text-primary);
    border-radius: 6px;
}

.filter-section-compact .form-select-sm:focus,
.filter-section-compact .form-control-sm:focus {
    background: rgba(17, 24, 39, 0.7);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.15rem rgba(99, 102, 241, 0.25);
    color: var(--text-primary);
}

.filter-section-compact .btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.875rem;
}

.filter-section-compact #active-filters {
    padding-top: 0.75rem;
    border-top: 1px solid var(--dark-border);
}

.filter-section-compact #active-filters .badge {
    font-size: 0.7rem;
    padding: 0.35rem 0.6rem;
    font-weight: 600;
}

.filter-section-compact .position-relative .btn-link {
    z-index: 10;
    font-size: 1rem;
    line-height: 1;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.filter-section-compact .position-relative .btn-link:hover {
    color: var(--text-primary) !important;
    transform: scale(1.2);
}

/* Item Grid */
.item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.item-card {
    background: linear-gradient(135deg, rgba(17, 24, 39, 0.8), rgba(10, 10, 15, 0.9));
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15), rgba(245, 158, 11, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.item-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.4);
}

.item-card:hover::before {
    opacity: 1;
}

.item-card-inner {
    padding: 1.25rem;
    position: relative;
    z-index: 2;
}

.item-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    min-height: 80px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 0.75rem;
}

.item-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(99, 102, 241, 0.6));
    transition: transform 0.3s ease;
}

.item-card:hover .item-icon {
    transform: scale(1.1) rotate(5deg);
}

.item-icon-placeholder {
    font-size: 3rem;
    opacity: 0.5;
}

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

.item-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 0.75rem 0;
    line-height: 1.3;
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-meta {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 0.5rem;
}

.item-type-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: rgba(99, 102, 241, 0.2);
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #a5b4fc;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.item-degree-badge {
    display: inline-block;
    padding: 0.25rem 0.6rem;
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fbbf24;
    font-family: 'Courier New', monospace;
}

.item-degree-badge.degree-1 { border-color: rgba(156, 163, 175, 0.4); color: #9ca3af; background: rgba(156, 163, 175, 0.2); }
.item-degree-badge.degree-2 { border-color: rgba(34, 197, 94, 0.4); color: #4ade80; background: rgba(34, 197, 94, 0.2); }
.item-degree-badge.degree-3 { border-color: rgba(59, 130, 246, 0.4); color: #60a5fa; background: rgba(59, 130, 246, 0.2); }
.item-degree-badge.degree-4 { border-color: rgba(168, 85, 247, 0.4); color: #a78bfa; background: rgba(168, 85, 247, 0.2); }
.item-degree-badge.degree-5 { border-color: rgba(236, 72, 153, 0.4); color: #f472b6; background: rgba(236, 72, 153, 0.2); }
.item-degree-badge.degree-6 { border-color: rgba(251, 146, 60, 0.4); color: #fb923c; background: rgba(251, 146, 60, 0.2); }
.item-degree-badge.degree-7 { border-color: rgba(251, 191, 36, 0.4); color: #fbbf24; background: rgba(251, 191, 36, 0.2); }
.item-degree-badge.degree-8 { border-color: rgba(250, 204, 21, 0.4); color: #facc15; background: rgba(250, 204, 21, 0.2); }
.item-degree-badge.degree-9 { border-color: rgba(255, 215, 0, 0.4); color: #ffd700; background: rgba(255, 215, 0, 0.2); }

.item-race {
    font-size: 0.7rem;
    color: var(--text-secondary);
    display: block;
    margin-top: 0.5rem;
    opacity: 0.8;
}

.item-description {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin: 0.75rem 0 0 0;
    line-height: 1.5;
    opacity: 0.9;
    text-align: left;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Item Tooltip - Game Style */

.tooltip-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 0.5rem;
    margin-bottom: 0.75rem;
}

.tooltip-item-name {
    font-size: 1rem;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.tooltip-seal-name {
    font-size: 0.85rem;
    color: #ffffff;
    font-weight: 500;
    opacity: 0.9;
}

.tooltip-section {
    margin-bottom: 0.75rem;
}

.tooltip-section:last-child {
    margin-bottom: 0;
}

.tooltip-line {
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 0.25rem;
    color: #ffffff;
}

.tooltip-line:last-child {
    margin-bottom: 0;
}

.tooltip-label {
    color: #e0e7ff;
    font-weight: 500;
}

.tooltip-value {
    color: #ffffff;
    font-weight: 600;
    margin-left: 0.5rem;
}

.tooltip-magic-options {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 0.75rem;
    margin-top: 0.75rem;
}

.tooltip-magic {
    color: #60a5fa !important;
}

.tooltip-magic .tooltip-value {
    color: #60a5fa !important;
    font-weight: 500;
    margin-left: 0;
}

/* Ranking page specific styles */
#rankings-content {
    position: relative;
}

#rankings-content .modern-loader {
    margin: 2rem auto;
}

/* Item filters */
.filter-section {
    background: linear-gradient(135deg, var(--dark-card), var(--dark-hover));
    border: 1px solid var(--dark-border);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.filter-section h5 {
    color: var(--text-primary);
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Item grid */
.item-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
}

.item-card {
    background: linear-gradient(135deg, var(--dark-card), var(--dark-hover));
    border: 1px solid var(--dark-border);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.item-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(245, 158, 11, 0.1));
    opacity: 0;
    transition: opacity 0.3s;
}

.item-card:hover::before {
    opacity: 1;
}

.item-card:hover {
    transform: translateY(-8px) scale(1.03);
    border-color: var(--primary-color);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(99, 102, 241, 0.4);
}

.item-card img {
    max-width: 80px;
    max-height: 80px;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
    transition: transform 0.3s;
    position: relative;
    z-index: 1;
}

.item-card:hover img {
    transform: scale(1.15) rotate(5deg);
}

.item-card h6 {
    color: var(--text-primary);
    font-weight: 700;
    margin-top: 0.5rem;
    position: relative;
    z-index: 1;
}

/* Download cards */
.download-card {
    background: linear-gradient(135deg, var(--dark-card), var(--dark-hover));
    border: 1px solid var(--dark-border);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.download-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.4);
}

.download-card h5 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-weight: 700;
    font-size: 1.3rem;
}

.download-card p {
    color: #e5e7eb !important;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.badge {
    padding: 0.5rem 1rem;
    font-weight: 700;
    border-radius: 6px;
}

/* Footer */
footer {
    background: rgba(17, 24, 39, 0.95) !important;
    backdrop-filter: blur(10px);
    border-top: 2px solid var(--primary-color);
    margin-top: 4rem;
    padding: 2rem 0 !important;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-color), var(--accent-color), var(--primary-color), transparent);
    animation: shimmer 3s infinite;
}

footer .text-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

footer .text-secondary {
    color: #d1d5db !important;
}

footer p {
    color: #e5e7eb !important;
}

/* Discord Card */
.discord-card {
    background: linear-gradient(135deg, #5865F2, #4752C4) !important;
    border-color: #4752C4 !important;
}

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

.discord-icon {
    margin: 1rem auto;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.discord-icon svg {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

.discord-text {
    color: rgba(255, 255, 255, 0.9) !important;
    font-size: 0.9rem;
    margin-bottom: 0;
}

.btn-discord {
    background: #ffffff;
    color: #5865F2;
    border: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-discord:hover {
    background: rgba(255, 255, 255, 0.9);
    color: #4752C4;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Combined Server Info Card */
.server-info-card {
    padding: 2rem !important;
}

.server-info-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.server-info-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: rgba(99, 102, 241, 0.1);
    border-radius: 8px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.server-info-item:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary-color);
    transform: translateX(5px);
}

.server-info-label {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    flex: 1;
}

.server-info-separator {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
    margin: 0 0.5rem;
}

.server-info-value {
    color: var(--accent-gold);
    font-weight: 700;
    font-size: 1.1rem;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 0 8px rgba(251, 191, 36, 0.5);
    min-width: 60px;
    text-align: right;
}

/* RTL Support */
[dir="rtl"] .server-info-value {
    text-align: left;
}

[dir="rtl"] .server-info-item:hover {
    transform: translateX(-5px);
}

/* Language Dropdown */
.dropdown-menu-dark {
    background: var(--dark-card);
    border: 1px solid var(--dark-border);
}

.dropdown-item {
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.dropdown-item:hover,
.dropdown-item.active {
    background: var(--primary-color);
    color: #ffffff;
}

/* News List */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 500px;
    overflow-y: auto;
}

.news-list::-webkit-scrollbar {
    width: 6px;
}

.news-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

/* Quick Links List */
.quick-links-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.quick-link-item {
    display: block;
    padding: 1rem;
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid var(--dark-border);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    text-align: center;
}

.quick-link-item:hover {
    background: rgba(99, 102, 241, 0.2);
    border-color: var(--primary-color);
    transform: translateX(5px);
    color: var(--primary-light);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.quick-link-item strong {
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

[dir="rtl"] .quick-link-item:hover {
    transform: translateX(-5px);
}

/* List group */
.list-group-item {
    background: linear-gradient(135deg, var(--dark-card), var(--dark-hover));
    border: 1px solid var(--dark-border);
    transition: all 0.3s ease;
    margin-bottom: 0.5rem;
    border-radius: 8px !important;
}

.list-group-item:hover {
    background: linear-gradient(135deg, var(--dark-hover), rgba(99, 102, 241, 0.1));
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

/* Nav tabs */
.nav-tabs {
    border-bottom: 2px solid var(--dark-border);
}

.nav-tabs .nav-link {
    color: var(--text-secondary);
    border: none;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
    color: var(--primary-light);
    border-bottom-color: var(--primary-color);
}

.nav-tabs .nav-link.active {
    color: var(--text-primary);
    background: transparent;
    border-bottom-color: var(--primary-color);
    font-weight: 700;
}

/* Text Brightness Overrides */
.text-muted {
    color: #d1d5db !important;
}

.text-secondary {
    color: #d1d5db !important;
}

.text-light {
    color: #ffffff !important;
}

/* Links */
a {
    color: #a5b4fc !important;
    transition: all 0.3s ease;
}

a:hover {
    color: #c7d2fe !important;
}

a.text-light,
a.text-white {
    color: #ffffff !important;
}

a.text-light:hover,
a.text-white:hover {
    color: #e5e7eb !important;
}

/* General text elements */
p, span, div, td, th, label, small {
    color: inherit;
}

.card-body p,
.card-body span,
.card-body div {
    color: #ffffff !important;
}

.table-dark td {
    color: #e5e7eb !important;
}

.table-dark th {
    color: #ffffff !important;
}

.table-dark a {
    color: #a5b4fc !important;
}

.news-item p {
    color: #e5e7eb !important;
}

.news-item small {
    color: #d1d5db !important;
}

.widget-card small {
    color: #d1d5db !important;
}

.form-text {
    color: #d1d5db !important;
}

label {
    color: #ffffff !important;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section {
        padding: 2rem 1.5rem;
    }
    
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--accent-gold));
}

/* Utility Classes */
.mt-4 {
    margin-top: -1.5rem !important;
}

/* Item Tooltip Styles - Game-like appearance */
.item-tooltip-trigger {
    position: relative;
    cursor: pointer;
    z-index: 10;
}

.item-tooltip-content {
    display: none !important;
    position: fixed !important;
    z-index: 99999 !important;
    pointer-events: none !important;
    min-width: 250px;
    max-width: 350px;
    left: -9999px !important;
    top: -9999px !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

.item-tooltip-content[style*="display: block"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

.item-tooltip {
    background: linear-gradient(135deg, #1a1a3e 0%, #0f0f2e 100%) !important;
    border: 2px solid #4a9eff !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 10px rgba(74, 158, 255, 0.3) !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    font-size: 13px !important;
    line-height: 1.6 !important;
    color: #ffffff !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    height: auto !important;
    min-width: 250px !important;
    max-width: 350px !important;
    margin: 0 !important;
}

.item-tooltip p {
    margin: 4px 0 !important;
    padding: 0 !important;
    line-height: 1.5 !important;
}

.item-tooltip p:first-child {
    margin-top: 0 !important;
}

.item-tooltip p:last-child {
    margin-bottom: 0 !important;
}

.item-tooltip .sox {
    color: #ffd700 !important;
    font-weight: bold !important;
    font-size: 15px !important;
    display: block !important;
    margin: 0 0 6px 0 !important;
    padding: 0 !important;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.5) !important;
}

.item-tooltip .desc {
    color: #e0e0e0 !important;
    font-size: 12px !important;
    display: block !important;
    margin: 4px 0 !important;
    padding: 0 !important;
    line-height: 1.6 !important;
}

.item-tooltip .stats {
    color: #ffffff;
    font-size: 12px;
    display: block;
}

.item-tooltip .stats p {
    margin: 4px 0 !important;
    padding: 3px 0 !important;
    border-bottom: 1px solid rgba(74, 158, 255, 0.15) !important;
    color: #ffffff !important;
    font-size: 12px !important;
    line-height: 1.5 !important;
}

.item-tooltip .stats p.bluestats {
    color: #4a9eff !important;
}

.item-tooltip .stats p:last-child {
    border-bottom: none !important;
}

.item-tooltip .bluestats,
.item-tooltip-content .bluestats,
.item-tooltip p.bluestats,
.item-tooltip-content p.bluestats,
.bluestats {
    color: #4a9eff !important;
    font-size: 12px !important;
    line-height: 1.8 !important;
    margin: 4px 0 !important;
    padding: 0 !important;
    border: none !important;
    display: block !important;
    font-weight: normal !important;
    text-shadow: 0 0 4px rgba(74, 158, 255, 0.8) !important;
}

.item-tooltip .bluestats *,
.item-tooltip-content .bluestats *,
.item-tooltip p.bluestats *,
.item-tooltip-content p.bluestats *,
.bluestats * {
    color: #4a9eff !important;
}

.item-tooltip .bluestats:first-of-type {
    margin-top: 8px !important;
    padding-top: 8px !important;
    border-top: 1px solid rgba(74, 158, 255, 0.3) !important;
}

.item-tooltip .advanceElixir {
    color: #ffffff;
    font-size: 11px;
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid rgba(74, 158, 255, 0.2);
    font-style: italic;
}

.item-tooltip .redstat,
.item-tooltip-content .redstat,
.item-tooltip p.redstat,
.item-tooltip-content p.redstat,
.redstat {
    color: #ff4444 !important;
    font-size: 12px !important;
    line-height: 1.8 !important;
    margin: 4px 0 !important;
    padding: 0 !important;
    border: none !important;
    display: block !important;
    font-weight: normal !important;
    text-shadow: 0 0 4px rgba(255, 68, 68, 0.8) !important;
}

.item-tooltip .redstat *,
.item-tooltip-content .redstat *,
.item-tooltip p.redstat *,
.item-tooltip-content p.redstat *,
.redstat * {
    color: #ff4444 !important;
}