:root {
    --primary: #182634;
    --secondary: #203246;
    --hover: #283f57;
    --light: #DDE6ED;
    --green: #6ac059;
    --grey: #9DB2BF;
    --black: #393E46;
    --blue: #1B56FD;
    --light-blue: #356afd;
}

body {
    font-family: "Special Gothic", sans-serif;
}

a {
    text-decoration: none;
    color: var(--light);
}

.left-bar {
    background-color: var(--primary);
    position: sticky;
    top: 0;
    left: 0;
    height: 100vh;
}

.right-bar {
    background-color: var(--primary);
    position: sticky;
    top: 0;
    right: 0;
    height: 100vh;
}

.middle-section {
    background-color: var(--secondary);
}

/* left-bar */
/* links */
.link {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 10px 0;
}

.link a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 7px;
    border-left: 4px solid transparent;
    transition: border-left 0.3s ease;
    width: 100%;
    height: 100%;
}

.nav-link.active {
    border-left: 4px solid white;
    background-color: rgba(255, 255, 255, 0.1);
}

.link:hover {
    background-color: var(--hover);
}

.left-icon {
    color: var(--light);
    font-size: 25px;
    margin-right: 5px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.left-icon-text-wrapper {
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.left-icon-text {
    color: var(--light);
    font-size: 15px;
}

.left-icon-sub-text {
    color: var(--light);
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 170px;
    letter-spacing: 1px;
}

@media (max-width: 900px) {
    .links .left-icon-text {
        font-size: 10px;
    }

    .links .left-icon-sub-text, 
    .friends-contents .friend-text,
    .profile-information .profile-picture-text,
    .friends-header .friends-status,
    .navbar .left-icon-text {
        display: none;
    }

    .friends .friends-header .friends-text {
        font-size: 10px;
    }
}

@media (max-width: 1050px) {
    .navbar .input-wrapper {
        width: 150px;
    }

    .left-icon-text {
        font-size: 13px;
    }

    .left-icon-sub-text {
        font-size: 10px;
    }

    .downloaded-games .download-head {
        font-size: 13px;
    }

    .downloaded-games .download-text {
        font-size: 11px;
    }

    .friend-content .friend-text {
        font-size: 12px;
    }

    .friends-text-status .friends-text {
        font-size: 12px;
    }

    .friends-text-status .friends-status {
        font-size: 12px;
    }

    .firends .friends-header {
        display: block;
    }
}

@media (max-width: 1260px) {
    .downloaded-game {
        height: 90px;
    }

    .downloaded-games .download-text {
        display: block;
        margin-top: 2px;
        margin-left: 0px;
    }
}

/* downloaded-games */
.download-head {
    color: var(--light);
    font-size: 15px;
    font-weight: bold;
    letter-spacing: 1px;
}

.downloaded-game {
    width: 100%;
    height: 65px;
}

.downloaded-game:hover {
    background-color: var(--hover);
    cursor: pointer;
}

.downloaded-game:hover .download-icon-wrapper {
    display: flex;
}

.downloaded-game:hover .download-icon-hover {
    background-color: var(--secondary);
    opacity: 0.7;
}

.download-image {
    width: 55px;
    height: 55px;
    border-radius: 10px;
    object-fit: cover;
}

.download-text {
    color: var(--light);
    font-size: 14px;
    margin-left: 10px;
}

.download-icon-hover {
    width: 60px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 33px;
    height: 33px;
    border-radius: 10px;
    background-color: var(--light-blue);
    display: none;
}

.download-icon {
    color: var(--light);
    font-size: 15px;
}

/* right-bar */
/* profile-information */
.profile-information:hover {
    background-color: var(--hover);
}

.profile-wrapper {
    position: relative;
    width: 50px;
    height: 50px;
    margin: 10px;
}

.profile-picture {
    width: 100%;
    height: 100%;
    border-radius: 20%;
    object-fit: cover;
}

.status-check {
    position: absolute;
    bottom: 0;
    right: 0;
    background-color: #28a745;
    color: white;
    font-size: 10px;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--primary);
}

.profile-picture-text {
    color: var(--light);
    font-size: 16px;
}

.profile-icon {
    color: var(--light);
    font-size: 13px;
    margin-left: 100px;
}

.dropdown-menu {
    background-color: black;
    color: var(--light);
    border: none;
}

.dropdown-menu .dropdown-item {
    color: var(--light);
}

.dropdown-menu .dropdown-item:hover {
    background-color: var(--hover);
    border-radius: 5px;
}

.dropdown-icon {
    font-size: 15px;
    margin-right: 10px;
}

.fa-check {
    color: var(--light)
}

.dropdown-icon.fa-check {
    color: #28a745;
}

.fa-stopwatch {
    color: #ffc107;
}

.fa-circle {
    color: grey;
}

.dropdown-divider {
    background-color: var(--light);
    height: 1px;
    margin: 5px 0;
}

/* friends-header */
.friends-text {
    color: var(--light);
    font-size: 14px;
    font-weight: bold;
    letter-spacing: 1px;
}

.friends-status {
    color: var(--light);
    font-size: 14px;
    opacity: 0.8;
    letter-spacing: 2px;
}

.friends-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius:7px;
    background-color: var(--secondary);
    border: 1px solid rgba(221, 230, 237, 0.4);
}

.friends-icon-wrapper:hover {
    background-color: var(--hover);
    cursor: pointer;
}

.friends-icon {
    color: var(--light);
    font-size: 13px;
}

/* firends-contents */
.friend-content {
    width: 100%;
    height: 60px;
}

.friend-content:hover {
    background-color: var(--hover);
    cursor: pointer;
}

.friend-image-wrapper {
    position: relative;
    width: 55px;
    height: 55px;
}

.friend-status {
    position: absolute;
    bottom: 0;
    right: 0;
    font-size: 12px;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.friend-status-online {
    background-color: #28a745;
    border: 2px solid var(--secondary);
}

.friend-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30%;
}

.friend-text {
    color: var(--light);
    font-size: 14px;
    font-weight: bold;
}

/* middle-section */
/* navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 66.66%; /* col-8 karşılığı (8/12) */
    z-index: 1000;
    background-color: var(--primary);
    padding-left: 2rem;
    padding-right: 2rem;
}

.left-icon-wrapper {
    width: 30px;
    height: 30px;
    background-color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    border: 1px solid var(--light);
}

.left-icon-wrapper:hover {
    background-color: var(--hover);
    cursor: pointer;
}

.nav-left-icon {
    color: var(--light);
    font-size: 13px;
    margin-right: 5px;
}

.input-icon {
    color: var(--black);
    font-size: 15px;
    margin-right: 10px;
    margin-left: 10px;
    opacity: 0.8;
}

.input-wrapper {
    width: 330px;
    height: 30px;
    background-color: var(--light);
    border: 2px solid var(--black);
    border-radius: 7px;
}

.navbar-input {
    width: 100%;
    height: 100%;
    font-size: 15px;
    letter-spacing: 1px;
    background-color: var(--light);
    border-radius: 0px 7px 7px 0px;
    border: none;
}

.nav-right-icon {
    color: var(--light);
    font-size: 14px;
}

@media (max-width: 576px) {
    .left-icon {
        font-size: 20px;
    }

    .navbar {
        padding-right: 16px !important;
        padding-left: 16px !important;
    }

    .nav-left-icon {
        font-size: 10px;
    }

    .nav-right-icon {
        font-size: 11px;
    }

    .links .left-icon-text,
    .friends-icon-wrapper {
        display: none;
    }

    .wish-list, .chart {
        padding: 6px !important;
    }

    .friend-content{
        padding-right: 8px !important;
        padding-left: 8px !important;
    }

    .friend-image-wrapper {
        width: 45px;
        height: 45px;
        margin-right: 0px !important;
    }

    .friends-icon-wrapper {
        width: 20px;
        height: 20px;
    }

    .friends-icon {
        font-size: 8px;
    }

    .download-image {
        width: 45px;
        height: 45px;
    }

    .downloaded-games .download-head {
        font-size: 11px;
    }

    .downloaded-games .download-text {
        font-size: 10px;
    }

    .profile-wrapper {
        width: 45px;
        height: 45px;
        margin: 5px;
    }

    .left-icon-wrapper {
        width: 25px !important;
        height: 25px !important;
    }

    .dot {
        width: 10px !important;
        height: 2px !important;
    }

    .populars-header {
        color: var(--light);
        font-size: 17px !important;
    }

    .friends-header {
        margin-left: 7px !important;
        margin-right: 7px !important;
    }
}

.wish-list, .chart {
    background-color: var(--primary);
    border-radius: 5px;
    border: 1px solid var(--light);
}

.wish-list:hover {
    background-color: var(--hover);
    cursor: pointer;
}

.chart {
    border: 1px solid var(--light-blue) !important;
}

.chart:hover {
    background-color: var(--hover);
    cursor: pointer;
}

/* most-populars */
.populars-header {
    color: var(--light);
    font-size: 20px;
}

.pagination-dots {
    gap: 5px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.slider-control-group:hover .pagination-dots {
    opacity: 1;
    visibility: visible;
}

.dot {
    width: 25px;
    height: 4px;
    background-color: var(--light);
    opacity: 0.4;
    transition: all 0.3s ease;
}

.dot-left {
    border-top-left-radius: 9px;
    border-bottom-left-radius: 9px;
}

.dot-right {
    border-top-right-radius: 9px;
    border-bottom-right-radius: 9px;
}

.dot.active {
    opacity: 1;
}

.most-populars-icon-wrapper {
    width: 37px;
    height: 37px;
}

.content {
    width: 200px;
    height: 450px;
}

.content-img-wrapper {
    width: 100%;
    height: 80%;
}

.content-img {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    object-fit: cover;
}

.content-text {
    color: var(--light);
    font-size: 15px;
    margin-top: 10px;
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price, .discount {
    color: var(--green);
    font-size: 15px;
}

.discount-text {
    color: var(--grey);
    font-size: 12px;
}

.content-icons {
    display: flex;
    align-items: center;
    position: relative;
}

.disappear, .not-disappear {
    border-radius: 7px;
    border: 2px solid var(--blue);
    position: absolute;
    width: 28px;
    height: 28px;
    background-color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
}

.disappear {
    display: none;
    bottom: 7px;
    right: 35px;
}

.not-disappear {
    bottom: 7px;
    right: 5px;
}

.content-icon {
    color: var(--light);
    font-size: 15px;
}

.content:hover .disappear {
    display: flex;
}

.content-img-wrapper {
    transition: transform 0.4s ease;
}

.content:hover .content-img-wrapper {
    transform: translateY(-10px);
}

.content-img-wrapper:hover {
    cursor: pointer;
}

.content-icon:hover {
    color: var(--grey);
    cursor: pointer;
}