/* =========================
   GLOBAL STYLE
========================= */

body{
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: #e6e6e6;
    font-family: Tahoma, Arial;
}

/* =========================
   HOME PAGE
========================= */

.topicHeader{
    padding: 12px;
    margin-bottom: 8px;
    text-align: center;
    background: rgba(10,15,35,0.9);
    border-bottom: 1px solid rgba(212,175,55,0.35);
    color: #D4AF37;
    border-radius: 12px 12px 0 0;
    font-weight: bold;
}

.ranking{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tab,
.data,
.top-data,
.bottom-data,
.rankTabs{
    background: rgba(12,18,40,0.88);
    border-radius: 14px;
    box-shadow: 0 0 30px rgba(0,0,0,0.75);
    padding: 15px;
    margin-bottom: 15px;
    backdrop-filter: blur(6px);
}

.tab{
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.ranking .tab .head{
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ranking .tab .head .rankTitle{
    line-height: 2;
    color: #FFD27D;
}

/* =========================
   BUTTONS
========================= */

.button-small,
.button-medium,
input.login-btn,
.dowloadlink{
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
    color: #fff;
    text-decoration: none;
    text-align: center;
    justify-content: center;
    background: url("../images/button.png") no-repeat;
    border: none;
}

.button-small{
    height: 40px;
    width: 150px;
    background-size: 150px 40px;
}

.button-medium,
input.login-btn,
.dowloadlink{
    height: 60px;
    width: 220px;
    background-size: 220px 60px;
    left: 50%;
    transform: translate(-50%, 0);
}

.button-small:hover,
.button-medium:hover,
input.login-btn:hover,
.dowloadlink:hover{
    filter: brightness(1.15);
    transform: scale(1.03) translate(-50%,0);
}

/* =========================
   TABLES
========================= */

table#topPlayer,
table#topGuilds{
    width: 333px;
    overflow: auto;
}

table tr td{
    min-width: 40px;
    text-align: center;
    padding: 6px;
}

table tr:nth-child(even){
    background-color: rgba(40,38,61,0.85);
}

table tr:nth-child(odd){
    background-color: rgba(28,26,51,0.85);
}

table tr th{
    background-color: rgba(0,34,102,0.9);
    height: 40px;
    min-width: 40px;
    padding: 6px;
    color: #FFD27D;
}

table tr td img{
    width: 45px;
}

table.active{
    display: block;
}

/* =========================
   RANK TABS
========================= */

.ranktab{
    cursor: pointer;
    user-select: none;
    padding: 10px 15px;
    margin: 8px 0;
    font-size: 14px;
    border-radius: 50px;
}

.ranktab.checked{
    background: linear-gradient(180deg,#2e5cff,#1b2d6b);
    box-shadow: 0 0 12px rgba(212,175,55,0.5);
    color: #FFD27D;
}

/* =========================
   FORMS
========================= */

form{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

form .databox{
    display: flex;
    justify-content: space-between;
    width: 60%;
    align-items: center;
    padding: 10px;
}

form .databox input{
    height: 35px;
    width: 215px;
    border-radius: 50px;
    padding: 10px;
    color: #ffffff;
    background: rgba(2,8,19,0.9);
    border: 1px solid rgba(212,175,55,0.25);
    box-shadow: 0 0 15px rgba(6,41,124,0.7);
}

/* =========================
   ACCOUNT PAGE
========================= */

.data{
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
    width: 100%;
    margin: 30px 0;
}

.data .info{
    display: flex;
    justify-content: space-between;
    width: 50%;
    padding: 10px 24px;
    user-select: none;
    cursor: copy;
    border-radius: 50px;
}

.data .info:hover{
    background: linear-gradient(90deg,#2a55bb,#1c2f6e);
    box-shadow: 0 0 20px rgba(42,85,187,0.9);
    font-size: 18px;
}

/* =========================
   ERRORS
========================= */

.error{
    display: flex;
    flex-direction: column;
    align-items: center;
    color: #ff6b6b;
    background: rgba(30,5,5,0.85);
    padding: 10px;
    border-radius: 10px;
}

/* =========================
   HIDDEN
========================= */

.hunter,.ko,.mates,.nobility{
    display: none;
}

/* =========================
   RESPONSIVE
========================= */

@media screen and (max-width: 768px){
    .ranking{
        display: block;
    }
    .tab{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .ranking .tab .head{
        gap: 20px;
        flex-direction: column;
    }
    form .databox{
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    .data .info{
        width: 100%;
    }
    .downloadbox{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .dowloadlink{
        left: 0;
        transform: none;
    }
}
/*Download Page*/
.dowloadlink{
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 14px;
    text-transform: none;
    height: 60px;
    width: 220px;
    line-height: 57px;
    color: #fff;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    justify-content: center;
    background: url("../images/button.png") no-repeat;
    background-size: 220px 60px;
    z-index: 1;
    border: none;
    left: 50%;
    transform: translate(-50%, 0);
