@font-face {
    font-family: 'SoopaFre';
    src: url('res/soopafre.ttf') format('truetype');
}

* {
    box-sizing: border-box;
	font-family: 'SoopaFre', Arial, sans-serif;
}

body {
    margin: 0;
    background: linear-gradient(to bottom, #221816 90%, #000000 100%);
    background-attachment: fixed;
    color: #fff;
}

header {
    position: relative;
    background: url('res/bg.png') no-repeat center top;
    background-size: cover;
    min-height: 500px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo {
    max-width: 480px;
    width: 80%;
}

.header-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.header-btn {
    display: flex;
    align-items: center;
    gap: .5rem;

    background: rgba(28,60,64,0.9);
    border: 2px solid #fff;
    color: white;

    padding: .9rem 1.6rem;
    border-radius: 8px;

    font-family: 'SoopaFre', sans-serif;
    font-size: 1.2rem;

    cursor: pointer;
    transition: .3s;
}

.header-btn:hover {
    background: rgba(14,36,45,1);
    transform: translateY(-3px);
}

.btn-icon {
    width: 20px;
}

button {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

header a {
	text-decoration: none;
}

.btn-icon-big {
    width: 32px;
}

.download-wrapper {
    position: relative;
}

.download-menu {
    position: absolute;
    top: 50%;
    left: 40%;
    transform: translateX(-50%) scale(.95);

    background: rgba(30,25,21,.95);
    border: 2px solid white;
    border-radius: 8px;

    display: flex;
    flex-direction: column;

    min-width: 180px;

    opacity: 0;
    pointer-events: none;

    transition: .25s;
	z-index: 2;
}

.download-menu.active {
    opacity: 1;
    transform: translateX(-50%) scale(.6);
    pointer-events: auto;
}

.download-menu a {
    display: flex;
    align-items: center;
    gap: .8rem;

    padding: 0.4rem 0.6rem;
    font-size: 2rem;

    text-decoration: none;
    color: white;
    font-family: 'SoopaFre';
    src: url('res/soopafre.ttf') format('truetype');

    border-bottom: 1px solid rgba(255,255,255,.1);
}

.download-menu a:hover {
    background: rgba(50,45,41,.8);
}

.download-menu img {
    width: 64px;
    filter: invert(1);
}

.lang-toggle {
    position: absolute;
    right: 20px;
    top: 20px;

    width: 40px;
    height: 40px;

    border-radius: 8px;
    border: 2px solid white;

    background: rgba(28,60,64,.9);

    display: flex;
    align-items: center;
    justify-content: center;

    cursor: pointer;
}

.current-flag {
    width: 26px;
}

.lang-menu {
    position: absolute;
    top: -100px;
    right: 10px;

    background: rgba(30,25,21,.95);
    border: 2px solid white;
    border-radius: 8px;

    display: flex;
    flex-direction: column;

    min-width: 150px;

    opacity: 0;
    pointer-events: none;

    transform: scale(.9, .1);
    transition: .25s;
}

.lang-menu.active {
    opacity: 1;
    transform: scale(.9, .8);
    pointer-events: auto;

	top: 50px;
}

.lang-menu a {
    display: flex;
    align-items: center;
    gap: .7rem;

    padding: .6rem .9rem;

    color: white;
    text-decoration: none;
}

.lang-menu a:hover {
    background: rgba(50,45,41,.8);
}

.play-btn {
    margin-top: 2rem;

    background: linear-gradient(135deg,#00b894,#00cec9);

    border: 2px solid white;
    border-radius: 50px;

    padding: 1rem 3rem;

    font-family: 'SoopaFre', sans-serif;
    font-size: 1.8rem;

    text-decoration: none;
    color: white;

    transition: .3s;
}

.play-btn:hover {
    transform: translateY(-4px);
	cursor: pointer;
}

main {
    max-width: 900px;
    margin: auto;
    padding: 2rem 1rem;
}

.news-box{
    position: relative;
    padding: 20px;
    margin-bottom: 40px;

    background: rgba(28,60,64,.9);
    border-radius: 10px;
    overflow: hidden;
}

.news-box::after{
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: url('res/framenews.png') no-repeat center;
    background-size: 100% 100%;

    z-index: 0;
}

.news-box *{
    position: relative;
    z-index: 1;
}

.news-name {
    font-size: 32px;

    border-bottom: 1px solid #444;
    padding-bottom: 1px;

    margin-bottom: 4px;
    text-align: center;
}

.news-title {
    font-size: 22px;

    margin-bottom: 4px;
    text-align: center;
}

.header-buttons a {
	text-decoration: none;
}

.news-content {
    line-height: 2.0;
    font-size: 14px;
}

.social-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.2rem;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: .8rem;

    border-radius: 12px;
    padding: .9rem 1.8rem;

    text-decoration: none;
    color: white;

    font-size: 1.2rem;

    transition: .3s;
}

.social-btn img {
    width: 28px;
}

.discord-btn {
    background: linear-gradient(135deg,#5865F2,#7289DA);
}

.forum-btn {
    background: linear-gradient(135deg,#e17055,#d63031);
}

.social-btn:hover {
    transform: translateY(-3px);
}

footer {
	display: flex;
	justify-content: center;
	padding: 1rem;
	gap: 10px;
}

footer a {
	color: #00cec9;
}

@media (max-width: 768px) {

    header {
        min-height: 420px;
        padding: 2rem 1rem;
    }

    .logo {
        max-width: 360px;
    }

    .header-btn {
        font-size: 1rem;
        padding: .7rem 1.2rem;
    }

    .play-btn {
        font-size: 1.8rem;
        padding: 1rem 2.2rem;
    }

    .social-btn {
        font-size: 1rem;
        padding: .8rem 1.2rem;
    }

}

@media (max-width: 480px) {

    .header-buttons {
        flex-direction: column;
        align-items: center;
    }

    .play-btn {
        font-size: 1.6rem;
        padding: .9rem 1.8rem;
    }

    .social-buttons {
        flex-direction: column;
        align-items: center;
    }

    .social-btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }

}

#aread {
	font-size: 20px;
	width: 100%;
	display: flex;
	justify-content: center;
}

.news-content a {
	color: lightblue;
}

table {
	border-collapse: collapse;
	width: 100%;
}

td, th {
	border: 1px solid white;
	padding: 10px;
}

.os {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
}
