/* --- RESETARE ȘI VARIABILE --- */
:root {
    --bg-dark: #1a1a1a;
    --box-color: rgba(25, 25, 25, 0.92);
    --box-discord: rgba(40, 42, 60, 0.95);
    --yellow: #FFD700;
    --green: #00ff88;
    --text-muted: #888;
    --font-main: 'Montserrat', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-main);
    color: white;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
}

/* --- FUNDALUL BLURAT --- */
.background-image {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: url('minecraft_shader.jpg') center/cover no-repeat;
    filter: blur(20px); 
    transform: scale(1.1);
    z-index: -1;
    box-shadow: inset 0 0 0 100vh rgba(0, 0, 0, 0.3);
}

/* --- CONTAINER PRINCIPAL --- */
.main-container {
    width: 100%;
    max-width: 1200px;
}

/* --- HEADER (SUS) --- */
.top-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 0 10px;
}
.brand { font-weight: 900; font-size: 24px; letter-spacing: 1px; }
.yellow { color: var(--yellow); }
.socials a { color: #ccc; margin-left: 20px; font-size: 20px; transition: 0.3s; }
.socials a:hover { color: white; }

/* --- GRILA BENTO (STRUCTURA) --- */
.bento-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 25px;
}

/* Stil General Casetă - CENTRARE GLOBALĂ */
.box {
    background: var(--box-color);
    border-radius: 24px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center; 
    text-align: center; 
    
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.3);
}

/* 1. HERO BOX (Stânga) */
.hero-box {
    grid-column: 1 / 2;
    grid-row: 1 / 3;
    min-height: 450px;
    background: linear-gradient(to top, var(--box-color) 60%, rgba(25,25,25,0.8));
}
.hero-logo { width: 140px; margin-bottom: 25px; }
.hero-box h1 {
    font-weight: 900;
    font-size: 48px;
    line-height: 1.1;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.subtitle { color: var(--text-muted); font-weight: 600; font-size: 14px; }

/* 2. STATUS BOX (Sus Dreapta) */
.status-box {
    grid-column: 2 / 4;
    position: relative;
    min-height: 200px;
}
.status-indicator {
    display: flex; align-items: center; gap: 8px;
    color: var(--green); font-weight: 700; font-size: 13px; letter-spacing: 1px;
    margin-bottom: 15px; /* Spațiu sub indicator */
}
.green-dot { width: 8px; height: 8px; background: var(--green); border-radius: 50%; box-shadow: 0 0 8px var(--green); }

.player-count {
    font-size: 56px; font-weight: 800; display: flex; align-items: center; gap: 15px;
    margin-bottom: 5px;
}
.player-count i { font-size: 40px; }
.label-small {
    color: var(--text-muted); font-size: 11px; font-weight: 700; 
}

/* 3. IP BOX (Mijloc Dreapta) */
.ip-box {
    grid-column: 2 / 4;
    flex-direction: row; 
    justify-content: space-between; 
    padding: 0 40px; 
    cursor: pointer;
    background: #1e1e1e;
}
.ip-left { display: flex; align-items: center; gap: 20px; text-align: left; } 
.icon-yellow {
    width: 55px; height: 55px; background: var(--yellow);
    border-radius: 16px; display: flex; align-items: center; justify-content: center;
    color: black; font-size: 24px;
    flex-shrink: 0; 
}
.ip-text { display: flex; flex-direction: column; }
.label-tiny { font-size: 10px; font-weight: 700; color: var(--text-muted); margin-bottom: 4px; }
.ip-address { font-weight: 800; font-size: 22px; letter-spacing: 1px; }
.copy-icon { color: #555; font-size: 20px; }

/* 4, 5, 6. BOTTOM BOXES */
.discord-box, .small-action-box {
    text-decoration: none;
    color: white;
    min-height: 180px;
}
.big-icon { font-size: 32px; margin-bottom: 20px; }
.discord-box { background: var(--box-discord); }

.small-action-box h3, .discord-box h3 { font-weight: 800; font-size: 18px; margin-bottom: 5px; }
.small-action-box p, .discord-box p { color: var(--text-muted); font-size: 13px; font-weight: 600; }

/* --- FOOTER --- */
footer {
    text-align: center;
    font-size: 11px;
    color: var(--text-grey);
    font-weight: 600;
    letter-spacing: 1px;
}


footer {
    position: absolute;
    bottom: 30px; /* Aici poți modifica spațiul față de marginea de jos */
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 11px; /* Opțional, ajustează mărimea scrisului */
    opacity: 0.7; /* Opțional, îl face puțin mai transparent, ca în poze */
}

/* Opțional: Pentru a te asigura că footer-ul nu se suprapune peste conținut pe ecrane mici */
body {
    position: relative;
    min-height: 100vh;
    padding-bottom: 80px; /* Lasă spațiu jos pentru footer */
}


/* RESPONSIVE (Mobil) */
@media (max-width: 968px) {
    .bento-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .hero-box, .status-box, .ip-box {
        grid-column: auto; grid-row: auto;
    }
    .hero-box { min-height: 400px; }
    
    .ip-box { flex-direction: column; gap: 20px; text-align: center; padding: 30px; }
    .ip-left { flex-direction: column; text-align: center; }
    .copy-icon { display: none; } 

    .discord-box { grid-column: 1 / -1; }
    .small-action-box { grid-column: auto; }
    
    .bento-grid { grid-template-columns: 1fr 1fr; }
    .hero-box, .status-box, .ip-box, .discord-box { grid-column: 1 / 3; }
}

@media (max-width: 600px) {
    .bento-grid { grid-template-columns: 1fr; }
    .hero-box, .status-box, .ip-box, .discord-box, .small-action-box { grid-column: 1 / 2; }
}