/* Game Detail Page - Steam Style */

.game-detail-container {
    min-height: 100vh;
    background: linear-gradient(to bottom, #1b2838 0%, #2a475e 100%);
}

/* Content Layout */
.detail-content {
    display: flex !important;
    gap: 30px !important;
    padding: 30px 40px !important;
    max-width: 1800px !important;
    margin: 0 auto !important;
}

.detail-left {
    width: 400px !important;
    flex-shrink: 0 !important;
}

.detail-right {
    flex: 1 !important;
    min-width: 0 !important;
}

/* Cover Image */
.detail-cover {
    width: 100%;
    border-radius: 3px;
    margin-bottom: 25px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

/* Info Sections */
.info-section {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    padding: 20px;
    margin-bottom: 20px;
}

.info-title {
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 10px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    color: #556772;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    font-weight: 600;
}

.info-value {
    color: #c7d5e0;
    font-size: 13px;
    text-align: right;
}

/* Tags */
.tags-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: rgba(103, 193, 245, 0.2);
    color: #67c1f5;
    padding: 6px 12px;
    border-radius: 3px;
    font-size: 11px;
    border: 1px solid rgba(103, 193, 245, 0.3);
}

/* Description */
.game-description {
    color: #acb2b8;
    font-size: 13px;
    line-height: 1.6;
}

/* Placeholder Content */
.placeholder-content {
    color: #556772;
    font-size: 12px;
    font-style: italic;
    line-height: 1.8;
}

/* Achievements Section */
.achievements-section {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    padding: 25px;
    margin-top: 63px;
}

.achievements-header h2 {
    color: #fff;
    font-size: 20px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}

.achievement-progress {
    margin-bottom: 25px;
}

.progress-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.progress-number {
    color: #c7d5e0;
    font-size: 16px;
}

.progress-percent {
    color: #67c1f5;
    font-size: 16px;
    font-weight: 300;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #67c1f5 0%, #4a9fd8 100%);
    transition: width 0.3s;
}

/* Achievement Filters */
.achievement-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.filter-btn {
    flex: 1;
    background: rgba(0, 0, 0, 0.3);
    color: #acb2b8;
    border: 1px solid rgba(0, 0, 0, 0.5);
    padding: 10px 20px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: all 0.2s;
}

.filter-btn:hover {
    background: rgba(103, 193, 245, 0.1);
    border-color: rgba(103, 193, 245, 0.3);
    color: #67c1f5;
}

.filter-btn.active {
    background: #67c1f5;
    color: #fff;
    border-color: #67c1f5;
}

/* Achievements List */
.achievements-list {
    max-height: 800px;
    overflow-y: auto;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(0, 0, 0, 0.3);
    border-radius: 3px;
    margin-bottom: 10px;
    transition: all 0.2s;
}

.achievement-item:hover {
    background: rgba(0, 0, 0, 0.3);
    border-color: rgba(103, 193, 245, 0.2);
}

.achievement-item.locked {
    opacity: 0.6;
}

.achievement-item.locked:hover {
    opacity: 0.8;
}

.achievement-icon-wrapper {
    flex-shrink: 0;
}

.achievement-icon {
    width: 64px;
    height: 64px;
    border-radius: 3px;
    display: block;
}

.achievement-icon.locked-icon {
    filter: grayscale(100%) brightness(0.5);
}

.achievement-icon.no-icon {
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #556772;
    font-size: 24px;
}

.achievement-details {
    flex: 1;
    min-width: 0;
}

.achievement-name {
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.achievement-desc {
    color: #acb2b8;
    font-size: 12px;
    line-height: 1.4;
    margin-bottom: 5px;
}

.achievement-desc.locked-desc {
    opacity: 0;
    transition: opacity 0.2s;
}

.achievement-item:hover .achievement-desc.locked-desc {
    opacity: 1;
}

.achievement-unlock-date {
    color: #67c1f5;
    font-size: 11px;
}

.achievement-rarity {
    color: #67c1f5;
    font-size: 12px;
    font-weight: 500;
    flex-shrink: 0;
}

/* Scrollbar for achievements list */
.achievements-list::-webkit-scrollbar {
    width: 8px;
}

.achievements-list::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.achievements-list::-webkit-scrollbar-thumb {
    background: rgba(103, 193, 245, 0.3);
    border-radius: 4px;
}

.achievements-list::-webkit-scrollbar-thumb:hover {
    background: rgba(103, 193, 245, 0.5);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .detail-content {
        flex-direction: column;
    }

    .detail-left {
        width: 100%;
    }

    .detail-right {
        width: 100%;
    }
}

/* Steam Select Dropdown */
.steam-select {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 0, 0, 0.5);
    padding: 10px 12px;
    border-radius: 3px;
    color: #c7d5e0;
    font-size: 13px;
    cursor: pointer;
    width: 100%;
}

.steam-select:focus {
    outline: none;
    border-color: #67c1f5;
}

.steam-select option {
    background: #1b2838;
    color: #c7d5e0;
}
