* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family:'Roboto', sans-serif;
    color: #fff;
    hyphens: auto;
    overflow-wrap: break-word;
    word-wrap: break-word;
}

:root {
    --bg: rgba(0, 0, 0, 0.35);
    --blur: 10px; 
    --border: rgba(255, 255, 255, 0.1);
    --custom: rgba(236, 154, 78);
    --white: rgba(235, 235, 235);
    --red: rgb(214, 93, 93);
}

html, body {
    position: relative;
    display: flow-root;
    min-height: 100vh;
    overflow-x: hidden;
    background: rgba(15,15,15);
    z-index: -2;
}

.loader-overlay {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgb(15, 15, 15);
    z-index: 9999;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border);
    border-top: 4px solid var(--custom);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loader-overlay p {
    color: var(--white);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-overlay.hidden {
    opacity: 0;
    transition: opacity 0.5s ease-out;
    pointer-events: none;
}

.skip-btn {
    margin-top: 20px;
    padding: 10px 20px;
    color: rgba(255,255,255,0.5);
    background: rgba(0,0,0,0);
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    transition: scale 0.3s ease;
}

.skip-btn:hover {
    scale: 1.1;
}

.background-video {
    display: block;
    position: fixed;
    top: 50%;
    left: 50%;
    min-width: 101%;
    min-height: 100vh;
    object-fit: cover;
    transform: translate(-50%, -50%);
    z-index: -1;
}

/* -------------------- NOTIFICATION */
.notification {
    position: fixed;
    min-width: 200px;
    text-align: center;
    top: 50px;
    left: 50%;
    padding: 15px 30px;
    transform: translateX(-50%);
    background: rgb(15, 15, 15);
    box-shadow: 0 0 20px 10px rgba(0,0,0,0.4);
    border: 1px solid var(--border);
    border-radius: 15px;
    opacity: 0;
    cursor: pointer;
    pointer-events: none;
    user-select: none;
    visibility: hidden;
    transition: opacity 1s ease, visibility 1s ease;
    z-index: 10;
}

@media (max-width: 960px) {
    .notification {
        top: 20px;
        border-radius: 0;
        border: 0 solid var(--border);
        width: 100%;
    }
}

.notification.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.3s ease, visibility 0s;
}

.notification.hidden {
    transform: translateX(-50%) translateY(-20px);
}

.notification-text {
    display: flex;
    color: var(--white);
}

/* -------------------- HEADER */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 1200px;
    margin: 15px auto 0 auto;
    padding: 15px 15px;
    height: auto;
    background: var(--bg);
    box-shadow: 0 0 10px 5px rgba(0,0,0,0.2);
    backdrop-filter: blur(var(--blur));
    border: 1px solid var(--border);
    border-radius: 15px;
}

@media (max-width: 960px) {
    .header {
        width: 95%;
    }
}

.header a {
    text-decoration: none;
}

.header .icon {
    display: flex;
    align-items: center;
    user-select: none;
}

.header .icon span {
    margin-left: 10px;
    font-weight: 500;
    font-size: 20px;
}

.btns {
    display: flex;
    align-items: center;
    gap: 15px;
    user-select: none;
}

.btns a.active {
    color: var(--custom);
    font-weight: 500;
}

.btns a.active:hover {
    cursor: not-allowed;
}

.btns a {
    text-decoration: none;
    opacity: 0.9;
    font-size: 15px;
    transition: all 0.3s ease;
}

.btns a:hover {
    opacity: 0.7;
}

.btns .line {
    height: 20px;
    width: 1px;
    background: var(--border);
}

.header .dropdown {
    display: none;
    position: relative;
    width: 32px;
    height: 32px;
    flex-shrink: 0;
    z-index: 2;
}

.header .dropdown .dropdown-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    padding: 0;
    border: none;
    outline: none;
    box-shadow: none;
    background: transparent;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
}

.header .dropdown .bars {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    width: 100%;
    height: 100%;
    gap: 7px;
}

.header .dropdown .bars .bar {
    display: block;
    width: 100%;
    height: 3px;
    background: var(--custom);
    border-radius: 90px;
    transition: width 0.3s ease, transform 0.3s ease, opacity 0.2s ease;
    transform-origin: center;
}

.header .dropdown .bars #one {
    width: 100%;
}

.header .dropdown .bars #two {
    width: 50%;
}

.header .dropdown .bars #three {
    width: 75%;
}

@media (min-width: 641px) {
    .header .dropdown:hover .bars #one {
        width: 75%;
    }

    .header .dropdown:hover .bars #two {
        width: 100%;
    }

    .header .dropdown:hover .bars #three {
        width: 50%;
    }
}

@media (max-width: 640px) {
    .header {
        display: grid;
        grid-template-columns: 1fr auto;
        grid-template-rows: auto auto;
        align-items: center;
        width: 95%;
        height: auto;
        min-height: 0;
        box-sizing: border-box;
    }

    .header .icon {
        grid-column: 1;
        grid-row: 1;
    }

    .header .dropdown {
        display: block;
        grid-column: 2;
        grid-row: 1;
    }

    .header .btns {
        grid-column: 1 / -1;
        grid-row: 2;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 5px;
        width: 100%;
        max-height: 0;
        margin: 0;
        padding: 0;
        overflow: hidden;
        opacity: 0;
        box-sizing: border-box;
        background: transparent;
        border: none;
        box-shadow: none;
        transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
    }

    .header.mobile-menu-open .btns {
        max-height: 200px;
        padding-top: 25px;
        opacity: 1;
    }

    .header .btns a {
        display: block;
        width: fit-content;
        padding: 10px 20px;
        text-align: center;
        text-decoration: none;
        background: transparent;
        border: none;
        box-shadow: none;
        font-size: 18px;
        -webkit-tap-highlight-color: transparent;
    }

    .header .btns .line {
        display: block;
        width: 60%;
        height: 1px;
        background: var(--gray);
    }

    .header .dropdown .dropdown-btn,
    .header .dropdown .dropdown-btn:hover,
    .header .dropdown .dropdown-btn:focus,
    .header .dropdown .dropdown-btn:active {
        background: transparent !important;
        background-color: transparent !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }

    .header .dropdown.open .bars #one {
        width: 100%;
        transform: translateY(10px) rotate(45deg);
    }

    .header .dropdown.open .bars #two {
        opacity: 0;
        transform: scaleX(0);
    }

    .header .dropdown.open .bars #three {
        width: 100%;
        transform: translateY(-10px) rotate(-45deg);
    }
}

/* -------------------- WELCOME */
.welcome {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
    width: 920px;
    margin: 0 auto;
    padding: 150px 0;
}

@media (max-width: 960px) {
    .welcome {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        text-align: center;
        gap: 50px;
        width: 95%;
    }
}

.welcome .texts {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
}

.welcome .texts .name {
    font-size: 48px;
    font-weight: 700;
}

.welcome .texts .descr {
    opacity: 0.6;
}

.welcome .icon {
    display: flex;
    justify-content: right;
    animation: wobble 10s ease-in-out infinite;
}

@keyframes wobble {
  0%   { transform: rotate(-5deg); }
  50%  { transform: rotate(5deg); }
  100% { transform: rotate(-5deg); }
}

@media (max-width: 480px) {
    .welcome .icon {
        transform: scale(0.6);
    }
}

/* -------------------- RULES INFO */
.blacklist-info {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    width: 1200px;
    margin: 15px auto 0 auto;
}

@media (max-width: 960px) {
    .blacklist-info {
        width: 95%;
    }
}

.blacklist-info .ri1 {
    color: var(--white);
    width: 100%;
    font-size: 24px;
    font-weight: 700;
}

/* -------------------- BLACKLIST-BTNS */
.blacklist-btns {
    display: flex;
    width: 600px;
    margin: 0 auto;
}

@media (max-width: 960px) {
    .blacklist-btns {
        width: 95%
    }
}

.blacklist-btns button {
    color: var(--white);
    display: none;
    justify-content: center;
    width: 100%;
    padding: 10px;
    background: var(--bg);
    box-shadow: 0 0 10px 5px rgba(0,0,0,0.2);
    backdrop-filter: blur(var(--blur));
    border: 1px solid var(--border);
    border-radius: 900px;
    font-size: 16px;
    cursor: pointer;
    user-select: none;
    transition: all 0.3s ease-in-out;
}

.blacklist-btns button.visible {
    display: flex;
}

.blacklist-btns button:hover {
    scale: 1.05;
}

/* -------------------- BASIC BLACKLIST */
.blacklist-list {
    display: flex;
    flex-direction: column;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 0 2.5% 0 2.5%;
}

.blacklist {
    display: none;
}

.blacklist:active {
    display: block;
    animation: blacklistIn 0.3s ease-in-out;
}

.blacklist-list .rowing {
    display: flex;
    justify-content: center;
    width: 1200px;
    margin: 10px auto;
    padding: 20px 15px;
    gap: 1%;
    background: var(--bg);
    box-shadow: 0 0 10px 5px rgba(0,0,0,0.2);
    backdrop-filter: blur(var(--blur));
    border: 1px solid var(--border);
    border-radius: 15px;
}

.blacklist-list .example {
    margin-top: 15px;
    font-weight: 500;
}

.blacklist-list .rowing:not(.example) {
    font-weight: 300;
}

.blacklist-list .rowing span {
    display: flex;
    justify-content: center;
    color: var(--white);
}

.blacklist-list .rowing .number {
    width: 2.5%;
}

.blacklist-list .rowing .nickname {
    width: 25%;
}

.blacklist-list .rowing .admin {
    width: 25%;
}

.blacklist-list .rowing .ilva {
    width: 5%;
}

.blacklist-list .rowing .type {
    width: 10%;
}

.blacklist-list .full-blacklist .rowing .type {
    width: 15%;
}

.blacklist-list .rowing .time {
    width: 16.25%;
}

.blacklist-list .full-blacklist .rowing .time {
    width: 22.5%;
}

.blacklist-list .rowing .reason {
    width: 16.25%;
}

.blacklist-list .full-blacklist .rowing .reason {
    width: 18.75%;
}

.blacklist.active {
    display: block;
    animation: blacklistIn 0.3s ease-in-out;
}

@keyframes blacklistIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -------------------- TYPES */
.blacklist-types {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin: 5px auto 0 auto;
    width: 1200px;
}

@media (max-width: 960px) {
    .blacklist-types {
        width: 95%
    }
}

.blacklist-types .termins {
    text-align: center;
    color: var(--white);
    width: 100%;
    font-size: 24px;
    font-weight: 700;
}

.bl-type, .bl-puttype, .bl-reason {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 15px;
    background: var(--bg);
    box-shadow: 0 0 10px 5px rgba(0,0,0,0.2);
    backdrop-filter: blur(var(--blur));
    border: 1px solid var(--border);
    border-radius: 15px;
}

.blacklist-types .heading {
    text-align: center;
    color: var(--white);
    width: 100%;
    font-size: 18px;
    font-weight: 700;
}

.blacklist-types .line {
    display: block;
    background: linear-gradient(90deg,rgba(0, 0, 0, 0) 0%, rgba(75, 75, 75) 50%, rgba(0, 0, 0, 0) 100%);
    margin: 15px auto;
    width: 80%;
    height: 1px;
}

.blacklist-types .list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 100px;
    row-gap: 50px;
}

.blacklist-types .t1, .pt1, .r1 {
    color: var(--white);
    width: 100%;
    font-weight: 600;
}

.blacklist-types .t2, .pt2, .r2 {
    color: var(--white);
    width: 100%;
    font-weight: 300;
    margin-top: 3px;
}

.blacklist-types .type, .puttype, .reason {
    display: flex;
    flex-direction: column;
    text-align: center;
    width: 30%;
}

@media (max-width: 960px) {
    .blacklist-types .type, .puttype, .reason {
        width: 100%
    }
}

/* -------------------- FOOTER */
.footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 1200px;
    margin: 15px auto;
    padding: 15px;
    background: var(--bg);
    box-shadow: 0 0 10px 5px rgba(0,0,0,0.2);
    backdrop-filter: blur(var(--blur));
    border: 1px solid var(--border);
    border-radius: 15px;
}

@media (max-width: 960px) {
    .footer {
        width: 95%;
    }
}

.settings-menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    width: 320px;
    z-index: 2;
}

.settings-menu span {
    padding: 3px 0;
    color: var(--white);
    font-size: 14px;
    opacity: 0.7;
}

.settings-menu .blurTxt {
    margin-top: 15px;
}

input[type='range'] {
    accent-color: var(--custom);
    width: 100%;
}

.footer .author {
    display: flex;
    margin-top: 35px;
    justify-content: center;
    width: 100%;
    color: var(--white);
}

.footer .version {
    display: flex;
    color: rgba(255,255,255,0.1);
    font-size: 12px;
    margin-top: 3px;
}