/* Additional styles for Sherlock Online theme */

/* Page Header */
.page-header {
    padding: 100px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(10, 10, 10, 0.9));
}

.page-title {
    font-size: 3rem;
    color: var(--sherlock-gold);
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.page-description {
    font-size: 1.2rem;
    color: var(--sherlock-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* Quest Single Page */
.quest-single {
    padding-top: 100px;
}

.quest-header {
    padding: 60px 0;
    background: var(--sherlock-card);
    border-bottom: 1px solid var(--sherlock-border);
}

.quest-header-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.quest-header .quest-title {
    font-size: 2.5rem;
    color: var(--sherlock-gold);
    margin-bottom: 20px;
}

.quest-header .quest-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.quest-header .quest-meta span {
    padding: 8px 16px;
    background: var(--sherlock-bg);
    border: 1px solid var(--sherlock-border);
    border-radius: var(--sherlock-radius);
    font-size: 0.9rem;
}

.quest-header .quest-price {
    background: linear-gradient(135deg, var(--sherlock-accent), #8b0000);
    color: white;
    border-color: var(--sherlock-accent);
}

.quest-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.quest-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--sherlock-radius);
    box-shadow: 0 20px 50px var(--sherlock-shadow);
}

.quest-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #2a2a2a, #1a1a1a);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--sherlock-radius);
    color: var(--sherlock-muted);
}

.quest-placeholder span {
    font-size: 4rem;
    margin-bottom: 10px;
}

/* Quest Content */
.quest-content {
    padding: 60px 0;
}

.quest-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
}

.quest-description h2,
.quest-description h3 {
    color: var(--sherlock-gold);
    margin: 30px 0 15px;
}

.quest-description p {
    margin-bottom: 20px;
}

.quest-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.detail-item {
    background: var(--sherlock-card);
    border: 1px solid var(--sherlock-border);
    border-radius: var(--sherlock-radius);
    padding: 25px;
}

.detail-item h4 {
    color: var(--sherlock-gold);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.detail-item ul {
    list-style: none;
    padding: 0;
}

.detail-item li {
    padding: 5px 0;
    color: var(--sherlock-muted);
}

.detail-item li:before {
    content: "✓";
    color: var(--sherlock-accent);
    margin-right: 10px;
}

/* Related Quests */
.related-quests {
    padding: 60px 0;
    background: var(--sherlock-card);
    border-top: 1px solid var(--sherlock-border);
}

.related-quests h3 {
    text-align: center;
    font-size: 2rem;
    color: var(--sherlock-gold);
    margin-bottom: 40px;
}

/* Quest Archive */
.quests-archive {
    padding: 60px 0;
}

.quests-grid .quest-card {
    transition: all 0.3s ease;
}

.quests-grid .quest-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--sherlock-shadow);
}

.quests-grid .quest-image a {
    display: block;
    overflow: hidden;
    border-radius: var(--sherlock-radius) var(--sherlock-radius) 0 0;
}

.quests-grid .quest-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.quests-grid .quest-image:hover img {
    transform: scale(1.05);
}

.quest-details {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.quest-difficulty {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.difficulty-easy {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.difficulty-medium {
    background: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
    border: 1px solid rgba(251, 191, 36, 0.3);
}

.difficulty-hard {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.quest-players {
    color: var(--sherlock-muted);
    font-size: 0.9rem;
}

.quest-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.quest-actions .button-link {
    flex: 1;
    text-align: center;
    padding: 8px 12px;
}

.quest-actions .book-button {
    flex: 1;
    padding: 8px 12px;
    font-size: 0.9rem;
}

/* Pagination */
.pagination-wrapper {
    margin-top: 60px;
    text-align: center;
}

.pagination {
    display: inline-flex;
    gap: 10px;
    align-items: center;
}

.page-numbers {
    padding: 10px 15px;
    background: var(--sherlock-card);
    border: 1px solid var(--sherlock-border);
    border-radius: var(--sherlock-radius);
    color: var(--sherlock-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.page-numbers:hover,
.page-numbers.current {
    background: var(--sherlock-accent);
    color: white;
    border-color: var(--sherlock-accent);
}

/* No Quests */
.no-quests {
    text-align: center;
    padding: 80px 20px;
    background: var(--sherlock-card);
    border: 1px solid var(--sherlock-border);
    border-radius: var(--sherlock-radius);
}

.no-quests h3 {
    color: var(--sherlock-gold);
    margin-bottom: 15px;
}

.no-quests p {
    color: var(--sherlock-muted);
    margin-bottom: 30px;
}

/* About Section */
.about-section {
    padding: 80px 0;
    background: var(--sherlock-card);
    border-top: 1px solid var(--sherlock-border);
}

.about-content h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--sherlock-gold);
    margin-bottom: 50px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: var(--sherlock-bg);
    border: 1px solid var(--sherlock-border);
    border-radius: var(--sherlock-radius);
}

.feature-item h3 {
    color: var(--sherlock-gold);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.feature-item p {
    color: var(--sherlock-muted);
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .quest-header-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .quest-header .quest-title {
        font-size: 2rem;
    }
    
    .quest-header .quest-meta {
        justify-content: center;
    }
    
    .quest-actions {
        justify-content: center;
    }
    
    .quest-details-grid {
        grid-template-columns: 1fr;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .quests-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .quest-header .quest-meta {
        flex-direction: column;
        align-items: center;
    }
    
    .quest-header .quest-meta span {
        width: 100%;
        text-align: center;
    }
    
    .quest-actions {
        flex-direction: column;
    }
    
    .quest-actions .button-link,
    .quest-actions .book-button {
        width: 100%;
    }
}
