/* ============================================
ADVENTURES COMPLETE STYLES
Combines all adventure component styles
Uses Design System Tokens from design-system.css
============================================ */

/* ============================================
   FILTER BAR
   ============================================ */

.adv-filter-bar {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-lg);
    margin-bottom: var(--space-lg);
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-lg);
}

.adv-filter-group {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.adv-filter-label {
    font-size: 0.75rem;
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    min-width: 70px;
    flex-shrink: 0;
}

.adv-filter-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.adv-pill {
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid var(--color-border-base);
    background: transparent;
    color: var(--color-text-secondary);
    font-size: 0.8rem;
    font-weight: var(--font-weight-medium);
    cursor: pointer;
    transition: all 0.15s ease;
    font-family: inherit;
    white-space: nowrap;
}

.adv-pill:hover {
    border-color: var(--color-border-hover);
    color: var(--color-text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.adv-pill.active {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
    color: var(--color-primary);
    font-weight: var(--font-weight-semibold);
}

.adv-filter-sort-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    flex-wrap: wrap;
    padding-top: var(--space-xs);
    border-top: 1px solid var(--color-border-base);
    margin-top: var(--space-xs);
}

.adv-filter-sort {
    align-items: center;
}

.adv-sort-select {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-size: 0.82rem;
    padding: 4px 10px;
    cursor: pointer;
    font-family: inherit;
    transition: border-color 0.15s ease;
}

.adv-sort-select:hover,
.adv-sort-select:focus {
    border-color: var(--color-border-hover);
    outline: none;
}

.adv-sort-select option {
    background: #1e293b;
}

.adv-filter-results {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-left: auto;
}

.adv-results-count {
    font-size: 0.8rem;
    color: var(--color-text-secondary);
    font-weight: var(--font-weight-medium);
    white-space: nowrap;
}

.adv-clear-btn {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: var(--radius-md);
    border: 1px solid rgba(239, 68, 68, 0.35);
    background: rgba(239, 68, 68, 0.08);
    color: #f87171;
    font-size: 0.78rem;
    font-weight: var(--font-weight-semibold);
    cursor: pointer;
    font-family: inherit;
    transition: all 0.15s ease;
    white-space: nowrap;
}

.adv-clear-btn:hover {
    background: rgba(239, 68, 68, 0.18);
    border-color: rgba(239, 68, 68, 0.6);
}

.adv-filter-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-2xl) var(--space-lg);
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

/* Responsive: stack label above pills on small screens */
@media (max-width: 600px) {
    .adv-filter-label {
        min-width: unset;
        width: 100%;
    }

    .adv-filter-group {
        flex-direction: column;
        align-items: flex-start;
    }

    .adv-filter-sort-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .adv-filter-results {
        margin-left: 0;
        width: 100%;
        justify-content: space-between;
    }
}

/* ============================================
   COMMON STYLES
   ============================================ */

/* Page Header */
.adventures-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
}

.adventures-title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 5vw, 2.25rem);
    font-weight: var(--font-weight-bold);
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 50%, var(--color-primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
}

.adventures-subtitle {
    color: var(--color-text-secondary);
    font-size: clamp(0.85rem, 2vw, 1rem);
}

/* Main Container */
.adventures-container {
    background: linear-gradient(145deg, var(--color-bg-elevated) 0%, var(--color-bg-elevated-alt) 100%);
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-2xl);
    padding: var(--page-padding-x);
    position: relative;
    overflow: visible;
    width: 100%;
    max-width: var(--page-max-width-lg);
    box-sizing: border-box;
    margin: 0 auto;
}

.adventures-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.4), transparent);
}

/* Loading State */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-3xl) var(--space-lg);
    gap: var(--space-lg);
}

.loading-text {
    color: var(--color-text-secondary);
    font-weight: var(--font-weight-medium);
}

/* Empty State */
.empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-2xl) var(--space-lg);
    text-align: center;
}

.empty-state-icon {
    margin-bottom: var(--space-lg);
    opacity: 0.8;
}

.empty-state-title {
    font-family: var(--font-display);
    font-size: clamp(1.1rem, 3vw, 1.25rem);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}

.empty-state-text {
    color: var(--color-text-secondary);
    font-size: var(--font-size-base);
    max-width: 400px;
    margin-bottom: var(--space-xl);
}

/* Page Footer */
.page-footer {
    display: flex;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    flex-wrap: wrap;
}

/* Base Button Styles */
.btn-action {
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: clamp(0.7rem, 2vw, 0.85rem);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    transition: all var(--transition-slow);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary-fantasy {
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
    color: #0f172a;
}

.btn-primary-fantasy:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

.btn-success-fantasy {
    background: linear-gradient(135deg, var(--color-success), var(--color-success-dark));
    color: white;
}

.btn-success-fantasy:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

.btn-secondary-fantasy {
    border: 2px solid var(--color-border-hover);
    color: var(--color-primary);
    background: transparent;
}

.btn-secondary-fantasy:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--color-border-active);
}

/* Status Badges */
.status-badge {
    display: inline-flex;
    align-items: center;
    padding: var(--space-xs) var(--space-md);
    border-radius: 20px;
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.status-badge.available {
    background: rgba(59, 130, 246, 0.2);
    color: var(--color-info-light);
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.status-badge.in-progress {
    background: rgba(245, 158, 11, 0.2);
    color: var(--color-warning-light);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.status-badge.completed {
    background: rgba(34, 197, 94, 0.2);
    color: var(--color-success-light);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-badge.repeatable {
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.status-badge.premium-required {
    background: rgba(255, 215, 0, 0.2);
    color: var(--color-primary);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

/* Active List Mobile */
.adventure-list-mobile {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.adventure-card {
    background: linear-gradient(145deg, var(--color-bg-elevated), var(--color-bg-elevated-alt));
    border: 1px solid var(--color-border-base);
    border-radius: var(--radius-2xl);
    overflow: hidden;
}

.adventure-card-header {
    background: rgba(255, 215, 0, 0.05);
    border-bottom: 1px solid var(--color-border-base);
    padding: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.adventure-card-title {
    font-family: var(--font-display);
    font-size: var(--font-size-md);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
}

.adventure-card-body {
    padding: var(--space-lg);
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.card-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.card-info-label {
    font-size: var(--font-size-sm);
    color: var(--color-text-secondary);
}

.card-info-value {
    font-size: var(--font-size-base);
    font-weight: var(--font-weight-semibold);
    color: var(--color-text-primary);
}

.progress-bar-mobile {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-info), var(--color-info-dark));
    transition: width var(--transition-slow);
}

.adventure-card-footer {
    padding: var(--space-lg);
    border-top: 1px solid var(--color-border-subtle);
}

/* Info Banner */
.info-banner {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    border: 1px solid;
}

/* Animations */
@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 10px rgba(245, 158, 11, 0.2); }
    50% { box-shadow: 0 0 20px rgba(245, 158, 11, 0.4); }
}

@keyframes badge-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* ============================================
   BROWSE GRID STYLES
   ============================================ */

.adventure-browse-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
}

.adventure-browse-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
}

.adventure-browse-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.1);
}

.adventure-browse-card.premium-locked {
    cursor: not-allowed;
    opacity: 0.7;
}

.adventure-browse-card.premium-locked:hover {
    transform: none;
    box-shadow: none;
}

.adventure-browse-card.in-progress {
    border-color: rgba(245, 158, 11, 0.3);
}

.adventure-browse-card.completed {
    border-color: rgba(34, 197, 94, 0.3);
}

.adventure-browse-card.repeatable {
    border-color: rgba(139, 92, 246, 0.3);
}

.browse-card-image {
    position: relative;
    height: 140px;
    overflow: hidden;
}

.browse-card-image-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #1e293b;
    transition: transform 0.5s ease;
}

.browse-card-image-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(255, 215, 0, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 80%, rgba(59, 130, 246, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
    z-index: 1;
}

.adventure-browse-card:hover .browse-card-image-bg {
    transform: scale(1.08);
}

.browse-card-image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.95) 0%,
        rgba(15, 23, 42, 0.6) 40%,
        rgba(15, 23, 42, 0.2) 100%
    );
    z-index: 2;
}

.browse-card-badges {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.browse-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.6rem;
    border-radius: 16px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
}

.browse-badge.premium {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.35), rgba(255, 215, 0, 0.2));
    border: 1px solid rgba(255, 215, 0, 0.6);
    color: #ffd700;
}

.browse-badge.multiplayer {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.35), rgba(139, 92, 246, 0.2));
    border: 1px solid rgba(139, 92, 246, 0.6);
    color: #c4b5fd;
}

.browse-badge.class-specific {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.35), rgba(34, 197, 94, 0.2));
    border: 1px solid rgba(34, 197, 94, 0.6);
    color: #86efac;
}

.browse-card-status {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 3;
}

.browse-card-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.browse-card-title {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0;
    line-height: 1.3;
    transition: color 0.2s ease;
}

.adventure-browse-card:hover .browse-card-title {
    color: #ffd700;
}

.browse-card-description {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
    flex: 1;
}

.browse-card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: auto;
}

.browse-stat {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    color: #94a3b8;
}

.browse-stat svg {
    font-size: 0.9rem !important;
    color: #64748b;
}

.browse-stat.boss {
    color: #fbbf24;
}

.browse-stat.boss svg {
    color: #fbbf24;
}

.browse-card-rewards {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.browse-reward {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.browse-reward.xp {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

.browse-reward.xp svg {
    color: #60a5fa;
    font-size: 0.85rem !important;
}

.browse-reward.currency {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

.browse-reward.currency svg {
    color: #fbbf24;
    font-size: 0.85rem !important;
}

.browse-card-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.btn-view-details {
    background: linear-gradient(135deg, #3b82f6, #2563eb) !important;
    color: white !important;
    font-family: 'Cinzel', serif !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.08em !important;
    padding: 0.6rem 1rem !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    border: none !important;
    cursor: pointer !important;
    width: 100%;
}

.btn-view-details:hover {
    background: linear-gradient(135deg, #2563eb, #1d4ed8) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4) !important;
}

.browse-card-locked {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 8px;
    color: #ffd700;
    font-size: 0.85rem;
    font-weight: 600;
}

.browse-card-locked svg {
    font-size: 1rem !important;
}

/* ============================================
   MAIN MENU STYLES
   ============================================ */

.adventure-main-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.adventure-main-hero {
    position: relative;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    overflow: hidden;
    text-align: center;
    aspect-ratio: 16 / 5;
    display: flex;
    align-items: center;
    justify-content: center;
}

.adventure-main-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
}

.adventure-main-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(255, 215, 0, 0.6), transparent);
}

.adventure-main-hero-content {
    position: relative;
    z-index: 1;
}

.adventure-main-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.05));
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2), 0 0 50px rgba(0, 0, 0, 0.8);
}

.adventure-main-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2rem, 6vw, 3rem);
    font-weight: 700;
    background: linear-gradient(135deg, #ffed4e 0%, #fff9c4 50%, #fdd835 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 0.5rem 0;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9), 0 4px 16px rgba(0, 0, 0, 0.7);
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.9));
}

.adventure-main-subtitle {
    font-size: 1.1rem;
    color: #e2e8f0;
    margin: 0;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.9), 0 4px 12px rgba(0, 0, 0, 0.7);
}

.adventure-active-alert {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.35), rgba(245, 158, 11, 0.15));
    border: 2px solid rgba(255, 215, 0, 0.6);
    border-radius: 25px;
    color: #ffd700;
    font-weight: 600;
    font-size: 0.9rem;
    animation: pulse-glow 2s ease-in-out infinite;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.4), 0 0 30px rgba(0, 0, 0, 0.6);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.9);
}

.adventure-main-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.adventure-main-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.adventure-main-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 215, 0, 0.4);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(255, 215, 0, 0.1);
}

.main-card-image {
    position: relative;
    height: 140px;
    overflow: hidden;
}

.main-card-image-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #1e293b;
    transition: transform 0.5s ease;
}

.browse-card .main-card-image-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 30%, rgba(59, 130, 246, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(59, 130, 246, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
    z-index: 1;
}

.continue-card .main-card-image-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 30%, rgba(245, 158, 11, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
    z-index: 1;
}

.achievements-card .main-card-image-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 30%, rgba(34, 197, 94, 0.3) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 70%, rgba(34, 197, 94, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, rgba(30, 41, 59, 0.7) 0%, rgba(15, 23, 42, 0.9) 100%);
    z-index: 1;
}

.adventure-main-card:hover .main-card-image-bg {
    transform: scale(1.1);
}

.main-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15, 23, 42, 1) 0%, rgba(15, 23, 42, 0.7) 50%, rgba(15, 23, 42, 0.3) 100%);
    z-index: 2;
}

.main-card-icon-wrapper {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.main-card-icon-wrapper.browse {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(59, 130, 246, 0.15));
    border: 2px solid rgba(59, 130, 246, 0.5);
    color: #60a5fa;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.main-card-icon-wrapper.continue {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.3), rgba(245, 158, 11, 0.15));
    border: 2px solid rgba(245, 158, 11, 0.5);
    color: #fbbf24;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

.main-card-icon-wrapper.achievements {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(34, 197, 94, 0.15));
    border: 2px solid rgba(34, 197, 94, 0.5);
    color: #4ade80;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}

.adventure-main-card:hover .main-card-icon-wrapper {
    transform: translate(-50%, -50%) scale(1.15);
}

.active-count-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 4;
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 14px;
    color: white;
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(239, 68, 68, 0.5);
    animation: badge-pulse 2s ease-in-out infinite;
}

.main-card-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.main-card-title {
    font-family: 'Cinzel', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0 0 0.75rem 0;
    transition: color 0.2s ease;
}

.browse-card:hover .main-card-title { color: #60a5fa; }
.continue-card:hover .main-card-title { color: #fbbf24; }
.achievements-card:hover .main-card-title { color: #4ade80; }

.main-card-description {
    font-size: 0.9rem;
    color: #94a3b8;
    line-height: 1.6;
    margin: 0;
    flex: 1;
}

.main-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.main-card-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.browse-card .main-card-cta { color: #60a5fa; }
.continue-card .main-card-cta { color: #fbbf24; }
.achievements-card .main-card-cta { color: #4ade80; }

.cta-arrow {
    color: #64748b;
    transition: all 0.3s ease;
}

.adventure-main-card:hover .cta-arrow { transform: translateX(4px); }
.browse-card:hover .cta-arrow { color: #60a5fa; }
.continue-card:hover .cta-arrow { color: #fbbf24; }
.achievements-card:hover .cta-arrow { color: #4ade80; }

.continue-card.has-active {
    border-color: rgba(245, 158, 11, 0.3);
}

.adventure-main-footer {
    text-align: center;
    padding-top: 1rem;
}

.btn-back-tavern {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #94a3b8;
    font-size: 0.9rem;
    text-transform: none;
    text-decoration: none;
    background: transparent;
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 6px;
    padding: 0.6rem 1.25rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-back-tavern:hover {
    color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.4);
}

/* ============================================
   ACTIVE ADVENTURES LIST STYLES
   ============================================ */

.active-adventures-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.active-adventures-hero {
    position: relative;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    overflow: hidden;
    text-align: center;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.active-adventures-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    pointer-events: none;
}

.active-adventures-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.6), transparent);
}

.active-adventures-hero-content {
    position: relative;
    z-index: 1;
}

.active-adventures-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.05));
    border: 2px solid rgba(245, 158, 11, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fbbf24;
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.2);
}

.active-adventures-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    background: linear-gradient(135deg, #fbbf24 0%, #fcd34d 50%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 0.5rem 0;
    letter-spacing: 0.03em;
}

.active-adventures-subtitle {
    font-size: 1rem;
    color: #cbd5e1;
    margin: 0;
}

.active-adventures-count {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.6rem 1.25rem;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.25), rgba(245, 158, 11, 0.1));
    border: 1px solid rgba(245, 158, 11, 0.4);
    border-radius: 20px;
    color: #fcd34d;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Active Adventures Container */
.active-adventures-container {
    background: linear-gradient(145deg, var(--color-dark-card) 0%, var(--color-dark-overlay) 100%);
    border: 1px solid rgba(245, 158, 11, 0.15);
    border-radius: 12px;
    padding: clamp(1rem, 4vw, 1.5rem);
    position: relative;
}

.active-adventures-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.4), transparent);
}

/* Active Adventures Grid */
.active-adventures-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Active Adventure Card */
.active-adventure-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.active-adventure-card:hover {
    transform: translateY(-4px);
    border-color: rgba(245, 158, 11, 0.5);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 25px rgba(245, 158, 11, 0.15);
}

/* Active Card Image */
.active-card-image {
    position: relative;
    height: 140px;
    overflow: hidden;
}

.active-card-image-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #1e293b;
    transition: transform 0.5s ease;
}

.active-card-image-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(245, 158, 11, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
    z-index: 1;
}

.active-adventure-card:hover .active-card-image-bg {
    transform: scale(1.08);
}

.active-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.95) 0%,
        rgba(15, 23, 42, 0.5) 50%,
        rgba(15, 23, 42, 0.2) 100%
    );
    z-index: 2;
}

.active-card-status {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 3;
}

.active-card-status .status-badge {
    gap: 0.35rem;
}

/* Circular Progress Ring */
.active-card-progress-ring {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    z-index: 3;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.circular-progress {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.circle-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 3;
}

.circle-fill {
    fill: none;
    stroke: #fbbf24;
    stroke-width: 3;
    stroke-linecap: round;
    transition: stroke-dasharray 0.5s ease;
}

.progress-text {
    position: absolute;
    font-size: 0.65rem;
    font-weight: 700;
    color: #fcd34d;
}

/* Active Card Content */
.active-card-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.active-card-title {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0;
    transition: color 0.2s ease;
}

.active-adventure-card:hover .active-card-title {
    color: #fbbf24;
}

.active-card-waypoint {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #94a3b8;
}

.active-card-waypoint svg {
    color: #fbbf24;
    font-size: 1rem !important;
}

/* Progress Bar */
.active-card-progress-bar {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.progress-track {
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
}

.progress-track .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.progress-markers {
    display: flex;
    justify-content: space-between;
    gap: 0.25rem;
}

.progress-marker {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.progress-marker.completed {
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border-color: #22c55e;
    color: white;
}

.progress-marker.completed svg {
    font-size: 0.75rem !important;
}

.progress-marker.current {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    border-color: #fbbf24;
    color: white;
    animation: pulse-marker 2s ease-in-out infinite;
}

.progress-marker.current svg {
    font-size: 0.75rem !important;
}

@keyframes pulse-marker {
    0%, 100% { box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.4); }
    50% { box-shadow: 0 0 0 6px rgba(245, 158, 11, 0); }
}

/* Active Card Stats */
.active-card-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
}

.stat-item svg {
    color: #64748b;
    font-size: 0.9rem !important;
}

.stat-label {
    color: #64748b;
}

.stat-value {
    color: #cbd5e1;
    font-weight: 600;
}

.stat-value.has-deaths {
    color: #fca5a5;
}

/* Active Card Footer */
.active-card-footer {
    padding-top: 0.75rem;
    margin-top: auto;
}

.btn-continue {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    border: none;
    border-radius: 8px;
    color: white;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-continue:hover {
    background: linear-gradient(135deg, #16a34a, #15803d);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

/* Enhanced Empty State */
.empty-state-enhanced {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem 1.5rem;
    text-align: center;
}

.empty-state-icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.05));
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #60a5fa;
}

.empty-state-icon-wrapper.achievements {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.05));
    border-color: rgba(34, 197, 94, 0.3);
    color: #4ade80;
}

.empty-state-enhanced .empty-state-title {
    font-family: 'Cinzel', serif;
    font-size: 1.35rem;
    font-weight: 600;
    color: #f8fafc;
    margin-bottom: 0.75rem;
}

.empty-state-enhanced .empty-state-text {
    color: #94a3b8;
    font-size: 0.95rem;
    max-width: 400px;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.empty-state-enhanced .btn-action {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid rgba(245, 158, 11, 0.2);
    border-top-color: #fbbf24;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* ============================================
   COMPLETED ADVENTURES (ACHIEVEMENTS) STYLES
   ============================================ */

.completed-adventures-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Hero Section */
.completed-adventures-hero {
    position: relative;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    overflow: hidden;
    text-align: center;
    min-height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.completed-adventures-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    pointer-events: none;
}

.completed-adventures-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.6), transparent);
}

.completed-adventures-hero-content {
    position: relative;
    z-index: 1;
}

.completed-adventures-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.05));
    border: 2px solid rgba(34, 197, 94, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4ade80;
    box-shadow: 0 0 25px rgba(34, 197, 94, 0.2);
}

.completed-adventures-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.75rem, 5vw, 2.5rem);
    font-weight: 700;
    background: linear-gradient(135deg, #4ade80 0%, #86efac 50%, #22c55e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0 0 0.5rem 0;
    letter-spacing: 0.03em;
}

.completed-adventures-subtitle {
    font-size: 1rem;
    color: #cbd5e1;
    margin: 0;
}

.completed-adventures-count {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.6rem 1.25rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.25), rgba(34, 197, 94, 0.1));
    border: 1px solid rgba(34, 197, 94, 0.4);
    border-radius: 20px;
    color: #4ade80;
    font-weight: 600;
    font-size: 0.85rem;
}

/* Completed Adventures Container */
.completed-adventures-container {
    background: linear-gradient(145deg, var(--color-dark-card) 0%, var(--color-dark-overlay) 100%);
    border: 1px solid rgba(34, 197, 94, 0.15);
    border-radius: 12px;
    padding: clamp(1rem, 4vw, 1.5rem);
    position: relative;
}

.completed-adventures-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(34, 197, 94, 0.4), transparent);
}

/* Completed Adventures Grid */
.completed-adventures-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

/* Completed Adventure Card */
.completed-adventure-card {
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.completed-adventure-card:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 197, 94, 0.4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4), 0 0 20px rgba(34, 197, 94, 0.1);
}

/* Completed Card Image */
.completed-card-image {
    position: relative;
    height: 120px;
    overflow: hidden;
}

.completed-card-image-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #1e293b;
    transition: transform 0.5s ease;
}

.completed-card-image-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(34, 197, 94, 0.15) 0%, transparent 50%),
        linear-gradient(135deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.8) 100%);
    z-index: 1;
}

.completed-adventure-card:hover .completed-card-image-bg {
    transform: scale(1.05);
}

.completed-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.95) 0%,
        rgba(15, 23, 42, 0.5) 50%,
        rgba(15, 23, 42, 0.2) 100%
    );
    z-index: 2;
}

.completed-card-trophy {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3), rgba(34, 197, 94, 0.15));
    border: 2px solid rgba(34, 197, 94, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #4ade80;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
}

.completed-card-badges {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.completed-card-badges .status-badge {
    gap: 0.25rem;
}

/* Completed Card Content */
.completed-card-content {
    padding: 1.25rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.completed-card-title {
    font-family: 'Cinzel', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #f8fafc;
    margin: 0;
    transition: color 0.2s ease;
}

.completed-adventure-card:hover .completed-card-title {
    color: #4ade80;
}

.completed-card-description {
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Completed Card Stats Grid */
.completed-card-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.completed-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.completed-stat-icon {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
}

.completed-stat-icon.death-icon {
    color: #f87171;
}

.completed-stat-icon.waypoint-icon {
    color: #fbbf24;
}

.completed-stat-info {
    display: flex;
    flex-direction: column;
}

.completed-stat-label {
    font-size: 0.7rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.completed-stat-value {
    font-size: 0.85rem;
    font-weight: 600;
    color: #cbd5e1;
}

.completed-stat-value.flawless {
    color: #4ade80;
}

.completed-stat-value.high-deaths {
    color: #f87171;
}

/* Completed Card Rewards */
.completed-card-rewards {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.reward-item {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 16px;
    font-size: 0.75rem;
    font-weight: 600;
}

.reward-item.xp {
    background: rgba(59, 130, 246, 0.15);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

.reward-item.xp svg {
    color: #60a5fa;
    font-size: 0.9rem !important;
}

.reward-item.currency {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

.reward-item.currency svg {
    color: #fbbf24;
    font-size: 0.9rem !important;
}

/* Completed Card Footer */
.completed-card-footer {
    padding-top: 0.75rem;
    margin-top: auto;
}

.btn-replay {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.65rem 1.25rem;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.4);
    border-radius: 8px;
    color: #a78bfa;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-replay:hover {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(139, 92, 246, 0.2));
    border-color: rgba(139, 92, 246, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

/* Achievements Summary Banner */
.achievements-summary-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-top: 1.5rem;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(34, 197, 94, 0.05));
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: 12px;
}

.summary-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #4ade80;
}

.summary-stat svg {
    font-size: 1.5rem !important;
}

.summary-stat-info {
    display: flex;
    flex-direction: column;
}

.summary-stat-value {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #4ade80;
}

.summary-stat-label {
    font-size: 0.75rem;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.summary-divider {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, transparent, rgba(34, 197, 94, 0.3), transparent);
}

/* ============================================
   RESPONSIVE STYLES
   ============================================ */

@media (min-width: 640px) {
    .adventure-browse-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .browse-card-image {
        height: 160px;
    }
    
    .browse-card-title {
        font-size: 1.15rem;
    }

    .adventure-main-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .achievements-card {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }
    
    .main-card-image { height: 160px; }

    .active-adventures-grid,
    .completed-adventures-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .active-card-image,
    .completed-card-image {
        height: 150px;
    }
    
    .active-adventures-hero,
    .completed-adventures-hero {
        padding: 3.5rem 2.5rem;
    }
    
    .active-adventures-icon,
    .completed-adventures-icon {
        width: 80px;
        height: 80px;
    }
    
    .progress-markers {
        display: none;
    }
}

@media (min-width: 768px) {
    .adventure-main-hero { 
        padding: 4rem 3rem; 
        aspect-ratio: 16 / 5;
    }
    .adventure-main-icon { width: 90px; height: 90px; }
    .main-card-image { height: 180px; }
    .main-card-content { padding: 1.75rem; }
    .main-card-title { font-size: 1.35rem; }

    .active-adventures-hero,
    .completed-adventures-hero {
        padding: 4rem 3rem;
        min-height: 200px;
    }
    
    .active-card-image,
    .completed-card-image {
        height: 160px;
    }
    
    .active-card-content,
    .completed-card-content {
        padding: 1.5rem;
    }
    
    .completed-card-stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1024px) {
    .adventure-browse-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .browse-card-image {
        height: 180px;
    }
    
    .browse-card-content {
        padding: 1.5rem;
    }
    
    .browse-card-title {
        font-size: 1.2rem;
    }
    
    .browse-card-description {
        font-size: 0.9rem;
    }

    .adventure-main-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .achievements-card {
        grid-column: auto;
        max-width: 100%;
        margin: 0;
    }
    
    .main-card-image { height: 200px; }
    .main-card-icon-wrapper { width: 72px; height: 72px; }

    .active-adventures-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .completed-adventures-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .active-card-image {
        height: 180px;
    }
    
    .completed-card-image {
        height: 140px;
    }
    
    .active-card-title,
    .completed-card-title {
        font-size: 1.25rem;
    }
}

@media (min-width: 1280px) {
    .adventure-browse-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .active-adventures-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .completed-adventures-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 480px) {
    .adventures-container {
        padding: 1rem;
    }

    .page-footer {
        flex-direction: column;
    }

    .btn-action {
        width: 100%;
    }

    .adventure-browse-grid {
        gap: 1rem;
    }
    
    .browse-card-image {
        height: 120px;
    }
    
    .browse-card-content {
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .browse-card-title {
        font-size: 1rem;
    }
    
    .browse-card-description {
        font-size: 0.8rem;
    }
    
    .browse-card-stats {
        gap: 0.5rem;
    }
    
    .browse-stat {
        font-size: 0.7rem;
    }
    
    .browse-card-rewards {
        gap: 0.4rem;
        padding-top: 0.5rem;
    }
    
    .browse-reward {
        font-size: 0.65rem;
        padding: 0.25rem 0.5rem;
    }
    
    .browse-card-footer {
        padding: 0.875rem 1rem;
    }

    .adventure-main-hero { 
        padding: 2rem 1rem; 
        border-radius: 16px;
        aspect-ratio: 16 / 5;
    }
    .adventure-main-icon { width: 64px; height: 64px; margin-bottom: 1rem; }
    .adventure-main-title { font-size: 1.75rem; }
    .adventure-main-subtitle { font-size: 0.95rem; }
    .adventure-active-alert { font-size: 0.8rem; padding: 0.6rem 1rem; }
    .adventure-main-grid { gap: 1rem; }
    .main-card-image { height: 120px; }
    .main-card-icon-wrapper { width: 52px; height: 52px; }
    .main-card-content { padding: 1.25rem; }
    .main-card-title { font-size: 1.1rem; margin-bottom: 0.5rem; }
    .main-card-description { font-size: 0.85rem; }
    .main-card-footer { margin-top: 1rem; padding-top: 0.875rem; }
    .main-card-cta { font-size: 0.8rem; }

    .active-adventures-hero,
    .completed-adventures-hero {
        padding: 2rem 1rem;
        border-radius: 16px;
        min-height: 160px;
    }
    
    .active-adventures-icon,
    .completed-adventures-icon {
        width: 56px;
        height: 56px;
    }
    
    .active-adventures-title,
    .completed-adventures-title {
        font-size: 1.5rem;
    }
    
    .active-adventures-subtitle,
    .completed-adventures-subtitle {
        font-size: 0.9rem;
    }
    
    .active-adventures-count,
    .completed-adventures-count {
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    .active-adventures-grid,
    .completed-adventures-grid {
        gap: 1rem;
    }
    
    .active-card-image {
        height: 120px;
    }
    
    .completed-card-image {
        height: 100px;
    }
    
    .active-card-content,
    .completed-card-content {
        padding: 1rem;
        gap: 0.5rem;
    }
    
    .active-card-title,
    .completed-card-title {
        font-size: 1rem;
    }
    
    .active-card-waypoint {
        font-size: 0.8rem;
    }
    
    .active-card-stats {
        gap: 0.75rem;
    }
    
    .stat-item {
        font-size: 0.75rem;
    }
    
    .btn-continue {
        padding: 0.65rem 1rem;
        font-size: 0.8rem;
    }
    
    .active-card-progress-ring {
        width: 40px;
        height: 40px;
    }
    
    .progress-text {
        font-size: 0.6rem;
    }
    
    .progress-markers {
        display: none;
    }
    
    .completed-card-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
    
    .completed-stat-icon {
        width: 28px;
        height: 28px;
    }
    
    .completed-stat-label {
        font-size: 0.65rem;
    }
    
    .completed-stat-value {
        font-size: 0.8rem;
    }
    
    .completed-card-description {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }
    
    .completed-card-rewards {
        gap: 0.4rem;
    }
    
    .reward-item {
        font-size: 0.7rem;
        padding: 0.3rem 0.6rem;
    }
    
    .btn-replay {
        padding: 0.55rem 1rem;
        font-size: 0.8rem;
    }
    
    .achievements-summary-banner {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem;
    }
    
    .summary-divider {
        width: 80%;
        height: 1px;
        background: linear-gradient(to right, transparent, rgba(34, 197, 94, 0.3), transparent);
    }
    
    .summary-stat-value {
        font-size: 1.25rem;
    }
    
    .summary-stat-label {
        font-size: 0.7rem;
    }
    
    .empty-state-enhanced {
        padding: 2rem 1rem;
    }
    
    .empty-state-icon-wrapper {
        width: 64px;
        height: 64px;
    }
    
    .empty-state-enhanced .empty-state-title {
        font-size: 1.15rem;
    }
    
    .empty-state-enhanced .empty-state-text {
        font-size: 0.85rem;
    }
}
