/* --- RESETARE GLOBALĂ --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --yellow: #FFD700;       /* Galbenul Hrotus */
    --dark-bg: #1a1a1a;      /* Fundal închis */
    --card-bg: rgba(18, 18, 20, 0.95); /* Culoarea cardurilor (aproape opacă) */
    --text-grey: #a0a0a0;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: white;
    height: 100vh; /* Ocupă tot ecranul */
    overflow: hidden; /* Fără scroll */
    position: relative;
}

/* --- FUNDAL BLURAT --- */
.bg-blur {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    /* Asigură-te că numele imaginii este corect */
    background: url('minecraft_shader.jpg') center/cover no-repeat;
    filter: blur(15px); /* Blur puternic ca în poză */
    transform: scale(1.1); /* Mărim puțin să ascundem marginile blurate */
    z-index: -1;
    /* Overlay întunecat pentru contrast */
    box-shadow: inset 0 0 0 100vh rgba(0, 0, 0, 0.4); 
}

/* --- LAYOUT PRINCIPAL --- */
.layout-container {
    height: 100%;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Împarte elementele: Sus - Mijloc - Jos */
    padding: 30px 50px;
}

/* --- HEADER --- */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-weight: 900;
    font-size: 24px;
    letter-spacing: 1px;
}
.yellow { color: var(--yellow); }

.socials a {
    color: white;
    font-size: 20px;
    margin-left: 20px;
    text-decoration: none;
    opacity: 0.8;
    transition: 0.3s;
}
.socials a:hover { opacity: 1; color: var(--yellow); }

/* --- CONȚINUT CENTRAL --- */
.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.titles {
    text-align: center;
    margin-bottom: 50px;
}

.titles h1 {
    font-size: 64px; /* Titlu MARE */
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 5px 20px rgba(0,0,0,0.6);
    margin-bottom: 5px;
}

.titles p {
    color: #ddd;
    font-weight: 600;
    font-size: 16px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.8);
}

/* --- GRILA DE CARDURI (3 PE RÂND) --- */
.cards-row {
    display: flex;
    justify-content: center;
    gap: 30px; /* Spațiu între carduri */
    width: 100%;
}

/* --- STIL CARD --- */
.vote-card {
    background: var(--card-bg);
    width: 300px;  /* Lățime fixă */
    height: 320px; /* Înălțime fixă */
    border-radius: 20px;
    text-decoration: none;
    color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Elementele distanțate egal */
    padding: 30px 20px;
    position: relative;
    transition: all 0.3s ease;
    border: 2px solid transparent; /* Bordură invizibilă inițial, mai groasă */
}

/* Hover Effect - Se aplică la ORICE card doar când e mouse-ul pe el */
.vote-card:hover {
    border-color: var(--yellow); /* Bordură galbenă la hover */
    transform: translateY(-10px); /* Se ridică */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5); /* Umbră mai pronunțată */
}

/* Numărul (#1, #2, #3) */
.card-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-weight: 900;
    font-size: 32px;
    color: rgba(255, 255, 255, 0.05); /* Foarte subtil */
}

/* Iconița */
.icon-area {
    font-size: 40px;
    color: var(--yellow);
    margin-top: 10px;
}

/* Textul din mijloc */
.text-area {
    text-align: center;
}
.text-area h3 {
    font-size: 22px;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 5px;
}
.text-area span {
    font-size: 14px;
    color: var(--text-grey);
    font-weight: 600;
}

/* Butonul */
.btn-vote {
    background-color: var(--yellow);
    color: black;
    font-weight: 800;
    font-size: 14px;
    padding: 12px 40px;
    border-radius: 50px; /* Stil "Pill" */
    text-transform: uppercase;
    transition: 0.3s;
}

/* Butonul devine alb când treci cu mouse-ul pe CARD */
.vote-card:hover .btn-vote {
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6); /* Glow la buton la hover */
    background: rgb(251, 255, 0);
}

/* --- FOOTER --- */
footer {
    text-align: center;
    font-size: 11px;
    color: var(--text-grey);
    font-weight: 600;
    letter-spacing: 1px;
}

/* --- RESPONSIVE (MOBIL) --- */
@media (max-width: 1000px) {
    body { overflow-y: auto; height: auto; }
    .layout-container { height: auto; padding: 30px 20px; }
    .cards-row { flex-direction: column; align-items: center; }
    .vote-card { width: 100%; max-width: 350px; }
    .titles h1 { font-size: 40px; }
}