/* assets/css/style.css - Estilos base */
:root {
    --ouija-brown: #1a0f0a;
    --ouija-dark: #0a0502;
    --ouija-light: #2c1810;
    --ouija-gold: #d4af37;
    --ouija-red: #8b0000;
    --spirit-blue: #4a90e2;
    --spirit-purple: #8a2be2;
    --success-green: #44ff44;
    --error-red: #ff4444;
    --warning-orange: #ffaa44;
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    color: #eee;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    min-height: 100vh;
}

a {
    color: var(--spirit-blue);
    text-decoration: none;
    transition: color 0.3s;
}

a:hover {
    color: var(--ouija-gold);
}

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

/* Utilidades */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* Botones */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    font-family: 'Cinzel', serif;
}

.btn-primary {
    background: linear-gradient(135deg, var(--ouija-gold), #b8941f);
    color: var(--ouija-dark);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #e6c158, #c9a41f);
    transform: translateY(-2px);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--spirit-blue), #2a6fd6);
    color: white;
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #5aa0ff, #3a7fd6);
}

.btn-danger {
    background: linear-gradient(135deg, var(--ouija-red), #660000);
    color: white;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #9a0000, #770000);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none !important;
}

/* Formularios */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--ouija-gold);
    font-weight: bold;
}

.form-control {
    width: 100%;
    padding: 12px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid var(--ouija-gold);
    border-radius: 5px;
    color: white;
    font-size: 16px;
    transition: all 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: var(--spirit-blue);
    box-shadow: 0 0 10px rgba(74, 144, 226, 0.5);
}

.form-control:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Alertas */
.alert {
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid transparent;
}

.alert-success {
    background: rgba(68, 255, 68, 0.1);
    border-color: var(--success-green);
    color: var(--success-green);
}

.alert-error {
    background: rgba(139, 0, 0, 0.1);
    border-color: var(--ouija-red);
    color: #ff8888;
}

.alert-warning {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--ouija-gold);
    color: var(--ouija-gold);
}

/* Tarjetas */
.card {
    background: rgba(10, 5, 2, 0.9);
    border: 1px solid var(--ouija-gold);
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
}

/* Grid */
.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col {
    flex: 1;
    padding: 0 15px;
}

.col-6 {
    flex: 0 0 50%;
    max-width: 50%;
}

.col-4 {
    flex: 0 0 33.333%;
    max-width: 33.333%;
}

.col-3 {
    flex: 0 0 25%;
    max-width: 25%;
}

/* Animaciones */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.fade-in {
    animation: fadeIn 0.5s ease;
}

.slide-up {
    animation: slideUp 0.5s ease;
}

.pulse {
    animation: pulse 2s infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    
    .col, .col-6, .col-4, .col-3 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 20px;
    }
    
    .row {
        margin: 0 -10px;
    }
    
    .col {
        padding: 0 10px;
    }
}