/* ===================== */
/* SCI-FI CARD COMPONENTS */
/* ===================== */

/* Base Card Styles */
.card {
    background: rgba(19, 19, 19, 0.8);
    border: 1px solid rgba(203, 163, 82, 0.3);
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    position: relative;
}

.card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    right: -1px;
    bottom: -1px;
    border: 1px solid transparent;
    border-image: linear-gradient(135deg, rgba(203, 163, 82, 0.5), rgba(19, 19, 19, 0.5));
    border-image-slice: 1;
    pointer-events: none;
    z-index: 0;
    border-radius: 15px;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(203, 163, 82, 0.2);
}

/* Card Header */
.card-header {
    background: linear-gradient(90deg, rgba(19, 19, 19, 0.9), rgba(203, 163, 82, 0.2));
    color: #cba352;
    font-family: 'Orbitron', sans-serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    border-bottom: 1px solid rgba(203, 163, 82, 0.2);
    padding: 15px 20px;
    position: relative;
}

.card-header i {
    margin-right: 10px;
    color: #cba352;
}

/* Card Body */
.card-body {
    padding: 20px;
    background: rgba(19, 19, 19, 0.6);
    position: relative;
}

.card-body p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 15px;
}

.card-body small {
    color: rgba(203, 163, 82, 0.7);
    font-size: 0.85rem;
    display: block;
    margin-bottom: 15px;
}

/* Card Links */
.card-body a {
display: inline-flex; /* or inline-block */
    justify-content: center; /* center text horizontally (if using flex) */
    align-items: center; /* center text vertically (if using flex) */
    min-width: 170px; /* Set a minimum width */
    height: 36px; /* Fixed height */
    padding: 8px 15px;
    background: rgba(203, 163, 82, 0.1);
    color: #cba352;
    border: 1px solid rgba(203, 163, 82, 0.3);
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-align: center; /* Center text if using inline-block */
    box-sizing: border-box; /* Ensure padding doesn't affect width/height */
}

.card-body a:hover {
    background: rgba(203, 163, 82, 0.2);
    color: #ffffff;
    box-shadow: 0 0 10px rgba(203, 163, 82, 0.2);
    transform: translateY(-2px);
}

/* Card Variations */
.card-unread {
    border-left: 3px solid #cba352;
    animation: pulse-glow 2s infinite;
}

.card-highlight {
    background: linear-gradient(90deg, rgba(19, 19, 19, 0.7), rgba(203, 163, 82, 0.1));
}

/* Card Animations */
@keyframes pulse-glow {
    0% { box-shadow: 0 0 0 0 rgba(203, 163, 82, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(203, 163, 82, 0); }
    100% { box-shadow: 0 0 0 0 rgba(203, 163, 82, 0); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .card {
        border-radius: 12px;
    }
    
    .card-header {
        padding: 12px 15px;
        font-size: 0.95rem;
    }
    
    .card-body {
        padding: 15px;
    }
    
    .card-body p {
        font-size: 0.95rem;
    }
    
    .card-body a {
        padding: 6px 12px;
    }
}

@media (max-width: 576px) {
    .card-header {
        padding: 10px 12px;
        font-size: 0.9rem;
    }
    
    .card-body {
        padding: 12px;
    }
    
    .card-body small {
        font-size: 0.8rem;
    }
}

/* sci-fi button codes */
.btn--base {
        background: linear-gradient(135deg, #cba352, #8a6d3b);
        border: none;
        color: #131313;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 1px;
        padding: 12px 25px;
        border-radius: 8px;
        /* width: 100%; */
        transition: all 0.3s ease;
        box-shadow: 0 4px 15px rgba(203, 163, 82, 0.3);
    }
    
    .btn--base:hover {
        transform: translateY(-3px);
        box-shadow: 0 7px 20px rgba(203, 163, 82, 0.4);
    }
    
    
    
    
    

