:root {
    --primary-color: #5865F2;
    --background-color: #2C2F33;
    --card-background: #36393F;
    --text-color: #FFFFFF;
    --secondary-text: #B9BBBE;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-image: url('../img/dsc_img.png'); /* Replace with your 1920x1080 image URL */
    background-size: cover;
    background-position: left;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--text-color);
    line-height: 1.6;
}

.real-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.logo span {
    font-size: 1.1em;
    font-weight: 700;
    color: #5865f2;
}

.burger-menu {
    display: none;
    font-size: 1.8rem;
    cursor: pointer;
}

.button_section {
    display: flex;
    gap: 1rem;
}

.invite-btn {
    background-color: #5865f2;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    transition: box-shadow 0.3s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    width: 200px;
    height: 50px;
    overflow: hidden;
}

.invite-btn .text {
    transition: opacity 0.3s ease-in-out;
}

.invite-btn i {
    font-size: 1.4rem;
    position: absolute;
    opacity: 0;
    transition: opacity 0.3s ease-in-out, transform 0.3s ease-in-out;
}

.invite-btn:hover {
    box-shadow: 0 5px 15px rgba(0, 56, 255, 0.3);
}

.invite-btn:hover .text {
    opacity: 0;
}

.invite-btn:hover i {
    opacity: 1;
    transform: scale(1.2);
}

@media screen and (max-width: 900px) {
    .search-container {
        width: 80vw;
        padding: 0;
        margin: 0;
    }
    header {
        background-color: #5865f2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 0 !important;
        height: 40vh;
        width: 100vw;
        text-align: center;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        margin-top: 5vh;
    }
    .select-cat {
        display: none;
    }
    .command-header {
        flex-direction: column;
    }
    .category-badge {
        font-size: 0.8em !important;
        padding-left: 1em;
        padding-right: 1em;
    }
    .command-name {
        text-align: center;
        font-size: 1.1em !important;
    }
    .button_section {
        display: none;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
        position: absolute;
        top: 70px;
        right: 0;
        background-color: #5865f2;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        border-radius: 0 0 10px 10px;
        padding: 10px;
        width: 100vw;
    }
    .button_section .invite-btn:nth-child(3) {
        background: white;
        color: #5865f2;
    }
    .button_section.active {
        padding-top: 30px;
        padding-bottom: 30px;
        display: flex;
    }
    .burger-menu {
        display: block;
    }
    .burger-menu i {
        color: #5865f2;
    }
    .invite-btn {
        box-shadow: 0 5px 15px rgba(0, 56, 255, 0.3);
    }
    .invite-btn .text {
        opacity: 0;
    }
    .invite-btn i {
        opacity: 1;
        transform: scale(1.2);
    }
}

header {
    background-color: rgb(0 0 0 / 80%);
    padding: 3rem;
    padding-top: 8rem;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

h1 {
    margin-bottom: 1rem;
    color: #ffffff;
}

.search-container {
    max-width: 600px;
    margin: 0 auto;
}

#searchInput {
    width: 100%;
    padding: 0.8rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    background-color: #ffffff;
    color: #5865f2;
}

nav {
    background-color: rgb(0 0 0 / 80%);
    padding: 1rem;
    position: sticky;
    top: 0;
    z-index: 100;
}

.categories {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    margin-bottom: 2vh;
    justify-content: center;
}

.category-btn {
    background: none;
    color: rgb(255, 255, 255);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    border-color: #5865f2;
}

.category-btn:hover {
    background-color: #5865f2;
}

.category-btn.active {
    background-color: #5865f2;
    border: white;
}

main {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.command-card {
    background-color: rgba(0, 0, 0, 0.8);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    transition: transform 0.2s ease;
}

.command-card:hover {
    transform: translateY(-2px);
}

.command-name {
    color: #5865f2;
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 25px;
}

.command-description {
    color: #ffffff;
}

@media (max-width: 768px) {
    .categories {
        justify-content: flex-start;
    }
    
    main {
        padding: 1rem;
    }
}