* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
    width: 100%;
    font-family: 'Courier New', monospace;
    color: #ffffff;
    overflow: hidden; /* Hide scrollbars caused by canvas */
    background-color: #1a1a2e; /* Dark background fallback */
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative; /* Needed for canvas positioning */
}

#background-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block; /* Ensure proper display */
}

.container {
    background: rgba(0, 0, 0, 0.3); /* Semi-transparent overlay */
    padding: 40px 60px;
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    z-index: 1; /* Ensure content is above canvas */
}

h1 {
    font-size: 3.5em;
    font-weight: 600;
    margin-bottom: 15px;
    color: #e0e0e0; /* Lighter color for heading */
}

p {
    font-size: 1.2em;
    font-weight: 300;
    margin-bottom: 10px;
    line-height: 1.6;
    color: #cccccc; /* Slightly dimmer text */
}

.email-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background-color: #4a4a8a; /* Button-like background */
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.email-link:hover {
    background-color: #5a5aad;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5em;
    }
    p {
        font-size: 1em;
    }
    .container {
        padding: 30px 40px;
    }
    .email-link {
        padding: 8px 16px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2em;
    }
    p {
        font-size: 0.9em;
    }
    .container {
        padding: 20px 30px;
        width: 90%;
    }
    .email-link {
        padding: 8px 14px;
        font-size: 0.9em;
    }
}
