body {
    font-family: 'Poppins', sans-serif;
    background: #0b001a;
    color: white;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(140, 0, 255, 0.4), transparent 70%);
    z-index: 0;
}

body::after {
    content: "";
    position: fixed;
    bottom: -500px;
    right: -200px;
    width: 1200px;
    height: 1200px;
    background: radial-gradient(circle, rgba(255, 0, 150, 0.4), transparent 70%);
    z-index: 0;
}

.sidebar {
    height: 100vh;
    width: 250px;
    position: fixed;
    padding: 20px;
    z-index: 2;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.sidebar a {
    display: block;
    padding: 10px;
    color: #aaa;
    text-decoration: none;
    border-radius: 10px;
    margin-bottom: 8px;
}

.sidebar a.active,
.sidebar a:hover {
    background: linear-gradient(45deg, #ff3cac, #784ba0);
    color: white;
}

.sidebar .copyright {
    font-size: 12px;
    color: #888;
    text-align: center;
    margin-top: auto;
}

.content {
    margin-left: 260px;
    padding: 30px;
    position: relative;
    z-index: 2;
}

.topbar {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.notification-wrapper {
    position: relative;
}

.notif-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background: #ff2b5b;
    border-radius: 50%;
    box-shadow: 0 0 8px #ff2b5b;
}

.notification-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    width: 260px;
    background: rgba(20, 0, 40, 0.95);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    padding: 10px;
    display: none;
    z-index: 10;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.notif-header {
    font-weight: 600;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.notif-item {
    padding: 10px;
    font-size: 14px;
    color: #ddd;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.2s;
}

.notif-item:hover {
    background: rgba(255, 255, 255, 0.08);
}

.notification-dropdown.show {
    display: block;
}

.upgrade-btn {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 8px 15px;
    border: none;
    color: white;
}

.icon-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: url('https://i.pravatar.cc/100') center/cover;
}

.hero {
    position: relative;
    height: 280px;
    background: transparent;
    overflow: visible;
    padding: 20px;
    z-index: 1;
    border-radius: 22px;
}

.hero::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: 0;
    width: 50%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 1/2;
    background: url('https://i.ibb.co/0GQHk6J/woman.png') no-repeat;
    background-size: contain;
    background-position: bottom right;
    z-index: 0;
    transform: translateY(-40px);
}

.hero h1,
.hero .btn {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 15px;
    width: 45%;
}

.btn-gradient {
    background: linear-gradient(45deg, #ff3cac, #784ba0);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
}

.card-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(5, 1fr);
}

.card-glass {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 420px;
    background: #111;
    cursor: pointer;
    transition: all 0.4s ease;
}

.card-glass img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(10, 0, 30, 0.95) 15%,
            rgba(10, 0, 30, 0.6) 40%,
            rgba(10, 0, 30, 0.2) 65%,
            transparent 100%);
}

.card-body-custom {
    position: absolute;
    bottom: 0;
    padding: 20px;
    z-index: 2;
}

.card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 5px;
}

.card-subtitle {
    font-size: 13px;
    color: #bbb;
    margin-bottom: 10px;
}

.card-stats {
    font-size: 12px;
    color: #9d7bff;
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.card-desc {
    font-size: 13px;
    color: #ccc;
    line-height: 1.4;
}

.card-grid {
    display: grid;
    gap: 20px;
    grid-template-columns: repeat(5, 1fr);
}

.card-glass {
    position: relative;
    height: 520px;
    border-radius: 22px;
    overflow: hidden;
    cursor: pointer;
    transition: 0.4s;
}

.card-glass img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s;
}

.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top,
            rgba(10, 0, 30, 0.95) 15%,
            rgba(10, 0, 30, 0.7) 40%,
            rgba(10, 0, 30, 0.3) 65%,
            transparent 100%);
}

.card-body-custom {
    position: absolute;
    bottom: 0;
    padding: 20px;
    z-index: 2;
}

.card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 4px;
}

.card-subtitle {
    font-size: 13px;
    color: #bbb;
    margin-bottom: 10px;
}

.card-stats {
    font-size: 12px;
    color: #a970ff;
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.card-desc {
    font-size: 13px;
    color: #ccc;
    line-height: 1.4;
}

.card-glass:hover img {
    transform: scale(1.08);
}

.card-glass:hover {
    transform: translateY(-8px);
}

.card-glass::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background: linear-gradient(90deg, #6a00ff, #ff3cac);
    opacity: 0.25;
    filter: blur(40px);
}

.small-card {
    background: rgba(255, 255, 255, 0.05);
    background-image: url(/assets/img/arcane-circles.webp);
    background-position: center;
    border-radius: 20px;
    padding: 20px;
    text-align: start;
    height: 100%;
}

.no-scroll {
    overflow: hidden;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

.sidebar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.close-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: none;
}

@media (max-width: 1400px) {
    .card-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .topbar {
        margin-bottom: 100px;
        position: relative;
        z-index: 99;
    }

    .small-card {
        height: 250px;
    }

    .hero h1 {
        font-size: 24px;
        font-weight: 600;
        margin-bottom: 10px;
        width: 55%;
    }
}

@media (max-width: 768px) {

    .card-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .content {
        margin-left: 0;
        padding: 20px;
    }

    .close-btn {
        display: block;
    }

    .mobile-unic {
        display: flex;
        gap: 20px;
        justify-content: space-between;
        align-items: center;
    }

    .menu-toggle {
        display: block;
        margin-right: auto;
    }

    .sidebar {
        position: fixed;
        left: -275px;
        top: 0;
        width: 275px;
        height: 100vh;
        background: rgba(10, 0, 30, 0.95);
        backdrop-filter: blur(15px);
        transition: 0.3s ease;
        z-index: 999;
    }

    .sidebar.active {
        left: 0;
    }

    .content {
        margin-left: 0;
    }

    .overlay {
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        backdrop-filter: blur(3px);
        display: none;
        z-index: 998;
    }

    .overlay.active {
        display: block;
    }
}

@media (max-width: 480px) {
    .card-grid {
        grid-template-columns: 1fr;
    }
}