
* {
    transition: all 0.3s ease;
}

.logo-img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.quick-access-button {
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.quick-access-button:hover {
    background-color: #2d3748;
    border-color: #4a5568;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.quick-access-button:active {
    transform: translateY(0);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.discord-login-btn {
    background: linear-gradient(135deg, #5865f2, #4752c4);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.discord-login-btn:hover {
    background: linear-gradient(135deg, #4752c4, #3c47a3);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
}

.discord-login-btn:active {
    transform: translateY(0);
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background: linear-gradient(90deg, #bfd6ec, #5865f2);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

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

.nav-link:hover {
    color: #bfd6ec;
}

.get-started-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(191, 214, 236, 0.3);
}

.get-started-btn:hover {
    background-color: #a8c5e0;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(191, 214, 236, 0.4);
}

.get-started-btn:active {
    transform: translateY(-1px);
}

.notification-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.notification-btn:hover {
    background-color: #40484f;
    transform: scale(1.05);
}

.notification-count {
    background: #f85149;
    color: white;
    font-weight: bold;
    min-width: 20px;
    height: 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    padding: 0 6px;
}

.notification-panel {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4) !important;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(64, 72, 79, 0.8) !important;
}

.notification-container {
    max-width: calc(100vw - 40px);
}

.notification-container > div {
    max-width: 350px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

@keyframes slideInDown {
    from { 
        transform: translateY(-20px) scale(0.9); 
        opacity: 0; 
    }
    to { 
        transform: translateY(0) scale(1); 
        opacity: 1; 
    }
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.hero-section {
    animation: fadeInUp 1s ease-out;
}

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

.quick-access-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    padding: 1rem;
}

.quick-access-item {
    animation: fadeInScale 0.6s ease-out;
    animation-fill-mode: both;
}

.quick-access-item:nth-child(1) { animation-delay: 0.1s; }
.quick-access-item:nth-child(2) { animation-delay: 0.2s; }
.quick-access-item:nth-child(3) { animation-delay: 0.3s; }

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

@media (max-width: 768px) {
    .quick-access-grid {
        grid-template-columns: 1fr;
    }
    
    .discord-login-btn {
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .nav-link {
        font-size: 12px;
    }
    
    .notification-panel {
        width: calc(100vw - 40px) !important;
        max-width: 350px !important;
        right: 20px !important;
    }
    
    .notification-container {
        right: 10px !important;
        left: 10px !important;
        width: auto !important;
    }
    
    .notification-container > div {
        max-width: none;
        margin-left: auto;
        margin-right: auto;
    }
}

.quick-access-button:focus,
.discord-login-btn:focus,
.get-started-btn:focus,
.notification-btn:focus {
    outline: 2px solid #5865f2;
    outline-offset: 2px;
}

html {
    scroll-behavior: smooth;
}


.sidebar-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-item:hover {
    transform: translateX(4px);
}

.sidebar-item.active {
    position: relative;
}

.sidebar-item.active::before {
    content: '';
    position: absolute;
    left: -16px;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 24px;
    background: linear-gradient(135deg, #5865f2, #4752c4);
    border-radius: 2px;
}

.stat-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: #5865f2;
}

.activity-item, .command-item {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.activity-item:hover, .command-item:hover {
    background-color: #40484f;
    transform: translateX(4px);
}

.command-item:hover .font-mono {
    color: #bfd6ec;
}

canvas {
    border-radius: 8px;
}

.chart-container {
    height: 300px !important;
    position: relative;
}

.chart-container canvas {
    max-height: 300px !important;
    height: 300px !important;
}

.stat-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.stat-card:nth-child(1) { animation-delay: 0.1s; }
.stat-card:nth-child(2) { animation-delay: 0.2s; }
.stat-card:nth-child(3) { animation-delay: 0.3s; }
.stat-card:nth-child(4) { animation-delay: 0.4s; }

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

.activity-item .rounded-full {
    animation: pulse 2s infinite;
}

@media (max-width: 1024px) {
    .grid.lg\\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .grid.lg\\:grid-cols-2 {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .w-64 {
        width: 100%;
        position: fixed;
        top: 0;
        left: -100%;
        height: 100vh;
        z-index: 50;
        transition: left 0.3s ease;
    }
    
    .w-64.open {
        left: 0;
    }
    
    .grid.md\\:grid-cols-2 {
        grid-template-columns: 1fr;
    }
}

.stat-card.loading, .activity-item.loading, .command-item.loading {
    position: relative;
    overflow: hidden;
}

.stat-card.loading::after, .activity-item.loading::after, .command-item.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 1.5s infinite;
}

.status-online {
    color: #57f287;
}

.status-warning {
    color: #fee75c;
}

.status-error {
    color: #f85149;
}

.dashboard-header {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.1), rgba(191, 214, 236, 0.1));
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.update-indicator {
    position: relative;
}

.update-indicator::after {
    content: '';
    position: absolute;
    top: -2px;
    right: -2px;
    width: 8px;
    height: 8px;
    background: #57f287;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.font-mono {
    background: rgba(88, 101, 242, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    border: 1px solid rgba(88, 101, 242, 0.2);
}

.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    background: #1a1d23;
    border-right: 1px solid #2b3136;
    z-index: 1000;
    transform: translateX(-100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: #40484f #2b3136;
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: #2b3136;
}

.sidebar::-webkit-scrollbar-thumb {
    background: #40484f;
    border-radius: 3px;
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 1px solid #2b3136;
    background: #1e2125;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: #a2abb4;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.sidebar-toggle:hover {
    background: #2b3136;
    color: white;
}

.sidebar-nav {
    padding: 16px 0;
}

.nav-section {
    margin-bottom: 8px;
}

.nav-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    color: #a2abb4;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.2s ease;
}

.nav-section-header:hover {
    background: #2b3136;
    color: white;
}

.nav-section-header.active {
    background: #2b3136;
    color: white;
}

.nav-section-header .chevron {
    transition: transform 0.2s ease;
}

.nav-section-header.active .chevron {
    transform: rotate(180deg);
}

.nav-dropdown {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #1a1d23;
}

.nav-dropdown.open {
    max-height: 300px;
}

.nav-item {
    display: block;
    padding: 10px 20px 10px 44px;
    color: #a2abb4;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.nav-item:hover {
    background: #2b3136;
    color: white;
    border-left-color: #5865f2;
}

.nav-item.active {
    background: #2b3136;
    color: #5865f2;
    border-left-color: #5865f2;
}

.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sidebar-overlay.active {
    opacity: 1;
    visibility: visible;
}

.main-content {
    transition: margin-left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-content.sidebar-open {
    margin-left: 280px;
}

.sidebar-toggle-btn {
    background: none;
    border: none;
    color: #a2abb4;
    cursor: pointer;
    padding: 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
    margin-right: 16px;
}

.sidebar-toggle-btn:hover {
    background: #2b3136;
    color: white;
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        max-width: 320px;
    }
    
    .main-content.sidebar-open {
        margin-left: 0;
    }
}

html {
    scroll-behavior: smooth;
}

.section-anchor {
    scroll-margin-top: 20px;
}

.content-section {
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.content-section h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #2b3136;
}

.stat-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: #5865f2;
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.15);
}

.mission-item {
    transition: all 0.3s ease;
}

.mission-item:hover {
    transform: translateX(4px);
    background: #40484f !important;
}

.hero-slot {
    transition: all 0.3s ease;
}

.hero-slot:hover {
    transform: scale(1.02);
    border-color: #5865f2;
}

.reward-item {
    transition: all 0.3s ease;
}

.reward-item:hover {
    transform: translateX(4px);
    background: #40484f !important;
}

.quick-action-btn {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.quick-action-btn:hover {
    transform: translateY(-2px);
    border-color: #5865f2;
    box-shadow: 0 8px 20px rgba(88, 101, 242, 0.2);
}

.quick-action-btn:active {
    transform: translateY(0);
}
