/* GENERAL */

#loginSection,
#loginRightSide {
    background: oklch(var(--n)) url("../assets/background/DA_SOC_922x1879.jpg") no-repeat center center;
    background-size: cover;
    background-position: 50% 100%; /* Updated with the CH3 key art to align with the bottom of the image */
}

@media (min-width:320px) {/* smartphones, iPhone, portrait 480x320 phones */
    #loginSection {
        background-position: 50% 75%;  /* Updated with the CH3 key art to align with the bottom of the image */
    }
}

@media (min-width:481px) {/* portrait e-readers (Nook/Kindle), smaller tablets @ 600 or @ 640 wide. */
    #loginSection {
        background-position: 50% 36%;
    }
}

@media (min-width:641px) {/* portrait tablets, portrait iPad, landscape e-readers, landscape 800x480 or 854x480 phones */
    #loginSection {
        background-position: 50% 40%;
    }
}

@media (max-width: 768px) {
    #dashboardSectionContents, #loginSection, #dashboardSectionContents > *:not(aside #drawer-navigation), #loginSection > * {
        position: relative;
    }

    #dashboardSectionContents::after,
    #loginSection::after {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: oklch(var(--b1));
        opacity: 0.45;
        z-index: 1;
    }

    #dashboardSectionContents > *:not(aside #drawer-navigation),
    #loginSection > * {
        z-index: 30;
    }
    
    /* #drawer-navigation {
        z-index: 50;
    } */

    aside #drawer-navigation {
        z-index: 40;
    }
}

#loginRightSide {
    background-color: oklch(var(--b1));
}

#dashboardSectionContents {
    background: oklch(var(--b1)) url("https://awakening-cdn.dunegames.com/uploads/img/60prc/combinedarms-foreground-e71f94.png") no-repeat center center;
    background-size: 118%;
    background-position: 50% 100%;
}
@media (min-width: 768px) {
    #loginSection,
    #dashboardSectionContents {
        background-image: none;
    }
}
@media (max-width: 767px) {
    #loginRightSide {
        background: none;
    }
}

#welcomeToDuneAwakening img {
  margin-left: -50px;
  margin-top: 0.75rem;
  margin-bottom: 0.75rem;
  content: url("https://awakening-cdn.dunegames.com/uploads/img/65prc/dune-awakening-logo-4cb27b.png");
}

#welcomeToDuneAwakening h2 {
  /* text-left text-xl text-primary mb-1 tracking-wide */
  text-align: left;
  font-size: 1.25rem;
  line-height: 1.75rem;
  color: oklch(var(--p));
  letter-spacing: 0.025em;
}

/* SOCIAL ICONS */
[class^="button"][class*="-social"] {
    position: relative;
    margin-bottom: 0;
    background-color: transparent;
}

[class^="button"][class*="-social"] .sides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

[class^="button"][class*="-social"] .sides:before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    width: 60%;
    height: 60%;
    border-top: 1px solid oklch(var(--p));
    border-left: 1px solid oklch(var(--p));
    transform-origin: left top;
    transform: translate(0, 0) rotate(-45deg);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

[class^="button"][class*="-social"] .sides:after {
    content: "";
    position: absolute;
    top: 50%;
    right: 0;
    width: 60%;
    height: 60%;
    border-top: 1px solid oklch(var(--p));
    border-right: 1px solid oklch(var(--p));
    transform-origin: right top;
    transform: translate(0, 0) rotate(45deg);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

[class^="button"][class*="-social"] .background {
    stroke: oklch(var(--p));
    fill: transparent;
    transition: stroke 0.3s ease, fill 0.3s ease;
}

[class^="button"][class*="-social"] + [class^="button"][class*="-social"] {
    margin-left: 10px;
}

[class^="button"][class*="-social"] + [class^="button"][class*="-social"]:before {
    content: "";
    position: absolute;
    top: 50%;
    right: calc(100% - 1px);
    width: 12px;
    height: 1px;
    background: #c1995b;
    transform: translate(0, -50%);
}

[class^="button"][class*="-social"] .social-icon {
    position: absolute;
    transform: translate(10px, -15px);
    color: oklch(var(--p));
}

[class^="button"][class*="-social"] svg {
    will-change: transform;
    transition: transform 0.3s ease;
}

[class^="button"][class*="-social"]:hover {
    z-index: 2;
}

[class^="button"][class*="-social"]:hover .background {
    fill: oklch(var(--secondary-hover));
}

[class^="button"][class*="-social"]:hover .sides:before {
    opacity: 1;
    transform: translate(-6px, 0) rotate(-45deg);
}

[class^="button"][class*="-social"]:hover .sides:after {
    opacity: 1;
    transform: translate(6px, 0) rotate(45deg);
}
.social-col {
    display: inline;
}

@media (min-width: 992px) {
    .social-col .wrapper {
        position: relative;
        display: flex;
        justify-content: center;
        align-items: center;
        row-gap: 20px;
    }

    .social-col .wrapper:before,
    .social-col .wrapper:after {
        content: "";
        position: unset;
        top: 50%;
        transform: translate(0, -50%);
        width: 50px;
        height: 1px;
        background-color: oklch(var(--p));
    }

    .social-col .wrapper:before {
        background: linear-gradient(to left, #f4cf8b, transparent);
        right: 100%;
    }

    .social-col .wrapper:after {
        background: linear-gradient(to right, #f4cf8b, transparent);
        left: 100%;
    }

    .social-col .steam-button::before {
        right: calc(var(--height) * 0.49 + 100%);
    }

    .social-col .steam-button::after {
        left: calc(var(--height) * 0.49 + 100%);
    }
}

@media (max-width: 991.98px) {
    .social-col .wrapper {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px 0;
    }

    .social-col .wrapper .mobile-break {
        flex: 0 0 100%;
    }

    .social-col .wrapper .steam-button:before,
    .social-col .wrapper .steam-button:after {
        width: 50px;
        height: 1px;
    }

    .social-col .wrapper .steam-button:before {
        background: linear-gradient(to left, #f4cf8b, transparent);
        right: calc(var(--height) * 0.49 + 100%);
    }

    .social-col .wrapper .steam-button:after {
        background: linear-gradient(to right, #f4cf8b, transparent);
        left: calc(var(--height) * 0.49 + 100%);
    }
}

@media (max-width: 1199.98px) {
    .traditional-menu .menu .social-menu {
        order: 3;
        width: 100%;
        display: flex;
        justify-content: center;
        background-color: #332819;
        margin: auto 0 0 0;
        padding: 15px 0;
    }

    .traditional-menu .menu .social-menu .social-link {
        margin-bottom: 0;
    }
}

/* FOOTER */
.footer {
    padding: 0;
    line-height: 1;
}

.footer .partners {
    display: flex;
    gap: 60px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 12px;
}

.footer .legal {
    font-size: 10px;
    line-height: 12px;
    text-align: center;
    letter-spacing: 0.05em;
    color: #c1995b;
    margin-top: 10px;
    margin-bottom: 10px;
}

.footer .links {
    text-align: center;
}

.footer .links a {
    font-weight: 500;
    font-size: 10px;
    line-height: 12px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #bb8d55;
    text-decoration: none;
    margin-inline: 0.75em;
}

.footer .links a:hover {
    color: #f4cf8b;
}

.partners a.partner img {
    width: auto;
    height: 35px;
}

/* SOCIAL ICONS */
#social-icons {
    height: 28px;
}

#social-icons a {
    margin: 0 10px;
}

#social-icons a:hover {
    margin-top: 5px;
    font-weight: normal;
    transition: margin-top 0.2s ease-in-out;
}

/* DECORATORS */
.menu-burger-wrapper {
    padding-right: 10px;
}

.menu-burger-wrapper .mobile-decoration {
    position: relative;
    display: flex;
    align-items: center;
}

.menu-burger-wrapper .mobile-decoration .menu-button {
    transform: scale(0.6);
}

.menu-burger-wrapper .mobile-decoration .frame {
    width: 32px;
    height: 32px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    border: 1px solid #f4cf8b;
}

.menu-burger-wrapper .mobile-decoration:hover .frame {
    background-color: #463e31;
    transition: background-color 1s ease-in-out;
}

.menu-burger-wrapper .mobile-decoration:before,
.menu-burger-wrapper .mobile-decoration:after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
    width: 50px;
    height: 1px;
    background-color: #f4cf8b;
}

.menu-burger-wrapper .mobile-decoration:before {
    background: linear-gradient(to left, #f4cf8b, transparent);
    right: calc(2px + 100%);
}

.menu-burger-wrapper .mobile-decoration:after {
    background: #f4cf8b;
    left: calc(3px + 100%);
}
.menu-link {
    height: 55px;
}

.menu-link .hover-svg {
    opacity: 0;
    margin-top: 30px;
    transform: translate(-100%, -50%) rotate(-90deg);
    transition: transform 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86), opacity 0.3s cubic-bezier(0.785, 0.135, 0.15, 0.86);
}

.active.menu-link .hover-svg,
.menu-link:hover .hover-svg,
.menu-link:focus .hover-svg {
    opacity: 1;
    transform: translate(-10px, -50%) rotate(-90deg);
}

/* SCROLLBAR */
::-webkit-scrollbar {
    position: fixed;
    top: 0;
    right: 0;
    width: var(--scrollbar-width, 4px);
    height: 100vh;
    background: #443521;
    z-index: 100;
    transform: scale(1, 1);
    transition: transform 0.3s ease;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
}

::-webkit-scrollbar:horizontal {
    width: 100vh;
    height: var(--scrollbar-width, 4px);
}

::-webkit-scrollbar-thumb {
    width: 100%;
    height: var(--thumb-size);
    background: #f4cf8b;
    cursor: grab;
}

::-webkit-scrollbar-thumb:horizontal {
    width: var(--thumb-size);
    height: 100%;
}

/* EFFECTS */

a:hover {
    transition: background 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
}