@import url('https://fonts.googleapis.com/css2?family=Abril+Fatface&family=Montserrat:wght@300;600&display=swap');

body { 
    font-family: 'Montserrat', sans-serif; 
    background-color: #0c1218; 
    background-image: radial-gradient(circle at center, #1a2530 0%, #0c1218 100%);
    color: #e0c56e; 
    display: flex; 
    justify-content: center; 
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 20px; 
}

.container { 
    background: #121921; 
    padding: 40px; 
    border-radius: 4px; 
    border: 3px double #c5a059;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), inset 0 0 40px rgba(197, 160, 89, 0.05); 
    width: 100%; 
    max-width: 350px; 
    text-align: center; 
}

h1 {
    font-family: 'Abril+Fatface', serif;
    font-size: 2.2em;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #f1d279;
    margin-bottom: 30px;
}

.name-input {
    width: 100%;
    padding: 12px;
    margin-bottom: 25px;
    background: transparent;
    border: none;
    border-bottom: 2px solid #c5a059;
    color: white;
    box-sizing: border-box;
    font-size: 16px;
    text-align: center;
    outline: none;
}

.name-input::placeholder {
    color: rgba(197, 160, 89, 0.5);
    font-style: italic;
}

.custom-btn { 
    background: #c5a059; 
    color: #0c1218; 
    padding: 15px; 
    border-radius: 0px; 
    cursor: pointer; 
    display: block; 
    margin-bottom: 20px; 
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border: 1px solid #f1d279;
}

.custom-btn:hover {
    background: #f1d279;
    box-shadow: 0 0 15px rgba(241, 210, 121, 0.4);
}

input[type="file"] { display: none; }

.preview-img { 
    width: 100%; 
    border-radius: 2px; 
    margin-bottom: 20px; 
    border: 3px solid #c5a059;
    filter: sepia(0.4) contrast(1.1);
}

.submit-btn { 
    display: none;
    background: #c5a059; 
    color: #0c1218; 
    border: none; 
    padding: 14px; 
    border-radius: 0px; 
    cursor: pointer; 
    width: 100%; 
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 20px;
    border: 1px solid #f1d279;
}

#success-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #f1d279;
}

#success-message .custom-btn {
    display: inline-block;
    width: auto;
    min-width: 220px;
    background: transparent;
    color: #c5a059;
    border: 1px solid #c5a059;
}

#success-message .custom-btn:hover {
    background: #c5a059;
    color: #0c1218;
}

.stat-box {
    background: rgba(197, 160, 89, 0.1);
    border: 1px solid #c5a059;
    padding: 20px;
    border-radius: 0px;
    margin-bottom: 20px;
    color: #f1d279;
}

#progress-bar {
    background: #f1d279 !important;
}

/* Decoratieve afbeelding styling */
.header-deco {
    width: 30%;
    max-width: 400px;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.header-deco:hover {
    transform: scale(1.1) rotate(-5deg);
}

/* Update de h1 margin voor een betere balans */
h1 {
    font-family: 'Abril Fatface', serif; /* Let op: spatie ipv + voor lokale fonts */
    font-size: 2.2em;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #f1d279;
    margin-top: 0; /* Minder ruimte boven nodig door de afbeelding */
    margin-bottom: 30px;
}