:root {
    --ven-yellow: #FCD116;
    --ven-blue: #003893;
    --ven-red: #CF142B;
    --glass-bg: rgba(255, 255, 255, 0.95);
}

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

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

/* Animación de fondo */
.bg-animation {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    background: linear-gradient(45deg, #003893, #1e5799, #FCD116, #CF142B);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    opacity: 0.1;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Header */
header {
    text-align: center;
    padding: 40px 20px 20px;
    color: white;
}

header h1 { 
    font-size: 2.8rem; 
    font-weight: 700; 
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2); 
    margin-bottom: 0.5rem; 
}

header p { 
    font-size: 1.2rem; 
    opacity: 0.95; 
}

/* Container */
.container { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 20px; 
}

/* Grid */
.entrepreneurs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 0px;
}

/* Cards */
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1.5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
}

.card:hover { 
    transform: translateY(-10px); 
    box-shadow: 0 20px 40px rgba(0,0,0,0.2); 
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, var(--ven-yellow), var(--ven-blue), var(--ven-red));
}

.card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bbb;
    font-size: 4rem;
    margin-bottom: 1rem;
}

.category-tag {
    display: inline-block;
    background: var(--ven-blue);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.card h3 { 
    color: var(--ven-blue); 
    font-size: 1.4rem; 
    margin-bottom: 0.3rem; 
}

.business { 
    color: #666; 
    font-weight: 600; 
    font-size: 1rem; 
    margin-bottom: 1rem; 
    display: block; 
}

.description { 
    color: #555; 
    font-size: 0.95rem; 
    line-height: 1.6; 
    margin-bottom: 1.5rem; 
}

/* Vote Section */
.vote-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(0,0,0,0.1);
    padding-top: 1rem;
}

.vote-count { 
    font-size: 1.1rem; 
    font-weight: 700; 
    color: var(--ven-blue); 
}

.vote-count i { 
    color: var(--ven-yellow); 
    margin-right: 0.3rem; 
}

.btn-vote {
    background: linear-gradient(135deg, var(--ven-blue) 0%, #1e5799 100%);
    color: white;
    border: none;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0, 57, 147, 0.3);
}

.btn-vote:hover { 
    transform: scale(1.05); 
    box-shadow: 0 6px 20px rgba(0, 57, 147, 0.4); 
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    position: relative;
    animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
    from { transform: translateY(-50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.close { 
    position: absolute; 
    top: 1rem; 
    right: 1rem; 
    font-size: 1.8rem; 
    cursor: pointer; 
    color: #999; 
}

.close:hover { 
    color: var(--ven-red); 
}

.modal h2 { 
    color: var(--ven-blue); 
    margin-bottom: 0.5rem; 
    text-align: center; 
}

.modal-subtitle { 
    text-align: center; 
    color: #666; 
    margin-bottom: 2rem; 
    font-size: 0.9rem; 
}

.modal-subtitle strong {
    color: var(--ven-red);
}

/* Form */
.form-group { 
    margin-bottom: 1.2rem; 
}

.form-group label { 
    display: block; 
    margin-bottom: 0.5rem; 
    color: #555; 
    font-weight: 600; 
    font-size: 0.9rem; 
}

.form-group input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-family: inherit;
    transition: border-color 0.3s;
}

.form-group input:focus { 
    outline: none; 
    border-color: var(--ven-blue); 
}

.form-group small {
    color: #999;
    font-size: 0.75rem;
    display: block;
    margin-top: 0.3rem;
}

.btn-submit {
    width: 100%;
    background: linear-gradient(135deg, var(--ven-red) 0%, #a81025 100%);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover { 
    transform: scale(1.02); 
    box-shadow: 0 5px 20px rgba(207, 20, 43, 0.3); 
}

/* Notification */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 1.2rem 2rem;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    z-index: 2000;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.notification.show { 
    transform: translateX(0); 
}

.notification.success { 
    background: #28a745; 
}

.notification.error { 
    background: #dc3545; 
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 1rem;
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 { font-size: 2rem; }
    .entrepreneurs-grid { grid-template-columns: 1fr; }
    .modal-content { padding: 1.5rem; }
}