* {
    box-sizing: border-box;
}

body, html {
    margin: 0; 
    padding: 0; 
    height: 100%; 
    width: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #111;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.overlay {
    position: absolute; 
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.45); /* Dark overlay for text legibility */
    z-index: 1;
}

.content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    text-align: center; 
    color: white; 
    
    /* New Semi-Transparent Box Settings */
    background: rgba(0, 0, 0, 0.65); 
    padding: 40px 20px;
    border-radius: 16px;
    backdrop-filter: blur(8px); 
    width: 90%;
    max-width: 500px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.subtitle {
    font-size: 1.5rem; 
    font-weight: 300; 
    margin-bottom: 12px;
    text-shadow: 2px 2px 6px rgba(0,0,0,0.8);
    letter-spacing: 1px;
}

.title {
    font-size: 4rem; 
    font-weight: 800;
    text-shadow: 3px 3px 8px rgba(0,0,0,0.9);
    letter-spacing: 2px;
}

/* Responsive adjustments for mobile */
@media (max-width: 768px) {
    .subtitle { font-size: 1.2rem; }
    .title { font-size: 3rem; }
}

@media (max-width: 480px) {
    .subtitle { font-size: 1rem; }
    .title { font-size: 2.5rem; }
}