@font-face {
    font-family: 'Anticva'; /* Changed font family name */
    src: url('ofont.ru_Anticva.ttf') format('truetype'); /* Updated path to the new font file */
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Anticva', sans-serif; /* Apply the new custom font */
    background-color: #e8dff5; /* Using a slightly more lavender background as seen in the screenshot */
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    background-image: url('background.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 20px; /* Rounded corners for the container */
    padding: 40px 20px; /* Increased padding */
    max-width: 300px; /* Narrower container */
    width: 90%;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* Softer shadow for depth */
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative; /* Needed for potential overlay if text is hard to read */
    overflow: hidden; /* Ensures background doesn't spill past rounded corners */
}

/* Optional: Add a semi-transparent overlay if text is hard to read */
/* .container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3); /* Adjust opacity as needed */
/*    border-radius: 20px; /* Match container border-radius */
/*    z-index: 1; */
/* } */

.title {
    font-size: 1.5em; /* Slightly smaller title */
    font-weight: 600; /* Bolder */
    color: #f0f0f0; /* Light gray/white color */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Subtle text shadow for readability */
    margin-bottom: 30px; /* Space below title */
    z-index: 2; /* Ensure title is above overlay */
}

.subtitle {
    font-size: 0.7em; /* Smaller than the title */
    color: #e0e0e0; /* Lighter color, adjust as needed */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5); /* Optional shadow */
    margin-top: -20px; /* Reduce space below title */
    margin-bottom: 30px; /* Space above buttons */
    z-index: 2; /* Ensure subtitle is above overlay */
    text-align: center;
}

.buttons {
    display: flex;
    flex-direction: column;
    gap: 20px; /* Space between buttons */
    width: 80%; /* Control button width relative to container */
    z-index: 2; /* Ensure buttons are above overlay */
}

.link-button {
    background-color: #ffffff;
    border: 2px solid #000000;
    border-radius: 30px; /* Pill shape */
    padding: 12px 20px;
    font-size: 0.7em; /* Reduced font size */
    font-weight: 500;
    color: #000000; /* Black text */
    cursor: pointer;
    text-align: center;
    box-shadow: 3px 3px 0px #000000; /* Black offset shadow as in screenshot */
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    text-decoration: none;
    border: 2px solid black; /* Explicit black border */
}

.link-button:hover {
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0px #000000; /* Slightly reduced shadow on hover */
}

/* .styled-button .icon { */ /* Rule removed as icons are gone */
/*    margin-right: 15px; */
/*    font-size: 1.5em; */
/*    /* In a real scenario, you'd replace these emojis with actual image icons */ */
/* } */

/* Specific font might require @font-face import if not a standard web font */ 