body {
    margin: 0;
    line-height: inherit;
    color: #FFF;
    margin:0;
    font: normal 14px/20px "Trebuchet MS", sans-serif;
    background-color: #000;
}

a {
    text-decoration: none;
    color: #FFF;
    transition: color .5s;
}

a:hover {
    text-decoration: none;
}

.background {
    position: relative;
    top: -80px;
    left: 0;
    width: 100%;
    height: 600px;
    z-index: 1;
    transition: opacity 1.5s;
}

.community-title {
    position: relative;
    top: 50%;
    left: 40px;
    font-size: 60px;
    justify-content: center;
    z-index: 1;
    flex-direction: row;
}

[data-page="members"] .community-title, [data-page="games"] .community-title {
    display: none;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    max-height: 600px;
    opacity: 1;
    filter: grayscale(.5) brightness(.67) contrast(1.25);
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 0;
    -webkit-touch-callout: none;
    user-select: none;
    pointer-events: none;
    transition: opacity .5s;
    -webkit-mask-image: linear-gradient(0deg, transparent 0, #000 25vh);
    mask-image: linear-gradient(0deg, transparent 0, #000 25vh);
}

.footer {
    text-align: center;
    text-transform: uppercase;
    padding: 20px;
}

.footer img {
    width: 115px;
}

main {
    height:auto;
    min-height:100%;
    overflow-x: hidden;
}

.fa-user {
    padding: 20px 30px;
    color: #FFF;
}

div.header {
    font-size: 16px;
    line-height: 20px;
    text-align: left;
    position: sticky;
    background-color: rgba(26, 27, 31, .75);
    box-shadow: 0 0 10px rgb(3 3 3 / 50%);
    white-space: nowrap;
    box-sizing: border-box;
    height: 60px;
    justify-content: flex-start;
    align-items: center;
    display: flex;
    overflow-y: hidden;
    z-index: 9;
    width: 100%;
    top: 0;
}

div.header:after{
    display: block;
    clear: both;
    content: "";
    height: 0;
    overflow: hidden;
}

.logo {
    border-bottom: none;
}

.logo:hover {
    border-bottom: none;
}

.nav-logo {
    width: 75px;
    height: 75px;
}

nav#main-nav {
    font-size: 16px;
    line-height: 20px;
    text-align: left;
    white-space: nowrap;
    box-sizing: border-box;
    z-index: 4;
    margin: 0 auto;
}

body::-webkit-scrollbar {
    width: 20px;
}
::-webkit-scrollbar {
    overflow-y: scroll;
    background: transparent;
    width: 10px;
}
::-webkit-scrollbar-corner {
    background: #1a1e23;
}
::-webkit-scrollbar-thumb {
    background-color: #32a852;
    border: 1px solid #15181c;
    min-height: 120px;
}
::-webkit-scrollbar-track-piece {
    background-color: #1a1e23;
    border-left: 1px solid #15181c;
}

#user-menu {
    position: absolute;
    right: 0;
    cursor: pointer;
    display: inline;
    padding: 0;
    line-height: 0;
    border: 0;
    outline: none;
}

#user-menu p {
    margin-right: 20px;
}

#user-menu img {
    transition: all .5s;
    border: 3px solid white;
}

#user-menu img:hover {
    box-shadow: 0 0 0 1px #32a852, 0 0 10px 0 #32a852;
    border: 3px solid #32a852;
    transition: all .5s;
}

nav a {
    display: inline-block;
    position: relative;
    padding: 20px 30px;
    font: bold normal normal 12px/20px sans-serif;
    text-transform: uppercase;
    letter-spacing: .5px;
    color: #e9e9e9;
    outline: none;
    cursor: pointer;
    transition: color .5s, background .5s;
    margin-left: -4px;
}

nav a:hover:not(.mobile-nav):not(.logo) {
    border-bottom: 1px solid #32a852;
}

a:visited {
    color: #FFF;
}

a:hover, a.active, .members .member {
    color: #32a852;
}

a.active {
    color: #FFF;
    background-image: linear-gradient(153deg, #32a852, #005718);
    border-right: 1px solid #32a852;
    border-left: 1px solid #32a852;
}

.sanctum-green {
    color: #32a852 !important;
}

.members .member:hover {
    box-shadow: 0 0 0 1px #32a852, 0 0 10px 0 #32a852;
    z-index: 2;
}

.members .member:hover img {
    transform: scale(1.2);
}

#games .games {
    display: grid;
    grid-template-columns: repeat(4,calc(25% - 8px));
    grid-column-gap: 10px;
    grid-row-gap: 10px;
}

#games .games a .game {
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
    background-color: #272a30;
    border-radius: 3px;
    box-sizing: border-box;
    overflow: hidden;
}

#games .games a .game .game-post {
    background-color: #272a30;
}

#games .games a .game .game-post h3 {
    text-transform: uppercase;
}

#games .games a .game:first-of-type {
    grid-column: 1 / 3;
    min-height: 350px;
}

#games .games a .game .game-image {
    background-color: black;
    height: 250px;
    overflow: hidden;
}

#games .games a .game .game-image:hover img {
    transform: scale(1.15);
}

#games .games a .game .game-image img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    object-fit: cover;
    z-index: 0;
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    transition: transform .25s, opacity 1s;
    opacity: .8;
}

#news .articles {
    display: grid;
    grid-template-columns: repeat(4,calc(25% - 8px));
    grid-column-gap: 10px;
    grid-row-gap: 10px;
}

#news .articles article {
    display: flex;
    flex-direction: column;
    position: relative;
    height: 100%;
    background-color: #272a30;
    border-radius: 3px;
    box-sizing: border-box;
    overflow: hidden;
}

#news .articles article .post {
    background-color: #272a30;
}

#news .articles article .post h3 {
    text-transform: uppercase;
}

#news .articles article:first-of-type {
    grid-column: 1 / 3;
    min-height: 350px;
}

@media (max-width: 900px) {

    #news .articles {
        grid-template-columns: repeat(1, calc(100% - 8px));
    }

    #news .articles article:first-of-type {
        grid-column: 1 / 3;
        min-height: 350px;
    }
}

@media (max-width: 700px) {

    #news .articles {
        grid-template-columns: repeat(1, calc(100% - 8px));
    }

    #news .articles article:first-of-type {
        grid-column: 1;
        min-height: 350px;
    }
}

@media (max-width: 500px) {

    #news .articles {
        grid-template-columns: repeat(1, calc(100% - 8px));
    }

    #news .articles article:first-of-type {
        grid-column: 1;
        min-height: 350px;
    }
}

@media (max-width: 350px) {

    #news .articles {
        grid-template-columns: repeat(1, calc(100% - 8px));
    }

    #news .articles article:first-of-type {
        grid-column: 1;
        min-height: 350px;
    }
}

#news .articles article:hover, #games .games a .game:hover {
    transition: box-shadow .5s;
}

#news .articles article:hover, #games .games a .game:hover {
    box-shadow: 0 0 0 1px #32a852, 0 0 10px 0 #32a852;
}

#news .articles article .article-image {
    background-color: black;
    max-height: 250px;
    overflow: hidden;
}

#news .articles article .article-video {
    background-color: black;
    height: fit-content;
    overflow: hidden;
}

#news .articles article .article-image:hover img {
    transform: scale(1.15);
}

#news .articles article .article-image img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    object-fit: cover;
    z-index: 0;
    border-bottom-right-radius: 0 !important;
    border-bottom-left-radius: 0 !important;
    transition: transform .25s, opacity 1s;
    opacity: .8;
}

#members, #user-profile, #news, #games, #media, #game-profile {
    z-index: 2;
    position: relative;
    background-color: rgba(34, 32, 32, 1);
    padding: 1.5rem;
}

#user-profile {
    background-color: transparent;
    top: -600px;
}

#news {
    margin: 0 auto;
    padding: 1.5rem;
    max-width: 100vw;
    margin-top: 1.5rem;
}

.members {
    display: grid;
    grid-template-columns: repeat(10,minmax(0, 1fr));
    grid-gap: 10px;
    grid-auto-flow: dense;
    position: relative;
    margin: 20px;
    text-align: center;
}

input, select, option, textarea {
    color: #000;
}

.post-count {
    position: absolute;
    top: 5px;
    left: 10px;
    z-index: 2;
}

.post-count::after {
    content: '';
    background-color:#1a1b1f;
}

.post-information {
    text-transform: uppercase;
}

.members .member {
    display: flex;
    position: relative;
    width: 100%;
    height: 100%;
    image-rendering: -webkit-optimize-contrast;
    background-color: rgba(19, 20, 22, 0.9);
    border-radius: 3px;
    overflow: hidden;
    transition: none;
    cursor: pointer;
    transition: color .5s, background .5s, box-shadow .5s;
    justify-content: center;
}

.members .member img {
    max-width: unset;
    opacity: 1;
    -webkit-mask-image: linear-gradient(0deg,rgba(0,0,0,.05) 15%,#000 75%);
    mask-image: linear-gradient(0deg,rgba(0,0,0,.05) 15%,#000 75%);
    transition: transform .25s,opacity 1s;
}

.members .member .name {
    display: block;
    position: absolute;
    font-size: 14px;
    text-transform: uppercase;
    bottom: 0;
    width: 100%;
    padding: 15px 0;
    color: #e9e9e9;
    line-height: 14px;
    text-align: center;
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    box-sizing: border-box;
    white-space: nowrap;
    z-index: 1;
    transition: color .5s, background .5s;
}

.members .member:hover .name {
    color: #32a852;
}

.user-menu-popout {
    display: none;
}

.hide {
    display: none;
}

.user-menu-popout.show {
    display: flex;
    background-color: #272a30;
    color: #e9e9e9;
    position: absolute;
    right: 0;
    padding: 20px 30px;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: .5px;
    outline: none;
    transition: color .5s, background .5s;
    flex-direction: column;
    width: 300px;
    z-index: 8;
}

.sign-in-button {
    all: unset;
}

.rounded-full {
    border-radius: 9999px;
}

#mobile-main-nav, .mobile-nav, .fa-xmark {
    display: none;
}

@media (max-width: 1900px) {
    .members {
        grid-template-columns: repeat(8,minmax(0, 1fr));
    }
}

@media (max-width: 1700px) {
    .members {
        grid-template-columns: repeat(7,minmax(0, 1fr));
    }
}

@media (max-width: 1500px) {
    .members {
        grid-template-columns: repeat(5,minmax(0, 1fr));
    }
}

@media (max-width: 1000px) {
    .members {
        grid-template-columns: repeat(4,minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .members {
        grid-template-columns: repeat(3,minmax(0, 1fr));
    }
 
    nav a {
        display: none;
    }

    .mobile-nav {
        display: flex;
    }

    .fa-bars {
        transition: display 1.5s ease;
    }

    .fa-xmark.show {
        display:block;
        transition: display 1.5s ease;
    }

    #mobile-main-nav.show {
        z-index: 2;
        height: 100vh;
        position: relative;
    }

    #mobile-main-nav, #mobile-main-nav.show a {
        display: block;
        background-color: #272a30;
    }

    #mobile-main-nav.show a:last-of-type {
        border-bottom: 1px solid #32a852;
    }

    #mobile-main-nav.show a:last-of-type:after {
        content: '';
        display: block;
        width:80%;
        background: linear-gradient(blue, pink);
    }

    #mobile-main-nav.show a:hover {
        background-color: #1a1b1f;
        border-bottom: 1px solid #32a852;
    }

    #mobile-main-nav.show a.active {
        border-bottom: 1px solid #32a852;
    }
}

@media (max-width: 700px) {
    .members {
        grid-template-columns: repeat(3,1fr);
    }
}

@media (max-width: 500px) {
    .members {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 350px) {
    .members {
        grid-template-columns: repeat(1,1fr);
    }
}

input[type='submit'] {
    padding: 5px 20px;
    background-color: #32a852;
    border-radius: 5px;
    cursor: pointer;
}

.slick-track {
    display: flex;
}

.slick-track .slick-slide {
    display: flex;
    height: auto;
    align-items: center;
    justify-content: center;
}

/* #avatarSlider .avatar {
    height: 370px;
    transform: scale(.80);
} */

.disabled-avatar {
    opacity: .5;
}

#avatarSlider .avatar {
    transition: opacity .5s;
}

.slick-center img {
    box-shadow: 0 0 0 1px #32a852, 0 0 10px 0 #32a852;
    transition: all .5s;
}

.slick-dots li button:before {
    opacity: 1.25;
    color: #FFF;
}

.slick-dots li.slick-active button:before {
    opacity: 1.25;
    color: #32a852;
}

.slick-list {
    padding: 20px 0px !important;
}

.login-option {
    margin: 10px 0;
    border: 1px solid;
    padding: 10px;
}

.battle-net-btn {
    border-color: #2980b9;
}

.login-btn {
    border-color: #32a852;
}

button.login:focus {
    outline: none;
}

.login-btn:hover {
    background-color: #32a852;
    border-color: #FFF;
}

.login-btn:hover .sanctum-green {
    color: #FFF;
}

.battle-net-color {
    color: #2980b9;
}

.battle-net-btn:hover {
    background-color: #2980b9;
    border-color: #FFF;
}

.battle-net-btn:hover .battle-net-color {
    color: #FFF;
}

.discord-btn {
    border-color: rgb(114 137 218 / 1);
}

.discord-color {
    color: rgb(114 137 218 / 1);
}

.discord-btn:hover {
    background-color: rgb(114 137 218 / 1);
    border-color: #FFF;
}

.discord-btn:hover .discord-color{
    color: #FFF;
}

/* headlines with lines */
.decorated{
    overflow: hidden;
    text-align: center;
}
.decorated > span{
   position: relative;
   display: inline-block;
}
.decorated > span:before, .decorated > span:after{
   content: '';
   position: absolute;
   top: 50%;
   border-bottom: 2px solid;
   width: 100vw;
   margin: 0 20px;
}
.decorated > span:before{
   right: 100%;
}
.decorated > span:after{
   left: 100%;
}

#alert {
    display: none;
    color: #FFF;
}

#alert.show {
    display: flex;
    position: fixed;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1.5em;
    z-index: 7;
    user-select: none;
    background-color: rgba(26,35,29,.9);
    top: 0;
}

.sanctum-modal {
    background-color: #2e3136;
    padding: 10px 20px 20px;
    max-width: 600px;
    text-align: center;
    color: #e9e9e9;
    background-color: #2e3136;
    border-radius: 3px;
    outline: none;
    box-shadow: inset 1px 1px 0 0 hsla(0,0%,91%,.1), 0 0 5px rgba(3,3,3,.25);
    width: calc(100% - 40px);
    position: relative;
}

.close-modal {
    display: flex;
    padding: 20px;
    z-index: 1;
    cursor: pointer;
    top: 0;
    right: 0;
    position: absolute;
}

.close-modal::before {
    display: inline-block;
    font: normal normal normal 24px/1 mdifa;
    font-size: 20px;
    font-weight: 700;
    pointer-events: none;
    content: "X";
}

.profile-container {
    transition: color .5s, background .5s, box-shadow .5s;
    margin: 0 1.5rem;
}

.profile-achievements {
    display: block;
    position: relative;
    margin: 0 0 20px;
    font: normal normal normal 22px / 1 sans-serif;
    font-size: 22px;
    text-transform: uppercase;
}

.profile-container-purple {
    background-color: rgba(51, 46, 54, 0.75);
}

.profile-container-purple:hover {
    background-image: linear-gradient(180deg, rgba(140, 55, 220, 0.05) 0, rgba(146, 55, 220, 0) 250px);
    box-shadow: inset 0 0 0 1px rgba(160, 55, 220, 0.5);
}

.profile-user-avatar {
    box-shadow: 0 0 0 1px #32a852, 0 0 10px 0 #32a852;
}

.profile-user-avatar-purple {
    box-shadow: 0 0 0 1px #8005e4, 0 0 10px 0 #8005e4 !important;
}

.sg-shell{ max-width: 1100px; margin: 0 auto; padding: 18px; }
.sg-card{ background: rgba(10,16,20,0.45); border: 1px solid rgba(255,255,255,0.10); border-radius: 18px; padding: 18px; box-shadow: 0 0 0 1px rgba(16,223,139,0.10), 0 24px 60px rgba(0,0,0,0.55); }
.sg-head{ margin-bottom: 16px; }
.sg-kicker{ color: rgba(255,255,255,0.55); font-weight: 800; font-size: 11px; letter-spacing: 1.2px; }
.sg-title{ color: rgba(255,255,255,0.95); margin: 6px 0 0; }
.sg-sub{ color: rgba(255,255,255,0.65); margin-top: 6px; }
.sg-section{ margin: 18px 0 10px; color: rgba(255,255,255,0.82); font-size: 12px; letter-spacing: 1px; }
.sg-grid{ display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; }
@media (max-width: 980px){ .sg-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px){ .sg-grid{ grid-template-columns: 1fr; } }

.sg-ach{ border-radius: 16px; padding: 14px; border: 1px solid rgba(255,255,255,0.10); background: rgba(10,16,20,0.55); }
.sg-ach.is-earned{ box-shadow: 0 0 0 1px rgba(16,223,139,0.16); }
.sg-ach.is-locked{ opacity: 0.72; filter: grayscale(0.35); }

.sg-ach-top{ display:flex; justify-content:space-between; gap:10px; align-items:flex-start; }
.sg-ach-name{ font-weight: 900; color: rgba(255,255,255,0.92); }
.sg-ach-pill{ font-size: 10px; font-weight: 900; letter-spacing: 1px; padding: 4px 8px; border-radius: 999px; border: 1px solid rgba(255,255,255,0.10); color: rgba(255,255,255,0.70); }
.sg-ach-desc{ margin-top: 8px; color: rgba(255,255,255,0.70); font-size: 12px; line-height: 1.35; }
.sg-ach-meta{ margin-top: 10px; display:flex; justify-content:space-between; color: rgba(255,255,255,0.55); font-size: 11px; }

.rarity-common{ }
/* ===== Achievement Rarity Glow (BOOSTED) ===== */

.rarity-common {
    box-shadow:
      0 0 0 1px rgba(255,255,255,0.10),
      0 10px 30px rgba(0,0,0,0.6);
  }
  
  .rarity-rare {
    box-shadow:
      0 0 0 1px rgba(90,160,255,0.45),
      0 0 18px rgba(90,160,255,0.45),
      0 14px 40px rgba(0,0,0,0.65);
  }
  
  .rarity-epic {
    box-shadow:
      0 0 0 1px rgba(185,90,255,0.55),
      0 0 22px rgba(185,90,255,0.55),
      0 0 40px rgba(185,90,255,0.35),
      0 18px 48px rgba(0,0,0,0.7);
  }
  
  .rarity-legendary {
    box-shadow:
      0 0 0 1px rgba(255,185,70,0.65),
      0 0 26px rgba(255,185,70,0.65),
      0 0 55px rgba(255,185,70,0.45),
      0 22px 60px rgba(0,0,0,0.75);
  }  