:root {
    --primary: #111827;
    --primary-hover: #374151;
    --secondary: #ea580c;
    --secondary-hover: #c2410c;
    --background: #f3f4f6;
    --card-bg: #ffffff;
    --text-main: #1f2937;
    --text-muted: #6b7280;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.wrapper {
    flex: 1;
    display: grid;
    place-items: center;
    padding: 24px;
}

main {
    width: 100%;
    max-width: 480px;
    padding: 48px 40px;
    text-align: center;
    background: var(--card-bg);
    border-radius: 20px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.logo {
    width: 140px;
    height: 140px;
    object-fit: contain;
    border-radius: 50%;
    margin-bottom: 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
}

p {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.botones {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.boton {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    border: none;
}

.boton-primario {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(17, 24, 39, 0.2);
}

.boton-primario:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.boton-secundario {
    background: var(--secondary);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(234, 88, 12, 0.2);
}

.boton-secundario:hover {
    background: var(--secondary-hover);
    transform: translateY(-2px);
}

footer {
    padding: 24px;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

footer a {
    color: var(--text-muted);
    text-decoration: underline;
    cursor: pointer;
    margin: 0 10px;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--primary);
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    width: 100%;
    max-width: 700px;
    max-height: 85vh;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.25rem;
    color: var(--primary);
}

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: color 0.2s;
}

.close-btn:hover {
    color: var(--primary);
}

.modal-body {
    padding: 24px;
    overflow-y: auto;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-main);
    text-align: left;
}

.modal-body h3 {
    margin-top: 16px;
    margin-bottom: 8px;
}