:root {
    --primary-color: #3498db;
    --secondary-color: #2c3e50;
    --background-light: #ecf0f1;
    --background-dark: #bdc3c7;
    --card-background: #ffffff;
    --text-color: #34495e;
    --button-hover: #2980b9;
    --shadow-light: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--background-light);
    color: var(--text-color);
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    text-align: center;
    padding: 20px;
    animation: fadeIn 1s ease-in-out;
}

.card {
    background-color: var(--card-background);
    padding: 40px 50px;
    border-radius: 12px;
    box-shadow: 0 10px 25px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

h1 {
    font-size: 2.5em;
    color: var(--primary-color);
    margin-bottom: 0.5em;
}

p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 2em;
}

.button {
    display: inline-block;
    background-color: var(--primary-color);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.button:hover {
    background-color: var(--button-hover);
    transform: translateY(-2px);
}

/* Modal Styling */
.modal-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 9998;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s;
}

.modal-alert {
    position: fixed;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: #fff;
    color: #c0392b;
    border-radius: 10px;
    padding: 30px;
    z-index: 9999;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    max-width: 90%;
    text-align: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.modal-alert p {
    margin: 0;
    font-size: 1.2em;
    font-weight: bold;
}

.modal-alert .close-btn {
    position: absolute;
    top: 10px; right: 15px;
    background: none;
    border: none;
    font-size: 2em;
    color: #7f8c8d;
    cursor: pointer;
    transition: color 0.2s;
}

.modal-alert .close-btn:hover {
    color: #c0392b;
}

/* Active State for Modal */
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-alert.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}