/* ===== FONT ===== */
@font-face {
    font-family: 'Minecraft';
    src: url('Minecraftia-Regular.ttf') format('truetype');
}

/* ===== GLOBAL ===== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Minecraft', sans-serif !important;
    background: #0a0a0a;
    color: #d0d0d0;
    text-shadow: 2px 2px #000;
    position: relative;
    overflow-x: hidden;
    image-rendering: pixelated;
}

/* ===== FULLSCREEN BLURRED BACKGROUND ===== */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: url('bg.png') center/cover no-repeat;
    filter: blur(12px) brightness(0.30) saturate(0.9);
    z-index: -2;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: -1;
}

/* ===== MINECRAFT PANEL ===== */
.mc-panel {
    max-width: 900px;
    margin: 25px auto;
    padding: 30px;
    background: rgba(10,10,10,0.75); /* darker */
    border: 4px solid #000;
    box-shadow: 0 0 25px #000;
    backdrop-filter: blur(3px);
}

/* ===== HEADER ===== */
.mc-header {
    background: rgba(20, 50, 18, 0.85); /* darker green */
    padding: 25px;
    text-align: center;
    border-bottom: 6px solid #000;
    box-shadow: 0 0 30px #000;
    backdrop-filter: blur(3px);
}

.mc-header h1 {
    margin: 0;
    font-size: 42px;
    color: #3cff3c; /* softer Minecraft green */
    text-shadow: 4px 4px #000;
}

.mc-header p {
    margin: 5px 0 0;
    font-size: 16px;
}

/* ===== HERO ===== */
.hero {
    text-align: center;
    padding: 80px 20px;
    background: rgba(0,0,0,0.35);
    border: 4px solid #000;
    box-shadow: 0 0 20px #000;
}

/* ===== TITLES ===== */
section h2 {
    text-align: center;
    margin-top: 0;
    font-size: 28px;
    color: #3cff3c; /* darker green */
    text-shadow: 3px 3px #000;
}

/* ===== BUTTONS (Minecraft + Feather Client Hover) ===== */
.mc-button {
    display: inline-block;
    background: rgba(25,25,25,0.85); /* darker stone */
    border: 4px solid #000;
    padding: 15px 25px;
    margin: 10px;
    font-size: 20px;
    color: #e0e0e0;
    text-shadow: 2px 2px #000;
    cursor: pointer;
    box-shadow: 0 0 12px #000;
    transition:
        transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.mc-button:hover {
    background: rgba(45,45,45,0.95);
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 0 15px #3cff3c; /* softer glow */
}

/* ===== RULES ===== */
.rules ul {
    list-style: none;
    padding-left: 0;
}

.rules li {
    background: rgba(20,20,20,0.85); /* darker */
    margin: 8px 0;
    padding: 12px 15px;
    border: 3px solid #000;
    box-shadow: inset 0 0 12px #000;
    transition: background 0.2s ease;
}

.rules li:hover {
    background: rgba(35,35,35,0.95);
}

/* ===== INCIDENTS ===== */
.incident {
    margin-bottom: 25px;
    padding: 20px;
    border-left: 6px solid #3cff3c; /* softer green */
    background: rgba(0,0,0,0.45);
    box-shadow: 0 0 15px #000;
    transition: transform 0.2s ease;
}

.incident:hover {
    transform: scale(1.02);
}

.incident h3 {
    margin-top: 0;
    color: #3cff3c;
    text-shadow: 2px 2px #000;
}

/* ===== FOOTER ===== */
.mc-footer {
    text-align: center;
    padding: 20px;
    background: rgba(0,0,0,0.85);
    border-top: 4px solid #000;
    font-size: 14px;
    box-shadow: 0 -5px 20px #000;
}

/* ===== COPY IP SECTION ===== */
/* ===== FIX FONT FOR COPY IP AREA ===== */
.copy-ip, 
.copy-ip * {
    font-family: 'Minecraft', sans-serif !important;
}

.copy-ip {
    margin-top: 30px;
    text-align: center;
}

/* IP BOX (Minecraft GUI + Feather gloss) */
.ip-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;

    background: rgba(10,10,10,0.75);
    border: 4px solid #000;
    padding: 15px 20px;
    margin-top: 15px;

    box-shadow: 0 0 20px #000;
    backdrop-filter: blur(3px);
}

/* IP TEXT */
#server-ip {
    font-size: 22px;
    color: #3cff3c;
    text-shadow: 3px 3px #000;
    user-select: all;
}

/* COPY BUTTON (Feather hover + Minecraft blocky) */
.copy-btn {
    background: rgba(25,25,25,0.85);
    border: 4px solid #000;
    padding: 10px 20px;
    font-size: 18px;
    color: #e0e0e0;
    text-shadow: 2px 2px #000;
    cursor: pointer;

    box-shadow: 0 0 12px #000;
    transition:
        transform 0.25s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.25s ease,
        box-shadow 0.25s ease;
}

.copy-btn:hover {
    background: rgba(45,45,45,0.95);
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 15px #3cff3c;
}

/* COPY STATUS TEXT */
.copy-status {
    margin-top: 10px;
    font-size: 16px;
    color: #3cff3c;
    text-shadow: 2px 2px #000;
    height: 20px;
}

/* ===== SLIDE-IN ANIMATIONS ===== */
@keyframes slide-left {
    0% {
        opacity: 0;
        transform: translateX(-60px);
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

@keyframes slide-right {
    0% {
        opacity: 0;
        transform: translateX(60px);
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        filter: blur(0);
    }
}

/* ===== APPLY ANIMATION TO ALL PANELS ===== */
.mc-panel {
    opacity: 0;
    animation-duration: 0.8s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Alternare stânga / dreapta */
.mc-panel:nth-of-type(1) { animation-name: slide-left; animation-delay: 0.1s; }
.mc-panel:nth-of-type(2) { animation-name: slide-right; animation-delay: 0.2s; }
.mc-panel:nth-of-type(3) { animation-name: slide-left; animation-delay: 0.3s; }
.mc-panel:nth-of-type(4) { animation-name: slide-right; animation-delay: 0.4s; }
.mc-panel:nth-of-type(5) { animation-name: slide-left; animation-delay: 0.5s; }
.mc-panel:nth-of-type(6) { animation-name: slide-right; animation-delay: 0.6s; }
.mc-panel:nth-of-type(7) { animation-name: slide-left; animation-delay: 0.7s; }
