/* NQ Tenpin Booking System - Card Components */

/* Base Card */
.card {
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

/* Card Hover */
.card--hover:hover {
    transform: translateY(-4px);
    border-color: var(--border-medium);
    box-shadow: var(--shadow-lg);
}

/* Card with Glow */
.card--glow {
    box-shadow: var(--shadow-md);
}

.card--glow:hover {
    box-shadow: var(--shadow-lg), var(--shadow-glow-primary);
}

/* Glass Card */
.card--glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Card Padding Variants */
.card--sm { padding: var(--space-4); }
.card--lg { padding: var(--space-8); }
.card--xl { padding: var(--space-10); }

/* Card Header */
.card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-subtle);
}

.card__title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
}

.card__subtitle {
    font-size: var(--text-sm);
    color: var(--text-muted);
    margin-top: var(--space-1);
}

.card__actions {
    display: flex;
    gap: var(--space-2);
}

/* Card Body */
.card__body {
    flex: 1;
}

/* Card Footer */
.card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: var(--space-6);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-subtle);
}

/* Booking Option Card */
.booking-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-3);
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    text-decoration: none;
    display: block;
}

.booking-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-glow);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.booking-card:hover::before {
    opacity: 0.1;
}

.booking-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg), var(--shadow-glow-primary);
}

.booking-card__icon {
    width: 36px;
    height: 36px;
    margin: 0 auto var(--space-2);
    background: var(--gradient-primary);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: var(--text-lg);
    transition: all var(--transition-base);
}

.booking-card:hover .booking-card__icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow-primary);
}

.booking-card__title {
    font-family: var(--font-heading);
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    color: var(--text-primary);
    margin-bottom: var(--space-1);
    position: relative;
}

.booking-card__description {
    color: var(--text-muted);
    font-size: 10px;
    line-height: 1.3;
    position: relative;
    display: none;
}

.booking-card__arrow {
    position: absolute;
    bottom: var(--space-4);
    right: var(--space-4);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    opacity: 0;
    transform: translateX(-10px);
    transition: all var(--transition-base);
}

.booking-card:hover .booking-card__arrow {
    opacity: 1;
    transform: translateX(0);
}

/* Info Card */
.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-4);
    display: flex;
    gap: var(--space-4);
    align-items: flex-start;
}

.info-card__icon {
    width: 48px;
    height: 48px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.info-card__content {
    flex: 1;
    min-width: 0;
}

.info-card__title {
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-1);
}

.info-card__text {
    color: var(--text-muted);
    font-size: var(--text-sm);
}

/* Stats Card */
.stats-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    text-align: center;
}

.stats-card__value {
    font-family: var(--font-display);
    font-size: var(--text-4xl);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: var(--leading-none);
    margin-bottom: var(--space-2);
}

.stats-card__label {
    color: var(--text-muted);
    font-size: var(--text-sm);
    text-transform: uppercase;
    letter-spacing: var(--tracking-wider);
}

.stats-card__trend {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    margin-top: var(--space-2);
    font-size: var(--text-sm);
}

.stats-card__trend--up {
    color: var(--success);
}

.stats-card__trend--down {
    color: var(--error);
}

/* Pricing Card */
.pricing-card {
    background: var(--gradient-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-2xl);
    padding: var(--space-8);
    position: relative;
}

.pricing-card--featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow-primary);
}

.pricing-card__badge {
    position: absolute;
    top: var(--space-4);
    right: var(--space-4);
    background: var(--gradient-primary);
    color: var(--bg-darkest);
    font-size: var(--text-xs);
    font-weight: var(--font-bold);
    text-transform: uppercase;
    padding: var(--space-1) var(--space-3);
    border-radius: var(--radius-full);
}

.pricing-card__header {
    text-align: center;
    padding-bottom: var(--space-6);
    border-bottom: 1px solid var(--border-subtle);
    margin-bottom: var(--space-6);
}

.pricing-card__title {
    font-size: var(--text-xl);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-2);
}

.pricing-card__price {
    font-family: var(--font-display);
    font-size: var(--text-5xl);
    color: var(--primary);
    line-height: var(--leading-none);
}

.pricing-card__price span {
    font-size: var(--text-lg);
    font-family: var(--font-body);
    color: var(--text-muted);
}

.pricing-card__features {
    margin-bottom: var(--space-6);
}

.pricing-card__feature {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2) 0;
    color: var(--text-secondary);
}

.pricing-card__feature-icon {
    color: var(--success);
    flex-shrink: 0;
}

/* Booking Summary Card */
.summary-card {
    background: var(--bg-elevated);
    border-radius: var(--radius-lg);
    padding: var(--space-6);
}

.summary-card__title {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-4);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-subtle);
}

.summary-card__row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-2) 0;
    color: var(--text-secondary);
}

.summary-card__row span:last-child {
    font-weight: var(--font-medium);
    color: var(--text-primary);
}

.summary-card__row--total {
    font-size: var(--text-lg);
    font-weight: var(--font-semibold);
    padding-top: var(--space-4);
    border-top: 1px solid var(--border-subtle);
    margin-top: var(--space-4);
}

.summary-card__row--total span:last-child {
    color: var(--primary);
}

.summary-card__divider {
    height: 1px;
    background: var(--border-subtle);
    margin: var(--space-4) 0;
}

/* Empty State Card */
.empty-card {
    text-align: center;
    padding: var(--space-12);
}

.empty-card__icon {
    font-size: 4rem;
    margin-bottom: var(--space-4);
    opacity: 0.5;
}

.empty-card__title {
    font-size: var(--text-xl);
    margin-bottom: var(--space-2);
}

.empty-card__description {
    color: var(--text-muted);
    margin-bottom: var(--space-6);
}

/* Responsive */
@media (max-width: 640px) {
    .card {
        padding: var(--space-4);
    }
    
    .booking-card {
        padding: var(--space-6);
    }
    
    .booking-card__icon {
        width: 64px;
        height: 64px;
        font-size: var(--text-3xl);
    }
}
