@import url('https://fonts.cdnfonts.com/css/minecraft-3');

body {
    font-family: 'Minecraft', sans-serif;
}

:root {
    --mc-purple: #7c3aed2c;
    --mc-green: #74ff00;
    --mc-font: 'Minecraftia', sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500&display=swap');

* {
    box-sizing: border-box;
    scroll-behavior: smooth;
    font-family: var(--mc-font) !important;
    margin: 0;
    padding: 0;
}

body {
    background: #0b0f14 url('img/bg.png') no-repeat center center fixed;
    background-size: cover;
    backdrop-filter: blur(2px);
    color: #fff;
    overflow-x: hidden;
}

.navbar {
    background: rgba(11, 15, 20, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 3px solid var(--mc-purple);
    height: 90px;
    display: flex;
    align-items: center;
}

.nav-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 95%;
    margin: 0 auto;
    position: relative;
    width: 100%;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
}

.nav-side-logo {
    height: 55px;
    image-rendering: pixelated;
}

.btn-login-png {
    height: 20px;
    cursor: pointer;
    transition: transform 0.1s, filter 0.1s;
}

.btn-login-png:hover {
    filter: brightness(1.1);
}

.btn-login-png:active {
    transform: translateY(2px);
    filter: brightness(0.8);
}

.nav-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.nav-center-img {
    height: 32px;
}

.server-status {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.player-count {
    font-size: 10px;
    color: var(--mc-green);
    font-weight: bold;
    animation: textBlink 1.5s infinite ease-in-out;
}

.status-os-png {
    height: 16px;
    top: 10%;
    animation: textBlink 1.5s infinite ease-in-out;
}

@keyframes textBlink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.nav-right {
    display: flex;
    gap: 15px;
    flex: 1;
    justify-content: flex-end;
}

.hero {
    padding: 60px 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.hero img {
    max-width: 450px;
    image-rendering: pixelated;
}

.ip-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
}

.base-btn {
    width: 320px;
    height: 80px;
    object-fit: contain;
    cursor: pointer;
    transition: transform 0.1s, filter 0.1s;
}

.base-btn:hover {
    filter: brightness(1.1);
}

.base-btn:active {
    transform: translateY(3px) scale(0.97);
    filter: brightness(0.9);
}

.copy-alt-png {
    margin-top: 10px;
    width: 160px;
    height: auto;
    cursor: pointer;
    transition: transform 0.1s, filter 0.1s;
}

.copy-alt-png:hover {
    filter: brightness(1.1);
}

.copy-alt-png:active {
    transform: translateY(2px);
    filter: brightness(0.9);
}

.copy-feedback {
    display: block;
    margin-top: 6px;
    font-size: 11px;
    color: var(--mc-green);
    font-weight: bold;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.section-padding {
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.news-grid {
    display: grid;
    gap: 25px;
    width: 95%;
    max-width: 1200px;
    grid-template-columns: repeat(3, 1fr);
}

.news-card {
    position: relative;
    height: 250px;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid #333;
    background: url('img/bestwp.png') center/cover no-repeat;
    cursor: pointer;
}

.news-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.85);
    padding: 20px 15px;
    transform: translateY(65px);
    transition: transform 0.4s ease, opacity 0.3s ease;
    min-height: 100px;
}

.news-card:hover .news-overlay {
    transform: translateY(0);
}

.news-overlay h3 {
    margin: 0 0 15px;
    font-size: 16px;
    color: #fff;
}

.news-overlay p {
    margin: 0;
    font-size: 12px;
    color: #ccc;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.news-card:hover .news-overlay p {
    opacity: 1;
}

.team-section {
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.team-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.team-card {
    background: url('img/w1p.png') no-repeat center;
    background-size: contain;
    width: 280px;
    height: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.team-card:hover {
    transform: translateY(-10px);
}

.avatar {
    height: 140px;
    image-rendering: auto;
    margin-bottom: 10px;
}

.team-card span {
    font-size: 16px;
    color: #fff;
    text-shadow: 2px 0px 0px #0000004d;
    margin-bottom: 8px;
}

.rank-png {
    height: 22px;
    image-rendering: crisp-edges;
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.6));
}

.footer-panel {
    background: #050505;
    border-top: 2px solid #111;
    padding: 30px 0 20px 0;
    color: #fff;
}

.footer-panel,
.footer-panel span,
.footer-panel .footer-legal,
.footer-panel .copyright-text {
    font-family: 'Google Sans', sans-serif !important;
}

.footer-container {
    max-width: 95%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-main {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.copyright-text {
    font-size: 11px;
    opacity: 0.8;
    color: var(--mc-green);
}

.lang-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 0px;
}

.toggle-btn-fix {
    width: 45px;
    height: 25px;
    background-image: url('img/lang_on.png');
    background-size: contain;
    background-repeat: no-repeat;
    cursor: pointer;
    border: none;
    background-color: transparent;
}

.flag-tr-fix,
.flag-en-fix {
    height: 14px;
}

.flag-en-fix {
    margin-left: -6px;
}

.footer-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.powered-img {
    height: 14px;
}

.bozoglu-btn {
    height: 18px;
    transition: 0.3s;
}

.bozoglu-btn:hover {
    transform: scale(1.05);
}

.footer-legal {
    color: #fc3f4f !important;
    font-size: 11px;
    font-weight: bolder;
    letter-spacing: 0.8px;
    font-weight: 500;
    text-transform: uppercase;
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 20px;
}

@media (max-width:1100px) {
    .nav-flex {
        flex-direction: column;
        padding: 10px 0;
    }

    .nav-center {
        position: relative;
        transform: none;
        margin: 15px 0;
    }

    .navbar {
        height: auto;
    }

    .footer-main {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-right {
        justify-content: center;
    }

    .news-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width:640px) {
    .news-grid {
        grid-template-columns: 1fr;
    }
}