* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0;
    overflow-x: hidden !important;
    background-color: #121212;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #efefef;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden !important;
}

:root {
    color-scheme: dark;
}

::selection {
    background: rgba(255, 255, 255, 0.2);
}

@keyframes load {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes lightflow {
    0% { transform: translateX(0px) translateY(0px); }
    50% { transform: translateX(20px) translateY(15px); }
    100% { transform: translateX(0px) translateY(0px); }
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.glass-card {
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
    backdrop-filter: blur(14px) saturate(200%);
    -webkit-backdrop-filter: blur(14px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border-radius: 20px;
    overflow: hidden;
    animation: load 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.glass-card::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.1), transparent 60%);
    opacity: 0.4;
    animation: lightflow 15s infinite linear alternate;
    pointer-events: none;
    z-index: 0;
}

.header {
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 800px;
    height: 60px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.nav-links {
    display: flex;
    gap: 35px;
}

.header a {
    text-decoration: none;
    color: #d6d6d6;
    font-size: 20px;
    font-weight: 500;
    transition: all 0.3s ease-in-out;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.header a:hover, .header a.most {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
}

.hir {
    position: absolute;
    top: 80px;
    left: 0;
    width: 100vw;
    height: 30px;
    background: linear-gradient(90deg, rgba(160, 128, 40, 0.2), rgba(160, 128, 40, 0.4));
    backdrop-filter: blur(5px);
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    color: #fff;
    font-size: 16px;
    line-height: 16px;
    padding-top: 5px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    overflow: hidden;
    z-index: 90;
    cursor: pointer;
}

.hir-track {
    display: inline-flex;
    white-space: nowrap;
    gap: 100px;
    will-change: transform;
    animation: hird 30s linear infinite;
}

@keyframes hird {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.main {
    position: relative;
    min-height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-top: 120px;
    overflow: hidden !important;
}

.awpimg {
    position: absolute;
    top: 100px;
    right: -50px;
    width: 65%;
    height: 85vh;
    background-image: url(IMG/awp.webp);
    background-repeat: no-repeat;
    background-size: contain;
    z-index: -1;
    opacity: 0.8;
    animation: awpload 1.5s ease-out;
}

@keyframes awpload {
    0% { right: -600px; opacity: 0; }
    100% { opacity: 0.8; }
}

.content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0 5%;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.text-side {
    width: 470px;
    height: 200px;
    padding: 20px 25px;
    max-width: 110%;
}

.maintitle h1 {
    font-family: 'Courier New', Courier, monospace;
    font-size: 60px;
    color: #fff;
    text-shadow: 0 0 20px rgba(0,0,0,0.8);
    margin-bottom: 10px;
    letter-spacing: -1px;
    cursor: default;
}

.title {
    font-size: 26px;
    line-height: 1.4;
    color: #efefef;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    font-weight: 300;
    cursor: default;
}

.iframe-tarto {
    width: 470px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    position: absolute;
    bottom: 15%;
}

.dataholder2 {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 6px solid rgba(255,255,255,0.1);
    border-top: 6px solid #c29b30;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

.arrow {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 25px;
    background-image: url(IMG/downarrow.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center center;
    animation: arrow 3s infinite ease-in-out;
}

@keyframes arrow {
    0%, 100% { transform: translate(-50%, 2px); opacity: 0.4; }
    50% { transform: translate(-50%, 10px); opacity: 0.8; }
}

.info-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 0;
    position: relative;
    z-index: 2;
}

.info-box {
    width: 800px;
    max-width: 95%;
    padding: 25px;
}

.info-box h1 {
    font-family: 'Courier New', Courier, monospace;
    font-size: 40px;
    text-align: center;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    cursor: default;
}

.info-box p {
    font-size: 20px;
    line-height: 1.6;
    text-align: justify;
    color: #ddd;
}

.info-box a {
    color: #d4af37;
    text-decoration: none;
    font-weight: bold;
}

.staffs {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.staffs h1 {
    font-family: 'Courier New', Courier, monospace;
    font-size: 50px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
    margin-bottom: 30px;
    cursor: default;
}

.staffholder {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 40px;
}

.staff {
    width: 160px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    cursor: pointer;
}

.staff:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    border-color: rgba(255,255,255,0.4);
}

.staff div[class$="pp"], .staff div.rudiks, .staff div.kovi, .staff div.sokase {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 15px;
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 15px rgba(0,0,0,0.5);
    border: 2px solid rgba(255,255,255,0.1);
}

.kovi { background-image: url(IMG/kovipp.webp); }
.sokase { background-image: url(IMG/sokasepp.png); }
.rudiks { background-image: url(IMG/rudikspp.webp); }

.staff .name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 5px;
    text-align: center;
    width: 100%;
    white-space: nowrap;
}

.staff .rank {
    font-size: 16px;
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gyik {
    padding: 50px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gyik a {
    color: #d4af37;
    text-decoration: none;
}

.gyik h1 {
    font-family: 'Courier New', Courier, monospace;
    font-size: 50px;
    margin-bottom: 30px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.8);
    cursor: default;
}

.gyik .holder {
    width: 800px;
    max-width: 95%;
}

details {
    margin-bottom: 15px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
}

details[open] {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

summary {
    padding: 20px;
    list-style: none;
    font-size: 22px;
    font-weight: 500;
    color: #fff;
}

summary::-webkit-details-marker {
    display: none;
}

#opendiv {
    padding: 0 20px 20px 20px;
    font-size: 18px;
    color: #ddd;
    line-height: 1.5;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 15px;
}

footer {
    height: 150px;
    background-image: url(IMG/footerbg.webp);
    background-size: 300px 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 -10px 30px rgba(0,0,0,0.5);
}

footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(2px);
    z-index: 0;
}

.left{
    width: min-content;
    height: 50px;
    display: flex;
    flex-direction: row;
    margin-right: 150px;
    gap: 20px;
    z-index: 5;
}

.right{
    width: min-content;
    height: 50px;
    display: flex;
    flex-direction: row;
    margin-left: 150px;
    gap: 20px;
    z-index: 5;
}

.footerpic{
    transition: all 0.2s ease-in-out;
    width: 50px;
    height: 50px;
    background-repeat: no-repeat;
    background-size: cover;
}

.footerpic:hover{
    transform: scale(1.07);
    cursor: pointer;
}

.discord{
    background-image: url(IMG/discord.webp);
}

.csgo{
    background-image: url(IMG/csgo.webp);
}

.steam{
    background-image: url(IMG/steam.webp);
}

.tracky{
    background-image: url(IMG/trackyserver.webp);
}

.footerpic:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(255,255,255,0.3));
}

.discord { background-image: url(IMG/discord.webp); }
.csgo { background-image: url(IMG/csgo.webp); }
.steam { background-image: url(IMG/steam.webp); }
.tracky { background-image: url(IMG/trackyserver.webp); }


@media screen and (max-width: 1100px) {
    .content-wrapper { flex-direction: column; align-items: center; }
    .text-side { text-align: center; margin-bottom: 30px; }
    .awpimg { width: 90%; right: 5%; top: 300px; opacity: 0.4; }
    .maintitle h1 { font-size: 60px; }
    .header { width: 95%; }
}

@media screen and (max-width: 600px) {
    .header { bottom: 20px; top: unset; width: 95%; }
    .header a:nth-child(3) { display: none; }
    .nav-links { gap: 15px; }
    .nav-links a { font-size: 15px; }
    .maintitle h1 { font-size: 45px; }
    .title { font-size: 20px; }
    .iframe-tarto { width: 100%; }
    .staffholder { gap: 20px; }
    .hir { top: 0; }
    .main { padding-top: 60px; }
}

@media screen and (max-width: 400px) {
    .maintitle h1 { font-size: 38px; }
    .title { font-size: 19px; }
}