.loyalty-card {
    background: linear-gradient(135deg, rgba(255,215,0,0.1), rgba(255,193,7,0.05));
    border: 2px solid rgba(255,215,0,0.3);
}

.loyalty-badge {
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 16px;
    display: inline-block;
    margin: 8px 0;
}

.tier-1 { background: linear-gradient(45deg, #ffd700, #ffed4a); color: #333; }
.tier-2 { background: linear-gradient(45deg, #cd7f32, #d4a574); color: white; }
.tier-3 { background: linear-gradient(45deg, #c0c0c0, #e8e8e8); color: #333; }
.tier-4 { background: linear-gradient(45deg, #ffd700, #ffb347); color: #333; }
.tier-5 { background: linear-gradient(45deg, #e5e4e2, #f8f8ff); color: #333; }
.tier-6 { background: linear-gradient(45deg, #b9f2ff, #c4f0ff); color: #333; }
.tier-999 { background: linear-gradient(45deg, #ff6b6b, #ee5a52); color: white; }
.tier-0 { background: linear-gradient(45deg, #95a5a6, #bdc3c7); color: white; }

.streak-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    margin-left: 8px;
    text-transform: uppercase;
}

.streak-badge.loyal { background: #ff6b6b; color: white; }
.streak-badge.champion { background: #ffd700; color: #333; }
.streak-badge.veteran { background: #9b59b6; color: white; }
.streak-badge.expert { background: #3498db; color: white; }
.streak-badge.master { background: #e74c3c; color: white; }

.status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.status-admin { background: linear-gradient(45deg, #ff6b6b, #ee5a52); color: white; }
.status-premium { background: linear-gradient(45deg, #4ecdc4, #44a08d); color: white; }
.status-giveaway { background: linear-gradient(45deg, #ffc107, #ffed4a); color: #333; }
.status-expired { background: linear-gradient(45deg, #95a5a6, #7f8c8d); color: white; }
.status-free { background: linear-gradient(45deg, #bdc3c7, #95a5a6); color: white; }

.history-duration {
    font-size: 13px;
    color: #007acc;
    font-weight: 500;
    margin-bottom: 4px;
}

.history-timeline {
    position: relative;
    padding-left: 20px;
}

.history-item {
    position: relative;
    margin-bottom: 20px;
    padding-left: 30px;
}

.history-item:before {
    content: '';
    position: absolute;
    left: -25px;
    top: 0;
    bottom: -20px;
    width: 2px;
    background: #e0e0e0;
}

.history-item:last-child:before {
    display: none;
}

.history-dot {
    position: absolute;
    left: -30px;
    top: 5px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #007acc;
}

.history-item.active .history-dot {
    background: #28a745;
    box-shadow: 0 0 0 3px rgba(40, 167, 69, 0.3);
}

.history-content {
    background: rgba(0,0,0,0.02);
    padding: 12px;
    border-radius: 8px;
    border-left: 3px solid #007acc;
}

.history-item.active .history-content {
    border-left-color: #28a745;
    background: rgba(40, 167, 69, 0.05);
}

.history-date {
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
}

.history-status {
    font-size: 14px;
    color: #666;
}

.button {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 8px;
    color: white;
    font-weight: 700;
    border: none;
    cursor: pointer;
}
