:root {
    --bg-color: #1a1a1a;
    --text-color: #ffffff;
    --accent-color: #00c8ff;
    --hover-color: #00a0cc;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    padding: 20px;
}

#background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
}

.container {
    text-align: center;
    padding: 2rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transform: translateY(50px);
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
    max-width: 90%;
    width: 100%;
    max-width: 400px;
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

header {
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid var(--accent-color);
    transition: transform 0.3s ease;
    position: relative;
}

.avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(0, 200, 255, 0.5);
}

#status-indicator {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: var(--bg-color);
    position: absolute;
    bottom: 65px;
    right: 10px;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

#status-indicator::after {
    content: '';
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: absolute;
}

#activity-container {
    background-color: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 2rem;
    text-align: left;
    transition: all 0.3s ease;
}

#activity-container:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

#activity-container.hidden {
    display: none;
}

#activity-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

#activity-icon {
    width: 24px;
    height: 24px;
    margin-right: 0.5rem;
    border-radius: 5px;
}

#activity-name {
    font-weight: bold;
}

#activity-details, #activity-state {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.status-online::after { background-color: #3ba55c; }
.status-idle::after { background-color: #faa61a; }
.status-dnd::after { background-color: #ed4245; }
.status-offline::after { background-color: #747f8d; }

h1 {
    font-size: 1.8rem;
    margin-top: 1rem;
    color: var(--accent-color);
}

nav ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

nav ul li a {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50px;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

nav ul li a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

nav ul li a i {
    font-size: 20px;
    margin-right: 0.75rem;
    width: 24px;
    text-align: center;
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .container {
        padding: 1.5rem;
    }

    .avatar {
        width: 100px;
        height: 100px;
    }

    h1 {
        font-size: 1.5rem;
    }

    nav ul li a {
        padding: 0.6rem 0.8rem;
    }

    nav ul li a i {
        font-size: 18px;
        margin-right: 0.5rem;
    }
    
    #status-indicator {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      background-color: var(--bg-color);
      position: absolute;
      bottom: 52px;
      right: 10px;
      z-index: 1;
      display: flex;
      justify-content: center;
      align-items: center;
    }
}