/* Card Trio Container */
.lorcana-card-trio-container {
    margin: 0;
    padding: 0;
    background: none;
    border-radius: 0;
}

.trio-title {
    display: none;
}

.trio-description {
    display: none;
}

.lorcana-card-trio {
    width: auto;
    max-width: none;
    margin: 0 !important;
    padding: 0 !important;
}

/* Loading and Error States */
.loading-spinner {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
}

.error-message {
    text-align: center;
    padding: 40px;
    color: #dc3545;
    font-weight: bold;
}

/* Card Grid Layout */
.card-trio-grid {
    display: flex !important;
    justify-content: center !important;
    align-items: flex-start !important;
    gap: 10px !important;
    flex-wrap: nowrap !important;
    width: 100% !important;
    overflow-x: auto !important;
    padding: 0 0 15px 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* Individual Card Styling */
.card-item {
    flex: 0 0 180px !important;
    width: 180px !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    overflow: visible !important;
    flex-shrink: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
}

/* Card Image */
.card-image-container {
    position: relative;
    width: auto;
    height: auto;
    overflow: visible;
    background: none;
    margin: 0 !important;
    padding: 0 !important;
}

.card-image {
    width: 100%;
    height: auto;
    max-width: 180px;
    min-width: 120px;
    object-fit: contain;
    margin: 0 !important;
    padding: 0 !important;
    display: block;
}

.no-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #333;
    font-style: normal;
    background: #f8f9fa;
    font-size: 14px;
    text-align: center;
    padding: 15px;
    font-weight: 500;
    line-height: 1.3;
}

.card-name {
    display: none;
}

.card-subtitle {
    display: none;
}

.card-type {
    display: none;
}

.card-stats {
    display: none;
}

.stat {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 10px;
    font-weight: bold;
    color: white;
}

.stat.strength {
    background: #dc3545;
}

.stat.willpower {
    background: #28a745;
}

.card-ability {
    display: none;
}

.card-flavor {
    display: none;
}

/* Card Footer */
.card-footer {
    display: none;
}

.card-artist {
    margin-bottom: 2px;
    font-weight: 500;
}

.card-number {
    color: #999;
}

/* Empty Card Placeholder */
.empty-card {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
}

.card-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 350px;
}

.placeholder-text {
    color: #999;
    font-style: italic;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .card-trio-grid {
        flex-direction: row !important;
        align-items: center;
        gap: 4px !important;
        overflow-x: visible !important;
    }
    
    .card-item {
        flex: 0 0 calc(33.333% - 3px) !important;
        width: calc(33.333% - 3px) !important;
        max-width: 90px !important;
    }
    
    .card-image {
        max-width: 100% !important;
        min-width: 0 !important;
        width: 100% !important;
    }
}
