/* ============================================================
   RUPA KUMARI'S SPACE — Dashboard Styles
   Premium dark theme with glass-morphism elements
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --bg:           #0b0b12;
    --bg-card:      #12111e;
    --border:       rgba(255,255,255,0.07);
    --text:         rgba(255,255,255,0.95);
    --text-muted:   rgba(255,255,255,0.45);
    --accent:       #f5a05a;
    --accent2:      #e46f9a;
    --success:      #6ee7a0;
    --radius:       20px;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background: var(--bg);
    color: var(--text);
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ============================================================
   BACKGROUND EFFECTS
   ============================================================ */
.background-elements {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.12;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--accent);
    top: -200px;
    left: -200px;
}

.orb-2 {
    width: 500px;
    height: 500px;
    background: var(--accent2);
    bottom: 5%;
    right: -150px;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: #7058e8;
    top: 50%;
    left: 20%;
}

/* ============================================================
   GLASS PANEL EFFECT
   ============================================================ */
.glass-panel {
    background: rgba(18, 17, 30, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

/* ============================================================
   DASHBOARD CONTAINER & HEADER
   ============================================================ */
.dashboard-container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2.5rem;
    margin-bottom: 4rem;
    animation: slideDown 0.6s ease;
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    box-shadow: 0 8px 30px rgba(245, 160, 90, 0.25);
}

.greeting-text h1 {
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 700;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.greeting-text p {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 300;
}

.date-display {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-align: right;
    min-width: 200px;
}

/* ============================================================
   VAULT SECTION & CARDS
   ============================================================ */
.vault-section {
    animation: fadeIn 0.8s ease;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
}

.vault-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.8rem;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
}

.vault-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(245, 160, 90, 0.1), rgba(228, 111, 154, 0.1));
    opacity: 0;
    transition: opacity 0.3s;
}

.vault-card.active-card:hover {
    transform: translateY(-8px);
    border-color: rgba(245, 160, 90, 0.3);
    box-shadow: 0 20px 50px rgba(245, 160, 90, 0.15);
}

.vault-card.active-card:hover::before {
    opacity: 1;
}

.vault-card:not(.active-card):hover {
    cursor: not-allowed;
}

.card-icon {
    font-size: 2.5rem;
    min-width: 60px;
    text-align: center;
}

.card-content {
    position: relative;
    z-index: 1;
    flex: 1;
}

.card-content h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text);
}

.card-content p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.card-status {
    display: inline-block;
    font-size: 0.75rem;
    background: rgba(110, 231, 160, 0.2);
    color: var(--success);
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    margin-top: 0.6rem;
    font-weight: 600;
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .dashboard-header {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .profile-section {
        flex-direction: column;
        gap: 1rem;
    }

    .date-display {
        text-align: center;
        min-width: auto;
    }

    .cards-grid {
        grid-template-columns: 1fr;
    }

    .vault-card {
        flex-direction: row;
    }

    .section-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .dashboard-container {
        padding: 1rem;
    }

    .dashboard-header {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .avatar {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }

    .greeting-text h1 {
        font-size: 1.3rem;
    }

    .greeting-text p {
        font-size: 0.85rem;
    }

    .vault-card {
        padding: 1.2rem;
        gap: 1rem;
    }

    .card-icon {
        font-size: 2rem;
        min-width: 50px;
    }

    .card-content h3 {
        font-size: 0.95rem;
    }

    .card-content p {
        font-size: 0.8rem;
    }
}
