@font-face {
    font-family: Montserrat;
    src: url('../fonts/Montserrat-Medium.ttf');
}
@font-face {
    font-family: Elegant;
    src: url('../fonts/Elegant.ttf');
}
@font-face {
    font-family: KanitBlack;
    src: url('../fonts/Kanit-Black.ttf');
}

* {
    box-sizing: border-box;
}

html {
    height: 100%;
}

::-webkit-scrollbar {
    width: 18px;
    background: #000;
}

::-webkit-scrollbar-track {
    background-color: #000000;
    border-left: 1px solid #333;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #FF2800, #b30000);
    border-radius: 20px;
    border: 3px solid #000000;
    background-clip: padding-box;
    box-shadow: inset 0 0 5px rgba(0,0,0,0.5);
}

::-webkit-scrollbar-thumb:hover {
    background-color: #d40000;
}

::-webkit-scrollbar-thumb:active {
    background-color: #FFF200;
}

body {
    min-height: 100%;
    position: relative;
    margin: 0;
    padding: 0;
    background-color: #111111;
    background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 20px 20px;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 18px;
    width: 35px;
    background-image: repeating-linear-gradient(0deg, #FF2800 0px, #FF2800 50px, #ffffff 50px, #ffffff 100px);
    z-index: 100;
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
}

h1, h2, p {
    margin-right: calc(5% + 35px);
    margin-left: 5%;
}

h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 48px;
    text-align: center;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    border-bottom: 4px solid #FF2800;
    padding: 40px 0 20px 0;
    margin-bottom: 20px;
}

h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 32px;
    text-align: center;
    color: #eee;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
    margin-top: 0;
    border-bottom: 3px solid #FF2800;
    padding-bottom: 10px;
    display: inline-block;
    align-self: center;
    width: auto;
    margin-left: auto;
    margin-right: auto;
    transform: translateX(-17.5px);
}

p {
    text-align: center;
    font-size: 19.2px;
    color: #ddd;
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #FFF200;
    margin-bottom: 50px;
    line-height: 1.6;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

body > ul {
    margin: 0 5% 40px 5%;
    margin-right: calc(5% + 45px);
    background: linear-gradient(135deg, #1f1f1f, #141414);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid #333;
    box-shadow: 0 10px 20px rgba(0,0,0,0.4);
    animation: fadeInSlide 0.8s ease-out forwards;
}

body > ul > li {
    font-family: 'KanitBlack', sans-serif;
    font-size: 48px;
    color: #FF2800;
    text-transform: uppercase;
    font-style: italic;
    border-bottom: 2px solid #333;
    padding-bottom: 15px;
    margin-bottom: 20px;
    display: block;
}

body > ul > li > ul {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

body > ul > li > ul > li {
    font-size: 16px;
    border: none;
    margin: 0;
    padding: 0;
}

a {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 90px;
    background: #252525;
    color: white !important;
    text-decoration: none;
    padding: 20px 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    text-align: center;
    border-radius: 6px;
    border-top: 3px solid transparent;
    transform: skewX(-10deg);
    transition: all 0.2s ease;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.3);
}

a:hover {
    background-color: #FF2800;
    border-top: 3px solid #FFF200;
    transform: skewX(-10deg) translateY(-5px);
    box-shadow: 0 0 10px #FF2800, 5px 10px 10px rgba(0,0,0,0.5);
    z-index: 10;
}

a:active {
    transform: skewX(-10deg) translateY(0);
}

footer {
    margin-top: auto;
    width: 100%;
    background-color: #080808;
    color: #999;
    text-align: center;
    padding: 40px 20px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14.4px;
    letter-spacing: 1px;
    border-top: 4px solid #FF2800;
    position: relative;
    z-index: 200;
}

@keyframes fadeInSlide {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}