* {
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

:root{
    color-scheme: dark;
}

::selection {
    background: rgba(53, 53, 53, 0.6);
}

::-moz-selection {
    background: rgba(53, 53, 53, 0.6);
}

.header {
    position: fixed;
    top: 7px;
    left: 7px;
    right: 7px;
    height: 50px !important;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    flex-direction: row;
    gap: 40px;
    z-index: 100;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25), inset 0 0 10px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.header::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 15px;
    background: radial-gradient(circle at top left, rgba(255, 255, 255, 0.4), transparent 60%);
    opacity: 0.3;
    pointer-events: none;
}

.header a {
    transition: all 0.15s linear;
    text-decoration: none;
    color: #d6d6d6;
    font-size: 23px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-shadow: rgba(0, 0, 0, 0.3) 1px 1px 2px;
}

.header a:hover {
    color: #ffffff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.header a:first-child {
    position: absolute;
    left: 20px;
    top: 0;
    filter: brightness(0.8);
}

.header a:first-child:hover {
    filter: brightness(1);
}

.header a:first-child img {
    height: 50px;
}

body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; background: #121212; color: #ffffff; line-height: 1.6; margin: 0; padding: 0; }

.news-container { width: 800px; max-width: 95%; margin: 20px auto 0 auto; }

.news-item {
    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.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    border-radius: 20px;
    overflow: hidden;
    animation: load 0.3s ease-in;
    padding: 12px 25px;
    margin-bottom: 20px;
}

.news-item::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;
    pointer-events: none;
    z-index: 0;
}

.news-item i {
    display: block;
    padding: 6px 8px;
    margin: 5px 0px;
    border-radius: 5px;
    border: 1px solid #9c9c9c8c;
    background-color: #5f5f5f8c;
}

.most {
    color: #ffffff !important;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5) !important;
}

@keyframes load{
    0%{ opacity: 0; }
    100%{ opacity: 1; }
}

h1 { animation: load 0.3s ease-in; color: #ffffff; text-align: center; margin-bottom: 15px; cursor: default; font-weight: 500; font-size: 35px; }
.news-title { color: #ffffff; margin: 0 auto 10px auto; font-size: 24px; font-weight: 400; cursor: default; border-bottom: 1px solid #916f30; padding-bottom: 6px; }
h3 { color: #ce9d43; border-bottom: 1px solid #916f30; padding-bottom: 5px; margin-top: 10px; cursor: default; }
h4 { color: #ce9d43; cursor: default; }
h5 { color: #ce9d43; cursor: default; }
p { margin: 5px auto; }
    
a { color: #ce9d43; text-decoration: none; transition: all 0.3s ease-in-out; }

ul { margin: 10px 0; padding-left: 20px; list-style-type: disc; }
ul ul { list-style-type: circle; margin-top: 5px; }
li { margin-bottom: 5px; }
    
.steam-img { max-width: 100%; height: auto; max-height: 500px; display: block; margin: 15px auto; border-radius: 5px; }
.video-container video { max-width: 100%; height: auto; max-height: 500px; border-radius: 5px; margin: 15px 0; }
    
.meta { font-size: 0.95em; color: #ce9d43; margin: 0px; display: block; text-transform: uppercase; letter-spacing: 0.3px; text-align: left; position: absolute; left: 27px; bottom: 12px; cursor: default; }
#megosztas { cursor: pointer !important; }

.hirek {
    width: 100%;
    height: fit-content;
    padding: 12px 0 0 0;
    margin-top: 60px;
}

.hirek h2 {
    margin: 27px 0 5px 0;
    font-size: 22px;
    white-space: nowrap;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hirek p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0 !important;
}

.hirek-holder {
    width: fit-content;
    max-width: 93%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 0 auto;
}

.hirek-holder > div {
    width: 350px;
    height: 220px;
    border-radius: 15px;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25), inset 0 0 10px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: all 0.2s ease-in-out;
}

.hirek-holder > div:hover {
    border: 1px solid rgba(206, 206, 206, 0.616);
}

.hirek-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    border-radius: 15px;
    position: absolute;
    top: 0;
    left: 0;
}

.hirek-holder .hir-wrapper {
    width: 100%;
    height: 170px;
    position: absolute;
    top: 50px;
    left: 0;
    border-radius: 0 0 15px 15px;
    padding: 20px 10px 0 10px;
    cursor: default;
    z-index: 1;
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    background: linear-gradient(
        to bottom, 
        transparent 0%, 
        rgba(0, 0, 0, 0.4) 20%, 
        rgba(0, 0, 0, 0.8) 100%
    );
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 25%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 25%);
}

.hirek-holder .datum {
    position: absolute;
    right: 8px;
    top: 2px;
    text-shadow: 0 0 2px #575757af;
    font-size: 15px;
    color: #b8b8b8;
    z-index: 10;
    cursor: default;
}

.hirek-holder a {
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    color: #efefef;
    font-size: 17px;
    line-height: 17px;
    font-style: normal;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    cursor: pointer;
    height: 32px;
    width: 95px;
    background: linear-gradient(30deg, rgba(255, 181, 44, 0.25), rgba(230, 209, 23, 0.35));
    backdrop-filter: blur(14px) saturate(200%);
    -webkit-backdrop-filter: blur(14px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: 5px;
    bottom: 5px;
    z-index: 10;
}

.hirek-holder a:hover {
    color: #fff;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.5);
}

.egyeb {
    width: 100%;
    height: fit-content;
    padding: 12px 0 0 0;
    margin-top: 8px;
}

.egyeb h2 {
    margin: 27px 0 5px 0;
    font-size: 18px;
    font-weight: 500;
    letter-spacing: 0.2px;
    white-space: nowrap;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.egyeb p {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 3px 0 0 0 !important;
    font-size: 15px;
    line-height: 17px;
}

.egyeb-holder {
    width: 1200px;
    max-width: 93%;
    height: fit-content;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin: 0 auto;
}

.egyeb-holder > div {
    width: 270px;
    height: 160px;
    border-radius: 15px;
    position: relative;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.25), inset 0 0 10px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    transition: all 0.2s ease-in-out;
}

.egyeb-holder > div:hover {
    border: 1px solid rgba(206, 206, 206, 0.616);
}

.egyeb-holder img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    border-radius: 15px;
    position: absolute;
    top: 0;
    left: 0;
}

.egyeb-holder .egyeb-wrapper {
    width: 260px;
    height: 120px;
    position: absolute;
    top: 30px;
    left: 0;
    border-radius: 0 0 15px 15px;
    padding: 20px 5px 0 5px;
    cursor: default;
    z-index: 1;
    backdrop-filter: blur(10px) saturate(150%);
    -webkit-backdrop-filter: blur(10px) saturate(150%);
    background: linear-gradient(
        to bottom, 
        transparent 0%, 
        rgba(0, 0, 0, 0.4) 20%, 
        rgba(0, 0, 0, 0.8) 100%
    );
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 25%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 25%);
}

.egyeb-holder .datum {
    position: absolute;
    right: 6px;
    top: 1px;
    text-shadow: 1px 1px 3px rgba(124, 124, 124, 0.863);
    font-size: 13px;
    color: #8a8a8a;
    z-index: 10;
    cursor: default;
}

.egyeb-holder a {
    position: absolute;
    width: 100%;
    height: 160px;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 100;
    border-radius: 15px;
}

.egyeb-cim {
    position: relative;
    width: 1200px;
    max-width: 93%;
    text-align: center;
    margin: 0 auto 20px auto;
    height: fit-content;
}

.egyeb-cim input {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 50px;
    height: 35px;
    width: 180px;
    transition: all 0.2s ease-in-out;
    text-decoration: none;
    color: #efefef;
    font-size: 17px;
    line-height: 17px;
    font-style: normal;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(14px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.4), inset 0 0 10px rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}








footer {
    height: 150px;
    background-image: url(https://premiumcsgo.hu/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(https://premiumcsgo.hu/IMG/discord.webp);
}

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

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

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

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

@media screen and (max-width: 1100px) {
    .header { gap: 30px; }
}

@media screen and (max-width: 600px) {
    footer .left { margin-right: 10px; }
    footer .right { margin-left: 10px; }
    footer { height: 200px; }
    h1 { font-size: 26px; }
    .hirek h2 {font-size: 20px; letter-spacing: -1px;}
    .hirek p {font-size: 15px;}
    .egyeb-cim {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
        justify-content: center;
        gap: 0px;
    }
    .egyeb-cim input {
        position: relative;
        height: 35px;
        width: 200px;
        transform: none;
        top: 0 !important;
        right: 0 !important;
    }
}

@media screen and (max-width: 500px) {
    .header { gap: 15px; }
    .header a { font-size: 22px; }
}

@media screen and (max-width: 400px) {
    .header { padding-left: 30px; }
    .header a:first-child { left: 15px; }
}

@media screen and (max-width: 350px) {
    .header { gap: 8px; }
    .header a { font-size: 18px; }
    .header a:first-child {
        left: 10px;
    }
    .header a:first-child img {
        height: 40px;
        margin-top: 5px;
    }
}
