:root {
    --primary: #179eff;
    --primary-dark: #0084ff;
    --text-main: #1a1e23;
    --text-gray: #95a5a6;
    --text-light-gray: #bdc3c7;
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    user-select: none;       /* blokowanie zaznaczania tekstu */
}

html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; background: #fff; color: var(--text-main); overflow-x: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* NAV */
nav { padding: 20px 0; border-bottom: 1px solid #f2f2f2; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
.nav-left { display: flex; align-items: center; gap: 10px; }
.mini-logo { height: 65px; width: auto; }
.online-status { font-size: 13px; color: var(--text-gray); background: #f9f9f9; padding: 5px 15px; border-radius: 20px; display: flex; align-items: center; gap: 5px; }
.dot { height: 8px; width: 8px; background: var(--primary); border-radius: 50%; display: inline-block; }

.nav-menu { list-style: none; display: flex; gap: 25px; }
.nav-menu a { text-decoration: none; color: var(--text-gray); font-weight: 600; font-size: 14px; transition: 0.3s; }
.nav-menu a.active, .nav-menu a:hover { color: var(--text-main); }
.discord-btn { background: #5865f2; color: white; padding: 10px 20px; border-radius: 12px; text-decoration: none; font-weight: 700; font-size: 14px; }

/* HERO */
.hero {
    background: radial-gradient(circle at 30% 50%, #29b0ff 0%, #179eff 100%);
    border-radius: 40px; margin-top: 40px; padding: 80px; min-height: 520px;
    display: flex; align-items: center; position: relative; overflow: hidden;
    box-shadow: 0 20px 50px rgba(23, 158, 255, 0.25); color: white;
}
.hero-content { max-width: 500px; z-index: 5; position: relative; }
.hero h1 { font-size: 72px; font-weight: 900; margin-bottom: 10px; letter-spacing: -2px; }
.hero p { font-size: 17px; margin-bottom: 35px; opacity: 0.95; line-height: 1.6; }

/* COINS */
.float-item { position: absolute; z-index: 1; animation: floatItems 4s ease-in-out infinite; }
.float-item img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 5px 10px rgba(0,0,0,0.2)); }
.coin-1 { top: 15%; left: 55%; width: 35px; animation-delay: 0s; }
.coin-2 { bottom: 25%; left: 52%; width: 45px; animation-delay: 1.5s; }
.coin-3 { top: 45%; left: 88%; width: 30px; animation-delay: 0.8s; }
@keyframes floatItems { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-20px) rotate(15deg); } }

/* BUTTONS */
.shop-btn {
    background: var(--primary-dark); color: white; text-decoration: none; padding: 8px 8px 8px 25px;
    border-radius: 15px; font-weight: 700; display: inline-flex; align-items: center; gap: 15px;
    transition: 0.3s; margin-bottom: 30px; border: 2px solid rgba(255,255,255,0.1);
}
.shop-icon-box { background: rgba(0,0,0,0.15); padding: 10px 15px; border-radius: 10px; display: flex; gap: 8px; }

.ip-card { background: #1a1e23; border-radius: 20px; padding: 20px 25px; display: flex; justify-content: space-between; align-items: center; width: 360px; cursor: pointer; transition: 0.3s; }
.status-dot { width: 15px; height: 15px; background: #2ecc71; border-radius: 50%; box-shadow: 0 0 15px #2ecc71; margin-right: 15px; }
.ip-info { display: flex; align-items: center; }
.ip-val { display: block; font-size: 22px; font-weight: 800; }
.ip-count { font-size: 13px; color: #7f8c8d; }

.hero-character { position: absolute; right: 50px; bottom: -20px; height: 115%; z-index: 2; filter: drop-shadow(0 10px 30px rgba(0,0,0,0.2)); }
.hero-character img { height: 100%; pointer-events: none; }

/* FOOTER */
.main-footer { margin-top: 100px; border-top: 1px solid #f2f2f2; }
.footer-top { padding: 60px 0; }
.footer-flex { display: flex; justify-content: space-between; align-items: center; }
.f-side { flex: 1; display: flex; flex-direction: column; }
.f-left { align-items: flex-start; }
.f-right { align-items: flex-end; }
.f-center { flex: 1; display: flex; justify-content: center; align-items: center; }

.f-logo { height: 100px; width: auto; transition: 0.3s; }
.f-logo:hover { transform: scale(1.05); }

.f-brand { font-size: 24px; font-weight: 900; color: var(--text-main); }
.f-links a, .f-nav a { color: var(--text-light-gray); text-decoration: none; font-size: 14px; font-weight: 600; transition: 0.3s; }
.f-links a:hover, .f-nav a:hover { color: var(--text-main); }
.f-nav { list-style: none; display: flex; gap: 25px; }

.footer-legal { background: #fafafa; padding: 35px 0; border-top: 1px solid #f2f2f2; border-bottom: 1px solid #f2f2f2; }
.legal-flex { display: flex; justify-content: space-between; gap: 50px; }
.legal-box { width: 50%; font-size: 12px; color: var(--text-gray); line-height: 1.8; }
.footer-bottom { text-align: center; padding: 45px 0; }
.mojang-info { font-size: 11px; color: #bdc3c7; margin-top: 20px; }

/* Blokowanie przeciągania obrazków */
.img, video, iframe { pointer-events: none; }
/* Style dla podstron prawnych */
/* Style dla podstron prawnych - poprawione kolory */
.legal-page {
    background-color: #f8f9fa;
}

.legal-header {
    text-align: center;
    padding: 60px 0 40px;
}

.legal-header h1 {
    color: var(--primary); /* Zmienione na niebieski serwera */
    font-size: 32px;
    font-weight: 800;
}

.legal-header h2 {
    font-size: 48px;
    margin: 10px 0;
    color: var(--text-main);
}

.legal-content {
    max-width: 850px;
    margin: 0 auto 100px;
}

.legal-card {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    line-height: 1.8;
}

.legal-card h3 {
    margin: 30px 0 15px;
    color: var(--text-main);
    border-bottom: 2px solid #f2f2f2;
    padding-bottom: 5px;
}

.legal-card p {
    margin-bottom: 15px;
    color: #555;
    user-select: text; /* Pozwalamy kopiować tekst regulaminu */
}
img, video, iframe { pointer-events: none; }
/* ================= MOBILE ================= */
@media (max-width: 768px) {

    .container {
        padding: 0 15px;
    }

    /* NAV */
    .nav-flex {
        flex-direction: column;
        gap: 15px;
    }

    .nav-menu {
        flex-direction: column;
        gap: 10px;
        align-items: center;
    }

    .mini-logo {
        height: 50px;
    }

    .discord-btn {
        width: 100%;
        text-align: center;
    }

    /* HERO */
    .hero {
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
        border-radius: 25px;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero p {
        font-size: 15px;
    }

    .hero-content {
        max-width: 100%;
    }

    /* IP BOX */
    .ip-card {
        width: 100%;
    }

    /* POSTAĆ */
    .hero-character {
        position: relative;
        right: 0;
        bottom: 0;
        height: 250px;
        margin-top: 20px;
    }

    /* COINY OFF (bo psują mobile) */
    .float-item {
        display: none;
    }

    /* FOOTER */
    .footer-flex {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .f-left, .f-right {
        align-items: center;
    }

    .f-nav {
        flex-direction: column;
        gap: 10px;
    }

    .legal-flex {
        flex-direction: column;
    }

    .legal-box {
        width: 100%;
    }

    .f-logo {
        height: 70px;
    }
}