* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Fira Code', monospace;
    background-color: #0a0a0a;
    color: #e0f7f4;
    display: flex;
    overflow-x: hidden;
    position: relative;
    z-index: 1;
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -1;
    opacity: 0.12;
    pointer-events: none;
}


.sidebar {
    width: 200px;
    background: linear-gradient(180deg, #0e0e0e 0%, #111414 100%);
    border-right: 1px solid #a855f7;
    padding: 25px 15px;
    min-height: 100vh;
    z-index: 2;
    backdrop-filter: blur(8px);
}

.logo {
    font-size: 1.6rem;
    text-align: center;
    margin-bottom: 2rem;
    color: #facc15;
    text-shadow: 0 0 8px #a855f7;
}

.menu ul {
    list-style: none;
    padding: 0;
}

.menu-item {
    padding: 10px 12px;
    font-size: 0.95rem;
    cursor: pointer;
    border-radius: 6px;
    margin-bottom: 8px;
    transition: all 0.25s ease;
    display: block;
    color: #facc15;
    text-decoration: none;
    font-weight: 500;
}

.menu-item:hover,
.menu-item.active {
    background-color: rgba(168,85,247,0.15);
    color: #fff;
}


.main {
    flex-grow: 1;
    padding: 30px 40px;
    position: relative;
}

.main-header h2 {
    font-size: 1.6rem;
    margin-bottom: 1.8rem;
    color: #facc15;
    text-shadow: 0 0 6px #a855f7;
}


.user-info-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    justify-content: flex-start;
}


.user-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 2rem;
}


.user-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 2rem;
}

.info-box,
.card-box {
    position: relative;
    padding: 1.5rem;
    color: #fff;
    font-weight: bold;
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(168,85,247,0.6);
    box-shadow: 0 0 20px rgba(168,85,247,0.25);
    clip-path: polygon(
        8% 0%, 92% 0%, 100% 10%, 100% 90%, 
        92% 100%, 8% 100%, 0% 90%, 0% 10%
    );
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.info-box:hover,
.card-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 0 35px rgba(168,85,247,0.6);
    border-color: rgba(168,85,247,0.9);
}

.info-box h4,
.card-box .box-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: #facc15;
    text-shadow: 0 0 6px rgba(168,85,247,0.7);
}

.info-box p,
.card-list p {
    font-size: 1.2rem;
    text-shadow: 0 0 8px rgba(168,85,247,0.6);
}


.info-box h4 {
    margin: 0 0 0.4rem;
    font-size: 0.95rem;
    color: #facc15;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    font-weight: 600;
    text-shadow: 0 0 3px rgba(168,85,247,0.7);
}

.info-box p {
    margin: 0;
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 700;
    word-break: break-word;
    text-shadow: 0 0 4px rgba(168,85,247,0.6);
}


.card-box {
    background: rgba(15, 20, 20, 0.7);
    backdrop-filter: blur(6px);
    border: 1px solid #a855f7;
    border-radius: 12px;
    padding: 1rem;
    width: 100%;
    max-width: 650px;
    box-shadow: 0 4px 12px rgba(168,85,247,0.25);
    margin-top: 10px;
}

.box-title {
    font-size: 1rem;
    font-weight: 600;
    color: #facc15;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.card-box textarea {
    width: 100%;
    height: 70px;
    background: transparent;
    color: #facc15;
    border: 1px solid #a855f7;
    border-radius: 6px;
    padding: 8px;
    font-family: 'Fira Code', monospace;
    font-size: 0.9rem;
    resize: vertical;
    outline: none;
}

.card-box textarea:focus {
    border-color: #a855f7;
    box-shadow: 0 0 6px rgba(168,85,247,0.6);
}


.card-list {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(4px);
    border-radius: 8px;
    padding: 0.8rem;
    max-height: 200px;
    overflow-y: auto;
    font-size: 0.9rem;
    line-height: 1.6;
    box-shadow: inset 0 0 8px rgba(168,85,247,0.2);
    border: 1px dashed rgba(168,85,247,0.3);
}

.card-list p {
    margin: 0;
    padding: 4px 0;
    color: #d3fdfd;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
}

.card-list p .icon {
    color: #facc15;
    font-size: 1rem;
}


.mode-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: rgba(168,85,247,0.2);
    border: 1px solid #a855f7;
    color: #facc15;
    font-size: 18px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.mode-btn:hover {
    background: rgba(168,85,247,0.4);
    transform: scale(1.1);
}


.menu-toggle {
    display: none !important;
    font-size: 1.6rem;
    background: none;
    border: none;
    color: #facc15;
    cursor: pointer;
}

@media (max-width: 768px) {
    body {
        flex-direction: column;
    }

    .sidebar {
        position: fixed;
        left: -220px;
        top: 0;
        height: 100%;
        width: 200px;
        background: rgba(14, 14, 14, 0.95);
        backdrop-filter: blur(8px);
        border-right: 1px solid #a855f7;
        transition: left 0.3s ease;
        z-index: 1000;
        padding-top: 60px;
    }

    .sidebar.active {
        left: 0;
    }

    .menu-toggle {
        display: block !important;
        position: fixed;
        top: 15px;
        left: 15px;
        z-index: 1100;
    }

    .main {
        padding: 15px;
    }
}