/* Reset defaults for consistency */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body Styling */
body {
    background: linear-gradient(135deg, #f5f7fa, #c3cfe2); /* Soft, modern gradient */
    font-family: 'Helvetica Neue', Arial, sans-serif; /* Clean, professional font */
    min-height: 100vh; /* Ensures full viewport height */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Container Styling */
#container {
    border: 2px solid #333; /* Slightly thicker, darker border */
    text-align: center;
    background: #fff; /* Clean white background */
    border-radius: 20px; /* Softer, modern corners */
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2); /* Softer, deeper shadow */
    width: 90%; /* Responsive width */
    max-width: 500px; /* Matches original width */
    margin: 50px auto; /* Centered with less top margin */
    padding: 20px; /* Internal spacing */
    position: relative;
    overflow: hidden; /* Prevents background overflow */
    background-image: none; /* Removed embedded JPEG for simplicity */
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover effect */
}

#container:hover {
    transform: translateY(-5px); /* Subtle lift on hover */
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25); /* Enhanced shadow on hover */
}

/* Paragraph Styling */
p {
    color: #333; /* Darker, more readable text */
    font-size: 1.5rem; /* 24px, slightly smaller for balance */
    background: transparent; /* No distracting background */
    padding: 15px; /* Reduced padding for compactness */
    line-height: 1.6; /* Improved readability */
}

/* Span Styling */
span {
    color: #2c3e50; /* Deep blue-gray for contrast */
    font-size: 4rem; /* Reduced from 100px for practicality */
    background: transparent; /* Clean look */
    margin: 20px auto; /* Centered, reduced margin */
    display: block; /* Ensures proper centering */
    font-weight: 700; /* Bold for emphasis */
    transition: color 0.3s ease; /* Smooth color transition */
}

span:hover {
    color: #3498db; /* Bright blue on hover */
}

/* Button Styling */
#btn {
    font-size: 1.25rem; /* 20px, as original */
    position: relative;
    bottom: 0; /* Reset from absolute positioning */
    left: 50%;
    transform: translateX(-50%); /* Proper centering */
    border-radius: 12px; /* Slightly smaller radius */
    cursor: pointer;
    padding: 12px 24px; /* Slightly larger padding */
    color: #fff; /* White text for contrast */
    font-weight: 500; /* Medium weight */
    background: linear-gradient(90deg, #3498db, #2980b9); /* Blue gradient */
    border: none; /* Clean button */
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

#btn:hover {
    background: linear-gradient(90deg, #5dade2, #3498db); /* Lighter gradient */
    transform: translateX(-50%) scale(1.05); /* Slight scale with centering */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3); /* Shadow on hover */
}

#btn:active {
    transform: translateX(-50%) scale(0.95); /* Pressed effect */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2); /* Reduced shadow */
}

/* Responsive Design */
@media (max-width: 600px) {
    #container {
        width: 85%;
        margin: 30px auto;
        padding: 15px;
    }

    p {
        font-size: 1.25rem; /* 20px */
        padding: 10px;
    }

    span {
        font-size: 2.5rem; /* 40px */
        margin: 15px auto;
    }

    #btn {
        font-size: 1rem; /* 16px */
        padding: 10px 20px;
    }
}