/* ============================================
   ADVENTURE DETAIL PAGE
   ============================================ */

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

/* Hero Banner */
.adventure-hero-banner {
    position: relative;
    height: clamp(280px, 40vh, 400px);
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 2rem;
}

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

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

.adventure-hero-banner:hover .adventure-hero-image {
    transform: scale(1.05);
}

.adventure-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(15, 23, 42, 0.98) 0%,
        rgba(15, 23, 42, 0.85) 30%,
        rgba(15, 23, 42, 0.4) 70%,
        rgba(15, 23, 42, 0.2) 100%
    );
}

.btn-back-floating {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 10;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffd700;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back-floating:hover {
    background: rgba(255, 215, 0, 0.15);
    border-color: rgba(255, 215, 0, 0.5);
    transform: scale(1.1);
}

.btn-back-floating:active {
    transform: scale(0.95);
}

.adventure-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    z-index: 5;
}

.adventure-hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
}

.premium-badge {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.15));
    border: 1px solid rgba(255, 215, 0, 0.5);
    color: #ffd700;
}

.multiplayer-badge {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(139, 92, 246, 0.15));
    border: 1px solid rgba(139, 92, 246, 0.5);
    color: #c4b5fd;
}

.level-badge {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(59, 130, 246, 0.15));
    border: 1px solid rgba(59, 130, 246, 0.5);
    color: #93c5fd;
}

.adventure-hero-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(1.75rem, 5vw, 3rem);
    font-weight: 700;
    background: linear-gradient(135deg, #ffd700 0%, #ffec8b 50%, #daa520 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.adventure-hero-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #cbd5e1;
    font-size: 0.9rem;
}

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

/* Detail Content */
.adventure-detail-content {
    padding: 0 1rem;
}

/* Description Card */
.adventure-description-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-left: 4px solid rgba(255, 215, 0, 0.5);
    border-radius: 0 12px 12px 0;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.description-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    font-weight: 600;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.description-header .btn-speak {
    margin-left: auto;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 6px;
    padding: 6px 10px;
    color: #ffd700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
}

.description-header .btn-speak:hover {
    background: rgba(255, 215, 0, 0.2);
}

.description-header .btn-speak.speaking {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #ef4444;
}

.adventure-description-text {
    color: #cbd5e1;
    line-height: 1.8;
    font-size: 1rem;
    font-style: italic;
    margin: 0;
}

/* Detail Grid */
.adventure-detail-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Detail Cards */
.detail-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: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.detail-card:hover {
    border-color: rgba(255, 215, 0, 0.3);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.detail-card-header {
    background: rgba(255, 215, 0, 0.08);
    border-bottom: 1px solid rgba(255, 215, 0, 0.15);
    padding: 1rem 1.25rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.detail-card-header h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffd700;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-card-header svg {
    color: #ffd700;
}

.detail-card-body {
    padding: 1.25rem;
}

/* Rewards Card */
.rewards-card .reward-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rewards-card .reward-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.rewards-card .reward-item:first-child {
    padding-top: 0;
}

.reward-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.xp-icon {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
    color: #60a5fa;
}

.currency-icon {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.2), rgba(245, 158, 11, 0.1));
    color: #fbbf24;
}

.items-icon {
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2), rgba(168, 85, 247, 0.1));
    color: #a78bfa;
}

.repeatable-icon {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(34, 197, 94, 0.1));
    color: #4ade80;
}

.reward-info {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    flex: 1;
}

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

.reward-value {
    font-size: 1rem;
    font-weight: 600;
}

.xp-value { color: #60a5fa; }
.currency-value { display: flex; gap: 0.5rem; }
.currency-value .gold { color: #ffd700; }
.currency-value .silver { color: #c0c0c0; }
.currency-value .copper { color: #cd7f32; }
.items-value { color: #a78bfa; }
.yes-value { color: #4ade80; }
.no-value { color: #94a3b8; }

/* Info Card */
.info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

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

.info-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: #f8fafc;
}

.info-value.boss-count { color: #fbbf24; }

/* Action Section */
.adventure-action-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 0 2rem;
}

.btn-start-adventure,
.btn-continue-adventure {
    background: linear-gradient(135deg, #22c55e, #16a34a) !important;
    color: white !important;
    font-family: 'Cinzel', serif !important;
    font-weight: 700 !important;
    font-size: 1.1rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.1em !important;
    padding: 1rem 3rem !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(34, 197, 94, 0.4) !important;
    transition: all 0.3s ease !important;
    min-width: 280px;
    border: none !important;
    cursor: pointer !important;
}

.btn-continue-adventure {
    background: linear-gradient(135deg, #f59e0b, #d97706) !important;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4) !important;
}

.btn-start-adventure:hover,
.btn-continue-adventure:hover {
    transform: translateY(-3px) !important;
}

.btn-start-adventure:hover {
    box-shadow: 0 8px 30px rgba(34, 197, 94, 0.5) !important;
}

.btn-continue-adventure:hover {
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.5) !important;
}

.btn-back-text {
    color: #94a3b8 !important;
    font-size: 0.9rem !important;
    text-transform: none !important;
    background: transparent !important;
}

.btn-back-text:hover {
    color: #ffd700 !important;
}

/* Banners */
.premium-upgrade-banner,
.completed-banner,
.level-locked-banner,
.info-action-banner {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    border-radius: 12px;
    padding: 1.5rem;
    width: 100%;
    max-width: 600px;
}

.premium-upgrade-banner {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
    border: 2px solid rgba(255, 215, 0, 0.4);
}

.completed-banner {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(34, 197, 94, 0.05));
    border: 2px solid rgba(34, 197, 94, 0.4);
}

.level-locked-banner {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15), rgba(239, 68, 68, 0.05));
    border: 2px solid rgba(239, 68, 68, 0.4);
}

.info-action-banner {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(59, 130, 246, 0.05));
    border: 1px solid rgba(59, 130, 246, 0.3);
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    font-size: 0.9rem;
    color: #93c5fd;
}

.premium-banner-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffd700, #daa520);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0f172a;
    flex-shrink: 0;
}

.premium-banner-content,
.completed-banner-content,
.level-locked-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.premium-banner-content {
    flex: 1;
}

.premium-banner-title,
.completed-title,
.locked-title {
    font-family: 'Cinzel', serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.premium-banner-title { color: #ffd700; }
.completed-title { color: #4ade80; }
.locked-title { color: #ef4444; }

.premium-banner-text,
.completed-text,
.locked-text {
    font-size: 0.875rem;
    line-height: 1.5;
}

.premium-banner-text { color: #fcd34d; }
.completed-text { color: #86efac; }
.locked-text { color: #fca5a5; }

.btn-upgrade {
    border: 2px solid rgba(255, 215, 0, 0.5) !important;
    color: #ffd700 !important;
    font-weight: 600 !important;
    white-space: nowrap;
    background: transparent !important;
    padding: 0.5rem 1.5rem !important;
    border-radius: 6px !important;
    cursor: pointer !important;
}

.btn-upgrade:hover {
    background: rgba(255, 215, 0, 0.15) !important;
    border-color: rgba(255, 215, 0, 0.8) !important;
}

/* ============================================
   DETAIL PAGE RESPONSIVE
   ============================================ */

@media (min-width: 768px) {
    .adventure-hero-banner { height: clamp(300px, 45vh, 450px); }
    .adventure-hero-content { padding: 2.5rem; }
    .adventure-detail-content { padding: 0; }
    .adventure-detail-grid { grid-template-columns: repeat(2, 1fr); }
    .adventure-description-card { padding: 2rem; }
    .adventure-description-text { font-size: 1.05rem; }
    .premium-upgrade-banner { padding: 2rem; }
}

@media (min-width: 1024px) {
    .adventure-hero-banner { height: 400px; border-radius: 20px; }
    .adventure-hero-content { padding: 3rem; }
    .adventure-hero-title { font-size: 2.5rem; }
    .adventure-detail-grid { gap: 2rem; }
    .detail-card-body { padding: 1.5rem; }
    .info-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}

@media (max-width: 480px) {
    .adventure-hero-banner { height: 260px; border-radius: 12px; margin-bottom: 1.5rem; }
    .adventure-hero-content { padding: 1rem; }
    .hero-badge { font-size: 0.65rem; padding: 0.25rem 0.5rem; }
    .adventure-hero-title { font-size: 1.5rem; margin-bottom: 0.75rem; }
    .adventure-hero-stats { gap: 0.75rem; }
    .hero-stat { font-size: 0.8rem; }
    .adventure-description-card { padding: 1rem; margin-bottom: 1.5rem; }
    .description-header { font-size: 0.85rem; }
    .adventure-description-text { font-size: 0.9rem; line-height: 1.7; }
    .adventure-detail-grid { gap: 1rem; }
    .detail-card-header { padding: 0.875rem 1rem; }
    .detail-card-header h3 { font-size: 0.95rem; }
    .detail-card-body { padding: 1rem; }
    .reward-icon { width: 36px; height: 36px; }
    .reward-label { font-size: 0.7rem; }
    .reward-value { font-size: 0.9rem; }
    .info-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
    .info-label { font-size: 0.65rem; }
    .info-value { font-size: 1.1rem; }
    .btn-start-adventure, .btn-continue-adventure { 
        font-size: 1rem !important; 
        padding: 0.875rem 2rem !important; 
        min-width: 240px; 
        width: 100%; 
        max-width: 320px; 
    }
    .premium-upgrade-banner, .completed-banner, .level-locked-banner { 
        flex-direction: column; 
        text-align: center; 
        padding: 1.25rem; 
        gap: 1rem; 
    }
    .premium-banner-icon { width: 48px; height: 48px; }
    .premium-banner-title, .completed-title, .locked-title { font-size: 1rem; }
    .premium-banner-text, .completed-text, .locked-text { font-size: 0.8rem; }
    .btn-upgrade { width: 100%; }
}
