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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: white;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.container {
    width: 100%;
    max-width: 500px;
    text-align: center;
}

header {
    margin-bottom: 30px;
    color: #ff6b35;
}

header h1 {
    font-size: 3rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
}

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

/* Estilos del formulario */
.form-container {
    margin-bottom: 30px;
}

.form-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.form-card h2 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.form-card p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.5;
}

.input-group {
    margin-bottom: 25px;
    text-align: left;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.input-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.input-group input:focus {
    outline: none;
    border-color: #ff6b35;
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.btn-activar {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-activar:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 107, 53, 0.3);
}

.btn-activar:active {
    transform: translateY(0);
}

/* Estilos de la tarjeta */
.card-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.credit-card {
    width: 100%;
    max-width: 400px;
    height: 250px;
    background-image: url('naranjax-visa-apple-pay-4614-2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 20px;
    padding: 30px;
    color: white;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.credit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    pointer-events: none;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.card-header h3 {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff6b35;
}

.card-logo {
    font-size: 2rem;
}

/* Fecha de caducidad en la parte superior */
.card-expiry-top {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 20px;
    margin-top: 10px;
}

.card-expiry-top .label {
    font-size: 0.6rem;
    color: #fff;
    margin-bottom: 3px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.card-expiry-top span:last-child {
    font-size: 0.9rem;
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.card-number {
    margin-bottom: 30px;
    margin-top: 20px;
}

.card-number span {
    font-size: 1rem;
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.card-footer {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
}

.card-holder,
.card-expiry {
    display: flex;
    flex-direction: column;
}

.label {
    font-size: 0.7rem;
    color: #fff;
    margin-bottom: 5px;
    letter-spacing: 1px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

.holder-name {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Mensaje de éxito */
.success-message {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.success-message h3 {
    color: #28a745;
    margin-bottom: 10px;
    font-size: 1.5rem;
}

.success-message p {
    color: #666;
    margin-bottom: 20px;
}

.btn-secondary {
    padding: 12px 25px;
    background: #6c757d;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #5a6268;
    transform: translateY(-1px);
}

/* Animaciones */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.card-container {
    animation: slideIn 0.6s ease-out;
}

/* Responsive */
@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    header h1 {
        font-size: 2.5rem;
    }
    
    .form-card {
        padding: 30px 20px;
    }
    
    .credit-card {
        height: 220px;
        padding: 25px;
    }
    
    .card-number span {
        font-size: 1.1rem;
    }
}